1"use strict";function A(t,e){return 1-3*e+3*t}function B(t,e){return 3*e-6*t}function C(t){return 3*t}function calcBezier(t,e,i){return((A(e,i)*t+B(e,i))*t+C(e))*t}function getSlope(t,e,i){return 3*A(e,i)*t*t+2*B(e,i)*t+C(e)}function binarySubdivide(t,e,i,n,s){var o,r,a=0;do{(o=calcBezier(r=e+(i-e)/2,n,s)-t)>0?i=r:e=r}while(Math.abs(o)>SUBDIVISION_PRECISION&&++a<SUBDIVISION_MAX_ITERATIONS);return r}function newtonRaphsonIterate(t,e,i,n){for(var s=0;s<NEWTON_ITERATIONS;++s){var o=getSlope(e,i,n);if(0===o)return e;e-=(calcBezier(e,i,n)-t)/o}return e}function BezierEasing(t,e,i,n){if(4===arguments.length)return new BezierEasing([t,e,i,n]);if(!(this instanceof BezierEasing))return new BezierEasing(t);if(!t||4!==t.length)throw new Error("BezierEasing: points must contains 4 values");for(var s=0;s<4;++s)if("number"!=typeof t[s]||isNaN(t[s])||!isFinite(t[s]))throw new Error("BezierEasing: points should be integers.");if(t[0]<0||t[0]>1||t[2]<0||t[2]>1)throw new Error("BezierEasing x values must be in [0, 1] range.");this._str="BezierEasing("+t+")",this._css="cubic-bezier("+t+")",this._p=t,this._mSampleValues=float32ArraySupported?new Float32Array(kSplineTableSize):new Array(kSplineTableSize),this._precomputed=!1,this.get=this.get.bind(this)}function arrayify(t){return Array.prototype.slice.call(t)}function chooseCap(t){var e=parseInt(t,10);return environment<e?environment:e}function forceOriginalDimensions(t){return t.hasAttribute("data-no-resize")||(0===t.offsetWidth&&0===t.offsetHeight?(t.setAttribute("width",t.naturalWidth),t.setAttribute("height",t.naturalHeight)):(t.setAttribute("width",t.offsetWidth),t.setAttribute("height",t.offsetHeight))),t}function setSourceIfAvailable(t,e){var i=t.nodeName.toLowerCase(),n=document.createElement("img");n.addEventListener("load",function(){"img"===i?forceOriginalDimensions(t).setAttribute("src",e):t.style.backgroundImage="url("+e+")"}),n.setAttribute("src",e),t.setAttribute(processedAttr,!0)}function dynamicSwapImage(t,e){var i=chooseCap(arguments.length<=2||void 0===arguments[2]?1:arguments[2]);e&&i>1&&setSourceIfAvailable(t,e.replace(srcReplace,"@"+i+"x$1"))}function manualSwapImage(t,e,i){environment>1&&setSourceIfAvailable(t,i)}function getImages(t){return t?"function"==typeof t.forEach?t:arrayify(t):"undefined"!=typeof document?arrayify(document.querySelectorAll(selector)):[]}function cleanBgImg(t){return t.style.backgroundImage.replace(inlineReplace,"$2")}function retina(t){getImages(t).forEach(function(t){if(!t.getAttribute(processedAttr)){var e="img"===t.nodeName.toLowerCase()?t.getAttribute("src"):cleanBgImg(t),i=t.getAttribute("data-rjs");!isNaN(parseInt(i,10))?dynamicSwapImage(t,e,i):manualSwapImage(t,e,i)}})}var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},s=function(t,e,i){var n,s,o=t.cycle;for(n in o)s=o[n],t[n]="function"==typeof s?s(i,e[i]):s[i%s.length];delete t.cycle},o=function(t,e,n){i.call(this,t,e,n),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=o.prototype.render},r=1e-10,a=i._internals,l=a.isSelector,c=a.isArray,h=o.prototype=i.to({},.1,{}),u=[];o.version="1.20.2",h.constructor=o,h.kill()._gc=!1,o.killTweensOf=o.killDelayedCallsTo=i.killTweensOf,o.getTweensOf=i.getTweensOf,o.lagSmoothing=i.lagSmoothing,o.ticker=i.ticker,o.render=i.render,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},h.updateTo=function(t,e){var n,s=this.ratio,o=this.vars.immediateRender||t.immediateRender;e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(n in t)this.vars[n]=t[n];if(this._initted||o)if(e)this._initted=!1,o&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var r=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(r,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var a,l=1/(1-s),c=this._firstPT;c;)a=c.s+c.c,c.c*=l,c.s=a-c.c,c=c._next;return this},h.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,o,l,c,h,u,d,p,f,m=this._dirty?this.totalDuration():this._totalDuration,g=this._time,v=this._totalTime,y=this._cycle,T=this._duration,b=this._rawPrevTime;if(t>=m-1e-7&&t>=0?(this._totalTime=m,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=T,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,o="onComplete",n=n||this._timeline.autoRemoveChildren),0===T&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(0>b||0>=t&&t>=-1e-7||b===r&&"isPause"!==this.data)&&b!==t&&(n=!0,b>r&&(o="onReverseComplete")),this._rawPrevTime=p=!e||t||b===t?t:r)):1e-7>t?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==v||0===T&&b>0)&&(o="onReverseComplete",s=this._reversed),0>t&&(this._active=!1,0===T&&(this._initted||!this.vars.lazy||n)&&(b>=0&&(n=!0),this._rawPrevTime=p=!e||t||b===t?t:r)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(c=T+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&t>=v&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!=(1&this._cycle)&&(this._time=T
vendor: 10,763 bytes, line 1
1-this._time,(f=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==f||this._initted?this._yoyoEase=f=!0===f?this._ease:f instanceof Ease?f:Ease.map[f]:(f=this.vars.ease,this._yoyoEase=f=f?f instanceof Ease?f:"function"==typeof f?new Ease(f,this.vars.easeParams):Ease.map[f]||i.defaultEase:i.defaultEase)),this.ratio=f?1-f.getRatio((T-this._time)/T):0)),this._time>T?this._time=T:this._time<0&&(this._time=0)),this._easeType&&!f?(h=this._time/T,u=this._easeType,d=this._easePower,(1===u||3===u&&h>=.5)&&(h=1-h),3===u&&(h*=2),1===d?h*=h:2===d?h*=h*h:3===d?h*=h*h*h:4===d&&(h*=h*h*h*h),1===u?this.ratio=1-h:2===u?this.ratio=h:this._time/T<.5?this.ratio=h/2:this.ratio=1-h/2):f||(this.ratio=this._ease.getRatio(this._time/T))),g!==this._time||n||y!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=g,this._totalTime=v,this._rawPrevTime=b,this._cycle=y,a.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||s||f?s&&this._ease._calcEnd&&!f&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/T)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==g&&t>=0&&(this._active=!0),0===v&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,e,n):o||(o="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===T)&&(e||this._callback("onStart"))),l=this._firstPT;l;)l.f?l.t[l.p](l.c*this.ratio+l.s):l.t[l.p]=l.c*this.ratio+l.s,l=l._next;this._onUpdate&&(0>t&&this._startAt&&this._startTime&&this._startAt.render(t,e,n),e||(this._totalTime!==v||o)&&this._callback("onUpdate")),this._cycle!==y&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),o&&(!this._gc||n)&&(0>t&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,n),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o),0===T&&this._rawPrevTime===r&&p!==r&&(this._rawPrevTime=0))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},o.to=function(t,e,i){return new o(t,e,i)},o.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new o(t,e,i)},o.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new o(t,e,n)},o.staggerTo=o.allTo=function(t,e,r,a,h,d,p){a=a||0;var f,m,g,v,y=0,T=[],b=function(){r.onComplete&&r.onComplete.apply(r.onCompleteScope||this,arguments),h.apply(p||r.callbackScope||this,d||u)},w=r.cycle,S=r.startAt&&r.startAt.cycle;for(c(t)||("string"==typeof t&&(t=i.selector(t)||t),l(t)&&(t=n(t))),t=t||[],0>a&&((t=n(t)).reverse(),a*=-1),f=t.length-1,g=0;f>=g;g++){m={};for(v in r)m[v]=r[v];if(w&&(s(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),S){S=m.startAt={};for(v in r.startAt)S[v]=r.startAt[v];s(m.startAt,t,g)}m.delay=y+(m.delay||0),g===f&&h&&(m.onComplete=b),T[g]=new o(t[g],e,m),y+=a}return T},o.staggerFrom=o.allFrom=function(t,e,i,n,s,r,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,o.staggerTo(t,e,i,n,s,r,a)},o.staggerFromTo=o.allFromTo=function(t,e,i,n,s,r,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,o.staggerTo(t,e,n,s,r,a,l)},o.delayedCall=function(t,e,i,n,s){return new o(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:s,overwrite:0})},o.set=function(t,e){return new o(t,0,e)},o.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var d=function(t,e){for(var n=[],s=0,o=t._first;o;)o instanceof i?n[s++]=o:(e&&(n[s++]=o),n=n.concat(d(o,e)),s=n.length),o=o._next;return n},p=o.getAllTweens=function(e){return d(t._rootTimeline,e).concat(d(t._rootFramesTimeline,e))};o.killAll=function(t,i,n,s){null==i&&(i=!0),null==n&&(n=!0);var o,r,a,l=p(0!=s),c=l.length,h=i&&n&&s;for(a=0;c>a;a++)r=l[a],(h||r instanceof e||(o=r.target===r.vars.onComplete)&&n||i&&!o)&&(t?r.totalTime(r._reversed?0:r.totalDuration()):r._enabled(!1,!1))},o.killChildTweensOf=function(t,e){if(null!=t){var s,r,h,u,d,p=a.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),l(t)&&(t=n(t)),c(t))for(u=t.length;--u>-1;)o.killChildTweensOf(t[u],e);else{s=[];for(h in p)for(r=p[h].target.parentNode;r;)r===t&&(s=s.concat(p[h].tweens)),r=r.parentNode;for(d=s.length,u=0;d>u;u++)e&&s[u].totalTime(s[u].totalDuration()),s[u]._enabled(!1,!1)}}};var f=function(t,i,n,s){i=!1!==i,n=!1!==n;for(var o,r,a=p(s=!1!==s),l=i&&n&&s,c=a.length;--c>-1;)r=a[c],(l||r instanceof e||(o=r.target===r.vars.onComplete)&&n||i&&!o)&&r.paused(t)};return o.pauseAll=function(t,e,i){f(!0,t,e,i)},o.resumeAll=function(t,e,i){f(!1,t,e,i)},o.globalTimeScale=function(e){var n=t._rootTimeline,s=i.ticker.time;return arguments.length?(e=e||r,n._startTime=s-(s-n._startTime)*n._timeScale/e,n=t._rootFramesTimeline,s=i.ticker.frame,n._startTime=s-(s-n._startTime)*n._timeScale/e,n._timeScale=t._rootTimeline._timeScale=e,e):n._timeScale},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},h.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},o},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var n=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,n,s=this.vars;for(n in s)i=s[n],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[n]=this._swapSelfInParams(i));l(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=1e-10,o=i._internals,r=n._internals={},a=o.isSelector,l=o.isArray,c=o.lazyTweens,h=o.lazyRender,u=_gsScope._gsDefine.globals,d=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=function(t,e,i){var n,s,o=t.cycle;for(n in o)s=o[n],t[n]="function"==typeof s?s(i,e[i]):s[i%s.length];delete t.cycle},f=r.pauseCallback=function(){},m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=n.prototype=new e;return n.version="1.20.2",g.constructor=n,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,n,s){var o=n.repeat&&u.TweenMax||i;return e?this.add(new o(t,e,n),s):this.set(t,n,s)},g.from=function(t,e,n,s){return this.add((n.repeat&&u.TweenMax||i).from(t,e,n),s)},g.fromTo=function(t,e,n,s,o){var r=s.repeat&&u.TweenMax||i;return e?this.add(r.fromTo(t,e,n,s),o):this.set(t,s,o)},g.staggerTo=function(t,e,s,o,r,l,c,h){var u,f,g=new n({onComplete:l,onCompleteParams:c,callbackScope:h,smoothChildTiming:this.smoothChildTiming}),v=s.cycle;for("string"==typeof t&&(t=i.selector(t)||t),a(t=t||[])&&(t=m(t)),0>(o=o||0)&&((t=m(t)).reverse(),o*=-1),f=0;f<t.length;f++)(u=d(s)).startAt&&(u.startAt=d(u.startAt),u.startAt.cycle&&p(u.startAt,t,f)),v&&(p(u,t,f),null!=u.duration&&(e=u.duration,delete u.duration)),g.to(t[f],e,u,f*o);return this.add(g,r)},g.staggerFrom=function(t,e,i,n,s,o,r,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,s,o,r,a)},g.staggerFromTo=function(t,e,i,n,s,o,r,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,s,o,r,a,l)},g.call=function(t,e,n,s){return this.add(i.delayedCall(0,t,e,n),s)},g.set=function(t,e,n){return n=this._parseTimeOrLabel(n,0,!0),null==e.immediateRender&&(e.immediateRender=n===this._time&&!this._paused),this.add(new i(t,0,e),n)},n.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var s,o,r=new n(t),a=r._timeline;for(null==e&&(e=!0),a._remove(r,!0),r._startTime=0,r._rawPrevTime=r._time=r._totalTime=a._time,s=a._first;s;)o=s._next,e&&s instanceof i&&s.target===s.vars.onComplete||r.add(s,s._startTime-s._delay),s=o;return a.add(r,0),r},g.add=function(s,o,r,a){var c,h,u,d,p,f;if("number"!=typeof o&&(o=this._parseTimeOrLabel(o,0,!0,s)),!(s instanceof t)){if(s instanceof Array||s&&s.push&&l(s)){for(r=r||"normal",a=a||0,c=o,h=s.length,u=0;h>u;u++)l(d=s[u])&&(d=new n({tweens:d})),this.add(d,c),"string"!=typeof d&&"function"!=typeof d&&("sequence"===r?c=d._startTime+d.totalDuration()/d._timeScale:"start"===r&&(d._startTime-=d.delay())),c+=a;return this._uncache(!0)}if("string"==typeof s)return this.addLabel(s,o);if("function"!=typeof s)throw"Cannot add "+s+" into the timeline; it is not a tween, timeline, function, or string.";s=i.delayedCall(0,s)}if(e.prototype.add.call(this,s,o),s._time&&s.render((this.rawTime()-s._startTime)*s._timeScale,!1,!1),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(p=this,f=p.rawTime()>s._startTime;p._timeline;)f&&p._timeline.smoothChildTiming?p.totalTime(p._totalTime,!0):p._gc&&p._enabled(!0,!1),p=p._timeline;return this},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var n=e.length;--n>-1;)this.remove(e[n]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))}
vendor: 5,577 bytes, line 1
1,g.insert=g.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},g.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,n,s){var o=i.delayedCall(0,f,n,s||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,n,s){var o,r;if(s instanceof t&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&l(s)))for(r=s.length;--r>-1;)s[r]instanceof t&&s[r].timeline===this&&this.remove(s[r]);if(o=this.duration()>99999999999?this.recent().endTime(!1):this._duration,"string"==typeof i)return this._parseTimeOrLabel(i,n&&"number"==typeof e&&null==this._labels[i]?e-o:0,n);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=o);else{if(-1===(r=e.indexOf("=")))return null==this._labels[e]?n?this._labels[e]=o+i:i:this._labels[e]+i;i=parseInt(e.charAt(r-1)+"1",10)*Number(e.substr(r+1)),e=r>1?this._parseTimeOrLabel(e.substr(0,r-1),0,n):o}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,r,a,l,u,d,p=this._dirty?this.totalDuration():this._totalDuration,f=this._time,m=this._startTime,g=this._timeScale,v=this._paused;if(t>=p-1e-7&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(o=!0,a="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===s)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>s&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,t=p+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==s&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(a="onReverseComplete",o=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=o=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,0===t&&o)for(n=this._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,this._initted||(l=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(n=this._first;n&&n._startTime<=t&&!u;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(u=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!u;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(u=n),n=n._prev;u&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||l||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(d=this._time)>=f)for(n=this._first;n&&(r=n._next,d===this._time&&(!this._paused||v));)(n._active||n._startTime<=d&&!n._paused&&!n._gc)&&(u===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r;else for(n=this._last;n&&(r=n._prev,d===this._time&&(!this._paused||v));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(u===n){for(u=n._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=r}this._onUpdate&&(e||(c.length&&h(),this._callback("onUpdate"))),a&&(this._gc||(m===this._startTime||g!==this._timeScale)&&(0===this._time||p>=this.totalDuration())&&(o&&(c.length&&h(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof n&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,n,s){s=s||-9999999999;for(var o=[],r=this._first,a=0;r;)r._startTime<s||(r instanceof i?!1!==e&&(o[a++]=r):(!1!==n&&(o[a++]=r),!1!==t&&(o=o.concat(r.getChildren(!0,e,n)),a=o.length))),r=r._next;return o},g.getTweensOf=function(t,e){var n,s,o=this._gc,r=[],a=0;for(o&&this._enabled(!0,!0),s=(n=i.getTweensOf(t)).length;--s>-1;)(n[s].timeline===this||e&&this._contains(n[s]))&&(r[a++]=n[s]);return o&&this._enabled(!1,!0),r},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var n,s=this._first,o=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in o)o[n]>=i&&(o[n]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,s=!1;--n>-1;)i[n]._kill(t,e)&&(s=!0);return s},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;
vendor: 51,328 bytes, line 1
1)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,n){this._forcingPlayhead=!0;var s=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,s=this._last,o=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>o&&this._sortChildren&&!s._paused?this.add(s,s._startTime-s._delay):o=s._startTime,s._startTime<0&&!s._paused&&(n-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale),this.shiftChildren(-s._startTime,!1,-9999999999),o=0),(i=s._startTime+s._totalDuration/s._timeScale)>n&&(n=i),s=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!e)for(var i=this._first,n=this._time;i;)i._startTime===n&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},n},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var n=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},s=1e-10,o=e._internals,r=o.lazyTweens,a=o.lazyRender,l=_gsScope._gsDefine.globals,c=new i(null,null,1,0),h=n.prototype=new t;return h.constructor=n,h.kill()._gc=!1,n.version="1.20.2",h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},h.addCallback=function(t,i,n,s){return this.add(e.delayedCall(0,t,n,s),i)},h.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===s&&i[n]._enabled(!1,!1);return this},h.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},h.tweenTo=function(t,i){i=i||{};var n,s,o,r={ease:c,useFrames:this.usesFrames(),immediateRender:!1},a=i.repeat&&l.TweenMax||e;for(s in i)r[s]=i[s];return r.time=this._parseTimeOrLabel(t),n=Math.abs(Number(r.time)-this._time)/this._timeScale||.001,o=new a(this,n,r),r.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&n===o.duration()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||o,i.onStartParams||[])},o},h.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},h.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,o,l,c,h,u,d,p,f=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,g=this._time,v=this._totalTime,y=this._startTime,T=this._timeScale,b=this._rawPrevTime,w=this._paused,S=this._cycle;if(t>=f-1e-7&&t>=0)this._locked||(this._totalTime=f,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,c="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(0>=t&&t>=-1e-7||0>b||b===s)&&b!==t&&this._first&&(h=!0,b>s&&(c="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:s,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=m,t=m+1e-4);else if(1e-7>t)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==g||0===m&&b!==s&&(b>0||0>t&&b>=0)&&!this._locked)&&(c="onReverseComplete",o=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=o=!0,c="onReverseComplete"):b>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!e||t||this._rawPrevTime===t?t:s,0===t&&o)for(n=this._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,this._initted||(h=!0)}else if(0===m&&0>b&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=m+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&t>=v&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=g||this._repeat&&S!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!d;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(d=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!d;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(d=n),n=n._prev;d&&d._startTime<m&&(this._time=t=d._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==S&&!this._locked){var _=this._yoyo&&0!=(1&S),x=_===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,C=this._cycle,M=this._rawPrevTime,A=this._time;if(this._totalTime=S*m,this._cycle<S?_=!_:this._totalTime+=m,this._time=g,this._rawPrevTime=0===m?b-1e-4:b,this._cycle=S,this._locked=!0,g=_?0:m,this.render(g,e,0===m),e||this._gc||this.vars.onRepeat&&(this._cycle=C,this._locked=!1,this._callback("onRepeat")),g!==this._time)return;if(x&&(this._cycle=S,this._locked=!0,g=_?m+1e-4:-1e-4,this.render(g,!0,!1)),this._locked=!1,this._paused&&!w)return;this._time=A,this._totalTime=P,this._cycle=C,this._rawPrevTime=M}if(this._time!==g&&this._first||i||h||d){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==v&&t>0&&(this._active=!0),0===v&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(p=this._time)>=g)for(n=this._first;n&&(l=n._next,p===this._time&&(!this._paused||w));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(d===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=l;else for(n=this._last;n&&(l=n._prev,p===this._time&&(!this._paused||w));){if(n._active||n._startTime<=g&&!n._paused&&!n._gc){if(d===n){for(d=n._prev;d&&d.endTime()>this._time;)d.render(d._reversed?d.totalDuration()-(t-d._startTime)*d._timeScale:(t-d._startTime)*d._timeScale,e,i),d=d._prev;d=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=l}this._onUpdate&&(e||(r.length&&a(),this._callback("onUpdate"))),c&&(this._locked||this._gc||(y===this._startTime||T!==this._timeScale)&&(0===this._time||f>=this.totalDuration())&&(o&&(r.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[c]&&this._callback(c)))}else v!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},h.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,s,o=[],r=this.getChildren(t,e,i),a=0,l=r.length;for(n=0;l>n;n++)(s=r[n]).isActive()&&(o[a++]=s);return o},h.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;n>e;e++)if(i[e].time>t)return i[e].name;return null},h.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},h.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},h.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},h.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},h.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},n},!0),function(){var t=180/Math.PI,e=[],i=[],n=[],s={},o=_gsScope._gsDefine.globals,r=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},a=function(t,e,i,n){var s={a:t},o={},r={},a={c:n},l=(t+e)/2,c=(e+i)/2,h=(i+n)/2,u=(l+c)/2,d=(c+h)/2,p=(d-u)/8;return s.b=l+(t-l)/4,o.b=u+p,s.c=o.a=(s.b+o.b)/2,o.c=r.a=(u+d)/2,r.b=d-p,a.b=h+(n-h)/4,r.c=a.a=(r.b+a.b)/2,[s,o,r,a]},l=function(t,s,o,r,l){var c,h,u,d,p,f,m,g,v,y,T,b,w,S=t.length-1,_=0,x=t[0].a;for(c=0;S>c;c++)p=t[_],h=p.a,u=p.d,d=t[_+1].d,l?(T=e[c],b=i[c],w=(b+T)*s*.25/(r?.5:n[c]||.5),f=u-(u-h)*(r?.5*s:0!==T?w/T:0),m=u+(d-u)*(r?.5*s:0!==b?w/b:0),g=u-(f+((m-f)*(3*T/(T+b)+.5)/4||0))):(f=u-(u-h)*s*.5,m=u+(d-u)*s*.5,g=u-(f+m)/2),f+=g,m+=g,p.c=v=f,p.b=0!==c?x:x=p.a+.6*(p.c-p.a),p.da=u-h,p.ca=v-h,p.ba=x-h,o?(y=a(h,x,v,u),t.splice(_,1,y[0],y[1],y[2],y[3]),_+=4):_++,x=m;(p=t[_]).b=x,p.c=x+.4*(p.d-x),p.da=p.d-p.a,p.ca=p.c-p.a,p.ba=x-p.a,o&&(y=a(p.a,x,p.c,p.d),t.splice(_,1,y[0],y[1],y[2],y[3]))},c=function(t,n,s,o){var a,l,c,h,u,d,p=[];if(o)for(t=[o].concat(t),l=t.length;--l>-1;)"string"==typeof(d=t[l][n])&&"="===d.charAt(1)&&(t[l][n]=o[n]+Number(d.charAt(0)+d.substr(2)));if(0>(a=t.length-2))return p[0]=new r(t[0][n],0,0,t[0][n]),p;for(l=0;a>l;l++)c=t[l][n],h=t[l+1][n],p[l]=new r(c,0,0,h),s&&(u=t[l+2][n],e[l]=(e[l]||0)+(h-c)*(h-c),i[l]=(i[l]||0)+(u-h)*(u-h));return p[l]=new r(t[l][n],0,0,t[l+1][n]),p},h=function(t,o,r,a,h,u){var d,p,f,m,g,v,y,T,b={},w=[],S=u||t[0];h="string"==typeof h?","+h+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==o&&(o=1);for(p in t[0])w.push(p);if(t.length>1){for(T=t[t.length-1],y=!0,d=w.length;--d>-1;)if(p=w[d],Math.abs(S[p]-T[p])>.05){y=!1;break}y&&(t=t.concat(),u&&t.unshift(u),t.push(t[1]),u=t[t.length-3])}for(e.length=i.length=n.length=0,d=w.length;--d>-1;)p=w[d],s[p]=-1!==h.indexOf(","+p+","),b[p]=c(t,p,s[p],u);for(d=e.length;--d>-1;)e[d]=Math.sqrt(e[d]),i[d]=Math.sqrt(i[d]);if(!a){for(d=w.length;--d>-1;)if(s[p])for(f=b[w[d]],v=f.length-1,m=0;v>m;m++)g=f[m+1].da/i[m]+f[m].da/e[m]||0,n[m]=(n[m]||0)+g*g;for(d=n.length;--d>-1;)n[d]=Math.sqrt(n[d])}for(d=w.length,m=r?4:1;--d>-1;)p=w[d],f=b[p],l(f,o,r,a,s[p]),y&&(f.splice(0,m),f.splice(f.length-m,m));return b},u=function(t,e,i){var n,s,o,a,l,c,h,u,d,p,f,m={},g="cubic"===(e=e||"soft")?3:2,v="soft"===e,y=[];if(v&&i&&(t=[i].concat(t)),null==t||t.length<g+1)throw"invalid Bezier data";for(d in t[0])y.push(d);for(c=y.length;--c>-1;){for(m[d=y[c]]=l=[],p=0,u=t.length,h=0;u>h;h++)n=null==i?t[h][d]:"string"==typeof(f=t[h][d])&&"="===f.charAt(1)?i[d]+Number(f.charAt(0)+f.substr(2)):Number(f),v&&h>1&&u-1>h&&(l[p++]=(n+l[p-2])/2),l[p++]=n;for(u=p-g+1,p=0,h=0;u>h;h+=g)n=l[h],s=l[h+1],o=l[h+2],a=2===g?0:l[h+3],l[p++]=f=3===g?new r(n,s,o,a):new r(n,(2*s+n)/3,(2*s+o)/3,o);l.length=p}return m},d=function(t,e,i){for(var n,s,o,r,a,l,c,h,u,d,p,f=1/i,m=t.length;--m>-1;)for(d=t[m],o=d.a,r=d.d-o,a=d.c-o,l=d.b-o,n=s=0,h=1;i>=h;h++)c=f*h,u=1-c,n=s-(s=(c*c*r+3*u*(c*a+u*l))*c),p=m*i+h-1,e[p]=(e[p]||0)+n*n},p=function(t,e){var i,n,s,o,r=[],a=[],l=0,c=0,h=(e=e>>0||6)-1,u=[],p=[];for(i in t)d(t[i],r,e);for(s=r.length,n=0;s>n;n++)l+=Math.sqrt(r[n]),o=n%e,p[o]=l,o===h&&(c+=l,o=n/e>>0,u[o]=p,a[o]=c,l=0,p=[]);return{length:c,lengths:a,segments:u}},f=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,s,o,r,a,l=e.values||[],c={},d=l[0],f=e.autoRotate||i.vars.orientToBezier;this._autoRotate=f?f instanceof Array?f:[["x","y","rotation",!0===f?0:Number(f)||0]]:null;for(n in d)this._props.push(n);for(o=this._props.length;--o>-1;)n=this._props[o],this._overwriteProps.push(n),s=this._func[n]="function"==typeof t[n],c[n]=s?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||c[n]!==l[0][n]&&(a=c);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?h(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):u(l,e.type,c),this._segCount=this._beziers[n].length,this._timeRes){var m=p(this._beziers,this._timeRes);this._length=m.length,this._lengths=m.lengths,this._segments=m.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(f=this._autoRotate)for(this._initialRotations=[],f[0]instanceof Array||(this._autoRotate=f=[f]),o=f.length;--o>-1;){for(r=0;3>r;r++)n=f[o][r],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=f[o][2],this._initialRotations[o]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,n,s,o,r,a,l,c,h,u,d=this._segCount,p=this._func,f=this._target,m=e!==this._startRatio;if(this._timeRes){if(h=this._lengths,u=this._curSeg,e*=this._length,s=this._li,e>this._l2&&d-1>s){for(c=d-1;c>s&&(this._l2=h[++s])<=e;);this._l1=h[s-1],this._li=s,this._curSeg=u=this._segments[s],this._s2=u[this._s1=this._si=0]}else if(e<this._l1&&s>0){for(;s>0&&(this._l1=h[--s])>=e;);0===s&&e<this._l1?this._l1=0:s++,this._l2=h[s],this._li=s,this._curSeg=u=this._segments[s],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(i=s,e-=this._l1,s=this._si,e>this._s2&&s<u.length-1){for(c=u.length-1;c>s&&(this._s2=u[++s])<=e;);this._s1=u[s-1],this._si=s}else if(e<this._s1&&s>0){for(;s>0&&(this._s1=u[--s])>=e;);0===s&&e<this._s1?this._s1=0:s++,this._s2=u[s],this._si=s}a=(s+(e-this._s1)/(this._s2-this._s1))*this._prec||0}else i=0>e?0:e>=1?d-1:d*e>>0,a=(e-i*(1/d))*d;for(n=1-a,s=this._props.length;--s>-1;)o=this._props[s],r=this._beziers[o][i],l=(a*a*r.da+3*n*(a*r.ca+n*r.ba))*a+r.a,this._mod[o]&&(l=this._mod[o](l,f)),p[o]?f[o](l):f[o]=l;if(this._autoRotate){var g,v,y,T,b,w,S,_=this._autoRotate;for(s=_.length;--s>-1;)o=_[s][2],w=_[s][3]||0,S=!0===_[s][4]?1:t,r=this._beziers[_[s][0]],g=this._beziers[_[s][1]],r&&g&&(r=r[i],g=g[i],v=r.a+(r.b-r.a)*a,T=r.b+(r.c-r.b)*a,v+=(T-v)*a,T+=(r.c+(r.d-r.c)*a-T)*a,y=g.a+(g.b-g.a)*a,b=g.b+(g.c-g.b)*a,y+=(b-y)*a,b+=(g.c+(g.d-g.c)*a-b)*a,l=m?Math.atan2(b-y,T-v)*S+w:this._initialRotations[s],this._mod[o]&&(l=this._mod[o](l,f)),p[o]?f[o](l):f[o]=l)}}}),m=f.prototype;f.bezierThrough=h,f.cubicToQuadratic=a,f._autoCSS=!0,f.quadraticToCubic=function(t,e,i){return new r(t,(2*e+t)/3,(2*e+i)/3,i)},f._cssRegister=function(){var t=o.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,s=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,r,a,l){e instanceof Array&&(e={values:e}),l=new f;var c,h,u,d=e.values,p=d.length-1,m=[],g={};if(0>p)return a;for(c=0;p>=c;c++)u=i(t,d[c],r,a,l,p!==c),m[c]=u.end;for(h in e)g[h]=e[h];return g.values=m,a=new s(t,"bezier",0,0,u.pt,2),a.data=u,a.plugin=l,a.setRatio=n,0===g.autoRotate&&(g.autoRotate=!0),!g.autoRotate||g.autoRotate instanceof Array||(c=!0===g.autoRotate?0:Number(g.autoRotate),g.autoRotate=null!=u.end.left?[["left","top","rotation",c,!1]]:null!=u.end.x&&[["x","y","rotation",c,!1]]),g.autoRotate&&(r._transform||r._enableTransforms(!1),u.autoRotate=r._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,r._overwriteProps.push("rotation")),l._onInitTween(u.proxy,g,r._tween),a}})}},m._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;--n>-1;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},m._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;--i>-1;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,s,o,r=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=r.prototype.setRatio},a=_gsScope._gsDefine.globals,l={},c=r.prototype=new t("css");c.constructor=r,r.version="1.20.0",r.API=2,r.defaultTransformPerspective=0,r.defaultSkewType="compensated",r.defaultSmoothOrigin=!0,c="px",r.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""};var h,u,d,p,f,m,g,v,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,T=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,b=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,S=/(?:\d|\-|\+|=|#|\.)*/g,_=/opacity *= *([^)]*)/i,x=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,C=/^(rgb|hsl)/,M=/([A-Z])/g,A=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,k=function(t,e){return e.toUpperCase()},I=/(?:Left|Right|Width)/i,D=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,H=/,(?=[^\)]*(?:\(|$))/gi,L=/[\s,\(]/i,z=Math.PI/180,B=180/Math.PI,R={},G={style:{}},X=_gsScope.document||{createElement:function(){return G}},N=function(t,e){return X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t)},W=N("div"),F=N("img"),Y=r._internals={_specialProps:l},V=(_gsScope.navigator||{}).userAgent||"",$=function(){var t=V.indexOf("Android"),e=N("a");return d=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),f=d&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,p=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(m=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),j=function(t){return _.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},U=function(t){_gsScope.console&&console.log(t)},q="",K="",Z=function(t,e){var i,n,s=(e=e||W).style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===s[i[n]+t];);return n>=0?(K=3===n?"ms":i[n],q="-"+K.toLowerCase()+"-",K+t):null},Q=X.defaultView?X.defaultView.getComputedStyle:function(){},J=r.getStyle=function(t,e,i,n,s){var o;return $||"opacity"!==e?(!n&&t.style[e]?o=t.style[e]:(i=i||Q(t))?o=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(M,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==s||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:s):j(t)},tt=Y.convertToPixels=function(t,i,n,s,o){if("px"===s||!s&&"lineHeight"!==i)return n;if("auto"===s||!n)return 0;var a,l,c,h=I.test(i),u=t,d=W.style,p=0>n,f=1===n;if(p&&(n=-n),f&&(n*=100),"lineHeight"!==i||s)if("%"===s&&-1!==i.indexOf("border"))a=n/100*(h?t.clientWidth:t.clientHeight);else{if(d.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==s&&u.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)d[h?"borderLeftWidth":"borderTopWidth"]=n+s;else{if(u=t.parentNode||X.body,-1!==J(u,"display").indexOf("flex")&&(d.position="absolute"),l=u._gsCache,c=e.ticker.frame,l&&h&&l.time===c)return l.width*n/100;d[h?"width":"height"]=n+s}u.appendChild(W),a=parseFloat(W[h?"offsetWidth":"offsetHeight"]),u.removeChild(W),h&&"%"===s&&!1!==r.cacheWidths&&(l=u._gsCache=u._gsCache||{},l.time=c,l.width=a/n*100),0!==a||o||(a=tt(t,i,n,s,!0))}else l=Q(t).lineHeight,t.style.lineHeight=n,a=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return f&&(a/=100),p?-a:a},et=Y.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var n="left"===e?"Left":"Top",s=J(t,"margin"+n,i);return t["offset"+n]-(tt(t,e,parseFloat(s),s.replace(S,""))||0)},it=function(t,e){var i,n,s,o={};if(e=e||Q(t,null))if(i=e.length)for(;--i>-1;)(-1===(s=e[i]).indexOf("-transform")||Et===s)&&(o[s.replace(A,k)]=e.getPropertyValue(s));else for(i in e)(-1===i.indexOf("Transform")||At===i)&&(o[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===o[i]&&(o[i.replace(A,k)]=e[i]);return $||(o.opacity=j(t)),n=Ft(t,e,!1),o.rotation=n.rotation,o.skewX=n.skewX,o.scaleX=n.scaleX,o.scaleY=n.scaleY,o.x=n.x,o.y=n.y,It&&(o.z=n.z,o.rotationX=n.rotationX,o.rotationY=n.rotationY,o.scaleZ=n.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,i,n,s){var o,r,a,l={},c=t.style;for(r in i)"cssText"!==r&&"length"!==r&&isNaN(r)&&(e[r]!==(o=i[r])||s&&s[r])&&-1===r.indexOf("Origin")&&("number"==typeof o||"string"==typeof o)&&(l[r]="auto"!==o||"left"!==r&&"top"!==r?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[r]||""===e[r].replace(w,"")?o:0:et(t,r),void 0!==c[r]&&(a=new yt(c,r,c[r],a)));if(n)for(r in n)"className"!==r&&(l[r]=n[r]);return{difs:l,firstMPT:a}},st={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],rt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||Q(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=st[e],o=s.length;for(i=i||Q(t,null);--o>-1;)n-=parseFloat(J(t,"padding"+s[o],i,!0))||0,n-=parseFloat(J(t,"border"+s[o]+"Width",i,!0))||0;return n},at=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,n=t.split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i<n.length;i++)t.push(at(n[i]));return t.join(",")}return null==o?o="center"===s?"50%":"0":"center"===o&&(o="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),t=s+" "+o+(n.length>2?" "+n[2]:""),e&&(e.oxp=-1!==s.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===s.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(s.replace(w,"")),e.oy=parseFloat(o.replace(w,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(v,g)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ct=function(t,e){return"function"==typeof t&&(t=t(v,g)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ht=function(t,e,i,n){var s,o,r,a,l;return"function"==typeof t&&(t=t(v,g)),null==t?a=e:"number"==typeof t?a=t:(s=360,o=t.split("_"),l="="===t.charAt(1),r=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:B)-(l?0:e),o.length&&(n&&(n[i]=e+r),-1!==t.indexOf("short")&&(r%=s)!==r%(s/2)&&(r=0>r?r+s:r-s),-1!==t.indexOf("_cw")&&0>r?r=(r+9999999999*s)%s-(r/s|0)*s:-1!==t.indexOf("ccw")&&r>0&&(r=(r-9999999999*s)%s-(r/s|0)*s)),a=e+r),1e-6>a&&a>-1e-6&&(a=0),a},ut={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return t=0>t?t+1:t>1?t-1:t,255*(1>6*t?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},pt=r.parseColor=function(t,e){var i,n,s,o,r,a,l,c,h,u,d;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])i=ut[t];else if("#"===t.charAt(0))4===t.length&&(n=t.charAt(1),s=t.charAt(2),o=t.charAt(3),t="#"+n+n+s+s+o+o),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=d=t.match(y),e){if(-1!==t.indexOf("="))return t.match(T)}else r=Number(i[0])%360/360,a=Number(i[1])/100,l=Number(i[2])/100,s=.5>=l?l*(a+1):l+a-l*a,n=2*l-s,i.length>3&&(i[3]=Number(t[3])),i[0]=dt(r+1/3,n,s),i[1]=dt(r,n,s),i[2]=dt(r-1/3,n,s);else i=t.match(y)||ut.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ut.black;return e&&!d&&(n=i[0]/255,s=i[1]/255,o=i[2]/255,c=Math.max(n,s,o),h=Math.min(n,s,o),l=(c+h)/2,c===h?r=a=0:(u=c-h,a=l>.5?u/(2-c-h):u/(c+h),r=c===n?(s-o)/u+(o>s?6:0):c===s?(o-n)/u+2:(n-s)/u+4,r*=60),i[0]=r+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},ft=function(t,e){var i,n,s,o=t.match(mt)||[],r=0,a="";if(!o.length)return t;for(i=0;i<o.length;i++)n=o[i],s=t.substr(r,t.indexOf(n,r)-r),r+=s.length+n.length,3===(n=pt(n,e)).length&&n.push(1),a+=s+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return a+t.substr(r)},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(c in ut)mt+="|"+c+"\\b";mt=new RegExp(mt+")","gi"),r.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];mt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=ft(t[0],e),t[1]=ft(t[1],e)),mt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=r.colorStringFilter);var gt=function(t,e,i,n){if(null==t)return function(t){return t};var s,o=e?(t.match(mt)||[""])[0]:"",r=t.split(o).join("").match(b)||[],a=t.substr(0,t.indexOf(r[0])),l=")"===t.charAt(t.length-1)?")":"",c=-1!==t.indexOf(" ")?" ":",",h=r.length,u=h>0?r[0].replace(y,""):"";return h?s=e?function(t){var e,d,p,f;if("number"==typeof t)t+=u;else if(n&&H.test(t)){for(f=t.replace(H,"|").split("|"),p=0;p<f.length;p++)f[p]=s(f[p]);return f.join(",")}if(e=(t.match(mt)||[o])[0],d=t.split(e).join("").match(b)||[],p=d.length,h>p--)for(;++p<h;)d[p]=i?d[(p-1)/2|0]:r[p];return a+d.join(c)+c+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,o,d;if("number"==typeof t)t+=u;else if(n&&H.test(t)){for(o=t.replace(H,"|").split("|"),d=0;d<o.length;d++)o[d]=s(o[d]);return o.join(",")}if(e=t.match(b)||[],d=e.length,h>d--)for(;++d<h;)e[d]=i?e[(d-1)/2|0]:r[d];return a+e.join(c)+l}:function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,n,s,o,r,a){var l,c=(i+"").split(" ");for(a={},l=0;4>l;l++)a[t[l]]=c[l]=c[l]||c[(l-1)/2>>0];return s.parse(e,a,o,r)}},yt=(Y._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,s,o,r=this.data,a=r.proxy,l=r.firstMPT;l;)e=a[l.v],l.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(r.autoRotate&&(r.autoRotate.rotation=r.mod?r.mod(a.rotation,this.t):a.rotation),1===t||0===t)for(l=r.firstMPT,o=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)s+=i["xn"+n]+i["xs"+(n+1)];i[o]=s}}else i[o]=i.s+i.xs0;l=l._next}},function(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&(n._prev=this,this._next=n)}),Tt=(Y._parseToProxy=function(t,e,i,n,s,o){var r,a,l,c,h,u=n,d={},p={},f=i._transform,m=R;for(i._transform=null,R=e,n=h=i.parse(t,e,n,s),R=m,o&&(i._transform=f,u&&(u._prev=null,u._prev&&(u._prev._next=null)));n&&n!==u;){if(n.type<=1&&(a=n.p,p[a]=n.s+n.c,d[a]=n.s,o||(c=new yt(n,"s",a,c,n.r),n.c=0),1===n.type))for(r=n.l;--r>0;)l="xn"+r,a=n.p+"_"+l,p[a]=n.data[l],d[a]=n[l],o||(c=new yt(n,l,a,c,n.rxp[l]));n=n._next}return{proxy:d,end:p,firstMPT:c,pt:h}},Y.CSSPropTween=function(t,e,n,s,r,a,l,c,h,u,d){this.t=t,this.p=e,this.s=n,this.c=s,this.n=l||e,t instanceof Tt||o.push(this.n),this.r=c,this.type=a||0,h&&(this.pr=h,i=!0),this.b=void 0===u?n:u,this.e=void 0===d?n+s:d,r&&(this._next=r,r._prev=this)}),bt=function(t,e,i,n,s,o){var r=new Tt(t,e,i,n-i,s,-1,o);return r.b=i,r.e=r.xs0=n,r},wt=r.parseComplex=function(t,e,i,n,s,o,a,l,c,u){i=i||o||"","function"==typeof n&&(n=n(v,g)),a=new Tt(t,e,0,0,a,u?2:1,null,!1,l,i,n),n+="",s&&mt.test(n+i)&&(n=[i,n],r.colorStringFilter(n),i=n[0],n=n[1]);var d,p,f,m,b,w,S,_,x,P,C,M,A,E=i.split(", ").join(",").split(" "),k=n.split(", ").join(",").split(" "),I=E.length,D=!1!==h;for((-1!==n.indexOf(",")||-1!==i.indexOf(","))&&(E=E.join(" ").replace(H,", ").split(" "),k=k.join(" ").replace(H,", ").split(" "),I=E.length),I!==k.length&&(E=(o||"").split(" "),I=E.length),a.plugin=c,a.setRatio=u,mt.lastIndex=0,d=0;I>d;d++)if(m=E[d],b=k[d],(_=parseFloat(m))||0===_)a.appendXtra("",_,lt(b,_),b.replace(T,""),D&&-1!==b.indexOf("px"),!0);else if(s&&mt.test(m))M=b.indexOf(")")+1,M=")"+(M?b.substr(M):""),A=-1!==b.indexOf("hsl")&&$,P=b,m=pt(m,A),b=pt(b,A),x=m.length+b.length>6,x&&!$&&0===b[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(k[d]).join("transparent")):($||(x=!1),A?a.appendXtra(P.substr(0,P.indexOf("hsl"))+(x?"hsla(":"hsl("),m[0],lt(b[0],m[0]),",",!1,!0).appendXtra("",m[1],lt(b[1],m[1]),"%,",!1).appendXtra("",m[2],lt(b[2],m[2]),x?"%,":"%"+M,!1):a.appendXtra(P.substr(0,P.indexOf("rgb"))+(x?"rgba(":"rgb("),m[0],b[0]-m[0],",",!0,!0).appendXtra("",m[1],b[1]-m[1],",",!0).appendXtra("",m[2],b[2]-m[2],x?",":M,!0),x&&(m=m.length<4?1:m[3],a.appendXtra("",m,(b.length<4?1:b[3])-m,M,!1))),mt.lastIndex=0;else if(w=m.match(y)){if(!(S=b.match(T))||S.length!==w.length)return a;for(f=0,p=0;p<w.length;p++)C=w[p],P=m.indexOf(C,f),a.appendXtra(m.substr(f,P-f),Number(C),lt(S[p],C),"",D&&"px"===m.substr(P+C.length,2),0===p),f=P+C.length;a["xs"+a.l]+=m.substr(f)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+b:b;if(-1!==n.indexOf("=")&&a.data){for(M=a.xs0+a.data.s,d=1;d<a.l;d++)M+=a["xs"+d]+a.data["xn"+d];a.e=M+a["xs"+d]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},St=9;for((c=Tt.prototype).l=c.pr=0;--St>0;)c["xn"+St]=0,c["xs"+St]="";c.xs0="",c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null,c.appendXtra=function(t,e,i,n,s,o){var r=this,a=r.l;return r["xs"+a]+=o&&(a||r["xs"+a])?" "+t:t||"",i||0===a||r.plugin?(r.l++,r.type=r.setRatio?2:1,r["xs"+r.l]=n||"",a>0?(r.data["xn"+a]=e+i,r.rxp["xn"+a]=s,r["xn"+a]=e,r.plugin||(r.xfirst=new Tt(r,"xn"+a,e,i,r.xfirst||r,0,r.n,s,r.pr),r.xfirst.xs0=0),r):(r.data={s:e+i},r.rxp={},r.s=e,r.c=i,r.r=s,r)):(r["xs"+a]+=e+(n||""),r)};var _t=function(t,e){e=e||{},this.p=e.prefix?Z(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},xt=Y._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,s=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;n<s.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||o,new _t(s[n],e)},Pt=Y._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";xt(t,{parser:function(t,i,n,s,o,r,c){var h=a.com.greensock.plugins[e];return h?(h._cssRegister(),l[n].parse(t,i,n,s,o,r,c)):(U("Error: "+e+" js file not loaded."),o)}})}};(c=_t.prototype).parseComplex=function(t,e,i,n,s,o){var r,a,l,c,h,u,d=this.keyword;if(this.multi&&(H.test(i)||H.test(e)?(a=e.replace(H,"|").split("|"),l=i.replace(H,"|").split("|")):d&&(a=[e],l=[i])),l){for(c=l.length>a.length?l.length:a.length,r=0;c>r;r++)e=a[r]=a[r]||this.dflt,i=l[r]=l[r]||this.dflt,d&&(h=e.indexOf(d),u=i.indexOf(d),h!==u&&(-1===u?a[r]=a[r].split(d).join(""):-1===h&&(a[r]+=" "+d)));e=a.join(", "),i=l.join(", ")}return wt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,s,o)},c.parse=function(t,e,i,n,o,r,a){return this.parseComplex(t.style,this.format(J(t,this.p,s,!1,this.dflt)),this.format(e),o,r)},r.registerSpecialProp=function(t,e,i){xt(t,{parser:function(t,n,s,o,r,a,l){var c=new Tt(t,s,0,0,r,2,s,!1,i);return c.plugin=a,c.setRatio=e(t,n,o._tween,s),c},priority:i})},r.useSVGTransformAttr=!0;var Ct,Mt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),At=Z("transform"),Et=q+"transform",kt=Z("transformOrigin"),It=null!==Z("perspective"),Dt=Y.Transform=function(){this.perspective=parseFloat(r.defaultTransformPerspective)||0,this.force3D=!(!1===r.defaultForce3D||!It)&&(r.defaultForce3D||"auto")},Ot=_gsScope.SVGElement,Ht=function(t,e,i){var n,s=X.createElementNS("http://www.w3.org/2000/svg",t),o=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(o,"$1-$2").toLowerCase(),i[n]);return e.appendChild(s),s},Lt=X.documentElement||{},zt=function(){var t,e,i,n=m||/Android/i.test(V)&&!_gsScope.chrome;return X.createElementNS&&!n&&(t=Ht("svg",Lt),e=Ht("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[kt]="50% 50%",e.style[At]="scaleX(0.5)",n=i===e.getBoundingClientRect().width&&!(p&&It),Lt.removeChild(t)),n}(),Bt=function(t,e,i,n,s,o){var a,l,c,h,u,d,p,f,m,g,v,y,T,b,w=t._gsTransform,S=Wt(t,!0);w&&(T=w.xOrigin,b=w.yOrigin),(!n||(a=n.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),e=at(e).split(" "),a=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=h=parseFloat(a[0]),i.yOrigin=u=parseFloat(a[1]),n&&S!==Nt&&(d=S[0],p=S[1],f=S[2],m=S[3],g=S[4],v=S[5],(y=d*m-p*f)&&(l=h*(m/y)+u*(-f/y)+(f*v-m*g)/y,c=h*(-p/y)+u*(d/y)-(d*v-p*g)/y,h=i.xOrigin=a[0]=l,u=i.yOrigin=a[1]=c)),w&&(o&&(i.xOffset=w.xOffset,i.yOffset=w.yOffset,w=i),s||!1!==s&&!1!==r.defaultSmoothOrigin?(l=h-T,c=u-b,w.xOffset+=l*S[0]+c*S[2]-l,w.yOffset+=l*S[1]+c*S[3]-c):w.xOffset=w.yOffset=0),o||t.setAttribute("data-svg-origin",a.join(" "))},Rt=function(t){var e,i=N("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Lt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Rt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return s?n.insertBefore(this,s):n.appendChild(this),Lt.removeChild(i),this.style.cssText=o,e},Gt=function(t){try{return t.getBBox()}catch(e){return Rt.call(t,!0)}},Xt=function(t){return!(!(Ot&&t.getCTM&&Gt(t))||t.parentNode&&!t.ownerSVGElement)},Nt=[1,0,0,1,0,0],Wt=function(t,e){var i,n,s,o,r,a,l=t._gsTransform||new Dt,c=t.style;if(At?n=J(t,Et,null,!0):t.currentStyle&&(n=t.currentStyle.filter.match(D),n=n&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,!At||!(a="none"===Q(t).display)&&t.parentNode||(a&&(o=c.display,c.display="block"),t.parentNode||(r=1,Lt.appendChild(t)),n=J(t,Et,null,!0),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,o?c.display=o:a&&jt(c,"display"),r&&Lt.removeChild(t)),(l.svg||t.getCTM&&Xt(t))&&(i&&-1!==(c[At]+"").indexOf("matrix")&&(n=c[At],i=0),s=t.getAttribute("transform"),i&&s&&(-1!==s.indexOf("matrix")?(n=s,i=0):-1!==s.indexOf("translate")&&(n="matrix(1,0,0,1,"+s.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",i=0))),i)return Nt;for(s=(n||"").match(y)||[],St=s.length;--St>-1;)o=Number(s[St]),s[St]=(r=o-(o|=0))?(1e5*r+(0>r?-.5:.5)|0)/1e5+o:o;return e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},Ft=Y.getTransform=function(t,i,n,s){if(t._gsTransform&&n&&!s)return t._gsTransform;var o,a,l,c,h,u,d=n?t._gsTransform||new Dt:new Dt,p=d.scaleX<0,f=2e-5,m=1e5,g=It?parseFloat(J(t,kt,i,!1,"0 0 0").split(" ")[2])||d.zOrigin||0:0,v=parseFloat(r.defaultTransformPerspective)||0;if(d.svg=!(!t.getCTM||!Xt(t)),d.svg&&(Bt(t,J(t,kt,i,!1,"50% 50%")+"",d,t.getAttribute("data-svg-origin")),Ct=r.useSVGTransformAttr||zt),(o=Wt(t))!==Nt){if(16===o.length){var y,T,b,w,S,_=o[0],x=o[1],P=o[2],C=o[3],M=o[4],A=o[5],E=o[6],k=o[7],I=o[8],D=o[9],O=o[10],H=o[12],L=o[13],z=o[14],R=o[11],G=Math.atan2(E,O);d.zOrigin&&(z=-d.zOrigin,H=I*z-o[12],L=D*z-o[13],z=O*z+d.zOrigin-o[14]),d.rotationX=G*B,G&&(w=Math.cos(-G),S=Math.sin(-G),y=M*w+I*S,T=A*w+D*S,b=E*w+O*S,I=M*-S+I*w,D=A*-S+D*w,O=E*-S+O*w,R=k*-S+R*w,M=y,A=T,E=b),G=Math.atan2(-P,O),d.rotationY=G*B,G&&(w=Math.cos(-G),S=Math.sin(-G),y=_*w-I*S,T=x*w-D*S,b=P*w-O*S,D=x*S+D*w,O=P*S+O*w,R=C*S+R*w,_=y,x=T,P=b),G=Math.atan2(x,_),d.rotation=G*B,G&&(w=Math.cos(G),S=Math.sin(G),y=_*w+x*S,T=M*w+A*S,b=I*w+D*S,x=x*w-_*S,A=A*w-M*S,D=D*w-I*S,_=y,M=T,I=b),d.rotationX&&Math.abs(d.rotationX)+Math.abs(d.rotation)>359.9&&(d.rotationX=d.rotation=0,d.rotationY=180-d.rotationY),G=Math.atan2(M,A),d.scaleX=(Math.sqrt(_*_+x*x+P*P)*m+.5|0)/m,d.scaleY=(Math.sqrt(A*A+E*E)*m+.5|0)/m,d.scaleZ=(Math.sqrt(I*I+D*D+O*O)*m+.5|0)/m,_/=d.scaleX,M/=d.scaleY,x/=d.scaleX,A/=d.scaleY,Math.abs(G)>f?(d.skewX=G*B,M=0,"simple"!==d.skewType&&(d.scaleY*=1/Math.cos(G))):d.skewX=0,d.perspective=R?1/(0>R?-R:R):0,d.x=H,d.y=L,d.z=z,d.svg&&(d.x-=d.xOrigin-(d.xOrigin*_-d.yOrigin*M),d.y-=d.yOrigin-(d.yOrigin*x-d.xOrigin*A))}else if(!It||s||!o.length||d.x!==o[4]||d.y!==o[5]||!d.rotationX&&!d.rotationY){var X=o.length>=6,N=X?o[0]:1,W=o[1]||0,F=o[2]||0,Y=X?o[3]:1;d.x=o[4]||0,d.y=o[5]||0,l=Math.sqrt(N*N+W*W),c=Math.sqrt(Y*Y+F*F),h=N||W?Math.atan2(W,N)*B:d.rotation||0,u=F||Y?Math.atan2(F,Y)*B+h:d.skewX||0,d.scaleX=l,d.scaleY=c,d.rotation=h,d.skewX=u,It&&(d.rotationX=d.rotationY=d.z=0,d.perspective=v,d.scaleZ=1),d.svg&&(d.x-=d.xOrigin-(d.xOrigin*N+d.yOrigin*F),d.y-=d.yOrigin-(d.xOrigin*W+d.yOrigin*Y))}Math.abs(d.skewX)>90&&Math.abs(d.skewX)<270&&(p?(d.scaleX*=-1,d.skewX+=d.rotation<=0?180:-180,d.rotation+=d.rotation<=0?180:-180):(d.scaleY*=-1,d.skewX+=d.skewX<=0?180:-180)),d.zOrigin=g;for(a in d)d[a]<f&&d[a]>-f&&(d[a]=0)}return n&&(t._gsTransform=d,d.svg&&(Ct&&t.style[At]?e.delayedCall(.001,function(){jt(t.style,At)}):!Ct&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),d},Yt=function(t){var e,i,n=this.data,s=-n.rotation*z,o=s+n.skewX*z,r=1e5,a=(Math.cos(s)*n.scaleX*r|0)/r,l=(Math.sin(s)*n.scaleX*r|0)/r,c=(Math.sin(o)*-n.scaleY*r|0)/r,h=(Math.cos(o)*n.scaleY*r|0)/r,u=this.t.style,d=this.t.currentStyle;if(d){i=l,l=-c,c=-i,e=d.filter,u.filter="";var p,f,g=this.t.offsetWidth,v=this.t.offsetHeight,y="absolute"!==d.position,T="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+l+", M21="+c+", M22="+h,b=n.x+g*n.xPercent/100,w=n.y+v*n.yPercent/100;if(null!=n.ox&&(p=(n.oxp?g*n.ox*.01:n.ox)-g/2,f=(n.oyp?v*n.oy*.01:n.oy)-v/2,b+=p-(p*a+f*l),w+=f-(p*c+f*h)),y?(p=g/2,f=v/2,T+=", Dx="+(p-(p*a+f*l)+b)+", Dy="+(f-(p*c+f*h)+w)+")"):T+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(O,T):u.filter=T+" "+e,(0===t||1===t)&&1===a&&0===l&&0===c&&1===h&&(y&&-1===T.indexOf("Dx=0, Dy=0")||_.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!y){var x,P,C,M=8>m?1:-1;for(p=n.ieOffsetX||0,f=n.ieOffsetY||0,n.ieOffsetX=Math.round((g-((0>a?-a:a)*g+(0>l?-l:l)*v))/2+b),n.ieOffsetY=Math.round((v-((0>h?-h:h)*v+(0>c?-c:c)*g))/2+w),St=0;4>St;St++)P=ot[St],x=d[P],i=-1!==x.indexOf("px")?parseFloat(x):tt(this.t,P,parseFloat(x),x.replace(S,""))||0,C=i!==n[P]?2>St?-n.ieOffsetX:-n.ieOffsetY:2>St?p-n.ieOffsetX:f-n.ieOffsetY,u[P]=(n[P]=Math.round(i-C*(0===St||2===St?1:M)))+"px"}}},Vt=Y.set3DTransformRatio=Y.setTransformRatio=function(t){var e,i,n,s,o,r,a,l,c,h,u,d,f,m,g,v,y,T,b,w,S,_,x,P=this.data,C=this.t.style,M=P.rotation,A=P.rotationX,E=P.rotationY,k=P.scaleX,I=P.scaleY,D=P.scaleZ,O=P.x,H=P.y,L=P.z,B=P.svg,R=P.perspective,G=P.force3D,X=P.skewY,N=P.skewX;if(X&&(N+=X,M+=X),!((1!==t&&0!==t||"auto"!==G||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&G||L||R||E||A||1!==D)||Ct&&B||!It)M||N||B?(M*=z,_=N*z,x=1e5,i=Math.cos(M)*k,o=Math.sin(M)*k,n=Math.sin(M-_)*-I,r=Math.cos(M-_)*I,_&&"simple"===P.skewType&&(e=Math.tan(_-X*z),e=Math.sqrt(1+e*e),n*=e,r*=e,X&&(e=Math.tan(X*z),e=Math.sqrt(1+e*e),i*=e,o*=e)),B&&(O+=P.xOrigin-(P.xOrigin*i+P.yOrigin*n)+P.xOffset,H+=P.yOrigin-(P.xOrigin*o+P.yOrigin*r)+P.yOffset,Ct&&(P.xPercent||P.yPercent)&&(g=this.t.getBBox(),O+=.01*P.xPercent*g.width,H+=.01*P.yPercent*g.height),(g=1e-6)>O&&O>-g&&(O=0),g>H&&H>-g&&(H=0)),b=(i*x|0)/x+","+(o*x|0)/x+","+(n*x|0)/x+","+(r*x|0)/x+","+O+","+H+")",B&&Ct?this.t.setAttribute("transform","matrix("+b):C[At]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix(":"matrix(")+b):C[At]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+I+","+O+","+H+")";else{if(p&&((g=1e-4)>k&&k>-g&&(k=D=2e-5),g>I&&I>-g&&(I=D=2e-5),!R||P.z||P.rotationX||P.rotationY||(R=0)),M||N)M*=z,v=i=Math.cos(M),y=o=Math.sin(M),N&&(M-=N*z,v=Math.cos(M),y=Math.sin(M),"simple"===P.skewType&&(e=Math.tan((N-X)*z),e=Math.sqrt(1+e*e),v*=e,y*=e,P.skewY&&(e=Math.tan(X*z),e=Math.sqrt(1+e*e),i*=e,o*=e))),n=-y,r=v;else{if(!(E||A||1!==D||R||B))return void(C[At]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) translate3d(":"translate3d(")+O+"px,"+H+"px,"+L+"px)"+(1!==k||1!==I?" scale("+k+","+I+")":""));i=r=1,n=o=0}h=1,s=a=l=c=u=d=0,f=R?-1/R:0,m=P.zOrigin,g=1e-6,w=",",S="0",(M=E*z)&&(v=Math.cos(M),y=Math.sin(M),l=-y,u=f*-y,s=i*y,a=o*y,h=v,f*=v,i*=v,o*=v),(M=A*z)&&(v=Math.cos(M),y=Math.sin(M),e=n*v+s*y,T=r*v+a*y,c=h*y,d=f*y,s=n*-y+s*v,a=r*-y+a*v,h*=v,f*=v,n=e,r=T),1!==D&&(s*=D,a*=D,h*=D,f*=D),1!==I&&(n*=I,r*=I,c*=I,d*=I),1!==k&&(i*=k,o*=k,l*=k,u*=k),(m||B)&&(m&&(O+=s*-m,H+=a*-m,L+=h*-m+m),B&&(O+=P.xOrigin-(P.xOrigin*i+P.yOrigin*n)+P.xOffset,H+=P.yOrigin-(P.xOrigin*o+P.yOrigin*r)+P.yOffset),g>O&&O>-g&&(O=S),g>H&&H>-g&&(H=S),g>L&&L>-g&&(L=0)),b=P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix3d(":"matrix3d(",b+=(g>i&&i>-g?S:i)+w+(g>o&&o>-g?S:o)+w+(g>l&&l>-g?S:l),b+=w+(g>u&&u>-g?S:u)+w+(g>n&&n>-g?S:n)+w+(g>r&&r>-g?S:r),A||E||1!==D?(b+=w+(g>c&&c>-g?S:c)+w+(g>d&&d>-g?S:d)+w+(g>s&&s>-g?S:s),b+=w+(g>a&&a>-g?S:a)+w+(g>h&&h>-g?S:h)+w+(g>f&&f>-g?S:f)+w):b+=",0,0,0,0,1,0,",b+=O+w+H+w+L+w+(R?1+-L/R:1)+")",C[At]=b}};(c=Dt.prototype).x=c.y=c.z=c.skewX=c.skewY=c.rotation=c.rotationX=c.rotationY=c.zOrigin=c.xPercent=c.yPercent=c.xOffset=c.yOffset=0,c.scaleX=c.scaleY=c.scaleZ=1,xt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,o,a,l){if(n._lastParsedTransform===l)return o;n._lastParsedTransform=l;var c,h=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(c=l[i],l[i]=e),h&&(l.scale=h(v,t));var u,d,p,f,m,y,T,b,w,S=t._gsTransform,_=t.style,x=Mt.length,P=l,C={},M="transformOrigin",A=Ft(t,s,!0,P.parseTransform),E=P.transform&&("function"==typeof P.transform?P.transform(v,g):P.transform);if(A.skewType=P.skewType||A.skewType||r.defaultSkewType,n._transform=A,E&&"string"==typeof E&&At)d=W.style,d[At]=E,d.display="block",d.position="absolute",X.body.appendChild(W),u=Ft(W,null,!1),"simple"===A.skewType&&(u.scaleY*=Math.cos(u.skewX*z)),A.svg&&(y=A.xOrigin,T=A.yOrigin,u.x-=A.xOffset,u.y-=A.yOffset,(P.transformOrigin||P.svgOrigin)&&(E={},Bt(t,at(P.transformOrigin),E,P.svgOrigin,P.smoothOrigin,!0),y=E.xOrigin,T=E.yOrigin,u.x-=E.xOffset-A.xOffset,u.y-=E.yOffset-A.yOffset),(y||T)&&(b=Wt(W,!0),u.x-=y-(y*b[0]+T*b[2]),u.y-=T-(y*b[1]+T*b[3]))),X.body.removeChild(W),u.perspective||(u.perspective=A.perspective),null!=P.xPercent&&(u.xPercent=ct(P.xPercent,A.xPercent)),null!=P.yPercent&&(u.yPercent=ct(P.yPercent,A.yPercent));else if("object"==typeof P){if(u={scaleX:ct(null!=P.scaleX?P.scaleX:P.scale,A.scaleX),scaleY:ct(null!=P.scaleY?P.scaleY:P.scale,A.scaleY),scaleZ:ct(P.scaleZ,A.scaleZ),x:ct(P.x,A.x),y:ct(P.y,A.y),z:ct(P.z,A.z),xPercent:ct(P.xPercent,A.xPercent),yPercent:ct(P.yPercent,A.yPercent),perspective:ct(P.transformPerspective,A.perspective)},null!=(m=P.directionalRotation))if("object"==typeof m)for(d in m)P[d]=m[d];else P.rotation=m;"string"==typeof P.x&&-1!==P.x.indexOf("%")&&(u.x=0,u.xPercent=ct(P.x,A.xPercent)),"string"==typeof P.y&&-1!==P.y.indexOf("%")&&(u.y=0,u.yPercent=ct(P.y,A.yPercent)),u.rotation=ht("rotation"in P?P.rotation:"shortRotation"in P?P.shortRotation+"_short":"rotationZ"in P?P.rotationZ:A.rotation,A.rotation,"rotation",C),It&&(u.rotationX=ht("rotationX"in P?P.rotationX:"shortRotationX"in P?P.shortRotationX+"_short":A.rotationX||0,A.rotationX,"rotationX",C),u.rotationY=ht("rotationY"in P?P.rotationY:"shortRotationY"in P?P.shortRotationY+"_short":A.rotationY||0,A.rotationY,"rotationY",C)),u.skewX=ht(P.skewX,A.skewX),u.skewY=ht(P.skewY,A.skewY)}for(It&&null!=P.force3D&&(A.force3D=P.force3D,f=!0),(p=A.force3D||A.z||A.rotationX||A.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==P.scale||(u.scaleZ=1);--x>-1;)w=Mt[x],((E=u[w]-A[w])>1e-6||-1e-6>E||null!=P[w]||null!=R[w])&&(f=!0,o=new Tt(A,w,A[w],E,o),w in C&&(o.e=C[w]),o.xs0=0,o.plugin=a,n._overwriteProps.push(o.n));return E=P.transformOrigin,A.svg&&(E||P.svgOrigin)&&(y=A.xOffset,T=A.yOffset,Bt(t,at(E),u,P.svgOrigin,P.smoothOrigin),o=bt(A,"xOrigin",(S?A:u).xOrigin,u.xOrigin,o,M),o=bt(A,"yOrigin",(S?A:u).yOrigin,u.yOrigin,o,M),(y!==A.xOffset||T!==A.yOffset)&&(o=bt(A,"xOffset",S?y:A.xOffset,A.xOffset,o,M),o=bt(A,"yOffset",S?T:A.yOffset,A.yOffset,o,M)),E="0px 0px"),(E||It&&p&&A.zOrigin)&&(At?(f=!0,w=kt,E=(E||J(t,w,s,!1,"50% 50%"))+"",o=new Tt(_,w,0,0,o,-1,M),o.b=_[w],o.plugin=a,It?(d=A.zOrigin,E=E.split(" "),A.zOrigin=(E.length>2&&(0===d||"0px"!==E[2])?parseFloat(E[2]):d)||0,o.xs0=o.e=E[0]+" "+(E[1]||"50%")+" 0px",o=new Tt(A,"zOrigin",0,0,o,-1,o.n),o.b=d,o.xs0=o.e=A.zOrigin):o.xs0=o.e=E):at(E+"",A)),f&&(n._transformType=A.svg&&Ct||!p&&3!==this._transformType?2:3),c&&(l[i]=c),h&&(l.scale=h),o},prefix:!0}),xt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),xt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,o,r,a){e=this.format(e);var l,c,h,u,d,p,f,m,g,v,y,T,b,w,S,_,x=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],P=t.style;for(g=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=e.split(" "),c=0;c<x.length;c++)this.p.indexOf("border")&&(x[c]=Z(x[c])),-1!==(d=u=J(t,x[c],s,!1,"0px")).indexOf(" ")&&(u=d.split(" "),d=u[0],u=u[1]),p=h=l[c],f=parseFloat(d),T=d.substr((f+"").length),b="="===p.charAt(1),b?(m=parseInt(p.charAt(0)+"1",10),p=p.substr(2),m*=parseFloat(p),y=p.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(p),y=p.substr((m+"").length)),""===y&&(y=n[i]||T),y!==T&&(w=tt(t,"borderLeft",f,T),S=tt(t,"borderTop",f,T),"%"===y?(d=w/g*100+"%",u=S/v*100+"%"):"em"===y?(_=tt(t,"borderLeft",1,"em"),d=w/_+"em",u=S/_+"em"):(d=w+"px",u=S+"px"),b&&(p=parseFloat(d)+m+y,h=parseFloat(u)+m+y)),r=wt(P,x[c],d+" "+u,p+" "+h,!1,"0px",r);return r},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),xt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,o,r){return wt(t.style,i,this.format(J(t,i,s,!1,"0px 0px")),this.format(e),!1,"0px",o)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),xt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,o,r){var a,l,c,h,u,d,p="background-position",f=s||Q(t,null),g=this.format((f?m?f.getPropertyValue(p+"-x")+" "+f.getPropertyValue(p+"-y"):f.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),v=this.format(e);if(-1!==g.indexOf("%")!=(-1!==v.indexOf("%"))&&v.split(",").length<2&&(d=J(t,"backgroundImage").replace(E,""))&&"none"!==d){for(a=g.split(" "),l=v.split(" "),F.setAttribute("src",d),c=2;--c>-1;)g=a[c],(h=-1!==g.indexOf("%"))!==(-1!==l[c].indexOf("%"))&&(u=0===c?t.offsetWidth-F.width:t.offsetHeight-F.height,a[c]=h?parseFloat(g)/100*u+"px":parseFloat(g)/u*100+"%");g=a.join(" ")}return this.parseComplex(t.style,g,v,o,r)},formatter:at}),xt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="",at(-1===t.indexOf(" ")?t+" "+t:t)}}),xt("perspective",{defaultValue:"0px",prefix:!0}),xt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),xt("transformStyle",{prefix:!0}),xt("backfaceVisibility",{prefix:!0}),xt("userSelect",{prefix:!0}),xt("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),xt("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),xt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,o,r){var a,l,c;return 9>m?(l=t.currentStyle,c=8>m?" ":",",a="rect("+l.clipTop+c+l.clipRight+c+l.clipBottom+c+l.clipLeft+")",e=this.format(e).split(",").join(c)):(a=this.format(J(t,this.p,s,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,r)}}),xt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),xt("autoRound,strictUnits",{parser:function(t,e,i,n,s){return s}}),xt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,o,r){var a=J(t,"borderTopWidth",s,!1,"0px"),l=this.format(e).split(" "),c=l[0].replace(S,"");return"px"!==c&&(a=parseFloat(a)/tt(t,"borderTopWidth",1,c)+c),this.parseComplex(t.style,this.format(a+" "+J(t,"borderTopStyle",s,!1,"solid")+" "+J(t,"borderTopColor",s,!1,"#000")),l.join(" "),o,r)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),xt("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),xt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,s,o){var r=t.style,a="cssFloat"in r?"cssFloat":"styleFloat";return new Tt(r,a,0,0,s,-1,i,!1,0,r[a],e)}});var $t=function(t){var e,i=this.t,n=i.filter||J(this.data,"filter")||"",s=this.s+this.c*t|0;100===s&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!J(this.data,"filter")):(i.filter=n.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0===s&&this.xn1||(i.filter=n+" alph
1a(opacity="+s+")"):i.filter=n.replace(_,"opacity="+s))};xt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,o,r){var a=parseFloat(J(t,"opacity",s,!1,"1")),l=t.style,c="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),c&&1===a&&"hidden"===J(t,"visibility",s)&&0!==e&&(a=0),$?o=new Tt(l,"opacity",a,e-a,o):(o=new Tt(l,"opacity",100*a,100*(e-a),o),o.xn1=c?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=r,o.setRatio=$t),c&&(o=new Tt(l,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit"),o.xs0="inherit",n._overwriteProps.push(o.n),n._overwriteProps.push(i)),o}});var jt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(M,"-$1").toLowerCase())):t.removeAttribute(e))},Ut=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:jt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};xt("className",{parser:function(t,e,n,o,r,a,l){var c,h,u,d,p,f=t.getAttribute("class")||"",m=t.style.cssText;if(r=o._classNamePT=new Tt(t,n,0,0,r,2),r.setRatio=Ut,r.pr=-11,i=!0,r.b=f,h=it(t,s),u=t._gsClassPT){for(d={},p=u.data;p;)d[p.p]=1,p=p._next;u.setRatio(1)}return t._gsClassPT=r,r.e="="!==e.charAt(1)?e:f.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",r.e),c=nt(t,h,it(t),l,d),t.setAttribute("class",f),r.data=c.firstMPT,t.style.cssText=m,r=r.xfirst=o.parse(t,c.difs,r,a)}});var qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,s,o,r=this.t.style,a=l.transform.parse;if("all"===this.e)r.cssText="",s=!0;else for(e=this.e.split(" ").join("").split(","),n=e.length;--n>-1;)i=e[n],l[i]&&(l[i].parse===a?s=!0:i="transformOrigin"===i?kt:l[i].p),jt(r,i);s&&(jt(r,At),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(xt("clearProps",{parser:function(t,e,n,s,o){return o=new Tt(t,n,0,0,o,2),o.setRatio=qt,o.e=e,o.pr=-10,o.data=s._tween,i=!0,o}}),c="bezier,throwProps,physicsProps,physics2D".split(","),St=c.length;St--;)Pt(c[St]);(c=r.prototype)._firstPT=c._lastParsedTransform=c._transform=null,c._onInitTween=function(t,e,a,c){if(!t.nodeType)return!1;this._target=g=t,this._tween=a,this._vars=e,v=c,h=e.autoRound,i=!1,n=e.suffixMap||r.suffixMap,s=Q(t,""),o=this._overwriteProps;var p,m,y,T,b,w,S,_,P,C=t.style;if(u&&""===C.zIndex&&("auto"===(p=J(t,"zIndex",s))||""===p)&&this._addLazySet(C,"zIndex",0),"string"==typeof e&&(T=C.cssText,p=it(t,s),C.cssText=T+";"+e,p=nt(t,p,it(t)).difs,!$&&x.test(e)&&(p.opacity=parseFloat(RegExp.$1)),e=p,C.cssText=T),e.className?this._firstPT=m=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=m=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,At?d&&(u=!0,""===C.zIndex&&("auto"===(S=J(t,"zIndex",s))||""===S)&&this._addLazySet(C,"zIndex",0),f&&this._addLazySet(C,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):C.zoom=1,y=m;y&&y._next;)y=y._next;_=new Tt(t,"transform",0,0,null,2),this._linkCSSP(_,null,y),_.setRatio=At?Vt:Yt,_.data=this._transform||Ft(t,s,!0),_.tween=a,_.pr=-1,o.pop()}if(i){for(;m;){for(w=m._next,y=T;y&&y.pr>m.pr;)y=y._next;(m._prev=y?y._prev:b)?m._prev._next=m:T=m,(m._next=y)?y._prev=m:b=m,m=w}this._firstPT=T}return!0},c.parse=function(t,e,i,o){var r,a,c,u,d,p,f,m,y,T,b=t.style;for(r in e){if("function"==typeof(p=e[r])&&(p=p(v,g)),a=l[r])i=a.parse(t,p,r,this,i,o,e);else{if("--"===r.substr(0,2)){this._tween._propLookup[r]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(r)+"",p+"",r,!1,r);continue}d=J(t,r,s)+"",y="string"==typeof p,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||y&&C.test(p)?(y||(p=pt(p),p=(p.length>3?"rgba(":"rgb(")+p.join(",")+")"),i=wt(b,r,d,p,!0,"transparent",i,0,o)):y&&L.test(p)?i=wt(b,r,d,p,!0,null,i,0,o):(c=parseFloat(d),f=c||0===c?d.substr((c+"").length):"",(""===d||"auto"===d)&&("width"===r||"he
1ight"===r?(c=rt(t,r,s),f="px"):"left"===r||"top"===r?(c=et(t,r,s),f="px"):(c="opacity"!==r?0:1,f="")),T=y&&"="===p.charAt(1),T?(u=parseInt(p.charAt(0)+"1",10),p=p.substr(2),u*=parseFloat(p),m=p.replace(S,"")):(u=parseFloat(p),m=y?p.replace(S,""):""),""===m&&(m=r in n?n[r]:f),p=u||0===u?(T?u+c:u)+m:e[r],f!==m&&(""!==m||"lineHeight"===r)&&(u||0===u)&&c&&(c=tt(t,r,c,f),"%"===m?(c/=tt(t,r,100,"%")/100,!0!==e.strictUnits&&(d=c+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?c/=tt(t,r,1,m):"px"!==m&&(u=tt(t,r,u,m),m="px"),T&&(u||0===u)&&(p=u+c+m)),T&&(u+=c),!c&&0!==c||!u&&0!==u?void 0!==b[r]&&(p||p+""!="NaN"&&null!=p)?(i=new Tt(b,r,u||c||0,0,i,-1,r,!1,0,d,p),i.xs0="none"!==p||"display"!==r&&-1===r.indexOf("Style")?p:d):U("invalid "+r+" tween value: "+e[r]):(i=new Tt(b,r,c,u-c,i,0,r,!1!==h&&("px"===m||"zIndex"===r),0,d,p),i.xs0=m))}o&&i&&!i.plugin&&(i.plugin=o)}return i},c.setRatio=function(t){var e,i,n,s=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;s;){if(e=s.c*t+s.s,s.r?e=Math.round(e):1e-6>e&&e>-1e-6&&(e=0),s.type)if(1===s.type)if(2===(n=s.l))s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else for(;s;)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else for(;s;){if(2!==s.type)if(s.r&&-1!==s.type)if(e=Math.round(s.s+s.c),s.type){if(1===s.type){for(n=s.l,i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}}else s.t[s.p]=e+s.xs0;else s.t[s.p]=s.e;else s.setRatio(t);s=s._next}},c._enableTransforms=function(t){this._transform=this._transform||Ft(this._target,s,!0),this._transformType=this._transform.svg&&Ct||!t&&3!==this._transformType?2:3};var Kt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};c._addLazySet=function(t,e,i){var n=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Kt,n.data=this},c._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},c._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&t[e.p]===Math.round&&(e.r=1),e=e._next},c._kill=function(e){var i,n,s,o=e;if(e.autoAlpha||e.alpha){o={};for(n in e)o[n]=e[n];o.opacity=1,o.autoAlpha&&(o.visibility=1)}for(e.className&&(i=this._classNamePT)&&(s=i.xfirst,s&&s._prev?this._linkCSSP(s._prev,i._next,s._prev._prev):s===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,s._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==n&&i.plugin._kill&&(i.plugin._kill(e),n=i.plugin),i=i._next;return t.prototype._kill.call(this,o)};var Zt=function(t,e,i){var n,s,o,r;if(t.slice)for(s=t.length;--s>-1;)Zt(t[s],e,i);else for(n=t.childNodes,s=n.length;--s>-1;)o=n[s],r=o.type,o.style&&(e.push(it(o)),i&&i.push(o)),1!==r&&9!==r&&11!==r||!o.childNodes.length||Zt(o,e,i)};return r.cascadeTo=function(t,i,n){var s,o,r,a,l=e.to(t,i,n),c=[l],h=[],u=[],d=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Zt(t,h,d),l.render(i,!0,!0),Zt(t,u),l.render(0,!0,!0),l._enabled(!0),s=d.length;--s>-1;)if((o=nt(d[s],h[s],u[s])).firstMPT){o=o.difs;for(r in n)p[r]&&(o[r]=n[r]);a={};for(r in o)a[r]=h[s][r];c.push(e.fromTo(d[s],i,a,o))}return c},t.activate([r]),r},!0),function(){var t=function(t){for(;t;)t.f||t.blob||(t.m=Math.round),t=t._next},e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}).prototype;e._onInitAllProps=function(){for(var e,i,n,s=this._tween,o=s.vars.roundProps.join?s.vars.roun
vendor: 11,880 bytes, line 1
1dProps:s.vars.roundProps.split(","),r=o.length,a={},l=s._propLookup.roundProps;--r>-1;)a[o[r]]=Math.round;for(r=o.length;--r>-1;)for(e=o[r],i=s._firstPT;i;)n=i._next,i.pg?i.t._mod(a):i.n===e&&(2===i.f&&i.t?t(i.t._firstPT):(this._add(i.t,e,i.s,i.c),n&&(n._prev=i._prev),i._prev?i._prev._next=n:s._firstPT===i&&(s._firstPT=n),i._next=i._prev=null,s._propLookup[e]=l)),i=n;return!1},e._add=function(t,e,i,n){this._addTween(t,e,i,i+n,e,Math.round),this._overwriteProps.push(e)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,n){var s,o;if("function"!=typeof t.setAttribute)return!1;for(s in e)"function"==typeof(o=e[s])&&(o=o(n,t)),this._addTween(t,"setAttribute",t.getAttribute(s)+"",o+"",s,!1,s),this._overwriteProps.push(s);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!=typeof e&&(e={rotation:e}),this.finals={};var s,o,r,a,l,c,h=!0===e.useRadians?2*Math.PI:360;for(s in e)"useRadians"!==s&&("function"==typeof(a=e[s])&&(a=a(n,t)),c=(a+"").split("_"),o=c[0],r=parseFloat("function"!=typeof t[s]?t[s]:t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]()),a=this.finals[s]="string"==typeof o&&"="===o.charAt(1)?r+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0,l=a-r,c.length&&(-1!==(o=c.join("_")).indexOf("short")&&(l%=h)!==l%(h/2)&&(l=0>l?l+h:l-h),-1!==o.indexOf("_cw")&&0>l?l=(l+9999999999*h)%h-(l/h|0)*h:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*h)%h-(l/h|0)*h)),(l>1e-6||-1e-6>l)&&(this._addTween(t,s,r,r+l,s),this._overwriteProps.push(s)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,n,s=_gsScope.GreenSockGlobals||_gsScope,o=s.com.greensock,r=2*Math.PI,a=Math.PI/2,l=o._class,c=function(e,i){var n=l("easing."+e,function(){},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,n},h=t.register||function(){},u=function(t,e,i,n,s){var o=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return h(o,t),o},d=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var n=l("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t){return new n(t)},n},f=u("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=l("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0),g=e.prototype=new t,g.constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=l("easing.RoughEase",function(e){for(var i,n,s,o,r,a,l=(e=e||{}).taper||"none",c=[],h=0,u=0|(e.points||20),p=u,f=!1!==e.randomize,m=!0===e.clamp,g=e.template instanceof t?e.template:null,v="number"==typeof e.strength?.4*e.strength:.4;--p>-1;)i=f?Math.random():1/u*p,n=g?g.getRatio(i):i,"none"===l?s=v:"out"===l?(o=1-i,s=o*o*v):"in"===l?s=i*i*v:.5>i?(o=2*i,s=o*o*.5*v):(o=2*(1-i),s=o*o*.5*v),f?n+=Math.random()*s-.5*s:p%2?n+=.5*s:n-=.5*s,m&&(n>1?n=1:0>n&&(n=0)),c[h++]={x:i,y:n};for(c.sort(function(t,e){return t.x-e.x}),a=new d(1,1,null),p=u;--p>-1;)r=c[p],a=new d(r.x,r.y,a);this._prev=new d(0,0,0!==a.t?a:a.next)},!0),g=i.prototype=new t,g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,u("Bounce",c("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),c("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),c("BounceInOut",function(t){var e=.5>t;return t=e?1-2*t:2*t-1,t=1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),u("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,n){var s=l("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||n)/(1>t?t:1),this._p3=this._p2/r*(Math.asin(1/this._p1)||0),this._p2=r/this._p2},!0),o=s.prototype=new t;return o.constructor=s,o.getRatio=i,o.config=function(t,e){return new s(t,e)},s},u("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),u("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),u("Sine",c("SineOut",function(t){return Math.sin(t*a)}),c("SineIn",function(t){return 1-Math.cos(t*a)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(e,"SteppedEase","ease,"),f},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){var i={},n=t.document,s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!s.TweenLite){var o,r,a,l,c,h=function(t){var e,i=t.split("."),n=s;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n},u=h("com.greensock"),d=1e-10,p=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},f=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),g={},v=function(n,o,r,a){this.sc=g[n]?g[n].sc:[],g[n]=this,this.gsClass=null,this.func=r;var l=[];this.check=function(c){for(var u,d,p,f,m=o.length,y=m;--m>-1;)(u=g[o[m]]||new v(o[m],[])).gsClass?(l[m]=u.gsClass,y--):c&&u.sc.push(this);if(0===y&&r){if(d=("com.greensock."+n).split("."),p=d.pop(),f=h(d.join("."))[p]=this.gsClass=r.apply(r,l),a)if(s[p]=i[p]=f,"undefined"!=typeof module&&module.exports)if(n===e){module.exports=i[e]=f;for(m in i)f[m]=i[m]}else i[e]&&(i[e][p]=f);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+n.split(".").pop(),[],function(){return f});for(m=0;m<this.sc.length;m++)this.sc[m].check()}},this.check(!0)},y=t._gsDefine=function(t,e,i,n){return new v(t,e,i,n)},T=u._class=function(t,e,i){return e=e||function(){},y(t,[],function(){return e},i),e};y.globals=s;var b=[0,0,1,1],w=T("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?b.concat(e):b},!0),S=w.map={},_=w.register=function(t,e,i,n){for(var s,o,r,a,l=e.split(","),c=l.length,h=(i||"easeIn,easeOut,easeInOut").split(",");--c>-1;)for(o=l[c],s=n?T("easing."+o,null,!0):u.easing[o]||{},r=h.length;--r>-1;)a=h[r],S[o+"."+a]=S[a+o]=s[a]=t.getRatio?t:t[a]||new t};for((a=w.prototype)._calcEnd=!1,a.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:.5>t?n/2:1-n/2},r=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--r>-1;)a=o[r]+",Power"+r,_(new w(null,null,1,r),a,"easeOut",!0),_(new w(null,null,2,r),a,"easeIn"+(0===r?",easeNone":"")),_(new w(null,null,3,r),a,"easeInOut");S.linear=u.easing.Linear.easeIn,S.swing=u.easing.Quad.easeInOut;var x=T("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(a=x.prototype).addEventListener=function(t,e,i,n,s){s=s||0;var o,r,a=this._listeners[t],h=0;for(this!==l||c||l.wake(),null==a&&(this._listeners[t]=a=[]),r=a.length;--r>-1;)o=a[r],o.c===e&&o.s===i?a.splice(r,1):0===h&&o.pr<s&&(h=r+1);a.splice(h,0,{c:e,s:i,up:n,pr:s})},a.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},a.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s)for((e=s.length)>1&&(s=s.slice(0)),i=this._eventTarget;--e>-1;)(n=s[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var P=t.requestAnimationFrame,C=t.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},A=M();for(r=(o=["ms","moz","webkit","o"]).length;--r>-1&&!P;)P=t[o[r]+"RequestAnimationFrame"],C=t[o[r]+"CancelAnimationFrame"]||t[o[r]+"CancelRequestAnimationFrame"];T("Ticker",function(t,e){var i,s,o,r,a,h=this,u=M(),p=!(!1===e||!P)&&"auto",m=500,g=33,v=function(t){var e,n,l=M()-A;l>m&&(u+=l-g),A+=l,h.time=(A-u)/1e3,e=h.time-a,(!i||e>0||!0===t)&&(h.frame++,a+=e+(e>=r?.004:r-e),n=!0),!0!==t&&(o=s(v)),n&&h.dispatchEvent("tick")};x.call(h),h.time=h.frame=0,h.tick=function(){v(!0)},h.lagSmoothing=function(t,e){m=t||1/d,g=Math.min(e,m,0)},h.sleep=function(){null!=o&&(p&&C?C(o):clearTimeout(o),s=f,o=null,h===l&&(c=!1))},h.wake=function(t){null!==o?h.sleep():t?u+=-A+(A=M()):h.frame>10&&(A=M()-m+5),s=0===i?f:p&&P?P:function(t){return setTimeout(t,1e3*(a-h.time)+1|0)},h===l&&(c=!0),v(2)},h.fps=function(t){return arguments.length?(i=t,r=1/(i||60),a=this.time+r,void h.wake()):i},h.useRAF=function(t){return arguments.length?(h.sleep(),p=t,void h.fps(i)):p},h.fps(t),setTimeout(function(){"auto"===p&&h.frame<5&&"hidden"!==n.visibilityState&&h.useRAF(!1)},1500)}),(a=u.Ticker.prototype=new u.events.EventDispatcher).constructor=u.Ticker;var E=T("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,q){c||l.wake();var i=this.vars.useFrames?U:q;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});l=E.ticker=new u.Ticker,(a=E.prototype)._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var k=function(){c&&M()-A>2e3&&"hidden"!==n.visibilityState&&l.wake();var t=setTimeout(k,2e3);t.unref&&t.unref()};k(),a.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},a.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},a.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},a.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},a.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},a.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)}
vendor: 6,392 bytes, line 1
1,a.render=function(t,e,i){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},a.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-1e-7},a._enabled=function(t,e){return c||l.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},a._kill=function(t,e){return this._enabled(!1,!1)},a.kill=function(t,e){return this._kill(t,e),this},a._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},a._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},a._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],s=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(s);break;case 1:i.call(s,n[0]);break;case 2:i.call(s,n[0],n[1]);break;default:i.apply(s,n)}},a.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},a.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},a.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},a.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,i){if(c||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(L.length&&Z(),this.render(t,e,!1),L.length&&Z())}return this},a.progress=a.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},a.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},a.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||d,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},a.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},a.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(c||t||l.wake(),e=n.rawTime(),i=e-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var I=T("core.SimpleTimeline",function(t){E.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(a=I.prototype=new E).constructor=I,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,i,n){var s,o;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),s=this._last,this._sortChildren)for(o=t._startTime;s&&s._startTime>o;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},a._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},a.render=function(t,e,i){var n,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)n=s._next,(s._active||t>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},a.rawTime=function(){return c||l.wake(),this._totalTime};var D=T("TweenLite",function(e,i,n){if(E.call(this,i,n),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var s,o,r,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?j[D.defaultOverwrite]:"number"==typeof l?l>>0:j[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=r=p(e),this._propLookup=[],this._siblings=[],s=0;s<r.length;s++)o=r[s],o?"string"!=typeof o?o.length&&o!==t&&o[0]&&(o[0]===t||o[0].nodeType&&o[0].style&&!o.nodeType)?(r.splice(s--,1),this._targets=r=r.concat(p(o))):(this._siblings[s]=Q(o,this,!1),1===l&&this._siblings[s].length>
vendor: 4,465 bytes, line 1
11&&tt(o,this,null,1,this._siblings[s])):"string"==typeof(o=r[s--]=D.selector(o))&&r.splice(s+1,1):r.splice(s--,1);else this._propLookup={},this._siblings=Q(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-d,this.render(Math.min(0,-this._delay)))},!0),O=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)},H=function(t,e){var i,n={};for(i in t)$[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!F[i]||F[i]&&F[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};(a=D.prototype=new E).constructor=D,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,D.version="1.20.2",D.defaultEase=a._ease=new w(null,null,1,1),D.defaultOverwrite="auto",D.ticker=l,D.autoSleep=120,D.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},D.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(D.selector=i,i(e)):void 0===n?e:n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e)};var L=[],z={},B=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,R=/[\+-]=-?[\.\d]/,G=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m(e,this._target||i.t):1e-6>e&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},X=function(t,e,i,n){var s,o,r,a,l,c,h,u=[],d=0,p="",f=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,s=t.match(B)||[],o=e.match(B)||[],n&&(n._next=null,n.blob=1,u._firstPT=u._applyPT=n),l=o.length,a=0;l>a;a++)h=o[a],c=e.substr(d,e.indexOf(h,d)-d),p+=c||!a?c:",",d+=c.length,f?f=(f+1)%5:"rgba("===c.substr(-5)&&(f=1),h===s[a]||s.length<=a?p+=h:(p&&(u.push(p),p=""),r=parseFloat(s[a]),u.push(r),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:r,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-r)||0,f:0,m:f&&4>f?Math.round:0}),d+=h.length;return(p+=e.substr(d))&&u.push(p),u.setRatio=G,R.test(e)&&(u.end=0),u},N=function(t,e,i,n,s,o,r,a,l){"function"==typeof n&&(n=n(l||0,t));var c,h=typeof t[e],u="function"!==h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),d="get"!==i?i:u?r?t[u](r):t[u]():t[e],p="string"==typeof n&&"="===n.charAt(1),f={t:t,p:e,s:d,f:"function"===h,pg:0,n:s||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-d||0};return("number"!=typeof d||"number"!=typeof n&&!p)&&(r||isNaN(d)||!p&&isNaN(n)||"boolean"==typeof d||"boolean"==typeof n?(f.fp=r,c=X(d,p?parseFloat(f.s)+f.c:n,a||D.defaultStringFilter,f),f={t:c,p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(f.s=parseFloat(d),p||(f.c=parseFloat(n)-f.s||0))),f.c?((f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f):void 0},W=D._internals={isArray:m,isSelector:O,lazyTweens:L,blobDif:X},F=D._plugins={},Y=W.tweenLookup={},V=0,$=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},j={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},U=E._rootFramesTimeline=new I,q=E._rootTimeline=new I,K=30,Z=W.lazyRender=function(){var t,e=L.length;for(z={};--e>-1;)(t=L[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};q._startTime=l.time,U._startTime=l.frame,q._active=U._active=!0,setTimeout(Z,1),E._updateRoot=D.render=function(){var t,e,i;if(L.length&&Z(),q.render((l.time-q._startTime)*q._timeScale,!1,!1),U.render((l.frame-U._startTime)*U._timeScale,!1,!1),L.length&&Z(),l.frame>=K){K=l.frame+(parseInt(D.autoSleep,10)||120);for(i in Y){for(t=(e=Y[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Y[i]}if((!(i=q._first)||i._paused)&&D.autoSleep&&!U._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",E._updateRoot);
vendor: 4,913 bytes, line 1
1var Q=function(t,e,i){var n,s,o=t._gsTweenID;if(Y[o||(t._gsTweenID=o="t"+V++)]||(Y[o]={target:t,tweens:[]}),e&&(n=Y[o].tweens,n[s=n.length]=e,i))for(;--s>-1;)n[s]===e&&n.splice(s,1);return Y[o].tweens},J=function(t,e,i,n){var s,o,r=t.vars.onOverwrite;return r&&(s=r(t,e,i,n)),(r=D.onOverwrite)&&(o=r(t,e,i,n)),!1!==s&&!1!==o},tt=function(t,e,i,n,s){var o,r,a,l;if(1===n||n>=4){for(l=s.length,o=0;l>o;o++)if((a=s[o])!==e)a._gc||a._kill(null,t,e)&&(r=!0);else if(5===n)break;return r}var c,h=e._startTime+d,u=[],p=0,f=0===e._duration;for(o=s.length;--o>-1;)(a=s[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(c=c||et(e,0,f),0===et(a,c,f)&&(u[p++]=a)):a._startTime<=h&&a._startTime+a.totalDuration()/a._timeScale>h&&((f||!a._initted)&&h-a._startTime<=2e-10||(u[p++]=a)));for(o=p;--o>-1;)if(a=u[o],2===n&&a._kill(i,t,e)&&(r=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!J(a,e))continue;a._enabled(!1,!1)&&(r=!0)}return r},et=function(t,e,i){for(var n=t._timeline,s=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return o/=s,o>e?o-e:i&&o===e||!t._initted&&2*d>o-e?d:(o+=t.totalDuration()/t._timeScale/s)>e+d?0:o-e-d};a._init=function(){var t,e,i,n,s,o,r=this.vars,a=this._overwrittenProps,l=this._duration,c=!!r.immediateRender,h=r.ease;if(r.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),s={};for(n in r.startAt)s[n]=r.startAt[n];if(s.overwrite=!1,s.immediateRender=!0,s.lazy=c&&!1!==r.lazy,s.startAt=s.delay=null,s.onUpdate=r.onUpdate,s.onUpdateScope=r.onUpdateScope||r.callbackScope||this,this._startAt=D.to(this.target,0,s),c)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(r.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(c=!1),i={};for(n in r)$[n]&&"autoCSS"!==n||(i[n]=r[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=c&&!1!==r.lazy,i.immediateRender=c,this._startAt=D.to(this.target,0,i),c){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof w?h:"function"==typeof h?new w(h,r.easeParams):S[h]||D.defaultEase:D.defaultEase,r.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,r.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;o>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&D._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),r.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=r.onUpdate,this._initted=!0},a._initProps=function(e,i,n,s,o){var r,a,l,c,h,u;if(null==e)return!1;z[e._gsTweenID]&&Z(),this.vars.css||e.style&&e!==t&&e.nodeType&&F.css&&!1!==this.vars.autoCSS&&H(this.vars,e);for(r in this.vars)if(u=this.vars[r],$[r])u&&(u instanceof Array||u.push&&m(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[r]=u=this._swapSelfInParams(u,this));else if(F[r]&&(c=new F[r])._onInitTween(e,this.vars[r],this,o)){for(this._firstPT=h={_next:this._firstPT,t:c,p:"setRatio",s:0,c:1,f:1,n:r,pg:1,pr:c._priority,m:0},a=c._overwriteProps.length;--a>-1;)i[c._overwriteProps[a]]=this._firstPT;(c._priority||c._onInitAllProps)&&(l=!0),(c._onDisable||c._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else i[r]=N.call(this,e,r,"get",u,r,0,null,this.vars.stringFilter,o);return s&&this._kill(s,e)?this._initProps(e,i,n,s,o):this._overwrite>1&&this._firstPT&&n.length>1&&tt(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,s,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(z[e._gsTweenID]=!0),l)},a.render=function(t,e,i){var n,s,o,r,a=this._time,l=this._duration,c=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(0>c||0>=t&&t>=-1e-7||c===d&&"isPause"!==this.data)&&c!==t&&(i=!0,c>d&&(s="onReverseComplete")),this._rawPrevTime=r=!e||t||c===t?t:d);else if(1e-7>t)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&c>0)&&(s="onReverseComplete",n=this._reversed),0>t&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(c>=0&&(c!==d||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=r=!e||t||c===t?t:d)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var h=t/l,u=this._easeType,p=this._easePower;(1===u||3===u&&h>
vendor: 4,215 bytes, line 1
1=.5)&&(h=1-h),3===u&&(h*=2),1===p?h*=h:2===p?h*=h*h:3===p?h*=h*h*h:4===p&&(h*=h*h*h*h),this.ratio=1===u?1-h:2===u?h:.5>t/l?h/2:1-h/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=c,L.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(0>t&&this._startAt&&-1e-4!==t&&this._startAt.render(t,e,i),e||(this._time!==a||n||i)&&this._callback("onUpdate")),s&&(!this._gc||i)&&(0>t&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,e,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===l&&this._rawPrevTime===d&&r!==d&&(this._rawPrevTime=0))}},a._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var n,s,o,r,a,l,c,h,u,d=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((m(e)||O(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(c=t||a,h=t!==s&&"all"!==s&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(o in c)a[o]&&(u||(u=[]),u.push(o));if((u||!t)&&!J(this,i,e,u))return!1}for(o in c)(r=a[o])&&(d&&(r.f?r.t[r.p](r.s):r.t[r.p]=r.s,l=!0),r.pg&&r.t._kill(c)&&(l=!0),r.pg&&0!==r.t._overwriteProps.length||(r._prev?r._prev._next=r._next:r===this._firstPT&&(this._firstPT=r._next),r._next&&(r._next._prev=r._prev),r._next=r._prev=null),delete a[o]),h&&(s[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},a.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],E.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-d,this.render(Math.min(0,-this._delay))),this},a._enabled=function(t,e){if(c||l.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=Q(n[i],this,!0);else this._siblings=Q(this.target,this,!0)}return E.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new D(t,e,n)},D.delayedCall=function(t,e,i,n,s){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:D.selector(t)||t;var i,n,s,o;if((m(t)||O(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(D.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(o=n[i],s=i;--s>-1;)o===n[s]&&n.splice(i,1)}else if(t._gsTweenID)for(n=Q(t).concat(),i=n.length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]}
1,D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=D.getTweensOf(t,e),s=n.length;--s>-1;)n[s]._kill(i,t)};var it=T("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(a=it.prototype,it.version="1.19.0",it.API=2,a._firstPT=null,a._addTween=N,a.setRatio=G,a._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},a._mod=a._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},D._onPluginEvent=function(t,e){var i,n,s,o,r,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(r=a._next,n=s;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:s=a,(a._next=n)?n._prev=a:o=a,a=r}a=e._firstPT=s}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(F[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},r=T("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,n),this._overwriteProps=s||[]},!0===t.global),a=r.prototype=new it(i);a.constructor=r,r.API=t.API;for(e in o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return r.version=t.version,it.activate([r]),r},o=t._gsQueue){for(r=0;r<o.length;r++)o[r]();for(a in g)g[a].func||t.console.log("GSAP encountered missing dependency: "+a)}c=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){function t(t,e,i,n,s,o){return i=(parseFloat(i||0)-parseFloat(t||0))*s,n=(parseFloat(n||0)-parseFloat(e||0))*o,Math.sqrt(i*i+n*n)}function e(t){return"string"!=typeof t&&t.nodeType||(t=_gsScope.TweenLite.selector(t)).length&&(t=t[0]),t}function i(t,e,i){var n,s,o=t.indexOf(" ");return-1===o?(n=void 0!==i?i+"":t,s=t):(n=t.substr(0,o),s=t.substr(o+1)),n=-1!==n.indexOf("%")?parseFloat(n)/100*e:parseFloat(n),s=-1!==s.indexOf("%")?parseFloat(s)/100*e:parseFloat(s),n>s?[s,n]:[n,s]}function n(i){if(!i)return 0;var n,s,o,r,a,c,h,u=(i=e(i)).tagName.toLowerCase(),d=1,p=1;"non-scaling-stroke"===i.getAttribute("vector-effect")&&(p=i.getScreenCTM(),d=p.a,p=p.d);try{s=i.getBBox()}catch(t){}if(s&&(s.width||s.height)||"rect"!==u&&"circle"!==u&&"ellipse"!==u||(s={width:parseFloat(i.getAttribute("rect"===u?"width":"circle"===u?"r":"rx")),height:parseFloat(i.getAttribute("rect"===u?"height":"circle"===u?"r":"ry"))},"rect"!==u&&(s.width*=2,s.height*=2)),"path"===u)r=i.style.strokeDasharray,i.style.strokeDasharray="none",n=i.getTotalLength()||0,d!==p&&console.log("Warning: <path> length cannot be measured accurately when vector-effect is non-scaling-stroke and the element isn't proportionally scaled."),n*=(d+p)/2,i.style.strokeDasharray=r;else if("rect"===u)n=2*s.width*d+2*s.height*p;else if("line"===u)n=t(i.getAttribute("x1"),i.getAttribute("y1"),i.getAttribute("x2"),i.getAttribute("y2"),d,p);else if("polyline"===u||"polygon"===u)for(o=i.getAttribute("points").match(l)||[],"polygon"===u&&o.push(o[0],o[1]),n=0,a=2;a<o.length;a+=2)n+=t(o[a-2],o[a-1],o[a],o[a+1],d,p)||0;else("circle"===u||"ellipse"===u)&&(c=s.width/2*d,h=s.height/2*p,n=Math.PI*(3*(c+h)-Math.sqrt((3*c+h)*(c+3*h))));return n||0}function s(t,i){if(!t)return[0,0];t=e(t),i=i||n(t)+1;var s=a(t),o=s.strokeDasharray||"",r=parseFloat(s.strokeDashoffset),l=o.indexOf(",");return 0>l&&(l=o.indexOf(" ")),(o=0>l?i:parseFloat(o.substr(0,l))||1e-5)>i&&(o=i),[Math.max(0,-r),Math.max(0,o-r)]}var o,r=_gsScope.document,a=r.defaultView?r.defaultView.getComputedStyle:function(){},l=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,c=-1!==((_gsScope.navigator||{}).userAgent||"").indexOf("Edge");(o=_gsScope._gsDefine.plugin({propName:"drawSVG",API:2,version:"0.1.4",global:!0,overwriteProps:["drawSVG"],init:function(t,e,o,r){if(!t.getBBox)return!1;var l,h,u,d,p=n(t)+1;return this._style=t.style,"function"==typeof e&&(e=e(r,t)),!0===e||"true"===e?e="0 100%":e?-1===(e+"").indexOf(" ")&&(e="0 "+e):e="0 0",l=s(t,p),h=i(e,p,l[0]),this._length=p+10,0===l[0]&&0===h[0]?(u=Math.max(1e-5,h[1]-p),this._dash=p+u,this._offset=p-l[1]+u,this._addTween(this,"_offset",this._offset,p-h[1]+u,"drawSVG")):(this._dash=l[1]-l[0]||1e-6,this._offset=-l[0],this._addTween(this,"_dash",this._dash,h[1]-h[0]||1e-5,"drawSVG"),this._addTween(this,"_offset",this._offset,-h[0],"drawSVG")),c&&(d=a(t),"butt"!==(h=d.strokeLinecap)&&h!==d.strokeLinejoin&&(h=parseFloat(d.strokeMiterlimit),this._addTween(t.style,"strokeMiterlimit",h,h+1e-4,"strokeMiterlimit"))),!0},set:function(t){this._firstPT&&(this._super.setRatio.call(this,t),this._style.strokeDashoffset=this._offset,this._style.strokeDasharray=1===t||0===t?this._offset<.001&&this._length-this._dash<=10?"none":this._offset===this._dash?"0px, 999999px":this._dash+"px,"+this._length+"px":this._dash+"px,"+this._length+"px")}})).getLength=n,o.getPosition=s}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).DrawSVGPlugin};"undefined"!=typeof module&&module.exports?(require("../TweenLite.min.js"),module.exports=e()):"function"==typeof define&&define.amd&&define(["TweenLite"],e)}(),function(t){var e=t.GreenSockGlobals||t,i=function(t){var i,n=t.split("."),s=e;for(i=0;i<n.length;i++)s[n[i]]=s=s[n[i]]||{};return s}("com.greensock.utils"),n=function(t){var e=t.nodeType,i="";if(1===e||9===e||11===e){if("string"==typeof t.textContent)return t.textContent;for(t=t.firstChild;t;t=t.nextSibling)i+=n(t)}else if(3===e||4===e)return t.nodeValue;return i},s=document,o=s.defaultView?s.defaultView.getComputedStyle:function(){}
vendor: 5,119 bytes, line 1
1,r=/([A-Z])/g,a=function(t,e,i,n){var s;return(i=i||o(t,null))?(t=i.getPropertyValue(e.replace(r,"-$1").toLowerCase()),s=t||i.length?t:i[e]):t.currentStyle&&(i=t.currentStyle,s=i[e]),n?s:parseInt(s,10)||0},l=function(t){return!!(t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},c=function(t){var e,i,n,s=[],o=t.length;for(e=0;o>e;e++)if(i=t[e],l(i))for(n=i.length,n=0;n<i.length;n++)s.push(i[n]);else s.push(i);return s},h=/(?:\r|\n|\t\t)/g,u=/(?:\s\s+)/g,d=127462,p=127487,f=function(t){return(t.charCodeAt(0)-55296<<10)+(t.charCodeAt(1)-56320)+65536},m=" style='position:relative;display:inline-block;"+(s.all&&!s.addEventListener?"*display:inline;*zoom:1;'":"'"),g=function(t,e){var i=-1!==(t=t||"").indexOf("++"),n=1;return i&&(t=t.split("++").join("")),function(){return"<"+e+m+(t?" class='"+t+(i?n++:"")+"'>":">")}},v=i.SplitText=e.SplitText=function(t,e){if("string"==typeof t&&(t=v.selector(t)),!t)throw"cannot split a null element.";this.elements=l(t)?c(t):[t],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=e||{},this.split(e)},y=function(t,e,i){var n=t.nodeType;if(1===n||9===n||11===n)for(t=t.firstChild;t;t=t.nextSibling)y(t,e,i);else(3===n||4===n)&&(t.nodeValue=t.nodeValue.split(e).join(i))},T=function(t,e){for(var i=e.length;--i>-1;)t.push(e[i])},b=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},w=function(t,e,i){for(var n;t&&t!==e;){if(n=t._next||t.nextSibling)return n.textContent.charAt(0)===i;t=t.parentNode||t._parent}return!1},S=function(t){var e,i,n=b(t.childNodes),s=n.length;for(e=0;s>e;e++)i=n[e],i._isSplit?S(i):(e&&3===i.previousSibling.nodeType?i.previousSibling.nodeValue+=3===i.nodeType?i.nodeValue:i.firstChild.nodeValue:3!==i.nodeType&&t.insertBefore(i.firstChild,i),t.removeChild(i))},_=function(t,e,i,n,r,l,c){var h,u,d,p,f,m,g,v,b,_,x,P,C=o(t),M=a(t,"paddingLeft",C),A=-999,E=a(t,"borderBottomWidth",C)+a(t,"borderTopWidth",C),k=a(t,"borderLeftWidth",C)+a(t,"borderRightWidth",C),I=a(t,"paddingTop",C)+a(t,"paddingBottom",C),D=a(t,"paddingLeft",C)+a(t,"paddingRight",C),O=.2*a(t,"fontSize"),H=a(t,"textAlign",C,!0),L=[],z=[],B=[],R=e.wordDelimiter||" ",G=e.span?"span":"div",X=e.type||e.split||"chars,words,lines",N=r&&-1!==X.indexOf("lines")?[]:null,W=-1!==X.indexOf("words"),F=-1!==X.indexOf("chars"),Y="absolute"===e.position||!0===e.absolute,V=e.linesClass,$=-1!==(V||"").indexOf("++"),j=[];for(N&&1===t.children.length&&t.children[0]._isSplit&&(t=t.children[0]),$&&(V=V.split("++").join("")),d=(u=t.getElementsByTagName("*")).length,f=[],h=0;d>h;h++)f[h]=u[h];if(N||Y)for(h=0;d>h;h++)p=f[h],((m=p.parentNode===t)||Y||F&&!W)&&(P=p.offsetTop,N&&m&&Math.abs(P-A)>O&&"BR"!==p.nodeName&&(g=[],N.push(g),A=P),Y&&(p._x=p.offsetLeft,p._y=P,p._w=p.offsetWidth,p._h=p.offsetHeight),N&&((p._isSplit&&m||!F&&m||W&&m||!W&&p.parentNode.parentNode===t&&!p.parentNode._isSplit)&&(g.push(p),p._x-=M,w(p,t,R)&&(p._wordEnd=!0)),"BR"===p.nodeName&&p.nextSibling&&"BR"===p.nextSibling.nodeName&&N.push([])));for(h=0;d>h;h++)p=f[h],m=p.parentNode===t,"BR"!==p.nodeName?(Y&&(b=p.style,W||m||(p._x+=p.parentNode._x,p._y+=p.parentNode._y),b.left=p._x+"px",b.top=p._y+"px",b.position="absolute",b.display="block",b.width=p._w+1+"px",b.height=p._h+"px"),!W&&F?p._isSplit?(p._next=p.nextSibling,p.parentNode.appendChild(p)):p.parentNode._isSplit?(p._parent=p.parentNode,!p.previousSibling&&p.firstChild&&(p.firstChild._isFirst=!0),p.nextSibling&&" "===p.nextSibling.textContent&&!p.nextSibling.nextSibling&&j.push(p.nextSibling),p._next=p.nextSibling&&p.nextSibling._isFirst?null:p.nextSibling,p.parentNode.removeChild(p),f.splice(h--,1),d--):m||(P=!p.nextSibling&&w(p.parentNode,t,R),p.parentNode._parent&&p.parentNode._parent.appendChild(p),P&&p.parentNode.appendChild(s.createTextNode(" ")),e.span&&(p.style.display="inline"),L.push(p)):p.parentNode._isSplit&&!p._isSplit&&""!==p.innerHTML?z.push(p):F&&!p._isSplit&&(e.span&&(p.style.display="inline"),L.push(p))):N||Y?(p.parentNode&&p.parentNode.removeChild(p),f.splice(h--,1),d--):W||t.appendChild(p);for(h=j.length;--h>-1;)j[h].parentNode.removeChild(j[h]);if(N){for(Y&&(_=s.createElement(G),t.appendChild(_),x=_.offsetWidth+"px",P=_.offsetParent===t?0:t.offsetLeft,t.removeChild(_)),b=t.style.cssText,t.style.cssText="display:none;";t.firstChild;)t.removeChild(t.firstChild);for(v=" "===R&&(!Y||!W&&!F),h=0;h<N.length;h++){for(g=N[h],(_=s.createElement(G)).style.cssText="display:block;text-align:"+H+";position:"+(Y?"absolute;":"relative;"),V&&(_.className=V+($?h+1:"")),B.push(_),d=g.length,u=0;d>u;u++)"BR"!==g[u].nodeName&&(p=g[u],_.appendChild(p),v&&p._wordEnd&&_.appendChild(s.createTextNode(" ")),Y&&(0===u&&(_.style.top=p._y+"px",_.style.left=M+P+"px"),p.style.top="0px",P&&(p.style.left=p._x-P+"px")));0===d?_.innerHTML=" ":W||F||(S(_),y(_,String.fromCharCode(160)," ")),Y&&(_.style.width=x,_.style.height=p._h+"px"),t.appendChild(_)}t.style.cssText=b}Y&&(c>t.clientHeight&&(t.style.height=c-I+"px",t.clientHeight<c&&(t.style.height=c+E+"px")),l>t.clientWidth&&(t.style.width=l-D+"px",t.clientWidth<l&&(t.style.width=l+k+"px"))),T(i,L),T(n,z),T(r,B)}
1,x=function(t,e,i,o){var r,a,l,c,m,g,v,T,b,w=e.span?"span":"div",S=e.type||e.split||"chars,words,lines",_=(S.indexOf("words"),-1!==S.indexOf("chars")),x="absolute"===e.position||!0===e.absolute,P=e.wordDelimiter||" ",C=" "!==P?"":x?"­ ":" ",M=e.span?"</span>":"</div>",A=!0,E=s.createElement("div"),k=t.parentNode;for(k.insertBefore(E,t),E.textContent=t.nodeValue,k.removeChild(t),v=-1!==(r=n(t=E)).indexOf("<"),!1!==e.reduceWhiteSpace&&(r=r.replace(u," ").replace(h,"")),v&&(r=r.split("<").join("{{LT}}")),m=r.length,a=(" "===r.charAt(0)?C:"")+i(),l=0;m>l;l++)if((g=r.charAt(l))===P&&r.charAt(l-1)!==P&&l){for(a+=A?M:"",A=!1;r.charAt(l+1)===P;)a+=C,l++;l===m-1?a+=C:")"!==r.charAt(l+1)&&(a+=C+i(),A=!0)}else"{"===g&&"{{LT}}"===r.substr(l,6)?(a+=_?o()+"{{LT}}</"+w+">":"{{LT}}",l+=5):g.charCodeAt(0)>=55296&&g.charCodeAt(0)<=56319||r.charCodeAt(l+1)>=65024&&r.charCodeAt(l+1)<=65039?(T=f(r.substr(l,2)),b=f(r.substr(l+2,2)),c=T>=d&&p>=T&&b>=d&&p>=b||b>=127995&&127999>=b?4:2,a+=_&&" "!==g?o()+r.substr(l,c)+"</"+w+">":r.substr(l,c),l+=c-1):a+=_&&" "!==g?o()+g+"</"+w+">":g;t.outerHTML=a+(A?M:""),v&&y(k,"{{LT}}","<")},P=function(t,e,i,n){var s,o,r=b(t.childNodes),l=r.length,c="absolute"===e.position||!0===e.absolute;if(3!==t.nodeType||l>1){for(e.absolute=!1,s=0;l>s;s++)(3!==(o=r[s]).nodeType||/\S+/.test(o.nodeValue))&&(c&&3!==o.nodeType&&"inline"===a(o,"display",null,!0)&&(o.style.display="inline-block",o.style.position="relative"),o._isSplit=!0,P(o,e,i,n));return e.absolute=c,void(t._isSplit=!0)}x(t,e,i,n)},C=v.prototype;C.split=function(t){this.isSplit&&this.revert(),this.vars=t=t||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var e,i,n,s=this.elements.length,o=t.span?"span":"div",r=("absolute"===t.position||t.absolute,g(t.wordsClass,o)),a=g(t.charsClass,o);--s>-1;)n=this.elements[s],this._originals[s]=n.innerHTML,e=n.clientHeight,i=n.clientWidth,P(n,t,r,a),_(n,t,this.chars,this.words,this.lines,i,e);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},C.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var t=this._originals.length;--t>-1;)this.elements[t].innerHTML=this._originals[t];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},v.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(v.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)},v.version="0.5.7"}(_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(t){var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).SplitText};"undefined"!=typeof module&&module.exports?module.exports=e():"function"==typeof define&&define.amd&&define([],e)}(),((_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window)._gsQueue||(_gsScope._gsQueue=[])).push(function(){var t=(_gsScope.document||{}).documentElement,e=_gsScope,i=function(i,n){var s="x"===n?"Width":"Height",o="scroll"+s,r="client"+s,a=document.body;return i===e||i===t||i===a?Math.max(t[o],a[o])-(e["inner"+s]||t[r]||a[r]):i[o]-i["offset"+s]},n=function(t){return"string"==typeof t&&(t=TweenLite.selector(t)),t.length&&t!==e&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===e||t.nodeType&&t.style?t:null},s=function(i,n){var s="scroll"+("x"===n?"Left":"Top");return i===e&&(null!=i.pageXOffset?s="page"+n.toUpperCase()+"Offset":i=null!=t[s]?t:document.body),function(){return i[s]}},o=function(i,o){var r=n(i).getBoundingClientRect(),a=!o||o===e||o===document.body,l=(a?t:o).getBoundingClientRect(),c={x:r.left-l.left,y:r.top-l.top};return!a&&o&&(c.x+=s(o,"x")(),c.y+=s(o,"y")()),c},r=function(t,e,n){var s=typeof t;return isNaN(t)?"number"===s||"string"===s&&"="===t.charAt(1)?t:"max"===t?i(e,n):Math.min(i(e,n),o(t,e)[n]):parseFloat(t)},a=_gsScope._gsDefine.plugin({propName:"scrollTo",API:2,global:!0,version:"1.9.0",init:function(t,i,n){return this._wdw=t===e,this._target=t,this._tween=n,"object"!=typeof i?"string"==typeof(i={y:i}).y&&"max"!==i.y&&"="!==i.y.charAt(1)&&(i.x=i.y):i.nodeType&&(i={y:i,x:i}),this.vars=i,this._autoKill=!1!==i.autoKill,this.getX=s(t,"x"),this.getY=s(t,"y"),this.x=this.xPrev=this.getX(),this.y=this.yPrev=this.getY(),null!=i.x?(this._addTween(this,"x",this.x,r(i.x,t,"x")-(i.offsetX||0),"scrollTo_x",!0),this._overwriteProps.push("scrollTo_x")):this.skipX=!0,null!=i.y?(this._addTween(this,"y",this.y,r(i.y,t,"y")-(i.offsetY||0),"scrollTo_y",!0),this._overwriteProps.push("scrollTo_y")):this.skipY=!0,!0},set:function(t){this._super.setRatio.call(this,t);var n=this._wdw||!this.skipX?this.getX():this.xPrev,s=this._wdw||!this.skipY?this.getY():this.yPrev,o=s-this.yPrev,r=n-this.xPrev,l=a.autoKillThreshold;this.x<0&&(this.x=0),this.y<0&&(this.y=0),this._autoKill&&(!this.skipX&&(r>l||-l>r)&&n<i(this._target,"x")&&(this.skipX=!0),!this.skipY&&(o>l||-l>o)&&s<i(this._target,"y")&&(this.skipY=!0),this.skipX&&this.skipY&&(this._tween.kill(),this.vars.onAutoKill&&this.vars.onAutoKill.apply(this.vars.onAutoKillScope||this._tween,this.vars.onAutoKillParam
1s||[]))),this._wdw?e.scrollTo(this.skipX?n:this.x,this.skipY?s:this.y):(this.skipY||(this._target.scrollTop=this.y),this.skipX||(this._target.scrollLeft=this.x)),this.xPrev=this.x,this.yPrev=this.y}}),l=a.prototype;a.max=i,a.getOffset=o,a.buildGetter=s,a.autoKillThreshold=7,l._kill=function(t){return t.scrollTo_x&&(this.skipX=!0),t.scrollTo_y&&(this.skipY=!0),this._super._kill.call(this,t)}}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){var e=function(){return(_gsScope.GreenSockGlobals||_gsScope).ScrollToPlugin};"undefined"!=typeof module&&module.exports?(require("../TweenLite.min.js"),module.exports=e()):"function"==typeof define&&define.amd&&define(["TweenLite"],e)}(),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"object"==typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e="animsition",i={init:function(n){n=t.extend({inClass:"fade-in",outClass:"fade-out",inDuration:1500,outDuration:800,linkElement:".animsition-link",loading:!0,loadingParentElement:"body",loadingClass:"animsition-loading",loadingInner:"",timeout:!1,timeoutCountdown:5e3,onLoadEvent:!0,browser:["animation-duration","-webkit-animation-duration"],overlay:!1,overlayClass:"animsition-overlay-slide",overlayParentElement:"body",transition:function(t){window.location.href=t}},n),i.settings={timer:!1,data:{inClass:"animsition-in-class",inDuration:"animsition-in-duration",outClass:"animsition-out-class",outDuration:"animsition-out-duration",overlay:"animsition-overlay"},events:{inStart:"animsition.inStart",inEnd:"animsition.inEnd",outStart:"animsition.outStart",outEnd:"animsition.outEnd"}};var s=i.supportCheck.call(this,n);return s||!(n.browser.length>0)||s&&this.length?(i.optionCheck.call(this,n)&&t("."+n.overlayClass).length<=0&&i.addOverlay.call(this,n),n.loading&&t("."+n.loadingClass).length<=0&&i.addLoading.call(this,n),this.each(function(){var s=this,o=t(this),r=t(window),a=t(document);o.data(e)||(n=t.extend({},n),o.data(e,{options:n}),n.timeout&&i.addTimer.call(s),n.onLoadEvent&&r.on("load.animsition",function(){i.settings.timer&&clearTimeout(i.settings.timer),i.in.call(s)}),r.on("pageshow.animsition",function(t){t.originalEvent.persisted&&i.in.call(s)}),r.on("unload.animsition",function(){}),a.on("click.animsition",n.linkElement,function(e){e.preventDefault();var n=t(this),o=n.attr("href");2===e.which||e.metaKey||e.shiftKey||-1!==navigator.platform.toUpperCase().indexOf("WIN")&&e.ctrlKey?window.open(o,"_blank"):i.out.call(s,n,o)}))})):("console"in window||(window.console={},window.console.log=function(t){return t}),this.length||console.log("Animsition: Element does not exist on page."),s||console.log("Animsition: Does not support this browser."),i.destroy.call(this))},addOverlay:function(e){t(e.overlayParentElement).prepend('<div class="'+e.overlayClass+'"></div>')},addLoading:function(e){t(e.loadingParentElement).append('<div class="'+e.loadingClass+'">'+e.loadingInner+"</div>")},removeLoading:function(){var i=t(this).data(e).options;t(i.loadingParentElement).children("."+i.loadingClass).fadeOut().remove()},addTimer:function(){var n=this,s=t(this).data(e).options;i.settings.timer=setTimeout(function(){i.in.call(n),t(window).off("load.animsition")},s.timeoutCountdown)},supportCheck:function(e){var i=t(this),n=e.browser,s=n.length,o=!1;0===s&&(o=!0);for(var r=0;r<s;r++)if("string"==typeof i.css(n[r])){o=!0;break}return o},optionCheck:function(e){var n=t(this);return!(!e.overlay&&!n.data(i.settings.data.overlay))},animationCheck:function(i,n,s){var o=t(this).data(e).options,r=typeof i,a=!n&&"number"===r,l=n&&"string"===r&&i.length>0;return a||l?i=i:n&&s?i=o.inClass:!n&&s?i=o.inDuration:n&&!s?i=o.outClass:n||s||(i=o.outDuration),i},in:function(){var n=this,s=t(this),o=s.data(e).options,r=s.data(i.settings.data.inDuration),a=s.data(i.settings.data.inClass),l=i.animationCheck.call(n,r,!1,!0),c=i.animationCheck.call(n,a,!0,!0),h=i.optionCheck.call(n,o),u=s.data(e).outClass;o.loading&&i.removeLoading.call(n),u&&s.removeClass(u),h?i.inOverlay.call(n,c,l):i.inDefault.call(n,c,l)},inDefault:function(e,n){var s=t(this);s.css({"animation-duration":n+"ms"}).addClass(e).trigger(i.settings.events.inStart).animateCallback(function(){s.removeClass(e).css({opacity:1}).trigger(i.settings.events.inEnd)})},inOverlay:function(n,s){var o=t(this),r=o.data(e).options;o.css({opacity:1}).trigger(i.settings.events.inStart),t(r.overlayParentElement).children("."+r.overlayClass).css({"animation-duration":s+"ms"}).addClass(n).animateCallback(function(){o.trigger(i.settings.events.inEnd)})},out:function(n,s){var o=this,r=t(this),a=r.data(e).options,l=n.data(i.settings.data.outClass),c=r.data(i.settings.data.outClass),h=n.data(i.settings.data.outDuration),u=r.data(i.settings.data.outDuration),d=l||c,p=h||u,f=i.animationCheck.call(o,d,!0,!1),m=i.animationCheck.call(o,p,!1,!1),g=i.optionCheck.call(o,a);r.data(e).outClass=f,g?i.outOverlay.call(o,f,m,s):i.outDefault.call(o,f,m,s)},outDefault:function(n,s,o){var r=t(this),a=r.data(e).options;r.css({"animation-duration":s+1+"ms"}).addClass(n).trigger(i.settings.events.outStart).animateCallback(function(){r.trigger(i.settings.events.outEnd),a.transition(o)})},outOverlay:function(n,s,o){var r=this,a=t(this),l=a.data(e).options,c=a.data(i.settings.data.inClass),h=i.animationCheck.call(r,c,!0,!0);t(l.overlayParentElement).children("."+l.overlayClass).css({"animation-duration":s+1+"ms"}).removeClass(h).addClass(n).trigger(i.settings.events.outStart).animateCallback(function(){a.trigger(i.settings.events.outEnd),l.transition(o)})},destroy:function(){return this.each(function(){var i=t(this);t(window).off(".animsition"),i.css({opacity:1}).removeData(e)})}};t.fn.animateCallback=function(e){var i="animationend webkitAnimationEnd";return this.each(function(){var n=t(this);n.on(i,function(){return n.off(i),e.call(this)})})},t.fn.animsition=function(n){return i[n]?i[n].apply(this,Array.prototype.slice.call(arguments,1
1)):"object"!=typeof n&&n?void t.error("Method "+n+" does not exist on jQuery."+e):i.init.apply(this,arguments)}});var NEWTON_ITERATIONS=4,NEWTON_MIN_SLOPE=.001,SUBDIVISION_PRECISION=1e-7,SUBDIVISION_MAX_ITERATIONS=10,kSplineTableSize=11,kSampleStepSize=1/(kSplineTableSize-1),float32ArraySupported="function"==typeof Float32Array;BezierEasing.prototype={get:function(t){var e=this._p[0],i=this._p[1],n=this._p[2],s=this._p[3];return this._precomputed||this._precompute(),e===i&&n===s?t:0===t?0:1===t?1:calcBezier(this._getTForX(t),i,s)},getPoints:function(){return this._p},toString:function(){return this._str},toCSS:function(){return this._css},_precompute:function(){var t=this._p[0],e=this._p[1],i=this._p[2],n=this._p[3];this._precomputed=!0,t===e&&i===n||this._calcSampleValues()},_calcSampleValues:function(){for(var t=this._p[0],e=this._p[2],i=0;i<kSplineTableSize;++i)this._mSampleValues[i]=calcBezier(i*kSampleStepSize,t,e)},_getTForX:function(t){for(var e=this._p[0],i=this._p[2],n=this._mSampleValues,s=0,o=1,r=kSplineTableSize-1;o!==r&&n[o]<=t;++o)s+=kSampleStepSize;var a=s+(t-n[--o])/(n[o+1]-n[o])*kSampleStepSize,l=getSlope(a,e,i);return l>=NEWTON_MIN_SLOPE?newtonRaphsonIterate(t,a,e,i):0===l?a:binarySubdivide(t,s,s+kSampleStepSize,e,i)}},BezierEasing.css={ease:BezierEasing.ease=BezierEasing(.25,.1,.25,1),linear:BezierEasing.linear=BezierEasing(0,0,1,1),"ease-in":BezierEasing.easeIn=BezierEasing(.42,0,1,1),"ease-out":BezierEasing.easeOut=BezierEasing(0,0,.58,1),"ease-in-out":BezierEasing.easeInOut=BezierEasing(.42,0,.58,1)},function(t,e){"undefined"!=typeof module&&module.exports?module.exports=e():"function"==typeof define&&define.amd?define([],e):t.buzz=e()}(this,function(){var t=window.AudioContext||window.webkitAudioContext,e={defaults:{autoplay:!1,crossOrigin:null,duration:5e3,formats:[],loop:!1,placeholder:"--",preload:"metadata",volume:80,webAudioApi:!1,document:window.document},types:{mp3:"audio/mpeg",ogg:"audio/ogg",wav:"audio/wav",aac:"audio/aac",m4a:"audio/x-m4a"},sounds:[],el:document.createElement("audio"),getAudioContext:function(){if(void 0===this.audioCtx)try{this.audioCtx=t?new t:null}catch(t){this.audioCtx=null}return this.audioCtx},sound:function(t,i){function n(t){for(var e=[],i=t.length-1,n=0;i>=n;n++)e.push({start:t.start(n),end:t.end(n)});return e}function s(t){return t.split(".").pop()}var o=(i=i||{}).document||e.defaults.document,r=0,a=[],l={},c=e.isSupported();if(this.load=function(){return c?(this.sound.load(),this):this},this.play=function(){return c?(this.sound.play(),this):this},this.togglePlay=function(){return c?(this.sound.paused?this.sound.play():this.sound.pause(),this):this},this.pause=function(){return c?(this.sound.pause(),this):this},this.isPaused=function(){return c?this.sound.paused:null},this.stop=function(){return c?(this.setTime(0),this.sound.pause(),this):this},this.isEnded=function(){return c?this.sound.ended:null},this.loop=function(){return c?(this.sound.loop="loop",this.bind("ended.buzzloop",function(){this.currentTime=0,this.play()}),this):this},this.unloop=function(){return c?(this.sound.removeAttribute("loop"),this.unbind("ended.buzzloop"),this):this},this.mute=function(){return c?(this.sound.muted=!0,this):this},this.unmute=function(){return c?(this.sound.muted=!1,this):this},this.toggleMute=function(){return c?(this.sound.muted=!this.sound.muted,this):this},this.isMuted=function(){return c?this.sound.muted:null},this.setVolume=function(t){return c?(0>t&&(t=0),t>100&&(t=100),this.volume=t,this.sound.volume=t/100,this):this},this.getVolume=function(){return c?this.volume:this},this.increaseVolume=function(t){return this.setVolume(this.volume+(t||1))},this.decreaseVolume=function(t){return this.setVolume(this.volume-(t||1))},this.setTime=function(t){if(!c)return this;var e=!0;return this.whenReady(function(){!0===e&&(e=!1,this.sound.currentTime=t)}),this},this.getTime=function(){if(!c)return null;var t=Math.round(100*this.sound.currentTime)/100;return isNaN(t)?e.defaults.placeholder:t},this.setPercent=function(t){return c?this.setTime(e.fromPercent(t,this.sound.duration)):this},this.getPercent=function(){if(!c)return null;var t=Math.round(e.toPercent(this.sound.currentTime,this.sound.duration));return isNaN(t)?e.defaults.placeholder:t},this.setSpeed=function(t){return c?(this.sound.playbackRate=t,this):this}
1,this.getSpeed=function(){return c?this.sound.playbackRate:null},this.getDuration=function(){if(!c)return null;var t=Math.round(100*this.sound.duration)/100;return isNaN(t)?e.defaults.placeholder:t},this.getPlayed=function(){return c?n(this.sound.played):null},this.getBuffered=function(){return c?n(this.sound.buffered):null},this.getSeekable=function(){return c?n(this.sound.seekable):null},this.getErrorCode=function(){return c&&this.sound.error?this.sound.error.code:0},this.getErrorMessage=function(){if(!c)return null;switch(this.getErrorCode()){case 1:return"MEDIA_ERR_ABORTED";case 2:return"MEDIA_ERR_NETWORK";case 3:return"MEDIA_ERR_DECODE";case 4:return"MEDIA_ERR_SRC_NOT_SUPPORTED";default:return null}},this.getStateCode=function(){return c?this.sound.readyState:null},this.getStateMessage=function(){if(!c)return null;switch(this.getStateCode()){case 0:return"HAVE_NOTHING";case 1:return"HAVE_METADATA";case 2:return"HAVE_CURRENT_DATA";case 3:return"HAVE_FUTURE_DATA";case 4:return"HAVE_ENOUGH_DATA";default:return null}},this.getNetworkStateCode=function(){return c?this.sound.networkState:null},this.getNetworkStateMessage=function(){if(!c)return null;switch(this.getNetworkStateCode()){case 0:return"NETWORK_EMPTY";case 1:return"NETWORK_IDLE";case 2:return"NETWORK_LOADING";case 3:return"NETWORK_NO_SOURCE";default:return null}},this.set=function(t,e){return c?(this.sound[t]=e,this):this},this.get=function(t){return c?t?this.sound[t]:this.sound:null},this.bind=function(t,e){if(!c)return this;t=t.split(" ");for(var i=this,n=function(t){e.call(i,t)},s=0;s<t.length;s++){var o=t[s],r=o;o=r.split(".")[0],a.push({idx:r,func:n}),this.sound.addEventListener(o,n,!0)}return this},this.unbind=function(t){if(!c)return this;t=t.split(" ");for(var e=0;e<t.length;e++)for(var i=t[e],n=i.split(".")[0],s=0;s<a.length;s++){var o=a[s].idx.split(".");(a[s].idx===i||o[1]&&o[1]===i.replace(".",""))&&(this.sound.removeEventListener(n,a[s].func,!0),a.splice(s,1))}return this},this.bindOnce=function(t,e){if(!c)return this;var i=this;return l[r++]=!1,this.bind(t+"."+r,function(){l[r]||(l[r]=!0,e.call(i)),i.unbind(t+"."+r)}),this},this.trigger=function(t,e){if(!c)return this;t=t.split(" ");for(var i=0;i<t.length;i++)for(var n=t[i],s=0;s<a.length;s++){var r=a[s].idx.split(".");if(a[s].idx===n||r[0]&&r[0]===n.replace(".","")){var l=o.createEvent("HTMLEvents");l.initEvent(r[0],!1,!0),l.originalEvent=e,this.sound.dispatchEvent(l)}}return this},this.fadeTo=function(t,i,n){function s(){clearTimeout(o),o=setTimeout(function(){t>r&&l.volume<t?(l.setVolume(l.volume+=1),s()):r>t&&l.volume>t?(l.setVolume(l.volume-=1),s()):n instanceof Function&&n.apply(l)},a)}if(!c)return this;i instanceof Function?(n=i,i=e.defaults.duration):i=i||e.defaults.duration;var o,r=this.volume,a=i/Math.abs(r-t),l=this;return this.play(),this.whenReady(function(){s()}),this},this.fadeIn=function(t,e){return c?this.setVolume(0).fadeTo(100,t,e):this},this.fadeOut=function(t,e){return c?this.fadeTo(0,t,e):this},this.fadeWith=function(t,e){return c?(this.fadeOut(e,function(){this.stop()}),t.play().fadeIn(e),this):this},this.whenReady=function(t){if(!c)return null;var e=this;0===this.sound.readyState?this.bind("canplay.buzzwhenready",function(){t.call(e)}):t.call(e)},this.addSource=function(t){var i=this,n=o.createElement("source");return n.src=t,e.types[s(t)]&&(n.type=e.types[s(t)]),this.sound.appendChild(n),n.addEventListener("error",function(t){i.trigger("sourceerror",t)}),n},c&&t){for(var h in e.defaults)e.defaults.hasOwnProperty(h)&&void 0===i[h]&&(i[h]=e.defaults[h]);if(this.sound=o.createElement("audio"),null!==i.crossOrigin&&(this.sound.crossOrigin=i.crossOrigin),i.webAudioApi){var u=e.getAudioContext();u&&(this.source=u.createMediaElementSource(this.sound),this.source.connect(u.destination))}if(t instanceof Array)for(var d in t)t.hasOwnProperty(d)&&this.addSource(t[d]);else if(i.formats.length)for(var p in i.formats)i.formats.hasOwnProperty(p)&&this.addSource(t+"."+i.formats[p]);else this.addSource(t);i.loop&&this.loop(),i.autoplay&&(this.sound.autoplay="autoplay"),!0===i.preload?this.sound.preload="auto":!1===i.preload?this.sound.preload="none":this.sound.preload=i.preload,this.setVolume(i.volume),e.sounds.push(this)}},group:function(t){function e(){for(var e=i(null,arguments),n=e.shift(),s=0;s<t.length;s++)t[s][n].apply(t[s],e)}function i(t,e){return t instanceof Array?t:Array.prototype.slice.call(e)}
1t=i(t,arguments),this.getSounds=function(){return t},this.add=function(e){e=i(e,arguments);for(var n=0;n<e.length;n++)t.push(e[n])},this.remove=function(e){e=i(e,arguments);for(var n=0;n<e.length;n++)for(var s=0;s<t.length;s++)if(t[s]===e[n]){t.splice(s,1);break}},this.load=function(){return e("load"),this},this.play=function(){return e("play"),this},this.togglePlay=function(){return e("togglePlay"),this},this.pause=function(t){return e("pause",t),this},this.stop=function(){return e("stop"),this},this.mute=function(){return e("mute"),this},this.unmute=function(){return e("unmute"),this},this.toggleMute=function(){return e("toggleMute"),this},this.setVolume=function(t){return e("setVolume",t),this},this.increaseVolume=function(t){return e("increaseVolume",t),this},this.decreaseVolume=function(t){return e("decreaseVolume",t),this},this.loop=function(){return e("loop"),this},this.unloop=function(){return e("unloop"),this},this.setSpeed=function(t){return e("setSpeed",t),this},this.setTime=function(t){return e("setTime",t),this},this.set=function(t,i){return e("set",t,i),this},this.bind=function(t,i){return e("bind",t,i),this},this.unbind=function(t){return e("unbind",t),this},this.bindOnce=function(t,i){return e("bindOnce",t,i),this},this.trigger=function(t){return e("trigger",t),this},this.fade=function(t,i,n,s){return e("fade",t,i,n,s),this},this.fadeIn=function(t,i){return e("fadeIn",t,i),this},this.fadeOut=function(t,i){return e("fadeOut",t,i),this}},all:function(){return new e.group(e.sounds)},isSupported:function(){return!!e.el.canPlayType},isOGGSupported:function(){return!!e.el.canPlayType&&e.el.canPlayType('audio/ogg; codecs="vorbis"')},isWAVSupported:function(){return!!e.el.canPlayType&&e.el.canPlayType('audio/wav; codecs="1"')},isMP3Supported:function(){return!!e.el.canPlayType&&e.el.canPlayType("audio/mpeg;")},isAACSupported:function(){return!!e.el.canPlayType&&(e.el.canPlayType("audio/x-m4a;")||e.el.canPlayType("audio/aac;"))},toTimer:function(t,e){var i,n,s;return i=Math.floor(t/3600),i=isNaN(i)?"--":i>=10?i:"0"+i,n=e?Math.floor(t/60%60):Math.floor(t/60),n=isNaN(n)?"--":n>=10?n:"0"+n,s=Math.floor(t%60),s=isNaN(s)?"--":s>=10?s:"0"+s,e?i+":"+n+":"+s:n+":"+s},fromTimer:function(t){var e=t.toString().split(":");return e&&3===e.length&&(t=3600*parseInt(e[0],10)+60*parseInt(e[1],10)+parseInt(e[2],10)),e&&2===e.length&&(t=60*parseInt(e[0],10)+parseInt(e[1],10)),t},toPercent:function(t,e,i){var n=Math.pow(10,i||0);return Math.round(100*t/e*n)/n},fromPercent:function(t,e,i){var n=Math.pow(10,i||0);return Math.round(e/100*t*n)/n}};return e}),function(t,e,i,n){function s(e,i){this.element=e,this.options=t.extend({},r,i),this._defaults=r,this._name=o,this._ignoreHashChange=!1,this.init()}var o="curtain",r={scrollSpeed:400,bodyHeight:0,linksArray:[],mobile:!1,scrollButtons:{},controls:null,curtainLinks:".curtain-links",enableKeys:!0,easing:"swing",disabled:!1,nextSlide:function(){},prevSlide:function(){}};s.prototype={init:function(){var n=this,s=t("body");this.$element=t(this.element),this.$li=t(this.element).find(">li"),this.$liLength=this.$li.length,n.$windowHeight=t(e).height(),n.$elDatas={},n.$document=t(i),n.$window=t(e),n.webkit=navigator.userAgent.indexOf("Chrome")>-1||navigator.userAgent.indexOf("Safari")>-1,t.msie=/msie/.test(navigator.userAgent.toLowerCase()),t.mozilla=/firefox/.test(navigator.userAgent.toLowerCase()),t.Android=navigator.userAgent.match(/Android/i),t.iPhone=navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i),t.iPad=navigator.userAgent.match(/iPad/i),t.iOs4=/OS [1-4]_[0-9_]+ like Mac OS X/i.test(navigator.userAgent),(t.iPhone||t.iPad||t.Android||n.options.disabled)&&(this.options.mobile=!0,this.$li.css({position:"relative"}),this.$element.find(".fixed").css({position:"absolute"})),this.options.mobile?this.scrollEl=this.$element:t.mozilla||t.msie?this.scrollEl=t("html"):this.scrollEl=s,n.options.controls&&(n.options.scrollButtons.up=t(n.options.controls).find('[href="#up"]'),n.options.scrollButtons.down=t(n.options.controls).find('[href="#down"]'),t.iOs4||!t.iPhone&&!t.iPad||(n.$element.css({position:"fixed",top:0,left:0,right:0,bottom:0,"-webkit-overflow-scrolling":"touch",overflow:"auto"}),t(n.options.controls).css({position:"absolute"})));var o=function(){n.setDimensions(),n.$li.eq(0).addClass("current"),n.setCache(),n.options.mobile||n.$li.eq(1).length&&n.$li.eq(1).nextAll().addClass("hidden"),n.setEvents(),n.setLinks(),n.isH
1ashIsOnList(location.hash.substring(1))};n.$element.find("img").length?n.imageLoaded(o):o();var r=this.$li.eq(0).data("color");s.hasClass(r)||s.removeClass("light-title dark-title").addClass(r)},scrollToPosition:function(e){var i=null,n=this;if(n.scrollEl.is(":animated"))return!1;if("up"===e||"down"==e){var s="up"===e?n.$current.prev():n.$current.next();if(n.$step){n.$current.find(".current-step").length||n.$step.eq(0).addClass("current-step");var o="up"===e?n.$current.find(".current-step").prev(".step"):n.$current.find(".current-step").next(".step");o.length&&(n.options.mobile,i=o.position().top+n.$elDatas[n.$current.index()]["data-position"])}null!==(i=i||(void 0===n.$elDatas[s.index()]?null:n.$elDatas[s.index()]["data-position"]))&&n.scrollEl.animate({scrollTop:i},n.options.scrollSpeed,n.options.easing)}else if("top"===e)n.scrollEl.animate({scrollTop:0},n.options.scrollSpeed,n.options.easing);else if("bottom"===e)n.scrollEl.animate({scrollTop:n.options.bodyHeight},n.options.scrollSpeed,n.options.easing);else{var r=t("#"+e).index(),a=Math.abs(n.currentIndex-r)*(4*this.options.scrollSpeed)/n.$liLength;n.scrollEl.animate({scrollTop:n.$elDatas[r]["data-position"]||null},a<=n.options.scrollSpeed?n.options.scrollSpeed:a,this.options.easing)}},scrollEvent:function(){var e=this,i=e.$document.scrollTop(),n=t("body");if(i<e.currentP&&e.currentIndex>0)e._ignoreHashChange=!0,e.$current.prev().attr("id")&&e.setHash(e.$current.prev().attr("id")),e.$current.removeClass("current").css(e.webkit?{"-webkit-transform":"translateY(0px) translateZ(0)"}:{marginTop:0}).nextAll().addClass("hidden").end().prev().addClass("current").removeClass("hidden"),e.setCache(),e.options.prevSlide();else if(i<e.currentP+e.currentHeight){if(e.webkit?e.$current.css({"-webkit-transform":"translateY("+-(i-e.currentP)+"px) translateZ(0)"}):e.$current.css({marginTop:-(i-e.currentP)}),e.$fixedLength){parseInt(e.$fixed.attr("data-top"),10);i+e.$windowHeight>=e.currentP+e.currentHeight?e.$fixed.css({position:"fixed"}):e.$fixed.css({position:"absolute",marginTop:Math.abs(i-e.currentP)})}if(e.$stepLength&&t.each(e.$step,function(n,s){if(t(s).position().top+e.currentP<=i+5&&t(s).position().top+e.currentP+t(s).height()>=i+5&&!t(s).hasClass("current-step"))return e.$step.removeClass("current-step"),t(s).addClass("current-step"),!1}),e.parallaxBg){var s=-.07*i;e.parallaxBg.css({"-webkit-transform":"translate3d(0,"+s+"px,0)","-moz-transform":"translate3d(0,"+s+"px,0)",transform:"translate3d(0,"+s+"px,0)"})}e.$fade.length&&e.$fade.css({"z-index":e.z-1,opacity:Math.abs(1-(i-e.currentP)/e.$windowHeight)}),e.$slowScroll.length&&e.$slowScroll.css({"margin-top":i/e.$slowScroll.attr("data-slow-scroll")})}else e._ignoreHashChange=!0,e.$current.next().attr("id")&&e.setHash(e.$current.next().attr("id")),e.$current.removeClass("current").addClass("hidden").next("li").addClass("current").next("li").removeClass("hidden"),e.setCache(),e.options.nextSlide();n.hasClass(e.currentColor)||n.removeClass("light-title dark-title").addClass(e.currentColor)},scrollMobileEvent:function(){var e=this,i=e.$element.scrollTop();i+10<e.currentP&&e.currentIndex>0?(e._ignoreHashChange=!0,e.$current.prev().attr("id")&&e.setHash(e.$current.prev().attr("id")),e.$current.removeClass("current").prev().addClass("current"),e.setCache(),e.options.prevSlide()):i+10<e.currentP+e.currentHeight?e.$stepLength&&t.each(e.$step,function(n,s){t(s).position().top+e.currentP<=i&&t(s).position().top+e.currentP+t(s).outerHeight()>=i&&(t(s).hasClass("current-step")||(e.$step.removeClass("current-step"),t(s).addClass("current-step")))}):(e._ignoreHashChange=!0,e.$current.next().attr("id")&&e.setHash(e.$current.next().attr("id")),e.$current.removeClass("current").next().addClass("current"),e.setCache(),e.options.nextSlide())},setDimensions:function(){var e=this,i=0,n=!1,s=null;e.$windowHeight=e.$window.height(),this.$li.each(function(o){var r=t(this);if(n=r.hasClass("cover"),n?(r.css({height:e.$windowHeight,zIndex:99-o}).attr("data-height",e.$windowHeight).attr("data-position",i),e.$elDatas[r.index()]={"data-height":parseInt(e.$windowHeight,10),"data-position":parseInt(i,10)},i+=e.$windowHeight):(s=r.outerHeight()<=e.$windowHeight?e.$windowHeight:r.outerHeight(),r.css({minHeight:s,zIndex:99-o}).attr("data-height",s).attr("data-position",i),e.$elDatas[r.index()]={"data-height":parseInt(s,10),"data-position":parseInt(i,10)},i+=s),r.find(".fixed").length){var a=r.find(".fixed").css("top");r.find(".fixed").attr("data-top",a)}}),this.options.mobile||this.setBodyHeight()},setEvents:function(){var i=this;t(e).on("resize",function(){i.setDimensions()}),i.options.mobile?i.$element.on("scroll",function(){i.scrollMobileEvent()}):i.$window.on("scroll",function(){i.scrollEvent()}
1),i.options.enableKeys&&i.$document.on("keydown",function(t){return 38===t.keyCode||37===t.keyCode?(i.scrollToPosition("up"),t.preventDefault(),!1):40===t.keyCode||39===t.keyCode?(i.scrollToPosition("down"),t.preventDefault(),!1):36===t.keyCode?(i.scrollToPosition("top"),t.preventDefault(),!1):35===t.keyCode?(i.scrollToPosition("bottom"),t.preventDefault(),!1):void 0}),i.options.scrollButtons&&(i.options.scrollButtons.up&&i.options.scrollButtons.up.on("click",function(t){t.preventDefault(),i.scrollToPosition("up")}),i.options.scrollButtons.down&&i.options.scrollButtons.down.on("click",function(t){t.preventDefault(),i.scrollToPosition("down")})),i.options.curtainLinks&&t(i.options.curtainLinks).on("click",function(e){e.preventDefault();var n=t(this).attr("href");if(!i.isHashIsOnList(n.substring(1))&&s)return!1;var s=i.$elDatas[t(n).index()]["data-position"]||null;return s&&i.scrollEl.animate({scrollTop:s},i.options.scrollSpeed,i.options.easing),!1}),i.$window.on("hashchange",function(t){!1===i._ignoreHashChange&&i.isHashIsOnList(location.hash.substring(1)),i._ignoreHashChange=!1})},setBodyHeight:function(){var e=0;for(var i in this.$elDatas)e+=this.$elDatas[i]["data-height"];this.options.bodyHeight=e,t("body").height(e)},setLinks:function(){var e=this;this.$li.each(function(){var i=t(this).attr("id")||0;e.options.linksArray.push(i)})},setHash:function(e){el=t("[href=#"+e+"]"),el.parent().siblings("li").removeClass("active"),el.parent().addClass("active"),history.pushState?history.pushState(null,null,"#"+e):location.hash=e},setCache:function(){var e=this;e.$current=e.$element.find(".current"),e.$fixed=e.$current.find(".fixed"),e.$fixedLength=e.$fixed.length,e.$step=e.$current.find(".step"),e.$stepLength=e.$step.length,e.currentIndex=e.$current.index(),e.currentColor=e.$current.data("color"),e.currentP=e.$elDatas[e.currentIndex]["data-position"],e.currentHeight=e.$elDatas[e.currentIndex]["data-height"],e.z=e.$element.find(".current").css("z-index"),e.parallaxBg=e.$current.find(".thb-bg"),e.$fade=t(".thb-shadow"),e.$slowScroll=e.$current.find("[data-slow-scroll]")},isHashIsOnList:function(e){var i=this;t.each(i.options.linksArray,function(t,n){if(n===e)return i.scrollToPosition(e),!1})},readyElement:function(t,e){var i=setInterval(function(){t.length&&(e(t.length),clearInterval(i))},60)},imageLoaded:function(e){var i=this.$element.find("img"),n=i.length,s="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///ywAAAAAAQABAAACAUwAOw==";i.bind("load.imgloaded",function(){(--n<=0&&this.src!==s||t(this).not(":visible"))&&(i.unbind("load.imgloaded"),e.call(i,this))}).each(function(){if(this.complete||void 0===this.complete){var t=this.src;this.src=s,this.src=t}})}},t.fn[o]=function(e){return this.each(function(){t.data(this,"plugin_"+o)||t.data(this,"plugin_"+o,new s(this,e))})}}(jQuery,window,document),function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).glitch=t()}}(function(){return function t(e,i,n){function s(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(o)return o(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[r]={exports:{}};e[r][0].call(h.exports,function(t){var i=e[r][1][t];return s(i||t)},h,h.exports,t,e,i,n)}return i[r].exports}for(var o="function"==typeof require&&require,r=0;r<n.length;r++)s(n[r]);return s}({1:[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0});var s=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(t[n]=i[n])}return t};i.default=function(t){function e(){return t}function i(){var t=s({},M);return x||s(t,A),t}function n(){var t=s({},M);return P||s(t,E),t}function d(t){return t}function p(t){return y(r.default,t)}function f(t){return y(d,t)}function m(t){return T(d)}function g(t){return T(a.default,t,!0)}function v(t){return T(l.default,t,!0)}function y(t,e,i){return x=function(){return new Promise(function(n,s){if(i)t(e,n,s);else if(t===d)n(e);else try{n(t(e,n,s))}catch(t){s(t)}})},b()?w():n()}function T(t,e,n){return P=function(i){return new Promise(function(s,o){n?t(i,e,s,o):t===d?s(i):t(i,e).then(s,o)})},b()?w():i()}function b(){return x&&P}function w(){return new Promise(function(e,i){x().then(function(e){return S(e,t)},i).then(function(t){P(t).then(e,i)},i)})}function S(t,e){return new Promise(function(i,n){(0,c.default)(t,e.quality).then(function(i){return _(t,i,e)},n).then(i,n)})}function _(t,e,i){return new Promise(function(n,s){C.addEventListener("message",function(t){t.data&&t.data.base64URL?n(t.data.base64URL):s(t.data&&t.data.err?t.data.err:t)}),C.postMessage({params:i,base64URL:e,imageData:t,imageDataWidth:t.width,imageDataHeight:t.height})})}t=(0,o.default)(t);var x=void 0,P=void 0,C=(0,h.default)(u.default),M={getParams:e,getInput:i,getOutput:n},A={fromImageData:f,fromImage:p},E={toImage:g,toDataURL:m,toImageData:v};return i()};var o=n(t("./input/sanitizeInput")),r=n(t("./input/browser/fromImage")),a=n(t("./output/browser/toImage")),l=n(t("./output/toImageData")),c=n(t("./glitch/browser/imageDataToBase64")),h=n((n(t("./glitch/glitchImageData")),t("webworkify"))),u=n(t("./workers/glitchWorker"));e.exports=i.default},{"./glitch/browser/imageDataToBase64":4,"./glitch/glitchImageData":7,"./input/browser/fromImage":9,"./in
1put/sanitizeInput":11,"./output/browser/toImage":12,"./output/toImageData":13,"./workers/glitchWorker":20,webworkify:22}],2:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0});var n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".split(""),s={};n.forEach(function(t,e){s[t]=e}),i.default={map:n,reverse:s},e.exports=i.default},{}],3:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){for(var e,i,s=[],o=23,r=t.length;r>o;o++){switch(e=n.reverse[t.charAt(o)],(o-23)%4){case 1:s.push(i<<2|e>>4);break;case 2:s.push((15&i)<<4|e>>2);break;case 3:s.push((3&i)<<6|e)}i=e}return s};var n=t("./base64Map");e.exports=i.default},{"./base64Map":2}],4:[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e){return new Promise(function(i,n){if((0,o.default)(t)){var r=new s.default(t.width,t.height);r.getContext("2d").putImageData(t,0,0),i(r.toDataURL("image/jpeg",e/100))}else n(new Error("object is not valid imageData"))})};var s=n(t("canvas-browserify")),o=n(t("../../util/isImageData"));e.exports=i.default},{"../../util/isImageData":18,"canvas-browserify":21}],5:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){for(var e=["data:image/jpeg;base64,"],i=void 0,s=void 0,o=void 0,r=0,a=t.length;a>r;r++){switch(s=t[r],i=r%3){case 0:e.push(n.map[s>>2]);break;case 1:e.push(n.map[(3&o)<<4|s>>4]);break;case 2:e.push(n.map[(15&o)<<2|s>>6]),e.push(n.map[63&s])}o=s}return 0===i?(e.push(n.map[(3&o)<<4]),e.push("==")):1===i&&(e.push(n.map[(15&o)<<2]),e.push("=")),e.join("")};var n=t("./base64Map");e.exports=i.default},{"./base64Map":2}],6:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e,i,s){for(var o=(0,n.default)(t),r=t.length-o-4,a=i/100,l=e/100,c=0;s>c;c++){var h=r/s*c|0,u=h+((r/s*(c+1)|0)-h)*l|0;u>r&&(u=r),t[~~(o+u)]=~~(256*a)}return t};var n=function(t){return t&&t.__esModule?t:{default:t}}(t("./jpgHeaderLength"));e.exports=i.default},{"./jpgHeaderLength":8}],7:[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e,i){if((0,s.default)(t)){var n=(0,o.default)(e),l=(0,r.default)(n,i.seed,i.amount,i.iterations);return(0,a.default)(l)}throw new Error("glitchImageData: imageData seems to be corrupt.")};var s=n(t("../util/isImageData")),o=n(t("./base64ToByteArray")),r=n(t("./glitchByteArray")),a=n(t("./byteArrayToBase64"));e.exports=i.default},{"../util/isImageData":18,"./base64ToByteArray":3,"./byteArrayToBase64":5,"./glitchByteArray":6}],8:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){for(var e=417,i=0,n=t.length;n>i;i++)if(255===t[i]&&218===t[i+1]){e=i+2;break}return e},e.exports=i.default},{}],9:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){if(t instanceof HTMLImageElement){if(!t.naturalWidth||!t.naturalHeight||!1===t.complete)throw new Error("This this image hasn't finished loading: "+t.src);var e=new n.default(t.naturalWidth,t.naturalHeight),i=e.getContext("2d");i.drawImage(t,0,0,e.width,e.height);var s=i.getImageData(0,0,e.width,e.height);return s.data&&s.data.length&&(void 0===s.width&&(s.width=t.naturalWidth),void 0===s.height&&(s.height=t.naturalHeight)),s}throw new Error("This object does not seem to be an image.")};var n=function(t){return t&&t.__esModule?t:{default:t}}(t("canvas-browserify"));n.default.Image,e.exports=i.default},{"canvas-browserify":21}],10:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default={amount:35,iterations:20,quality:30,seed:25},e.exports=i.default},{}],11:[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0});var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};i.default=function(t){return"object"!==(void 0===(t=(0,r.default)(t))?"undefined":s(t))&&(t={}),Object.keys(a.default).filter(function(t){return"iterations"!==t}
1).forEach(function(e){"number"!=typeof t[e]||isNaN(t[e])?t[e]=a.default[e]:t[e]=(0,o.default)(t[e],0,100),t[e]=Math.round(t[e])}),("number"!=typeof t.iterations||isNaN(t.iterations)||t.iterations<=0)&&(t.iterations=a.default.iterations),t.iterations=Math.round(t.iterations),t};var o=n(t("../util/clamp")),r=n(t("../util/clone")),a=n(t("./defaultParams"));e.exports=i.default},{"../util/clamp":15,"../util/clone":16,"./defaultParams":10}],12:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e,i,s){(0,n.default)(t).then(i,s)};var n=function(t){return t&&t.__esModule?t:{default:t}}(t("../../util/loadBase64Image"));e.exports=i.default},{"../../util/loadBase64Image":19}],13:[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e,i,n){(0,s.default)(t).then(function(t){var e=(0,r.default)(t),n=(0,o.default)(t).ctx.getImageData(0,0,e.width,e.height);n.width||(n.width=e.width),n.height||(n.height=e.height),i(n)},n)};var s=n(t("../util/loadBase64Image")),o=n(t("../util/canvasFromImage")),r=n(t("../util/getImageSize"));e.exports=i.default},{"../util/canvasFromImage":14,"../util/getImageSize":17,"../util/loadBase64Image":19}],14:[function(t,e,i){function n(t){return t&&t.__esModule?t:{default:t}}Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){var e=(0,o.default)(t),i=new s.default(e.width,e.height),n=i.getContext("2d");return n.drawImage(t,0,0,e.width,e.height),{canvas:i,ctx:n}};var s=n(t("canvas-browserify")),o=n(t("./getImageSize"));e.exports=i.default},{"./getImageSize":17,"canvas-browserify":21}],15:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t,e,i){return e>t?e:t>i?i:t},e.exports=i.default},{}],16:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){var e=!1;if(void 0!==t)try{e=JSON.parse(JSON.stringify(t))}catch(t){}return e},e.exports=i.default},{}],17:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){return{width:t.width||t.naturalWidth,height:t.height||t.naturalHeight}},e.exports=i.default},{}],18:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0});var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t};i.default=function(t){return t&&"number"==typeof t.width&&"number"==typeof t.height&&t.data&&"number"==typeof t.data.length&&"object"===n(t.data)},e.exports=i.default},{}],19:[function(t,e,i){Object.defineProperty(i,"__esModule",{value:!0}),i.default=function(t){return new Promise(function(e,i){var s=new n.Image;s.onload=function(){e(s)},s.onerror=function(t){i(t)},s.src=t})};var n=t("canvas-browserify");e.exports=i.default},{"canvas-browserify":21}],20:[function(t,e,i){function n(t){t.addEventListener("message",function(e){var i=e.data.imageData,n=e.data.params,a=e.data.base64URL;if(i&&a&&n)try{void 0===i.width&&"number"==typeof e.data.imageDataWidth&&(i.width=e.data.imageDataWidth),void 0===i.height&&"number"==typeof e.data.imageDataHeight&&(i.height=e.data.imageDataHeight),o((0,r.default)(i,a,n))}catch(t){s(t)}else s(e.data.imageData?"Parameters are missing.":"ImageData is missing.");t.close()})}function s(t){self.postMessage({err:t.message||t})}function o(t){self.postMessage({base64URL:t})}Object.defineProperty(i,"__esModule",{value:!0}),i.default=n;var r=function(t){return t&&t.__esModule?t:{default:t}}(t("../glitch/glitchImageData"));e.exports=i.default},{"../glitch/glitchImageData":7}],21:[function(t,e,i){(e.exports=function(t,e){var i=document.createElement("canvas");return i.width=t||300,i.height=e||150,i}).Image=function(){return document.createElement("img")}},{}],22:[function(t,e,i){var n=arguments[3],s=arguments[4],o=arguments[5],r=JSON.stringify;e.exports=function(t){for(var e,i=Object.keys(o),a=0,l=i.length;l>a;a++){var c=i[a],h=o[c].exports;if(h===t||h.default===t){e=c;break}}if(!e){e=Math.floor(Math.pow(16,8)*Math.random()).toString(16);for(var u={},a=0,l=i.length;l>a;a++)u[c=i[a]]=c;s[e]=[Function(["require","module","exports"],"("+t+")(self)"),u]}var d=Math.floor(Math.pow(16,8)*Math.random()).toString(16),p={};p[e]=e,s[d]=[Function(["require"],"var f = require("+r(e)+");(f.default ? f.default : f)(self);"),p];var f="("+n+")({"+Object.keys(s).map(function(t){return r(t)+":["+s[t][0]+","+r(s[t][1])+"]"}).join(",")+"},{},["+r(d)+"])",m=window.URL||window.webkitURL||window.mozURL||window.msURL;return new Worker(m.createObjectURL(new Blob([f],{type:"text/javascript"})))}},{}]},{},[1])(1)}
vendor: 4,268 bytes, line 1
1),function(t,e,i,n){function s(t,e,i){return setTimeout(c(t,i),e)}function o(t,e,i){return!!Array.isArray(t)&&(r(t,i[e],i),!0)}function r(t,e,i){var s;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==n)for(s=0;s<t.length;)e.call(i,t[s],s,t),s++;else for(s in t)t.hasOwnProperty(s)&&e.call(i,t[s],s,t)}function a(e,i,n){var s="DEPRECATED METHOD: "+i+"\n"+n+" AT \n";return function(){var i=new Error("get-stack-trace"),n=i&&i.stack?i.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",o=t.console&&(t.console.warn||t.console.log);return o&&o.call(t.console,s,n),e.apply(this,arguments)}}function l(t,e,i){var n,s=e.prototype;(n=t.prototype=Object.create(s)).constructor=t,n._super=s,i&&ht(n,i)}function c(t,e){return function(){return t.apply(e,arguments)}}function h(t,e){return typeof t==pt?t.apply(e?e[0]||n:n,e):t}function u(t,e){return t===n?e:t}function d(t,e,i){r(g(e),function(e){t.addEventListener(e,i,!1)})}function p(t,e,i){r(g(e),function(e){t.removeEventListener(e,i,!1)})}function f(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function m(t,e){return t.indexOf(e)>-1}function g(t){return t.trim().split(/\s+/g)}function v(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function y(t){return Array.prototype.slice.call(t,0)}function T(t,e,i){for(var n=[],s=[],o=0;o<t.length;){var r=e?t[o][e]:t[o];v(s,r)<0&&n.push(t[o]),s[o]=r,o++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function b(t,e){for(var i,s,o=e[0].toUpperCase()+e.slice(1),r=0;r<ut.length;){if(i=ut[r],(s=i?i+o:e)in t)return s;r++}return n}function w(){return Tt++}function S(e){var i=e.ownerDocument||e;return i.defaultView||i.parentWindow||t}function _(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){h(t.options.enable,[t])&&i.handler(e)},this.init()}function x(t){var e=t.options.inputClass;return new(e||(St?R:_t?N:wt?F:B))(t,P)}function P(t,e,i){var n=i.pointers.length,s=i.changedPointers.length,o=e&Mt&&n-s==0,r=e&(Et|kt)&&n-s==0;i.isFirst=!!o,i.isFinal=!!r,o&&(t.session={}),i.eventType=e,C(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function C(t,e){var i=t.session,n=e.pointers,s=n.length;i.firstInput||(i.firstInput=E(e)),s>1&&!i.firstMultiple?i.firstMultiple=E(e):1===s&&(i.firstMultiple=!1);var o=i.firstInput,r=i.firstMultiple,a=r?r.center:o.center,l=e.center=k(n);e.timeStamp=gt(),e.deltaTime=e.timeStamp-o.timeStamp,e.angle=H(a,l),e.distance=O(a,l),M(i,e),e.offsetDirection=D(e.deltaX,e.deltaY);var c=I(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=c.x,e.overallVelocityY=c.y,e.overallVelocity=mt(c.x)>mt(c.y)?c.x:c.y,e.scale=r?z(r.pointers,n):1,e.rotation=r?L(r.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,A(i,e);var h=t.element;f(e.srcEvent.target,h)&&(h=e.srcEvent.target),e.target=h}function M(t,e){var i=e.center,n=t.offsetDelta||{},s=t.prevDelta||{},o=t.prevInput||{};e.eventType!==Mt&&o.eventType!==Et||(s=t.prevDelta={x:o.deltaX||0,y:o.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y}),e.deltaX=s.x+(i.x-n.x),e.deltaY=s.y+(i.y-n.y)}function A(t,e){var i,s,o,r,a=t.lastInterval||e,l=e.timeStamp-a.timeStamp;if(e.eventType!=kt&&(l>Ct||a.velocity===n)){var c=e.deltaX-a.deltaX,h=e.deltaY-a.deltaY,u=I(l,c,h);s=u.x,o=u.y,i=mt(u.x)>mt(u.y)?u.x:u.y,r=D(c,h),t.lastInterval=e}else i=a.velocity,s=a.velocityX,o=a.velocityY,r=a.direction;e.velocity=i,e.velocityX=s,e.velocityY=o,e.direction=r}function E(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:ft(t.pointers[i].clientX),clientY:ft(t.pointers[i].clientY)},i++;return{timeStamp:gt(),pointers:e,center:k(e),deltaX:t.deltaX,deltaY:t.deltaY}}function k(t){var e=t.length;if(1===e)return{x:ft(t[0].clientX),y:ft(t[0].clientY)};for(var i=0,n=0,s=0;e>s;)i+=t[s].clientX,n+=t[s].clientY,s++;return{x:ft(i/e),y:ft(n/e)}}function I(t,e,i){return{x:e/t||0,y:i/t||0}}function D(t,e){return t===e?It:mt(t)>=mt(e)?0>t?Dt:Ot:0>e?Ht:Lt}function O(t,e,i){i||(i=Gt);var n=e[i[0]]-t[i[0]],s=e[i[1]]-t[i[1]];return Math.sqrt(n*n+s*s)}
vendor: 5,137 bytes, line 1
1function H(t,e,i){i||(i=Gt);var n=e[i[0]]-t[i[0]],s=e[i[1]]-t[i[1]];return 180*Math.atan2(s,n)/Math.PI}function L(t,e){return H(e[1],e[0],Xt)+H(t[1],t[0],Xt)}function z(t,e){return O(e[0],e[1],Xt)/O(t[0],t[1],Xt)}function B(){this.evEl=Wt,this.evWin=Ft,this.pressed=!1,_.apply(this,arguments)}function R(){this.evEl=$t,this.evWin=jt,_.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}function G(){this.evTarget=qt,this.evWin=Kt,this.started=!1,_.apply(this,arguments)}function X(t,e){var i=y(t.touches),n=y(t.changedTouches);return e&(Et|kt)&&(i=T(i.concat(n),"identifier",!0)),[i,n]}function N(){this.evTarget=Qt,this.targetIds={},_.apply(this,arguments)}function W(t,e){var i=y(t.touches),n=this.targetIds;if(e&(Mt|At)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var s,o,r=y(t.changedTouches),a=[],l=this.target;if(o=i.filter(function(t){return f(t.target,l)}),e===Mt)for(s=0;s<o.length;)n[o[s].identifier]=!0,s++;for(s=0;s<r.length;)n[r[s].identifier]&&a.push(r[s]),e&(Et|kt)&&delete n[r[s].identifier],s++;return a.length?[T(o.concat(a),"identifier",!0),a]:void 0}function F(){_.apply(this,arguments);var t=c(this.handler,this);this.touch=new N(this.manager,t),this.mouse=new B(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Y(t,e){t&Mt?(this.primaryTouch=e.changedPointers[0].identifier,V.call(this,e)):t&(Et|kt)&&V.call(this,e)}function V(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches,s=function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)};setTimeout(s,Jt)}}function $(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var s=this.lastTouches[n],o=Math.abs(e-s.x),r=Math.abs(i-s.y);if(te>=o&&te>=r)return!0}return!1}function j(t,e){this.manager=t,this.set(e)}function U(t){if(m(t,re))return re;var e=m(t,ae),i=m(t,le);return e&&i?re:e||i?e?ae:le:m(t,oe)?oe:se}function q(t){this.options=ht({},this.defaults,t||{}),this.id=w(),this.manager=null,this.options.enable=u(this.options.enable,!0),this.state=he,this.simultaneous={},this.requireFail=[]}function K(t){return t&me?"cancel":t&pe?"end":t&de?"move":t&ue?"start":""}function Z(t){return t==Lt?"down":t==Ht?"up":t==Dt?"left":t==Ot?"right":""}function Q(t,e){var i=e.manager;return i?i.get(t):t}function J(){q.apply(this,arguments)}function tt(){J.apply(this,arguments),this.pX=null,this.pY=null}function et(){J.apply(this,arguments)}function it(){q.apply(this,arguments),this._timer=null,this._input=null}function nt(){J.apply(this,arguments)}function st(){J.apply(this,arguments)}function ot(){q.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function rt(t,e){return e=e||{},e.recognizers=u(e.recognizers,rt.defaults.preset),new at(t,e)}function at(t,e){this.options=ht({},rt.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=x(this),this.touchAction=new j(this,this.options.touchAction),lt(this,!0),r(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function lt(t,e){var i=t.element;if(i.style){var n;r(t.options.cssProps,function(s,o){n=b(i.style,o),e?(t.oldCssProps[n]=i.style[n],i.style[n]=s):i.style[n]=t.oldCssProps[n]||""}),e||(t.oldCssProps={})}}function ct(t,i){var n=e.createEvent("Event");n.initEvent(t,!0,!0),n.gesture=i,i.target.dispatchEvent(n)}var ht,ut=["","webkit","Moz","MS","ms","o"],dt=e.createElement("div"),pt="function",ft=Math.round,mt=Math.abs,gt=Date.now;ht="function"!=typeof Object.assign?function(t){if(t===n||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var s=arguments[i];if(s!==n&&null!==s)for(var o in s)s.hasOwnProperty(o)&&(e[o]=s[o])}return e}:Object.assign;var vt=a(function(t,e,i){for(var s=Object.keys(e),o=0;o<s.length;)(!i||i&&t[s[o]]===n)&&(t[s[o]]=e[s[o]]),o++;return t},"extend","Use `assign`."),yt=a(function(t,e){return vt(t,e,!0)},"merge","Use `assign`."),Tt=1,bt=/mobile|tablet|ip(ad|hone|od)|android/i,wt="ontouchstart"in t,St=b(t,"PointerEvent")!==n,_t=wt&&bt.test(navigator.userAgent),xt="touch",Pt="mouse",Ct=25,Mt=1,At=2,Et=4,kt=8,It=1,Dt=2,Ot=4,Ht=8,Lt=16,zt=Dt|Ot,Bt=Ht|Lt,Rt=zt|Bt,Gt=["x","y"],Xt=["clientX","clientY"];_.prototype={handler:function(){},init:function(){this.evEl&&d(this.element,this.evEl,this.domHandler),this.evTarget&&d(this.target,this.evTarget,this.domHandler),this.evWin&&d(S(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&p(this.element,this.evEl,this.domHandler),this.evTarget&&p(this.target,this.evTarget,this.domHandler),this.evWin&&p(S(this.element),this.evWin,this.domHandler)}};var Nt={mousedown:Mt,mousemove:At,mouseup:Et},Wt="mousedown",Ft="mousemove mouseup";l(B,_,{handler:function(t){var e=Nt[t.type];e&Mt&&0===t.button&&(this.pressed=!0),e&At&&1!==t.which&&(e=Et),this.pressed&&(e&Et&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],
vendor: 10,741 bytes, line 1
1changedPointers:[t],pointerType:Pt,srcEvent:t}))}});var Yt={pointerdown:Mt,pointermove:At,pointerup:Et,pointercancel:kt,pointerout:kt},Vt={2:xt,3:"pen",4:Pt,5:"kinect"},$t="pointerdown",jt="pointermove pointerup pointercancel";t.MSPointerEvent&&!t.PointerEvent&&($t="MSPointerDown",jt="MSPointerMove MSPointerUp MSPointerCancel"),l(R,_,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),s=Yt[n],o=Vt[t.pointerType]||t.pointerType,r=o==xt,a=v(e,t.pointerId,"pointerId");s&Mt&&(0===t.button||r)?0>a&&(e.push(t),a=e.length-1):s&(Et|kt)&&(i=!0),0>a||(e[a]=t,this.callback(this.manager,s,{pointers:e,changedPointers:[t],pointerType:o,srcEvent:t}),i&&e.splice(a,1))}});var Ut={touchstart:Mt,touchmove:At,touchend:Et,touchcancel:kt},qt="touchstart",Kt="touchstart touchmove touchend touchcancel";l(G,_,{handler:function(t){var e=Ut[t.type];if(e===Mt&&(this.started=!0),this.started){var i=X.call(this,t,e);e&(Et|kt)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:xt,srcEvent:t})}}});var Zt={touchstart:Mt,touchmove:At,touchend:Et,touchcancel:kt},Qt="touchstart touchmove touchend touchcancel";l(N,_,{handler:function(t){var e=Zt[t.type],i=W.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:xt,srcEvent:t})}});var Jt=2500,te=25;l(F,_,{handler:function(t,e,i){var n=i.pointerType==xt,s=i.pointerType==Pt;if(!(s&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)Y.call(this,e,i);else if(s&&$.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var ee=b(dt.style,"touchAction"),ie=ee!==n,ne="compute",se="auto",oe="manipulation",re="none",ae="pan-x",le="pan-y",ce=function(){if(!ie)return!1;var e={},i=t.CSS&&t.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(n){e[n]=!i||t.CSS.supports("touch-action",n)}),e}();j.prototype={set:function(t){t==ne&&(t=this.compute()),ie&&this.manager.element.style&&ce[t]&&(this.manager.element.style[ee]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return r(this.manager.recognizers,function(e){h(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),U(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;{if(!this.manager.session.prevented){var n=this.actions,s=m(n,re)&&!ce[re],o=m(n,le)&&!ce[le],r=m(n,ae)&&!ce[ae];if(s){var a=1===t.pointers.length,l=t.distance<2,c=t.deltaTime<250;if(a&&l&&c)return}return r&&o?void 0:s||o&&i&zt||r&&i&Bt?this.preventSrc(e):void 0}e.preventDefault()}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var he=1,ue=2,de=4,pe=8,fe=pe,me=16;q.prototype={defaults:{},set:function(t){return ht(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(o(t,"recognizeWith",this))return this;var e=this.simultaneous;return t=Q(t,this),e[t.id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return o(t,"dropRecognizeWith",this)?this:(t=Q(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(o(t,"requireFailure",this))return this;var e=this.requireFail;return t=Q(t,this),-1===v(e,t)&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(o(t,"dropRequireFailure",this))return this;t=Q(t,this);var e=v(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){function e(e){i.manager.emit(e,t)}var i=this,n=this.state;pe>n&&e(i.options.event+K(n)),e(i.options.event),t.additionalEvent&&e(t.additionalEvent),n>=pe&&e(i.options.event+K(n))},tryEmit:function(t){return this.canEmit()?this.emit(t):void(this.state=32)},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|he)))return!1;t++}return!0},recognize:function(t){var e=ht({},t);return h(this.options.enable,[this,e])?(this.state&(fe|me|32)&&(this.state=he),this.state=this.process(e),void(this.state&(ue|de|pe|me)&&this.tryEmit(e))):(this.reset(),void(this.state=32))},process:function(t){},getTouchAction:function(){},reset:function(){}},l(J,q,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(ue|de),s=this.attrTest(t);return n&&(i&kt||!s)?e|me:n||s?i&Et?e|pe:e&ue?e|de:ue:32}}),l(tt,J,{defaults:{event:"pan",threshold:10,pointers:1,direction:Rt},getTouchAction:function(){var t=this.options.direction,e=[];return t&zt&&e.push(le),t&Bt&&e.push(ae),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,s=t.direction,o=t.deltaX,r=t.deltaY;return s&e.direction||(e.direction&zt?(s=0===o?It:0>o?Dt:Ot,i=o!=this.pX,n=Math.abs(t.deltaX)):(s=0===r?It:0>r?Ht:Lt,i=r!=this.pY,n=Math.abs(t.deltaY))),t.direction=s,i&&n>e.threshold&&s&e.direction},attrTest:function(t){return J.prototype.attrTest.call(this,t)&&(this.state&ue||!(this.state&ue)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Z(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),l(et,J,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[re]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&ue)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),l(it,q,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[se]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,o=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(Et|kt)&&!o)this.reset();else if(t.eventType&Mt)this.reset(),this._timer=s(function(){this.state=fe,this.tryEmit()},e.time,this);else if(t.eventType&Et)return fe;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===fe&&(t&&t.eventType&Et?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=gt(),this.manager.emit(this.options.event,this._input)))}}),l(nt,J,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[re]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&ue)}}),l(st,J,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:zt|Bt,pointers:1},getTouchAction:function(){return tt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&(zt|Bt)?e=t.overallVelocity:i&zt?e=t.overallVelocityX:i&Bt&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&mt(e)>this.options.velocity&&t.eventType&Et},emit:function(t){var e=Z(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),l(ot,q,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[oe]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,o=t.deltaTime<e.time;if(this.reset(),t.eventType&Mt&&0===this.count)return this.failTimeout();if(n&&o&&i){if(t.eventType!=Et)return this.failTimeout();var r=!this.pTime||t.timeStamp-this.pTime<e.interval,a=!this.pCenter||O(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,a&&r?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=s(function(){this.state=fe,this.tryEmit()},e.interval,this),ue):fe}return 32},failTimeout:function(){return this._timer=s(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==fe&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),rt.VERSION="2.0.8",rt.defaults={domEvents:!1,touchAction:ne,enable:!0,inputTarget:null,inputClass:null,preset:[[nt,{enable:!1}],[et,{enable:!1},["rotate"]],[st,{direction:zt}],[tt,{direction:zt},["swipe"]],[ot],[ot,{event:"doubletap",taps:2},["tap"]],[it]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};at.prototype={set:function(t){return ht(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){this.touchAction.preventDefaults(t);var i,n=this.recognizers,s=e.curRecognizer;(!s||s&&s.state&fe)&&(s=e.curRecognizer=null);for(var o=0;o<n.length;)i=n[o],2===e.stopped||s&&i!=s&&!i.canRecognizeWith(s)?i.reset():i.recognize(t),!s&&i.state&(ue|de|pe)&&(s=e.curRecognizer=i),o++}},get:function(t){if(t instanceof q)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(o(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(o(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=v(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==n&&e!==n){var i=this.handlers;return r(g(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this}},off:function(t,e){if(t!==n){var i=this.handlers;return r(g(t),function(t){e?i[t]&&i[t].splice(v(i[t],e),1):delete i[t]}),this}},emit:function(t,e){this.options.domEvents&&ct(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&<(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},ht(rt,{INPUT_START:Mt,INPUT_MOVE:At,INPUT_END:Et,INPUT_CANCEL:kt,STATE_POSSIBLE:he,STATE_BEGAN:ue,STATE_CHANGED:de,STATE_ENDED:pe,STATE_RECOGNIZED:fe,STATE_CANCELLED:me,STATE_FAILED:32,DIRECTION_NONE:It,DIRECTION_LEFT:Dt,DIRECTION_RIGHT:Ot,DIRECTION_UP:Ht,DIRECTION_DOWN:Lt,DIRECTION_HORIZONTAL:zt,DIRECTION_VERTICAL:Bt,DIRECTION_ALL:Rt,Manager:at,Input:_,TouchAction:j,TouchInput:N,MouseInput:B,PointerEventInput:R,TouchMouseInput:F,SingleTouchInput:G,Recognizer:q,AttrRecognizer:J,Tap:ot,Pan:tt,Swipe:st,P
1inch:et,Rotate:nt,Press:it,on:d,off:p,each:r,merge:yt,extend:vt,assign:ht,inherit:l,bindFn:c,prefixed:b}),(void 0!==t?t:"undefined"!=typeof self?self:{}).Hammer=rt,"function"==typeof define&&define.amd?define(function(){return rt}):"undefined"!=typeof module&&module.exports?module.exports=rt:t.Hammer=rt}(window,document),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}(this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||[])[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,s=i[n];e=e||[];for(var o=this._onceEvents&&this._onceEvents[t];s;){var r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e),s=i[n+=r?0:1]}return this}},t}),function(t,e){"function"==typeof define&&define.amd?define(["ev-emitter/ev-emitter"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter")):t.imagesLoaded=e(t,t.EvEmitter)}(window,function(t,e){function i(t,e){for(var i in e)t[i]=e[i];return t}function n(t){var e=[];if(Array.isArray(t))e=t;else if("number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e}function s(t,e,o){return this instanceof s?("string"==typeof t&&(t=document.querySelectorAll(t)),this.elements=n(t),this.options=i({},this.options),"function"==typeof e?o=e:i(this.options,e),o&&this.on("always",o),this.getImages(),a&&(this.jqDeferred=new a.Deferred),void setTimeout(function(){this.check()}.bind(this))):new s(t,e,o)}function o(t){this.img=t}function r(t,e){this.url=t,this.element=e,this.img=new Image}var a=t.jQuery,l=t.console;s.prototype=Object.create(e.prototype),s.prototype.options={},s.prototype.getImages=function(){this.images=[],this.elements.forEach(this.addElementImages,this)},s.prototype.addElementImages=function(t){"IMG"==t.nodeName&&this.addImage(t),!0===this.options.background&&this.addElementBackgroundImages(t);var e=t.nodeType;if(e&&c[e]){for(var i=t.querySelectorAll("img"),n=0;n<i.length;n++){var s=i[n];this.addImage(s)}if("string"==typeof this.options.background){var o=t.querySelectorAll(this.options.background);for(n=0;n<o.length;n++){var r=o[n];this.addElementBackgroundImages(r)}}}};var c={1:!0,9:!0,11:!0};return s.prototype.addElementBackgroundImages=function(t){var e=getComputedStyle(t);if(e)for(var i=/url\((['"])?(.*?)\1\)/gi,n=i.exec(e.backgroundImage);null!==n;){var s=n&&n[2];s&&this.addBackground(s,t),n=i.exec(e.backgroundImage)}},s.prototype.addImage=function(t){var e=new o(t);this.images.push(e)},s.prototype.addBackground=function(t,e){var i=new r(t,e);this.images.push(i)},s.prototype.check=function(){function t(t,i,n){setTimeout(function(){e.progress(t,i,n)})}var e=this;return this.progressedCount=0,this.hasAnyBroken=!1,this.images.length?void this.images.forEach(function(e){e.once("progress",t),e.check()}):void this.complete()},s.prototype.progress=function(t,e,i){this.progressedCount++,this.hasAnyBroken=this.hasAnyBroken||!t.isLoaded,this.emitEvent("progress",[this,t,e]),this.jqDeferred&&this.jqDeferred.notify&&this.jqDeferred.notify(this,t),this.progressedCount==this.images.length&&this.complete(),this.options.debug&&l&&l.log("progress: "+i,t,e)},s.prototype.complete=function(){var t=this.hasAnyBroken?"fail":"done";if(this.isComplete=!0,this.emitEvent(t,[this]),this.emitEvent("always",[this]),this.jqDeferred){var e=this.hasAnyBroken?"reject":"resolve";this.jqDeferred[e](this)}},o.prototype=Object.create(e.prototype),o.prototype.check=function(){return this.getIsImageComplete()?void this.confirm(0!==this.img.naturalWidth,"naturalWidth"):(this.proxyImage=new Image,this.proxyImage.addEventListener("load",this),this.proxyImage.addEventListener("error",this),this.img.addEventListener("load",this),this.img.addEventListener("error",this),void(this.proxyImage.src=this.img.src))},o.prototype.getIsImageComplete=function(){return this.img.complete&&void 0!==this.img.naturalWi
1dth},o.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.img,e])},o.prototype.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},o.prototype.onload=function(){this.confirm(!0,"onload"),this.unbindEvents()},o.prototype.onerror=function(){this.confirm(!1,"onerror"),this.unbindEvents()},o.prototype.unbindEvents=function(){this.proxyImage.removeEventListener("load",this),this.proxyImage.removeEventListener("error",this),this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype=Object.create(o.prototype),r.prototype.check=function(){this.img.addEventListener("load",this),this.img.addEventListener("error",this),this.img.src=this.url,this.getIsImageComplete()&&(this.confirm(0!==this.img.naturalWidth,"naturalWidth"),this.unbindEvents())},r.prototype.unbindEvents=function(){this.img.removeEventListener("load",this),this.img.removeEventListener("error",this)},r.prototype.confirm=function(t,e){this.isLoaded=t,this.emitEvent("progress",[this,this.element,e])},s.makeJQueryPlugin=function(e){(e=e||t.jQuery)&&(a=e,a.fn.imagesLoaded=function(t,e){return new s(this,t,e).jqDeferred.promise(a(this))})},s.makeJQueryPlugin(),s}),function(t,e){function i(e){var i,n=t("<div></div>").css({width:"100%"});return e.append(n),i=e.width()-n.width(),n.remove(),i}function n(s,o){var r=s.getBoundingClientRect(),a=r.top,l=r.bottom,c=r.left,h=r.right,u=t.extend({tolerance:0,viewport:e},o),d=!1,p=u.viewport.jquery?u.viewport:t(u.viewport);p.length||(console.warn("isInViewport: The viewport selector you have provided matches no element on page."),console.warn("isInViewport: Defaulting to viewport as window"),p=t(e));var f=p.height(),m=p.width(),g=p[0].toString();if(p[0]!==e&&"[object Window]"!==g&&"[object DOMWindow]"!==g){var v=p[0].getBoundingClientRect();a-=v.top,l-=v.top,c-=v.left,h-=v.left,n.scrollBarWidth=n.scrollBarWidth||i(p),m-=n.scrollBarWidth}return u.tolerance=~~Math.round(parseFloat(u.tolerance)),u.tolerance<0&&(u.tolerance=f+u.tolerance),0>=h||c>=m?d:d=u.tolerance?a<=u.tolerance&&l>=u.tolerance:l>0&&f>=a}String.prototype.hasOwnProperty("trim")||(String.prototype.trim=function(){return this.replace(/^\s*(.*?)\s*$/,"$1")});var s=function(e){if(1===arguments.length&&"function"==typeof e&&(e=[e]),!(e instanceof Array))throw new SyntaxError("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions");for(var i=0;i<e.length;i++)if("function"==typeof e[i])for(var n=0;n<this.length;n++)e[i].call(t(this[n]));else console.warn("isInViewport: Argument(s) passed to .do/.run should be a function or an array of functions"),console.warn("isInViewport: Ignoring non-function values in array and moving on");return this};t.fn.do=function(t){return console.warn("isInViewport: .do is deprecated as it causes issues in IE and some browsers since it's a reserved word. Use $.fn.run instead i.e., $(el).run(fn)."),s(t)},t.fn.run=s;var o=function(e){if(e){var i=e.split(",");return 1===i.length&&isNaN(i[0])&&(i[1]=i[0],i[0]=void 0),{tolerance:i[0]?i[0].trim():void 0,viewport:i[1]?t(i[1].trim()):void 0}}return{}};t.extend(t.expr[":"],{"in-viewport":t.expr.createPseudo?t.expr.createPseudo(function(t){return function(e){return n(e,o(t))}}):function(t,e,i){return n(t,o(i[3]))}}),t.fn.isInViewport=function(t){return this.filter(function(e,i){return n(i,t)})}}(jQuery,window),function(t,e){"function"==typeof define&&define.amd?define("jquery-bridget/jquery-bridget",["jquery"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("jquery")):t.jQueryBridget=e(t,t.jQuery)}(window,function(t,e){function i(i,o,a){function l(t,e,n){var s,o="$()."+i+'("'+e+'")';return t.each(function(t,l){var c=a.data(l,i);if(c){var h=c[e];if(h&&"_"!=e.charAt(0)){var u=h.apply(c,n);s=void 0===s?u:s}else r(o+" is not a valid method")}else r(i+" not initialized. Cannot call methods, i.e. "+o)}),void 0!==s?s:t}function c(t,e){t.each(function(t,n){var s=a.data(n,i);s?(s.option(e),s._init()):(s=new o(n,e),a.data(n,i,s))})}(a=a||e||t.jQuery)&&(o.prototype.option||(o.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[i]=function(t){return"string"==typeof t?l(this,t,s.call(arguments,1
1)):(c(this,t),this)},n(a))}function n(t){!t||t&&t.bridget||(t.bridget=i)}var s=Array.prototype.slice,o=t.console,r=void 0===o?function(){}:function(t){o.error(t)};return n(e||t.jQuery),i}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},n=i[t]=i[t]||[];return-1==n.indexOf(e)&&n.push(e),this}},e.once=function(t,e){if(t&&e){this.on(t,e);var i=this._onceEvents=this._onceEvents||{};return(i[t]=i[t]||{})[e]=!0,this}},e.off=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=i.indexOf(e);return-1!=n&&i.splice(n,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var n=0,s=i[n];e=e||[];for(var o=this._onceEvents&&this._onceEvents[t];s;){var r=o&&o[s];r&&(this.off(t,s),delete o[s]),s.apply(this,e),s=i[n+=r?0:1]}return this}},t}),function(t,e){"function"==typeof define&&define.amd?define("get-size/get-size",[],function(){return e()}):"object"==typeof module&&module.exports?module.exports=e():t.getSize=e()}(window,function(){function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}function e(){}function i(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<c;e++)t[l[e]]=0;return t}function n(t){var e=getComputedStyle(t);return e||a("Style returned "+e+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),e}function s(){if(!h){h=!0;var e=document.createElement("div");e.style.width="200px",e.style.padding="1px 2px 3px 4px",e.style.borderStyle="solid",e.style.borderWidth="1px 2px 3px 4px",e.style.boxSizing="border-box";var i=document.body||document.documentElement;i.appendChild(e);var s=n(e);o.isBoxSizeOuter=r=200==t(s.width),i.removeChild(e)}}function o(e){if(s(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var o=n(e);if("none"==o.display)return i();var a={};a.width=e.offsetWidth,a.height=e.offsetHeight;for(var h=a.isBorderBox="border-box"==o.boxSizing,u=0;u<c;u++){var d=l[u],p=o[d],f=parseFloat(p);a[d]=isNaN(f)?0:f}var m=a.paddingLeft+a.paddingRight,g=a.paddingTop+a.paddingBottom,v=a.marginLeft+a.marginRight,y=a.marginTop+a.marginBottom,T=a.borderLeftWidth+a.borderRightWidth,b=a.borderTopWidth+a.borderBottomWidth,w=h&&r,S=t(o.width);!1!==S&&(a.width=S+(w?0:m+T));var _=t(o.height);return!1!==_&&(a.height=_+(w?0:g+b)),a.innerWidth=a.width-(m+T),a.innerHeight=a.height-(g+b),a.outerWidth=a.width+v,a.outerHeight=a.height+y,a}}var r,a="undefined"==typeof console?e:function(t){console.error(t)},l=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],c=l.length,h=!1;return o}),function(t,e){"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){var t=function(){var t=window.Element.prototype;if(t.matches)return"matches";if(t.matchesSelector)return"matchesSelector";for(var e=["webkit","moz","ms","o"],i=0;i<e.length;i++){var n=e[i]+"MatchesSelector";if(t[n])return n}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["de
1sandro-matches-selector/matches-selector"],function(i){return e(t,i)}):"object"==typeof module&&module.exports?module.exports=e(t,require("desandro-matches-selector")):t.fizzyUIUtils=e(t,t.matchesSelector)}(window,function(t,e){var i={};i.extend=function(t,e){for(var i in e)t[i]=e[i];return t},i.modulo=function(t,e){return(t%e+e)%e},i.makeArray=function(t){var e=[];if(Array.isArray(t))e=t;else if(t&&"object"==typeof t&&"number"==typeof t.length)for(var i=0;i<t.length;i++)e.push(t[i]);else e.push(t);return e},i.removeFrom=function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},i.getParent=function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},i.getQueryElement=function(t){return"string"==typeof t?document.querySelector(t):t},i.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},i.filterFindElements=function(t,n){var s=[];return(t=i.makeArray(t)).forEach(function(t){if(t instanceof HTMLElement){if(!n)return void s.push(t);e(t,n)&&s.push(t);for(var i=t.querySelectorAll(n),o=0;o<i.length;o++)s.push(i[o])}}),s},i.debounceMethod=function(t,e,i){var n=t.prototype[e],s=e+"Timeout";t.prototype[e]=function(){var t=this[s];t&&clearTimeout(t);var e=arguments,o=this;this[s]=setTimeout(function(){n.apply(o,e),delete o[s]},i||100)}},i.docReady=function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},i.toDashed=function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()};var n=t.console;return i.htmlInit=function(e,s){i.docReady(function(){var o=i.toDashed(s),r="data-"+o,a=document.querySelectorAll("["+r+"]"),l=document.querySelectorAll(".js-"+o),c=i.makeArray(a).concat(i.makeArray(l)),h=r+"-options",u=t.jQuery;c.forEach(function(t){var i,o=t.getAttribute(r)||t.getAttribute(h);try{i=o&&JSON.parse(o)}catch(e){return void(n&&n.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);u&&u.data(t,s,a)})})},i}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/item",["ev-emitter/ev-emitter","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("ev-emitter"),require("get-size")):(t.Outlayer={},t.Outlayer.Item=e(t.EvEmitter,t.getSize))}(window,function(t,e){function i(t){for(var e in t)return!1;return null,!0}function n(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var s=document.documentElement.style,o="string"==typeof s.transition?"transition":"WebkitTransition",r="string"==typeof s.transform?"transform":"WebkitTransform",a={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],l={transform:r,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"},c=n.prototype=Object.create(t.prototype);c.constructor=n,c._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},c.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},c.getSize=function(){this.size=e(this.element)},c.css=function(t){var e=this.element.style;for(var i in t)e[l[i]||i]=t[i]},c.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),n=t[e?"left":"right"],s=t[i?"top":"bottom"],o=this.layout.size,r=-1!=n.indexOf("%")?parseFloat(n)/100*o.width:parseInt(n,10),a=-1!=s.indexOf("%")?parseFloat(s)/100*o.height:parseInt(s,10);r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=e?o.paddingLeft:o.paddingRight,a-=i?o.paddingTop:o.paddingBottom,this.position.x=r,this.position.y=a},c.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop"),s=i?"paddingLeft":"paddingRight",o=i?"left":"right",r=i?"right":"left",a=this.position.x+t[s];e[o]=this.getXValue(a),e[r]="";var l=n?"paddingTop":"paddingBottom",c=n?"top":"bottom",h=n?"bottom":"top",u=this.position.y+t[l];e[c]=this.getYValue(u),e[h]="",this.css(e),this.emitEvent("layout",[this])},c.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},c.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},c._transitionTo=function(t,e){this.getPosition();var i=this.position.x,n=this.position.y,s=parseInt(t,10),o=parseInt(e,10),r=s===this.position.x&&o===this.position.y;if(this.setPosition(t,e),!r||this.isTransitioning){var a=t-i,l=e-n,c={};c.transform=this.getTranslate(a,l),this.transition({to:c,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},c.getTranslate=function(t,e){var i=this.layout._getOption("originLeft"),n=this.layout._getOption("originTop");return t=i?t:-t,e=n?e:-e,"translate3d("+t+"px, "+e+"px, 0)"},c.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},c.moveTo=c._transitionTo,c.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},c._nonTransition=function(t){this.css(t.to),t.isCleaning&&this._removeStyles(t.to);for(var e in t.onTransitionEnd)t.onTransitionEnd[e].call(this)},c.transition=function(t){if(parseFloat(this.layout.options.transitionDuration)){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);this.element.offsetHeight;null}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+function(t){return t.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()})}(r);c.enableTransition=function(){if(!this.isTransitioning){var t=this.layout.options.transitionDuration;t="number"==typeof t?t+"ms":t,this.css({transitionProperty:h,transitionDuration:t,transitionDelay:this.staggerDelay||0}),this.element.addEventListener(a,this,!1)}},c.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},c.onotransitionend=function(t){this.ontransitionend(t)};var u={"-webkit-transform":"transform"};c.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,n=u[t.propertyName]||t.propertyName;delete e.ingProperties[n],i(e.ingProperties)&&this.disableTransition(),n in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[n]),n in e.onEnd&&(e.onEnd[n].call(this),delete e.onEnd[n]),this.emitEvent("transitionEnd",[this])}},c.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(a,this,!1),this.isTransitioning=!1},c._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var d={transitionProperty:"",transitionDuration:"",transitionDelay:""};return c.removeTransitionStyles=function(){this.css(d)},c.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},c.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},c.remove=function(){return o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),void this.hide()):void this.removeElem()},c.reveal=function(){delete this.isHidden,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("visibleStyle")]=this.onRevealTransitionEnd,this.transition({from:t.hiddenStyle,to:t.visibleStyle,isCleaning:!0,onTransitionEnd:e})},c.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},c.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},c.hide=function(){this.isHidden=!0,this.css({display:""});var t=this.layout.options,e={};e[this.getHideRevealTransitionEndProperty("hiddenStyle")]=this.onHideTransitionEnd,this.transition({from:t.visibleStyle,to:t.hiddenStyle,isCleaning:!0,onTransitionEnd:e})},c.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},c.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},n}),function(t,e){"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,n,s,o){return e(t,i,n,s,o)}):"object"==typeof module&&module.exports?module.exports=e(t,require("ev-emitter"),require("get-size"),require("fizzy-ui-utils"),require("./item")):t.Outlayer=e(t,t.EvEmitter,t.getSize,t.f
vendor: 4,089 bytes, line 1
1izzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,n,s){function o(t,e){var i=n.getQueryElement(t);if(i){this.element=i,c&&(this.$element=c(this.element)),this.options=n.extend({},this.constructor.defaults),this.option(e);var s=++u;this.element.outlayerGUID=s,d[s]=this,this._create(),this._getOption("initLayout")&&this.layout()}else l&&l.error("Bad element for "+this.constructor.namespace+": "+(i||t))}function r(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}function a(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],n=e&&e[2];return i.length?(i=parseFloat(i))*(f[n]||1):0}var l=t.console,c=t.jQuery,h=function(){},u=0,d={};o.namespace="outlayer",o.Item=s,o.defaults={containerStyle:{position:"relative"},initLayout:!0,originLeft:!0,originTop:!0,resize:!0,resizeContainer:!0,transitionDuration:"0.4s",hiddenStyle:{opacity:0,transform:"scale(0.001)"},visibleStyle:{opacity:1,transform:"scale(1)"}};var p=o.prototype;n.extend(p,e.prototype),p.option=function(t){n.extend(this.options,t)},p._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},o.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},p._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),n.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},p.reloadItems=function(){this.items=this._itemize(this.element.children)},p._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,n=[],s=0;s<e.length;s++){var o=new i(e[s],this);n.push(o)}return n},p._filterFindItemElements=function(t){return n.filterFindElements(t,this.options.itemSelector)},p.getItemElements=function(){return this.items.map(function(t){return t.element})},p.layout=function(){this._resetLayout(),this._manageStamps();var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;this.layoutItems(this.items,e),this._isLayoutInited=!0},p._init=p.layout,p._resetLayout=function(){this.getSize()},p.getSize=function(){this.size=i(this.element)},p._getMeasurement=function(t,e){var n,s=this.options[t];s?("string"==typeof s?n=this.element.querySelector(s):s instanceof HTMLElement&&(n=s),this[t]=n?i(n)[e]:s):this[t]=0},p.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},p._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},p._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var n=this._getItemLayoutPosition(t);n.item=t,n.isInstant=e||t.isLayoutInstant,i.push(n)},this),this._processLayoutQueue(i)}},p._getItemLayoutPosition=function(){return{x:0,y:0}},p._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},p.updateStagger=function(){var t=this.options.stagger;return null===t||void 0===t?void(this.stagger=0):(this.stagger=a(t),this.stagger)},p._positionItem=function(t,e,i,n,s){n?t.goTo(e,i):(t.stagger(s*this.stagger),t.moveTo(e,i))},p._postLayout=function(){this.resizeContainer()},p.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},p._getContainerSize=h,p._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"}},p._emitCompleteOnItems=function(t,e){function i(){s.dispatchEvent(t+"Complete",null,[e])}function n(){++r==o&&i()}var s=this,o=e.length;if(e&&o){var r=0;e.forEach(function(e){e.once(t,n)})}else i()}
vendor: 17,651 bytes, line 1
1,p.dispatchEvent=function(t,e,i){var n=e?[e].concat(i):i;if(this.emitEvent(t,n),c)if(this.$element=this.$element||c(this.element),e){var s=c.Event(e);s.type=t,this.$element.trigger(s,i)}else this.$element.trigger(t,i)},p.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},p.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},p.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},p.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){n.removeFrom(this.stamps,t),this.unignore(t)},this)},p._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=n.makeArray(t)},p._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},p._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)}},p._manageStamp=h,p._getElementOffset=function(t){var e=t.getBoundingClientRect(),n=this._boundingRect,s=i(t);return{left:e.left-n.left-s.marginLeft,top:e.top-n.top-s.marginTop,right:n.right-e.right-s.marginRight,bottom:n.bottom-e.bottom-s.marginBottom}},p.handleEvent=n.handleEvent,p.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},p.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},p.onresize=function(){this.resize()},n.debounceMethod(o,"onresize",100),p.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},p.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},p.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},p.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},p.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)}},p.reveal=function(t){if(this._emitCompleteOnItems("reveal",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.reveal()})}},p.hide=function(t){if(this._emitCompleteOnItems("hide",t),t&&t.length){var e=this.updateStagger();t.forEach(function(t,i){t.stagger(i*e),t.hide()})}},p.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},p.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},p.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},p.getItems=function(t){var e=[];return(t=n.makeArray(t)).forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},p.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),n.removeFrom(this.items,t)},this)},p.destroy=function(){var t=this.element.style;t.height="",t.position="",t.width="",this.items.forEach(function(t){t.destroy()}),this.unbindResize();var e=this.element.outlayerGUID;delete d[e],delete this.element.outlayerGUID,c&&c.removeData(this.element,this.constructor.namespace)},o.data=function(t){var e=(t=n.getQueryElement(t))&&t.outlayerGUID;return e&&d[e]},o.create=function(t,e){var i=r(o);return i.defaults=n.extend({},o.defaults),n.extend(i.defaults,e),i.compatOptions=n.extend({},o.compatOptions),i.namespace=t,i.data=o.data,i.Item=r(s),n.htmlInit(i,t),c&&c.bridget&&c.bridget(t,i),i};var f={ms:1,s:1e3};return o.Item=s,o}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/item",["outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.Item=e(t.Outlayer))}(window,function(t){function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),n=i._create;i._create=function(){this.id=this.layout.itemGUID++,n.call(this),this.sortData={}},i.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 s=i.destroy;return i.destroy=function(){s.apply(this,arguments),this.css({display:""})},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-mode",["get-size/get-size","outlayer/outlayer"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer")):(t.Isotope=t.Isotope||{},t.Isotope.LayoutMode=e(t.getSize,t.Outlayer))}(window,function(t,e){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)}var n=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){n[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),n.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},n._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},n.getColumnWidth=function(){this.getSegmentSize("column","Width")},n.getRowHeight=function(){this.getSegmentSize("row","Height")},n.getSegmentSize=function(t,e){var i=t+e,n="outer"+e;if(this._getMeasurement(i,n),!this[i]){var s=this.getFirstItemSize();this[i]=s&&s[n]||this.isotope.size["inner"+e]}},n.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},n.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},n.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function s(){i.apply(this,arguments)}return s.prototype=Object.create(n),s.prototype.constructor=s,e&&(s.options=e),s.prototype.namespace=t,i.modes[t]=s,s},i}),function(t,e){"function"==typeof define&&define.amd?define("masonry/masonry",["outlayer/outlayer","get-size/get-size"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("get-size")):t.Masonry=e(t.Outlayer,t.getSize)}(window,function(t,e){var i=t.create("masonry");i.compatOptions.fitWidth="isFitWidth";var n=i.prototype;return n._resetLayout=function(){this.getSize(),this._getMeasurement("columnWidth","outerWidth"),this._getMeasurement("gutter","outerWidth"),this.measureColumns(),this.colYs=[];for(var t=0;t<this.cols;t++)this.colYs.push(0);this.maxY=0,this.horizontalColIndex=0},n.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,s=this.containerWidth+this.gutter,o=s/n,r=n-s%n,a=r&&r<1?"round":"floor";o=Math[a](o),this.cols=Math.max(o,1)},n.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},n._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=e&&e<1?"round":"ceil",n=Math[i](t.size.outerWidth/this.columnWidth);n=Math.min(n,this.cols);for(var s=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](n,t),o={x:this.columnWidth*s.col,y:s.y},r=s.y+t.size.outerHeight,a=n+s.col,l=s.col;l<a;l++)this.colYs[l]=r;return o},n._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},n._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,n=0;n<i;n++)e[n]=this._getColGroupY(n,t);return e},n._getColGroupY=function(t,e){if(e<2)return this.colYs[t];var i=this.colYs.slice(t,t+e);return Math.max.apply(Math,i)},n._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var n=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=n?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},n._manageStamp=function(t){var i=e(t),n=this._getElementOffset(t),s=this._getOption("originLeft")?n.left:n.right,o=s+i.outerWidth,r=Math.floor(s/this.columnWidth);r=Math.max(0,r);var a=Math.floor(o/this.columnWidth);a-=o%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var l=(this._getOption("originTop")?n.top:n.bottom)+i.outerHeight,c=r;c<=a;c++)this.colYs[c]=Math.max(l,this.colYs[c])},n._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},n._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},n.needsResizeLayout=function(){var t=this.containerWidth;return this.getContainerWidth(),t!=this.containerWidth},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/masonry",["../layout-mode","masonry/masonry"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode"),require("masonry-layout")):e(t.Isotope.LayoutMode,t.Masonry)}(window,function(t,e){var i=t.create("masonry"),n=i.prototype,s={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var o in e.prototype)s[o]||(n[o]=e.prototype[o]);var r=n.measureColumns;n.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=n._getOption;return n._getOption=function(t){return"fitWidth"==t?void 0!==this.options.isFitWidth?this.options.isFitWidth:this.options.fitWidth:a.apply(this.isotope,arguments)},i}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/fit-rows",["../layout-mode"],e):"object"==typeof exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){var e=t.create("fitRows"),i=e.prototype;return i._resetLayout=function(){this.x=0,this.y=0,this.maxY=0,this._getMeasurement("gutter","outerWidth")},i._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},i._getContainerSize=function(){return{height:this.maxY}},e}),function(t,e){"function"==typeof define&&define.amd?define("isotope/js/layout-modes/vertical",["../layout-mode"],e):"object"==typeof module&&module.exports?module.exports=e(require("../layout-mode")):e(t.Isotope.LayoutMode)}(window,function(t){var e=t.create("vertical",{horizontalAlignment:0}),i=e.prototype;return i._resetLayout=function(){this.y=0},i._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}},i._getContainerSize=function(){return{height:this.y}},e}),function(t,e){"function"==typeof define&&define.amd?define(["outlayer/outlayer","get-size/get-size","desandro-matches-selector/matches-selector","fizzy-ui-utils/utils","isotope/js/item","isotope/js/layout-mode","isotope/js/layout-modes/masonry","isotope/js/layout-modes/fit-rows","isotope/js/layout-modes/vertical"],function(i,n,s,o,r,a){return e(t,i,n,s,o,r,a)}):"object"==typeof module&&module.exports?module.exports=e(t,require("outlayer"),require("get-size"),require("desandro-matches-selector"),require("fizzy-ui-utils"),require("isotope/js/item"),require("isotope/js/layout-mode"),require("isotope/js/layout-modes/masonry"),require("isotope/js/layout-modes/fit-rows"),require("isotope/js/layout-modes/vertical")):t.Isotope=e(t,t.Outlayer,t.getSize,t.matchesSelector,t.fizzyUIUtils,t.Isotope.Item,t.Isotope.LayoutMode)}(window,function(t,e,i,n,s,o,r){function a(t,e){return function(i,n){for(var s=0;s<t.length;s++){var o=t[s],r=i.sortData[o],a=n.sortData[o];if(r>a||r<a){var l=(void 0!==e[o]?e[o]:e)?1:-1;return(r>a?1:-1)*l}}return 0}}var l=t.jQuery,c=String.prototype.trim?function(t){return t.trim()}:function(t){return t.replace(/^\s+|\s+$/g,"")},h=e.create("isotope",{layoutMode:"masonry",isJQueryFiltering:!0,sortAscending:!0});h.Item=o,h.LayoutMode=r;var u=h.prototype;u._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 r.modes)this._initLayoutMode(t)},u.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},u._itemize=function(){for(var t=e.prototype._itemize.apply(this,arguments),i=0;i<t.length;i++)t[i].id=this.itemGUID++;return this._updateItemsSortData(t),t},u._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?s.extend(e.options,i):i,this.modes[t]=new e(this)},u.layout=function(){return!this._isLayoutInited&&this._getOption("initLayout")?void this.arrange():void this._layout()},u._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},u.arrange=function(t){this.option(t),this._getIsInstant();var e=this._filter(this.items);this.filteredItems=e.matches,this._bindArrangeComplete(),this._isInstant?this._noTransition(this._hideReveal,[e]):this._hideReveal(e),this._sort(),this._layout()},u._init=u.arrange,u._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},u._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},u._bindArrangeComplete=function(){function t(){e&&i&&n&&s.dispatchEvent("arrangeComplete",null,[s.filteredItems])}var e,i,n,s=this;this.once("layoutComplete",function(){e=!0,t()}),this.once("hideComplete",function(){i=!0,t()}),this.once("revealComplete",function(){n=!0,t()})},u._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],n=[],s=[],o=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var l=o(a);l&&i.push(a),l&&a.isHidden?n.push(a):l||a.isHidden||s.push(a)}}return{matches:i,needReveal:n,needHide:s}},u._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)}},u.updateSortData=function(t){var e;t?(t=s.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},u._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=d(i)}},u._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++)t[i].updateSortData()};var d=function(){function t(t){if("string"!=typeof t)return t;var i=c(t).split(" "),n=i[0],s=n.match(/^\[(.+)\]$/),o=e(s&&s[1],n),r=h.sortDataParsers[i[1]];return t=r?function(t){return t&&r(o(t))}:function(t){return t&&o(t)}}function e(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}return t}();h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},u._sort=function(){if(this.options.sortBy){var t=s.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=a(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},u._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},u._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},u._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},u._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},u._manageStamp=function(t){this._mode()._manageStamp(t)},u._getContainerSize=function(){return this._mode()._getContainerSize()},u.needsResizeLayout=function(){return this._mode().needsResizeLayout()},u.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},u.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)}},u._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},u.insert=function(t){var e=this.addItems(t);if(e.length){var i,n,s=e.length;for(i=0;i<s;i++)n=e[i],this.element.appendChild(n.element);var o=this._filter(e).matches;for(i=0;i<s;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<s;i++)delete e[i].isLayoutInstant;this.reveal(o)}};var p=u.remove;return u.remove=function(t){t=s.makeArray(t);var e=this.getItems(t);p.call(this,t);for(var i=e&&e.length,n=0;i&&n<i;n++){var o=e[n];s.removeFrom(this.filteredItems,o)}},u.shuffle=function(){for(var t=0;t<this.items.length;t++)this.items[t].sortData.random=Math.random();this.options.sortBy="random",this._sort(),this._layout()},u._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var n=t.apply(this,e);return this.options.transitionDuration=i,n},u.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h}
1),function(t,e,i){function n(i,n){this.wrapper="string"==typeof i?e.querySelector(i):i,this.scroller=this.wrapper.children[0],this.scrollerStyle=this.scroller.style,this.options={resizeScrollbars:!0,mouseWheelSpeed:20,snapThreshold:.334,disablePointer:!a.hasPointer,disableTouch:a.hasPointer||!a.hasTouch,disableMouse:a.hasPointer||a.hasTouch,startX:0,startY:0,scrollY:!0,directionLockThreshold:5,momentum:!0,bounce:!0,bounceTime:600,bounceEasing:"",preventDefault:!0,preventDefaultException:{tagName:/^(INPUT|TEXTAREA|BUTTON|SELECT)$/},HWCompositing:!0,useTransition:!0,useTransform:!0,bindToWrapper:void 0===t.onmousedown};for(var s in n)this.options[s]=n[s];this.translateZ=this.options.HWCompositing&&a.hasPerspective?" translateZ(0)":"",this.options.useTransition=a.hasTransition&&this.options.useTransition,this.options.useTransform=a.hasTransform&&this.options.useTransform,this.options.eventPassthrough=!0===this.options.eventPassthrough?"vertical":this.options.eventPassthrough,this.options.preventDefault=!this.options.eventPassthrough&&this.options.preventDefault,this.options.scrollY="vertical"!=this.options.eventPassthrough&&this.options.scrollY,this.options.scrollX="horizontal"!=this.options.eventPassthrough&&this.options.scrollX,this.options.freeScroll=this.options.freeScroll&&!this.options.eventPassthrough,this.options.directionLockThreshold=this.options.eventPassthrough?0:this.options.directionLockThreshold,this.options.bounceEasing="string"==typeof this.options.bounceEasing?a.ease[this.options.bounceEasing]||a.ease.circular:this.options.bounceEasing,this.options.resizePolling=void 0===this.options.resizePolling?60:this.options.resizePolling,!0===this.options.tap&&(this.options.tap="tap"),this.options.useTransition||this.options.useTransform||/relative|absolute/i.test(this.scrollerStyle.position)||(this.scrollerStyle.position="relative"),"scale"==this.options.shrinkScrollbars&&(this.options.useTransition=!1),this.options.invertWheelDirection=this.options.invertWheelDirection?-1:1,this.x=0,this.y=0,this.directionX=0,this.directionY=0,this._events={},this._init(),this.refresh(),this.scrollTo(this.options.startX,this.options.startY),this.enable()}function s(t,i,n){var s=e.createElement("div"),o=e.createElement("div");return!0===n&&(s.style.cssText="position:absolute;z-index:9999",o.style.cssText="-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;background:rgba(0,0,0,0.5);border:1px solid rgba(255,255,255,0.9);border-radius:3px"),o.className="iScrollIndicator","h"==t?(!0===n&&(s.style.cssText+=";height:7px;left:2px;right:2px;bottom:0",o.style.height="100%"),s.className="iScrollHorizontalScrollbar"):(!0===n&&(s.style.cssText+=";width:7px;bottom:2px;top:2px;right:1px",o.style.width="100%"),s.className="iScrollVerticalScrollbar"),s.style.cssText+=";overflow:hidden",i||(s.style.pointerEvents="none"),s.appendChild(o),s}function o(i,n){this.wrapper="string"==typeof n.el?e.querySelector(n.el):n.el,this.wrapperStyle=this.wrapper.style,this.indicator=this.wrapper.children[0],this.indicatorStyle=this.indicator.style,this.scroller=i,this.options={listenX:!0,listenY:!0,interactive:!1,resize:!0,defaultScrollbars:!1,shrink:!1,fade:!1,speedRatioX:0,speedRatioY:0};for(var s in n)this.options[s]=n[s];if(this.sizeRatioX=1,this.sizeRatioY=1,this.maxPosX=0,this.maxPosY=0,this.options.interactive&&(this.options.disableTouch||(a.addEvent(this.indicator,"touchstart",this),a.addEvent(t,"touchend",this)),this.options.disablePointer||(a.addEvent(this.indicator,a.prefixPointerEvent("pointerdown"),this),a.addEvent(t,a.prefixPointerEvent("pointerup"),this)),this.options.disableMouse||(a.addEvent(this.indicator,"mousedown",this),a.addEvent(t,"mouseup",this))),this.options.fade){this.wrapperStyle[a.style.transform]=this.scroller.translateZ;var o=a.style.transitionDuration;if(!o)return;this.wrapperStyle[o]=a.isBadAndroid?"0.0001ms":"0ms";var l=this;a.isBadAndroid&&r(function(){"0.0001ms"===l.wrapperStyle[o]&&(l.wrapperStyle[o]="0s")}),this.wrapperStyle.opacity="0"}}var r=t.requestAnimationFrame||t.webkitRequestAnimationFrame||t.mozRequestAnimationFrame||t.oRequestAnimationFrame||t.msRequestAnimationFrame||function(e){t.setTimeout(e,1e3/60)},a=function(){function n(t){return!1!==r&&(""===r?t:r+t.charAt(0).toUpperCase()+t.substr(1))}var s={},o=e.createElement("div").style,r=function(){for(var t=["t","webkitT","MozT","msT","OT"],e=0,i=t.length;e<i;e++)if(t[e]+"ransform"in o)return t[e].substr(0,t[e].length-1);return!1}();s.getTime=Date.now||function(){return(new Date).getTime()},s.extend=function(t,e){for(var i in e)t[i]=e[i]}
1,s.addEvent=function(t,e,i,n){t.addEventListener(e,i,!!n)},s.removeEvent=function(t,e,i,n){t.removeEventListener(e,i,!!n)},s.prefixPointerEvent=function(e){return t.MSPointerEvent?"MSPointer"+e.charAt(7).toUpperCase()+e.substr(8):e},s.momentum=function(t,e,n,s,o,r){var a,l,c=t-e,h=i.abs(c)/n;return r=void 0===r?6e-4:r,a=t+h*h/(2*r)*(c<0?-1:1),l=h/r,a<s?(a=o?s-o/2.5*(h/8):s,l=(c=i.abs(a-t))/h):a>0&&(a=o?o/2.5*(h/8):0,l=(c=i.abs(t)+a)/h),{destination:i.round(a),duration:l}};var a=n("transform");return s.extend(s,{hasTransform:!1!==a,hasPerspective:n("perspective")in o,hasTouch:"ontouchstart"in t,hasPointer:!(!t.PointerEvent&&!t.MSPointerEvent),hasTransition:n("transition")in o}),s.isBadAndroid=function(){var e=t.navigator.appVersion;if(/Android/.test(e)&&!/Chrome\/\d/.test(e)){var i=e.match(/Safari\/(\d+.\d)/);return!(i&&"object"==typeof i&&i.length>=2)||parseFloat(i[1])<535.19}return!1}(),s.extend(s.style={},{transform:a,transitionTimingFunction:n("transitionTimingFunction"),transitionDuration:n("transitionDuration"),transitionDelay:n("transitionDelay"),transformOrigin:n("transformOrigin"),touchAction:n("touchAction")}),s.hasClass=function(t,e){return new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},s.addClass=function(t,e){if(!s.hasClass(t,e)){var i=t.className.split(" ");i.push(e),t.className=i.join(" ")}},s.removeClass=function(t,e){if(s.hasClass(t,e)){var i=new RegExp("(^|\\s)"+e+"(\\s|$)","g");t.className=t.className.replace(i," ")}},s.offset=function(t){for(var e=-t.offsetLeft,i=-t.offsetTop;t=t.offsetParent;)e-=t.offsetLeft,i-=t.offsetTop;return{left:e,top:i}},s.preventDefaultException=function(t,e){for(var i in e)if(e[i].test(t[i]))return!0;return!1},s.extend(s.eventType={},{touchstart:1,touchmove:1,touchend:1,mousedown:2,mousemove:2,mouseup:2,pointerdown:3,pointermove:3,pointerup:3,MSPointerDown:3,MSPointerMove:3,MSPointerUp:3}),s.extend(s.ease={},{quadratic:{style:"cubic-bezier(0.25, 0.46, 0.45, 0.94)",fn:function(t){return t*(2-t)}},circular:{style:"cubic-bezier(0.1, 0.57, 0.1, 1)",fn:function(t){return i.sqrt(1- --t*t)}},back:{style:"cubic-bezier(0.175, 0.885, 0.32, 1.275)",fn:function(t){return(t-=1)*t*(5*t+4)+1}},bounce:{style:"",fn:function(t){return(t/=1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}},elastic:{style:"",fn:function(t){return 0===t?0:1==t?1:.4*i.pow(2,-10*t)*i.sin((t-.055)*(2*i.PI)/.22)+1}}}),s.tap=function(t,i){var n=e.createEvent("Event");n.initEvent(i,!0,!0),n.pageX=t.pageX,n.pageY=t.pageY,t.target.dispatchEvent(n)},s.click=function(i){var n,s=i.target;/(SELECT|INPUT|TEXTAREA)/i.test(s.tagName)||((n=e.createEvent(t.MouseEvent?"MouseEvents":"Event")).initEvent("click",!0,!0),n.view=i.view||t,n.detail=1,n.screenX=s.screenX||0,n.screenY=s.screenY||0,n.clientX=s.clientX||0,n.clientY=s.clientY||0,n.ctrlKey=!!i.ctrlKey,n.altKey=!!i.altKey,n.shiftKey=!!i.shiftKey,n.metaKey=!!i.metaKey,n.button=0,n.relatedTarget=null,n._constructed=!0,s.dispatchEvent(n))},s.getTouchAction=function(t,e){var i="none";return"vertical"===t?i="pan-y":"horizontal"===t&&(i="pan-x"),e&&"none"!=i&&(i+=" pinch-zoom"),i},s.getRect=function(t){if(t instanceof SVGElement){var e=t.getBoundingClientRect();return{top:e.top,left:e.left,width:e.width,height:e.height}}return{top:t.offsetTop,left:t.offsetLeft,width:t.offsetWidth,height:t.offsetHeight}},s}();n.prototype={version:"5.2.0-snapshot",_init:function(){this._initEvents(),(this.options.scrollbars||this.options.indicators)&&this._initIndicators(),this.options.mouseWheel&&this._initWheel(),this.options.snap&&this._initSnap(),this.options.keyBindings&&this._initKeys()},destroy:function(){this._initEvents(!0),clearTimeout(this.resizeTimeout),this.resizeTimeout=null,this._execEvent("destroy")},_transitionEnd:function(t){t.target==this.scroller&&this.isInTransition&&(this._transitionTime(),this.resetPosition(this.options.bounceTime)||(this.isInTransition=!1,this._execEvent("scrollEnd")))},_start:function(t){if(1!=a.eventType[t.type]){if(0!==(t.which?t.button:t.button<2?0:4==t.button?1:2))return}if(this.enabled&&(!this.initiated||a.eventType[t.type]===this.initiated)){!this.options.preventDefault||a.isBadAndroid||a.preventDefaultException(t.target,this.options.preventDefaultException)||t.preventDefault();var e,n=t.touches?t.touches[0]:t;this.initiated=a.eventType[t.type],this.moved=!1,this.distX=0,this.distY=0,this.directionX=0,this.directionY=0,this.directionLocked=0,this.startTime=a.getTime(),this.options.useTransition&&this.isInTransition?(this._transitionTime(),this.isInTransition=!1,e=this.getComputedPosition(),this._translate(i.round(e.x),i.round(e.y)),this._execEvent("scrollEnd")):!this.options.useTransition&&this.isAnimating&&(this.isAnimating=!1,this._execEvent("scrollEnd")),this.startX=this.x,this.startY=this.y,this.absStartX=this.x,this.absStartY=this.y,this.pointX=n.pageX,this.pointY=n.pageY,this._execEvent("beforeScrollStart")}},_move:function(t){if(this.enabled&&a.eventType[t.type]===this.initiated){this.options.preventDefault&&t.preventDefault();var e,n,s,o,r=t.touches?t.touches[0]:t,l=r.pageX-this.pointX,c=r.pageY-this.pointY,h=a.getTime();if(this.pointX=r.pageX,this.pointY=r.pageY,this.distX+=l,this.distY+=c,s=i.abs(this.distX),o=i.abs(this.distY),!(h-this.endTime>
1300&&s<10&&o<10)){if(this.directionLocked||this.options.freeScroll||(s>o+this.options.directionLockThreshold?this.directionLocked="h":o>=s+this.options.directionLockThreshold?this.directionLocked="v":this.directionLocked="n"),"h"==this.directionLocked){if("vertical"==this.options.eventPassthrough)t.preventDefault();else if("horizontal"==this.options.eventPassthrough)return void(this.initiated=!1);c=0}else if("v"==this.directionLocked){if("horizontal"==this.options.eventPassthrough)t.preventDefault();else if("vertical"==this.options.eventPassthrough)return void(this.initiated=!1);l=0}l=this.hasHorizontalScroll?l:0,c=this.hasVerticalScroll?c:0,e=this.x+l,n=this.y+c,(e>0||e<this.maxScrollX)&&(e=this.options.bounce?this.x+l/3:e>0?0:this.maxScrollX),(n>0||n<this.maxScrollY)&&(n=this.options.bounce?this.y+c/3:n>0?0:this.maxScrollY),this.directionX=l>0?-1:l<0?1:0,this.directionY=c>0?-1:c<0?1:0,this.moved||this._execEvent("scrollStart"),this.moved=!0,this._translate(e,n),h-this.startTime>300&&(this.startTime=h,this.startX=this.x,this.startY=this.y)}}},_end:function(t){if(this.enabled&&a.eventType[t.type]===this.initiated){this.options.preventDefault&&!a.preventDefaultException(t.target,this.options.preventDefaultException)&&t.preventDefault();t.changedTouches&&t.changedTouches[0];var e,n,s=a.getTime()-this.startTime,o=i.round(this.x),r=i.round(this.y),l=i.abs(o-this.startX),c=i.abs(r-this.startY),h=0,u="";if(this.isInTransition=0,this.initiated=0,this.endTime=a.getTime(),!this.resetPosition(this.options.bounceTime)){if(this.scrollTo(o,r),!this.moved)return this.options.tap&&a.tap(t,this.options.tap),this.options.click&&a.click(t),void this._execEvent("scrollCancel");if(this._events.flick&&s<200&&l<100&&c<100)this._execEvent("flick");else{if(this.options.momentum&&s<300&&(e=this.hasHorizontalScroll?a.momentum(this.x,this.startX,s,this.maxScrollX,this.options.bounce?this.wrapperWidth:0,this.options.deceleration):{destination:o,duration:0},n=this.hasVerticalScroll?a.momentum(this.y,this.startY,s,this.maxScrollY,this.options.bounce?this.wrapperHeight:0,this.options.deceleration):{destination:r,duration:0},o=e.destination,r=n.destination,h=i.max(e.duration,n.duration),this.isInTransition=1),this.options.snap){var d=this._nearestSnap(o,r);this.currentPage=d,h=this.options.snapSpeed||i.max(i.max(i.min(i.abs(o-d.x),1e3),i.min(i.abs(r-d.y),1e3)),300),o=d.x,r=d.y,this.directionX=0,this.directionY=0,u=this.options.bounceEasing}if(o!=this.x||r!=this.y)return(o>0||o<this.maxScrollX||r>0||r<this.maxScrollY)&&(u=a.ease.quadratic),void this.scrollTo(o,r,h,u);this._execEvent("scrollEnd")}}}},_resize:function(){var t=this;clearTimeout(this.resizeTimeout),this.resizeTimeout=setTimeout(function(){t.refresh()},this.options.resizePolling)},resetPosition:function(t){var e=this.x,i=this.y;return t=t||0,!this.hasHorizontalScroll||this.x>0?e=0:this.x<this.maxScrollX&&(e=this.maxScrollX),!this.hasVerticalScroll||this.y>0?i=0:this.y<this.maxScrollY&&(i=this.maxScrollY),(e!=this.x||i!=this.y)&&(this.scrollTo(e,i,t,this.options.bounceEasing),!0)},disable:function(){this.enabled=!1},enable:function(){this.enabled=!0},refresh:function(){a.getRect(this.wrapper),this.wrapperWidth=this.wrapper.clientWidth,this.wrapperHeight=this.wrapper.clientHeight;var t=a.getRect(this.scroller);this.scrollerWidth=t.width,this.scrollerHeight=t.height,this.maxScrollX=this.wrapperWidth-this.scrollerWidth,this.maxScrollY=this.wrapperHeight-this.scrollerHeight,this.hasHorizontalScroll=this.options.scrollX&&this.maxScrollX<0,this.hasVerticalScroll=this.options.scrollY&&this.maxScrollY<0,this.hasHorizontalScroll||(this.maxScrollX=0,this.scrollerWidth=this.wrapperWidth),this.hasVerticalScroll||(this.maxScrollY=0,this.scrollerHeight=this.wrapperHeight),this.endTime=0,this.directionX=0,this.directionY=0,a.hasPointer&&!this.options.disablePointer&&(this.wrapper.style[a.style.touchAction]=a.getTouchAction(this.options.eventPassthrough,!0),this.wrapper.style[a.style.touchAction]||(this.wrapper.style[a.style.touchAction]=a.getTouchAction(this.options.eventPassthrough,!1))),this.wrapperOffset=a.offset(this.wrapper),this._execEvent("refresh"),this.resetPosition()},on:function(t,e){this._events[t]||(this._events[t]=[]),this._events[t].push(e)},off:function(t,e){if(this._events[t]){var i=this._events[t].indexOf(e);i>-1&&this._events[t].splice(i,1)}},_execEvent:function(t){if(this._events[t]){var e=0,i=this._events[t].length;if(i)for(;e<i;
1e++)this._events[t][e].apply(this,[].slice.call(arguments,1))}},scrollBy:function(t,e,i,n){t=this.x+t,e=this.y+e,i=i||0,this.scrollTo(t,e,i,n)},scrollTo:function(t,e,i,n){n=n||a.ease.circular,this.isInTransition=this.options.useTransition&&i>0;var s=this.options.useTransition&&n.style;!i||s?(s&&(this._transitionTimingFunction(n.style),this._transitionTime(i)),this._translate(t,e)):this._animate(t,e,i,n.fn)},scrollToElement:function(t,e,n,s,o){if(t=t.nodeType?t:this.scroller.querySelector(t)){var r=a.offset(t);r.left-=this.wrapperOffset.left,r.top-=this.wrapperOffset.top;var l=a.getRect(t),c=a.getRect(this.wrapper);!0===n&&(n=i.round(l.width/2-c.width/2)),!0===s&&(s=i.round(l.height/2-c.height/2)),r.left-=n||0,r.top-=s||0,r.left=r.left>0?0:r.left<this.maxScrollX?this.maxScrollX:r.left,r.top=r.top>0?0:r.top<this.maxScrollY?this.maxScrollY:r.top,e=void 0===e||null===e||"auto"===e?i.max(i.abs(this.x-r.left),i.abs(this.y-r.top)):e,this.scrollTo(r.left,r.top,e,o)}},_transitionTime:function(t){if(this.options.useTransition){t=t||0;var e=a.style.transitionDuration;if(e){if(this.scrollerStyle[e]=t+"ms",!t&&a.isBadAndroid){this.scrollerStyle[e]="0.0001ms";var i=this;r(function(){"0.0001ms"===i.scrollerStyle[e]&&(i.scrollerStyle[e]="0s")})}if(this.indicators)for(var n=this.indicators.length;n--;)this.indicators[n].transitionTime(t)}}},_transitionTimingFunction:function(t){if(this.scrollerStyle[a.style.transitionTimingFunction]=t,this.indicators)for(var e=this.indicators.length;e--;)this.indicators[e].transitionTimingFunction(t)},_translate:function(t,e){if(this.options.useTransform?this.scrollerStyle[a.style.transform]="translate("+t+"px,"+e+"px)"+this.translateZ:(t=i.round(t),e=i.round(e),this.scrollerStyle.left=t+"px",this.scrollerStyle.top=e+"px"),this.x=t,this.y=e,this.indicators)for(var n=this.indicators.length;n--;)this.indicators[n].updatePosition()},_initEvents:function(e){var i=e?a.removeEvent:a.addEvent,n=this.options.bindToWrapper?this.wrapper:t;i(t,"orientationchange",this),i(t,"resize",this),this.options.click&&i(this.wrapper,"click",this,!0),this.options.disableMouse||(i(this.wrapper,"mousedown",this),i(n,"mousemove",this),i(n,"mousecancel",this),i(n,"mouseup",this)),a.hasPointer&&!this.options.disablePointer&&(i(this.wrapper,a.prefixPointerEvent("pointerdown"),this),i(n,a.prefixPointerEvent("pointermove"),this),i(n,a.prefixPointerEvent("pointercancel"),this),i(n,a.prefixPointerEvent("pointerup"),this)),a.hasTouch&&!this.options.disableTouch&&(i(this.wrapper,"touchstart",this),i(n,"touchmove",this),i(n,"touchcancel",this),i(n,"touchend",this)),i(this.scroller,"transitionend",this),i(this.scroller,"webkitTransitionEnd",this),i(this.scroller,"oTransitionEnd",this),i(this.scroller,"MSTransitionEnd",this)},getComputedPosition:function(){var e,i,n=t.getComputedStyle(this.scroller,null);return this.options.useTransform?(e=+((n=n[a.style.transform].split(")")[0].split(", "))[12]||n[4]),i=+(n[13]||n[5])):(e=+n.left.replace(/[^-\d.]/g,""),i=+n.top.replace(/[^-\d.]/g,"")),{x:e,y:i}},_initIndicators:function(){function t(t){if(a.indicators)for(var e=a.indicators.length;e--;)t.call(a.indicators[e])}var e,i=this.options.interactiveScrollbars,n="string"!=typeof this.options.scrollbars,r=[],a=this;this.indicators=[],this.options.scrollbars&&(this.options.scrollY&&(e={el:s("v",i,this.options.scrollbars),interactive:i,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenX:!1},this.wrapper.appendChild(e.el),r.push(e)),this.options.scrollX&&(e={el:s("h",i,this.options.scrollbars),interactive:i,defaultScrollbars:!0,customStyle:n,resize:this.options.resizeScrollbars,shrink:this.options.shrinkScrollbars,fade:this.options.fadeScrollbars,listenY:!1},this.wrapper.appendChild(e.el),r.push(e))),this.options.indicators&&(r=r.concat(this.options.indicators));for(var l=r.length;l--;)this.indicators.push(new o(this,r[l]));this.options.fadeScrollbars&&(this.on("scrollEnd",function(){t(function(){this.fade()})}),this.on("scrollCancel",function(){t(function(){this.fade()})}),this.on("scrollStart",function(){t(function(){this.fade(1)})}),this.on("beforeScrollStart",function(){t(function(){this.fade(1,!0)})})),this.on("refresh",function(){t(function(){this.refresh()})}),this.on("destroy",function(){t(function(){this.destroy()}),delete this.indicators})},_initWheel:function(){a.addEvent(this.wrapper,"wheel",this),a.addEvent(this.wrapper,"mousewheel",this),a.addEvent(this.wrapper,"DOMMouseScroll",this),this.on("destroy",function(){clearTimeout(this.wheelTimeout),this.wheelTimeout=null,a.removeEvent(this.wrapper,"wheel",this),a.removeEvent(this.wrapper,"mousewheel",this),a.removeEvent(this.wrapper,"DOMMouseScroll",this)})},_wheel:function(t){if(this.enabled){t.preventDefault();var e,n,s,o,r=this;if(void 0===this.wheelTimeout&&r._execEvent("scrollStart"),clearTimeout(this.wheelTimeout),this.wheelTimeout=setTimeout(function(){r.options.snap||r._execEvent("scrollEnd"),r.wheelTimeout=void 0},400),"deltaX"in t)1===t.deltaMode?(e=-t.deltaX*this.options.mouseWheelSpeed,n=-t.deltaY*this.options.mouseWheelSpeed):(e=-t.deltaX,n=-t.deltaY);else if("wheelDeltaX"in t)e=t.wheelDeltaX/120*this.options.mouseWheelSpeed,n=t.wheelDeltaY/120*this.options.mouseWheelSpeed;else if("wheelDelta"in t)e=n=t.wheelDelta/120*this.options.mouseWheelSpeed;else{if(!("detail"in t))return;e=n=-t.detail/3*this.options.mouseWheelSpeed}if(e*=this.options.invertWheelDirection,n*=this.options.invertWheelDirection,this.hasVerticalScroll||(e=n,n=0),this.options.snap)return s=this.currentPage.pageX,o=this.currentPage.pageY,e>0?s--:e<0&&s++,n>0?o--:n<0&&o++,void this.goToPage(s,o);s=this.x+i.round(this.hasHorizontalScroll?e:0),o=this.y+i.round(this.hasVerticalScroll?n:0),this.directionX=e>0?-1:e<0?1:0,this.directionY=n>0?-1:n<0?1:0,s>
10?s=0:s<this.maxScrollX&&(s=this.maxScrollX),o>0?o=0:o<this.maxScrollY&&(o=this.maxScrollY),this.scrollTo(s,o,0)}},_initSnap:function(){this.currentPage={},"string"==typeof this.options.snap&&(this.options.snap=this.scroller.querySelectorAll(this.options.snap)),this.on("refresh",function(){var t,e,n,s,o,r,l,c=0,h=0,u=0,d=this.options.snapStepX||this.wrapperWidth,p=this.options.snapStepY||this.wrapperHeight;if(this.pages=[],this.wrapperWidth&&this.wrapperHeight&&this.scrollerWidth&&this.scrollerHeight){if(!0===this.options.snap)for(n=i.round(d/2),s=i.round(p/2);u>-this.scrollerWidth;){for(this.pages[c]=[],t=0,o=0;o>-this.scrollerHeight;)this.pages[c][t]={x:i.max(u,this.maxScrollX),y:i.max(o,this.maxScrollY),width:d,height:p,cx:u-n,cy:o-s},o-=p,t++;u-=d,c++}else for(t=(r=this.options.snap).length,e=-1;c<t;c++)l=a.getRect(r[c]),(0===c||l.left<=a.getRect(r[c-1]).left)&&(h=0,e++),this.pages[h]||(this.pages[h]=[]),u=i.max(-l.left,this.maxScrollX),o=i.max(-l.top,this.maxScrollY),n=u-i.round(l.width/2),s=o-i.round(l.height/2),this.pages[h][e]={x:u,y:o,width:l.width,height:l.height,cx:n,cy:s},u>this.maxScrollX&&h++;this.goToPage(this.currentPage.pageX||0,this.currentPage.pageY||0,0),this.options.snapThreshold%1==0?(this.snapThresholdX=this.options.snapThreshold,this.snapThresholdY=this.options.snapThreshold):(this.snapThresholdX=i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].width*this.options.snapThreshold),this.snapThresholdY=i.round(this.pages[this.currentPage.pageX][this.currentPage.pageY].height*this.options.snapThreshold))}}),this.on("flick",function(){var t=this.options.snapSpeed||i.max(i.max(i.min(i.abs(this.x-this.startX),1e3),i.min(i.abs(this.y-this.startY),1e3)),300);this.goToPage(this.currentPage.pageX+this.directionX,this.currentPage.pageY+this.directionY,t)})},_nearestSnap:function(t,e){if(!this.pages.length)return{x:0,y:0,pageX:0,pageY:0};var n=0,s=this.pages.length,o=0;if(i.abs(t-this.absStartX)<this.snapThresholdX&&i.abs(e-this.absStartY)<this.snapThresholdY)return this.currentPage;for(t>0?t=0:t<this.maxScrollX&&(t=this.maxScrollX),e>0?e=0:e<this.maxScrollY&&(e=this.maxScrollY);n<s;n++)if(t>=this.pages[n][0].cx){t=this.pages[n][0].x;break}for(s=this.pages[n].length;o<s;o++)if(e>=this.pages[0][o].cy){e=this.pages[0][o].y;break}return n==this.currentPage.pageX&&((n+=this.directionX)<0?n=0:n>=this.pages.length&&(n=this.pages.length-1),t=this.pages[n][0].x),o==this.currentPage.pageY&&((o+=this.directionY)<0?o=0:o>=this.pages[0].length&&(o=this.pages[0].length-1),e=this.pages[0][o].y),{x:t,y:e,pageX:n,pageY:o}},goToPage:function(t,e,n,s){s=s||this.options.bounceEasing,t>=this.pages.length?t=this.pages.length-1:t<0&&(t=0),e>=this.pages[t].length?e=this.pages[t].length-1:e<0&&(e=0);var o=this.pages[t][e].x,r=this.pages[t][e].y;n=void 0===n?this.options.snapSpeed||i.max(i.max(i.min(i.abs(o-this.x),1e3),i.min(i.abs(r-this.y),1e3)),300):n,this.currentPage={x:o,y:r,pageX:t,pageY:e},this.scrollTo(o,r,n,s)},next:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;++i>=this.pages.length&&this.hasVerticalScroll&&(i=0,n++),this.goToPage(i,n,t,e)},prev:function(t,e){var i=this.currentPage.pageX,n=this.currentPage.pageY;--i<0&&this.hasVerticalScroll&&(i=0,n--),this.goToPage(i,n,t,e)},_initKeys:function(e){var i,n={pageUp:33,pageDown:34,end:35,home:36,left:37,up:38,right:39,down:40};if("object"==typeof this.options.keyBindings)for(i in this.options.keyBindings)"string"==typeof this.options.keyBindings[i]&&(this.options.keyBindings[i]=this.options.keyBindings[i].toUpperCase().charCodeAt(0));else this.options.keyBindings={};for(i in n)this.options.keyBindings[i]=this.options.keyBindings[i]||n[i];a.addEvent(t,"keydown",this),this.on("destroy",function(){a.removeEvent(t,"keydown",this)})},_key:function(t){if(this.enabled){var e,n=this.options.snap,s=n?this.currentPage.pageX:this.x,o=n?this.currentPage.pageY:this.y,r=a.getTime(),l=this.keyTime||0;switch(this.options.useTransition&&this.isInTransition&&(e=this.getComputedPosition(),this._translate(i.round(e.x),i.round(e.y)),this.isInTransition=!1),this.keyAcceleration=r-l<200?i.min(this.keyAcceleration+.25,50):0,t.keyCode){case this.options.keyBindings.pageUp:this.hasHorizontalScroll&&!this.hasVerticalScroll?s+=n?1:this.wrapperW
1idth:o+=n?1:this.wrapperHeight;break;case this.options.keyBindings.pageDown:this.hasHorizontalScroll&&!this.hasVerticalScroll?s-=n?1:this.wrapperWidth:o-=n?1:this.wrapperHeight;break;case this.options.keyBindings.end:s=n?this.pages.length-1:this.maxScrollX,o=n?this.pages[0].length-1:this.maxScrollY;break;case this.options.keyBindings.home:s=0,o=0;break;case this.options.keyBindings.left:s+=n?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.up:o+=n?1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.right:s-=n?-1:5+this.keyAcceleration>>0;break;case this.options.keyBindings.down:o-=n?1:5+this.keyAcceleration>>0;break;default:return}n?this.goToPage(s,o):(s>0?(s=0,this.keyAcceleration=0):s<this.maxScrollX&&(s=this.maxScrollX,this.keyAcceleration=0),o>0?(o=0,this.keyAcceleration=0):o<this.maxScrollY&&(o=this.maxScrollY,this.keyAcceleration=0),this.scrollTo(s,o,0),this.keyTime=r)}},_animate:function(t,e,i,n){function s(){var d,p,f,m=a.getTime();if(m>=u)return o.isAnimating=!1,o._translate(t,e),void(o.resetPosition(o.options.bounceTime)||o._execEvent("scrollEnd"));f=n(m=(m-h)/i),d=(t-l)*f+l,p=(e-c)*f+c,o._translate(d,p),o.isAnimating&&r(s)}var o=this,l=this.x,c=this.y,h=a.getTime(),u=h+i;this.isAnimating=!0,s()},handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t);break;case"orientationchange":case"resize":this._resize();break;case"transitionend":case"webkitTransitionEnd":case"oTransitionEnd":case"MSTransitionEnd":this._transitionEnd(t);break;case"wheel":case"DOMMouseScroll":case"mousewheel":this._wheel(t);break;case"keydown":this._key(t);break;case"click":this.enabled&&!t._constructed&&(t.preventDefault(),t.stopPropagation())}}},o.prototype={handleEvent:function(t){switch(t.type){case"touchstart":case"pointerdown":case"MSPointerDown":case"mousedown":this._start(t);break;case"touchmove":case"pointermove":case"MSPointerMove":case"mousemove":this._move(t);break;case"touchend":case"pointerup":case"MSPointerUp":case"mouseup":case"touchcancel":case"pointercancel":case"MSPointerCancel":case"mousecancel":this._end(t)}},destroy:function(){this.options.fadeScrollbars&&(clearTimeout(this.fadeTimeout),this.fadeTimeout=null),this.options.interactive&&(a.removeEvent(this.indicator,"touchstart",this),a.removeEvent(this.indicator,a.prefixPointerEvent("pointerdown"),this),a.removeEvent(this.indicator,"mousedown",this),a.removeEvent(t,"touchmove",this),a.removeEvent(t,a.prefixPointerEvent("pointermove"),this),a.removeEvent(t,"mousemove",this),a.removeEvent(t,"touchend",this),a.removeEvent(t,a.prefixPointerEvent("pointerup"),this),a.removeEvent(t,"mouseup",this)),this.options.defaultScrollbars&&this.wrapper.parentNode&&this.wrapper.parentNode.removeChild(this.wrapper)},_start:function(e){var i=e.touches?e.touches[0]:e;e.preventDefault(),e.stopPropagation(),this.transitionTime(),this.initiated=!0,this.moved=!1,this.lastPointX=i.pageX,this.lastPointY=i.pageY,this.startTime=a.getTime(),this.options.disableTouch||a.addEvent(t,"touchmove",this),this.options.disablePointer||a.addEvent(t,a.prefixPointerEvent("pointermove"),this),this.options.disableMouse||a.addEvent(t,"mousemove",this),this.scroller._execEvent("beforeScrollStart")},_move:function(t){var e,i,n,s,o=t.touches?t.touches[0]:t;a.getTime();this.moved||this.scroller._execEvent("scrollStart"),this.moved=!0,e=o.pageX-this.lastPointX,this.lastPointX=o.pageX,i=o.pageY-this.lastPointY,this.lastPointY=o.pageY,n=this.x+e,s=this.y+i,this._pos(n,s),t.preventDefault(),t.stopPropagation()},_end:function(e){if(this.initiated){if(this.initiated=!1,e.preventDefault(),e.stopPropagation(),a.removeEvent(t,"touchmove",this),a.removeEvent(t,a.prefixPointerEvent("pointermove"),this),a.removeEvent(t,"mousemove",this),this.scroller.options.snap){var n=this.scroller._nearestSnap(this.scroller.x,this.scroller.y),s=this.options.snapSpeed||i.max(i.max(i.min(i.abs(this.scroller.x-n.x),1e3),i.min(i.abs(this.scroller.y-n.y),1e3)),300);this.scroller.x==n.x&&this.scroller.y==n.y||(this.scroller.directionX=0,this.scroller.directionY=0,this.scroller.currentPage=n,this.scroller.scrollTo(n.x,n.y,s,this.scroller.options.bounceEasing))}this.moved&&this.scroller._execEvent("scrollEnd")}},transitionTime:function(t){t=t||0;var e=a.style.transitionDuration;if(e&&(this.indicatorStyle[e]=t+"ms",!t&&a.isBadAndroid)){this.indicatorStyle[e]="0.0001ms";var i=this;r(function(){"0.0001ms"===i.indicatorStyle[e]&&(i.indicatorStyle[e]="0s")})}},transitionTimingFunction:function(t){this.indicatorStyle[a.style.transitionTimingFunction]=t},refresh:function(){this.transitionTime(),this.options.listenX&&!this.options.listenY?this.indicatorStyle.display=this.scroller.hasHorizontalScroll?"block":"none":this.options.listenY&&!this.options.listenX?this.indicatorStyle.display=this.scroller.hasVerticalScroll?"block":"none":this.indicatorStyle.display=this.scroller.hasHorizontalScroll||this.scroller.hasVerticalScroll?"block":"none",this.scroller.hasHorizontalScroll&&this.scroller.hasVerticalScroll?(a.addClass(this.wrapper,"iScrollBothScrollbars"),a.removeClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="8px":this.wrapper.style.bottom="8px")):(a.removeClass(this.wrapper,"iScrollBothScrollbars"),a.addClass(this.wrapper,"iScrollLoneScrollbar"),this.options.defaultScrollbars&&this.options.customStyle&&(this.options.listenX?this.wrapper.style.right="2px":this.wrapper.style.bottom="2px")),a.getRect(this.wrapper),this.options.listenX&&(this.wrapperW
1idth=this.wrapper.clientWidth,this.options.resize?(this.indicatorWidth=i.max(i.round(this.wrapperWidth*this.wrapperWidth/(this.scroller.scrollerWidth||this.wrapperWidth||1)),8),this.indicatorStyle.width=this.indicatorWidth+"px"):this.indicatorWidth=this.indicator.clientWidth,this.maxPosX=this.wrapperWidth-this.indicatorWidth,"clip"==this.options.shrink?(this.minBoundaryX=8-this.indicatorWidth,this.maxBoundaryX=this.wrapperWidth-8):(this.minBoundaryX=0,this.maxBoundaryX=this.maxPosX),this.sizeRatioX=this.options.speedRatioX||this.scroller.maxScrollX&&this.maxPosX/this.scroller.maxScrollX),this.options.listenY&&(this.wrapperHeight=this.wrapper.clientHeight,this.options.resize?(this.indicatorHeight=i.max(i.round(this.wrapperHeight*this.wrapperHeight/(this.scroller.scrollerHeight||this.wrapperHeight||1)),8),this.indicatorStyle.height=this.indicatorHeight+"px"):this.indicatorHeight=this.indicator.clientHeight,this.maxPosY=this.wrapperHeight-this.indicatorHeight,"clip"==this.options.shrink?(this.minBoundaryY=8-this.indicatorHeight,this.maxBoundaryY=this.wrapperHeight-8):(this.minBoundaryY=0,this.maxBoundaryY=this.maxPosY),this.maxPosY=this.wrapperHeight-this.indicatorHeight,this.sizeRatioY=this.options.speedRatioY||this.scroller.maxScrollY&&this.maxPosY/this.scroller.maxScrollY),this.updatePosition()},updatePosition:function(){var t=this.options.listenX&&i.round(this.sizeRatioX*this.scroller.x)||0,e=this.options.listenY&&i.round(this.sizeRatioY*this.scroller.y)||0;this.options.ignoreBoundaries||(t<this.minBoundaryX?("scale"==this.options.shrink&&(this.width=i.max(this.indicatorWidth+t,8),this.indicatorStyle.width=this.width+"px"),t=this.minBoundaryX):t>this.maxBoundaryX?"scale"==this.options.shrink?(this.width=i.max(this.indicatorWidth-(t-this.maxPosX),8),this.indicatorStyle.width=this.width+"px",t=this.maxPosX+this.indicatorWidth-this.width):t=this.maxBoundaryX:"scale"==this.options.shrink&&this.width!=this.indicatorWidth&&(this.width=this.indicatorWidth,this.indicatorStyle.width=this.width+"px"),e<this.minBoundaryY?("scale"==this.options.shrink&&(this.height=i.max(this.indicatorHeight+3*e,8),this.indicatorStyle.height=this.height+"px"),e=this.minBoundaryY):e>this.maxBoundaryY?"scale"==this.options.shrink?(this.height=i.max(this.indicatorHeight-3*(e-this.maxPosY),8),this.indicatorStyle.height=this.height+"px",e=this.maxPosY+this.indicatorHeight-this.height):e=this.maxBoundaryY:"scale"==this.options.shrink&&this.height!=this.indicatorHeight&&(this.height=this.indicatorHeight,this.indicatorStyle.height=this.height+"px")),this.x=t,this.y=e,this.scroller.options.useTransform?this.indicatorStyle[a.style.transform]="translate("+t+"px,"+e+"px)"+this.scroller.translateZ:(this.indicatorStyle.left=t+"px",this.indicatorStyle.top=e+"px")},_pos:function(t,e){t<0?t=0:t>this.maxPosX&&(t=this.maxPosX),e<0?e=0:e>this.maxPosY&&(e=this.maxPosY),t=this.options.listenX?i.round(t/this.sizeRatioX):this.scroller.x,e=this.options.listenY?i.round(e/this.sizeRatioY):this.scroller.y,this.scroller.scrollTo(t,e)},fade:function(t,e){if(!e||this.visible){clearTimeout(this.fadeTimeout),this.fadeTimeout=null;var i=t?250:500,n=t?0:300;t=t?"1":"0",this.wrapperStyle[a.style.transitionDuration]=i+"ms",this.fadeTimeout=setTimeout(function(t){this.wrapperStyle.opacity=t,this.visible=+t}.bind(this,t),n)}}},n.utils=a,"undefined"!=typeof module&&module.exports?module.exports=n:"function"==typeof define&&define.amd?define(function(){return n}):t.IScroll=n}(window,document,Math),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],function(i){return e(i,t,t.document,t.Math)}):"object"==typeof exports&&exports?module.exports=e(require("jquery"),t,t.document,t.Math):e(jQuery,t,t.document,t.Math)}("undefined"!=typeof window?window:this,function(t,e,i,n,s){var o="fullpage-wrapper",r="."+o,a="fp-responsive",l="fp-notransition",c="fp-destroyed",h="fp-enabled",u="fp-viewing",d="active",p="."+d,f="fp-completely",m="."+f,g="fp-section",v="."+g,y=v+p,T=v+":first",b=v+":last",w="fp-tableCell",S="."+w,_="fp-auto-height",x="fp-normal-scroll",P="fp-nav",C="#"+P,M="fp-tooltip",A="."+M,E="fp-show-active",k="fp-slide",I="."+k,D=I+p,O="fp-slides",H="."+O,L="fp-slidesContainer",z="."+L,B="fp-table",R="fp-slidesNav",G="."+R,X=G+" a",N=".fp-controlArrow",W="fp-prev",F="fp-controlArrow "+W,Y=N+("."+W),V="fp-controlArrow fp-next",$=N+".fp-next",j=t(e),U=t(i);if("ontouchstart"in i.documentElement)q={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,disableMouse:!0,useTransition:!0,interactiveScrollbars:!0,click:!0};else var q={scrollbars:!0,mouseWheel:!0,hideScrollbars:!1,disableMouse:!0,useTransition:!0,interactiveScrollbars:!0,click:!1};t.fn.fullpage=function(Z){function Q(e,i){e||Ue(0),Je("autoScrolling",e,i);var n=t(y);Z.autoScrolling&&!Z.scrollBar?(ii.css({overflow:"hidden",height:"100%"}),J(Mi.recordHistory,"internal"),di.css({"-ms-touch-action":"none","touch-action":"none"}),n.length&&Ue(n.position().top)):(ii.css({overflow:"visible",height:"initial"}),J(!1,"internal"),di.css({"-ms-touch-action":"","touch-action":""}),n.length&&ii.scrollTop(n.position().top))}function J(t,e){Je("recordHistory",t,e)}function tt(t,e){Je("scrollingSpeed",t,e)}function et(t,e){Je("fitToSection",t,e)}function it(t){Z.lockAnchors=t}function nt(t){t?(Ne(),We()):(Xe(),Fe())}function st(e,i){void 0!==i?(i=i.replace(/ /g,"").split(","),t.each(i,function(t,i){Ke(e,i,"m")})):e?(nt(!0),Ye()):(nt(!1),Ve())}function ot(e,i){void 0!==i?(i=i.replace(/ /g,"").split(","),t.each(i,function(t,i){Ke(e,i,"k")})):Z.keyboardScrolling=e}function rt(){var e=t(y).prev(v);e.length||!Z.loopTop&&!Z.continuousVertical||(e=t(v).last()),e.length&&Ft(e,null,!0)}function at(){var e=t(y).next(v);e.length||!Z.loopBottom&&!Z.continuousVertical||(e=t(v).first()),e.length&&Ft(e,null,!1)}function lt(t,e){tt(0,"internal"),ct(t,e),tt(Mi.scrollingSpeed,"internal")}function ct(t,e){var i=ke(t);void 0!==e?De(t,e):i.length>0&&Ft(i)}function ht(t){Xt("right",t)}function ut(t){Xt("left",t)}function dt(e){if(!di.hasClass(c)){fi=!0,pi=j.height(),t(v).each(function(){var e=t(this).find(H),i=t(this).find(I);Z.verticalCentered,Z.scrollOverflow&&(i.length?i.each(function(){Me(t(this))}):Me(t(this))),i.length>1&&fe(e,e.find(D))});var i=t(y).index(v);i&<(i+1),fi=!1,t.isFunction(Z.afterResize)&&e&&Z.afterResize.call(di),t.isFunction(Z.afterReBuild)&&!e&&Z.afterReBuild.call(di)}}function pt(e){var i=ni.hasClass(a);e?i||(Q(!1,"internal"),et(!1,"internal"),t(C).hide(),ni.addClass(a),t.isFunction(Z.afterResponsive)&&Z.afterResponsive.call(di,e)):i&&(Q(Mi.autoScrolling,"internal"),et(Mi.autoScrolling,"internal"),t(C).show(),ni.removeClass(a),t.isFunction(Z.afterResponsive)&&Z.afterResponsive.call(di,e))}function ft(){var e=di.find(Z.sectionSelector);Z.anchors.length||(Z.anchors=e.filter("[data-anchor]").map(function(){return t(this).data("anchor").toString()}).get()),Z.navigationTooltips.length||(Z.navigationTooltips=e.filter("[data-tooltip]").map(function(){return t(this).data("tooltip").toString()}).get())}function mt(){di.addClass(o),t("html").addClass(h),pi=j.height(),di.removeClass(c),Tt(),t(v).each(function(e){var i=t(this),n=i.find(I),s=n.length;vt(i,e),yt(i,e),s>0?gt(i,n,s):Z.verticalCentered&&Ae(i)}),Z.fixedElements&&Z.css3&&t(Z.fixedElements).appendTo(ni),Z.navigation&&wt(),_t(),Z.scrollOverflow?("complete"===i.readyState&&St(),j.on("load",St)):Ct()}function gt(e,i,n){var s=100*n,o=100/n;i.wrapAll('<div class="'+L+'" />'),i.parent().wrap('<div class="'+O+'" />'),e.find(z).css("width",s+"%"),n>1&&(Z.controlArrows&&bt(e),Z.slidesNavigation&&He(e,n)),i.each(function(e){t(this).css("width",o+"%"),Z.verticalCentered&&Ae(t(this))});var r=e.find(D);r.length&&(0!==t(y).index(v)||0===t(y).index(v)&&0!==r.index())?je(r,"internal"):i.eq(0).addClass(d)}function vt(e,i){i||0!==t(y).length||e.addClass(d),li=t(y),Z.paddingTop&&e.css("padding-top",Z.paddingTop),Z.paddingBottom&&e.css("padding-bottom",Z.paddingBottom),void 0!==Z.sectionsColor[i]&&e.css("background-color",Z.sectionsColor[i]),void 0!==Z.anchors[i]&&e.attr("data-anchor",Z.anch
1ors[i])}function yt(e,i){void 0!==Z.anchors[i]&&e.hasClass(d)&&xe(Z.anchors[i],i),Z.menu&&Z.css3&&t(Z.menu).closest(r).length&&t(Z.menu).appendTo(ni)}function Tt(){di.find(Z.sectionSelector).addClass(g),di.find(Z.slideSelector).addClass(k)}function bt(t){t.find(H).after('<div class="'+F+'"></div><div class="'+V+'"></div>'),"#fff"!=Z.controlArrowColor&&(t.find($).css("border-color","transparent transparent transparent "+Z.controlArrowColor),t.find(Y).css("border-color","transparent "+Z.controlArrowColor+" transparent transparent")),Z.loopHorizontal||t.find(Y).hide()}function wt(){ni.append('<div id="'+P+'"><ul></ul></div>');var e=t(C);e.addClass(function(){return Z.showActiveTooltip?E+" "+Z.navigationPosition:Z.navigationPosition});for(var i=t(".footer-container").length?t(v).length-1:t(v).length,n=0;n<i;n++){var s="";Z.anchors.length&&(s=Z.anchors[n]);var o='<li><a href="#'+s+'"><span></span></a>',r=Z.navigationTooltips[n];void 0!==r&&""!==r&&(o+='<div class="'+M+" "+Z.navigationPosition+'">'+r+"</div>"),o+="</li>",e.find("ul").append(o)}t(C).css("margin-top","-"+t(C).height()/2+"px"),t(C).find("li").eq(t(y).index(v)).find("a").addClass(d)}function St(){t(v).each(function(){var e=t(this).find(I);e.length?e.each(function(){Me(t(this))}):Me(t(this))}),Ct()}function _t(){di.find('iframe[src*="youtube.com/embed/"]').each(function(){xt(t(this),"enablejsapi=1")})}function xt(t,e){var i=t.attr("src");t.attr("src",i+Pt(i)+e)}function Pt(t){return/\?/.test(t)?"&":"?"}function Ct(){var e=t(y);e.addClass(f),Z.scrollOverflowHandler.afterRender&&Z.scrollOverflowHandler.afterRender(e),Kt(e),Zt(e),Z.scrollOverflowHandler.afterLoad(),Mt()&&t.isFunction(Z.afterLoad)&&Z.afterLoad.call(e,e.data("anchor"),e.index(v)+1),t.isFunction(Z.afterRender)&&Z.afterRender.call(di)}function Mt(){var t=e.location.hash.replace("#","").split("/"),i=ke(decodeURIComponent(t[0]));return!i.length||i.length&&i.index()===li.index()}function At(){var e;if(!Z.autoScrolling||Z.scrollBar){var n=j.scrollTop(),s=It(n),o=0,r=n+j.height()/2,a=ni.height()-j.height()===n,l=i.querySelectorAll(v);if(a)o=l.length-1;else if(n)for(var c=0;c<l.length;++c)l[c].offsetTop<=r&&(o=c);else o=0;if(kt(s)&&(t(y).hasClass(f)||t(y).addClass(f).siblings().removeClass(f)),!(e=t(l).eq(o)).hasClass(d)){Ai=!0;var h,u,p=t(y),m=p.index(v)+1,g=Pe(e),T=e.data("anchor"),b=e.index(v)+1,w=e.find(D);w.length&&(u=w.data("anchor"),h=w.index()),gi&&(e.addClass(d).siblings().removeClass(d),t.isFunction(Z.onLeave)&&Z.onLeave.call(p,m,b,g),t.isFunction(Z.afterLoad)&&Z.afterLoad.call(e,T,b),Jt(p),Kt(e),Zt(e),xe(T,b-1),Z.anchors.length&&(oi=T),Le(h,u,T,b)),clearTimeout(Si),Si=setTimeout(function(){Ai=!1},100)}Z.fitToSection&&(clearTimeout(_i),_i=setTimeout(function(){Z.fitToSection&&Et()},Z.fitToSectionDelay))}}function Et(){gi&&(fi=!0,Ft(t(y)),fi=!1)}function kt(e){var i=t(y).position().top,n=i+j.height();return"up"==e?n>=j.scrollTop()+j.height():i<=j.scrollTop()}function It(t){var e=t>Ei?"down":"up";return Ei=t,Li=t,e}function Dt(t,e){if(yi.m[t]){var i="down"===t?"bottom":"top",n="down"===t?at:rt;if(e.length>0){if(!Z.scrollOverflowHandler.isScrolled(i,e))return!0;n()}else n()}}function Ot(t){var e=t.originalEvent;!Lt(t.target)&&Z.autoScrolling&&zt(e)&&t.preventDefault()}function Ht(e){var i=e.originalEvent,s=t(i.target).closest(v);if(!Lt(e.target)&&zt(i)){Z.autoScrolling&&e.preventDefault();var o=Z.scrollOverflowHandler.scrollable(s),r=$e(i);Di=r.y,Oi=r.x,s.find(H).length&&n.abs(Ii-Oi)>n.abs(ki-Di)?!ci&&n.abs(Ii-Oi)>j.outerWidth()/100*Z.touchSensitivity&&(Ii>Oi?yi.m.right&&ht(s):yi.m.left&&ut(s)):Z.autoScrolling&&gi&&n.abs(ki-Di)>j.height()/100*Z.touchSensitivity&&(ki>Di?Dt("down",o):Di>ki&&Dt("up",o))}}function Lt(e,i){i=i||0;var n=t(e).parent();return!!(i<Z.normalScrollElementTouchThreshold&&n.is(Z.normalScrollElements))||i!=Z.normalScrollElementTouchThreshold&&Lt(n,++i)}function zt(t){return void 0===t.pointerType||"mouse"!=t.pointerType}function Bt(t){var e=t.originalEvent;if(Z.fitToSection&&ii.stop(),zt(e)){var i=$e(e);ki=i.y,Ii=i.x}}function Rt(t,e){for(var i=0,s=t.slice(n.max(t.length-e,1)),o=0;o<s.length;o++)i+=s[o];return n.ceil(i/e)}function Gt(i){var s=(new Date).getTime(),o=t(m).hasClass(x);if(Z.autoScrolling&&!ai&&!o){var r=(i=i||e.event).wheelDelta||-i.deltaY||-i.detail,a=n.max(-1,n.min(1,r)),l=void 0!==i.wheelDeltaX||void 0!==i.deltaX,c=n.abs(i.wheelDeltaX)<n.abs(i.wheelDelta)||n.abs(i.deltaX)<n.abs(i.deltaY)||!l;vi.length>149&&vi.shift(),vi.push(n.abs(r)),Z.scrollBar&&(i.preventDefault?i.preventDefault():i.returnValue=!1);var h=t(y),u=Z.scrollOverflowHandler.scrollable(h),d=s-Hi;return Hi=s,d>200&&(vi=[]),gi&&Rt(vi,10)>=Rt(vi,70)&&c&&(a<0?Dt("down",u):Dt("up",u)),!1}Z.fitToSection&&ii.stop()}function Xt(e,i){var n=(void 0===i?t(y):i).find(H),s=n.find(I).length;if(!(!n.length||ci||s<2)){var o=n.find(D),r=null;
1if(!(r="left"===e?o.prev(I):o.next(I)).length){if(!Z.loopHorizontal)return;r="left"===e?o.siblings(":last"):o.siblings(":first")}ci=!0,fe(n,r,e)}}function Nt(){t(D).each(function(){je(t(this),"internal")})}function Wt(t){var e=t.position(),i=e.top,n=e.top>Li,s=i-pi+t.outerHeight(),o=Z.bigSectionsDestination;return t.outerHeight()>pi?(n||o)&&"bottom"!==o||(i=s):(n||fi&&t.is(":last-child"))&&(i=s),Li=i,i}function Ft(e,i,n){if(void 0!==e){var s,o,r={element:e,callback:i,isMovementUp:n,dtop:Wt(e),yMovement:Pe(e),anchorLink:e.data("anchor"),sectionIndex:e.index(v),activeSlide:e.find(D),activeSection:t(y),leavingSection:t(y).index(v)+1,localIsResizing:fi};r.activeSection.is(e)&&!fi||Z.scrollBar&&j.scrollTop()===r.dtop&&!e.hasClass(_)||(r.activeSlide.length&&(s=r.activeSlide.data("anchor"),o=r.activeSlide.index()),Z.autoScrolling&&Z.continuousVertical&&void 0!==r.isMovementUp&&(!r.isMovementUp&&"up"==r.yMovement||r.isMovementUp&&"down"==r.yMovement)&&(r=$t(r)),t.isFunction(Z.onLeave)&&!r.localIsResizing&&!1===Z.onLeave.call(r.activeSection,r.leavingSection,r.sectionIndex+1,r.yMovement)||(r.localIsResizing||Jt(r.activeSection),Z.scrollOverflowHandler.beforeLeave(),e.addClass(d).siblings().removeClass(d),Kt(e),Z.scrollOverflowHandler.onLeave(),gi=!1,Le(o,s,r.anchorLink,r.sectionIndex),Yt(r),oi=r.anchorLink,xe(r.anchorLink,r.sectionIndex)))}}function Yt(e){if(Z.css3&&Z.autoScrolling&&!Z.scrollBar)Ee("translate3d(0px, -"+n.round(e.dtop)+"px, 0px)",!0),Z.scrollingSpeed?(clearTimeout(bi),bi=setTimeout(function(){Ut(e)},Z.scrollingSpeed)):Ut(e);else{var i=Vt(e);t(i.element).animate(i.options,Z.scrollingSpeed,Z.easing).promise().done(function(){Z.scrollBar?setTimeout(function(){Ut(e)},30):Ut(e)})}}function Vt(t){var e={};return Z.autoScrolling&&!Z.scrollBar?(e.options={top:-t.dtop},e.element=r):(e.options={scrollTop:t.dtop},e.element="html, body"),e}function $t(e){return e.isMovementUp?t(y).before(e.activeSection.nextAll(v)):t(y).after(e.activeSection.prevAll(v).get().reverse()),Ue(t(y).position().top),Nt(),e.wrapAroundElements=e.activeSection,e.dtop=e.element.position().top,e.yMovement=Pe(e.element),e}function jt(e){e.wrapAroundElements&&e.wrapAroundElements.length&&(e.isMovementUp?t(T).before(e.wrapAroundElements):t(b).after(e.wrapAroundElements),Ue(t(y).position().top),Nt())}function Ut(e){jt(e),t.isFunction(Z.afterLoad)&&!e.localIsResizing&&Z.afterLoad.call(e.element,e.anchorLink,e.sectionIndex+1),Z.scrollOverflowHandler.afterLoad(),e.localIsResizing||Zt(e.element),e.element.addClass(f).siblings().removeClass(f),gi=!0,t.isFunction(e.callback)&&e.callback.call(this)}function qt(t,e){t.attr(e,t.data(e)).removeAttr("data-"+e)}function Kt(e){if(Z.lazyLoading){var i;te(e).find("img[data-src], img[data-srcset], source[data-src], audio[data-src], iframe[data-src]").each(function(){i=t(this),t.each(["src","srcset"],function(t,e){var n=i.attr("data-"+e);void 0!==n&&n&&qt(i,e)}),i.is("source")&&i.closest("video").get(0).load()})}}function Zt(e){var i=te(e);i.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("data-autoplay")&&"function"==typeof e.play&&e.play()}),i.find('iframe[src*="youtube.com/embed/"]').each(function(){var e=t(this).get(0);e.hasAttribute("data-autoplay")&&Qt(e),e.onload=function(){e.hasAttribute("data-autoplay")&&Qt(e)}})}function Qt(t){t.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")}function Jt(e){var i=te(e);i.find("video, audio").each(function(){var e=t(this).get(0);e.hasAttribute("data-keepplaying")||"function"!=typeof e.pause||e.pause()}),i.find('iframe[src*="youtube.com/embed/"]').each(function(){var e=t(this).get(0);/youtube\.com\/embed\//.test(t(this).attr("src"))&&!e.hasAttribute("data-keepplaying")&&t(this).get(0).contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}function te(e){var i=e.find(D);return i.length&&(e=t(i)),e}function ee(){var t=e.location.hash.replace("#","").split("/"),i=decodeURIComponent(t[0]),n=decodeURIComponent(t[1]);i&&(Z.animateAnchor?De(i,n):lt(i,n))}function ie(){if(!Ai&&!Z.lockAnchors){var t=e.location.hash.replace("#","").split("/"),i=decodeURIComponent(t[0]),n=decodeURIComponent(t[1]),s=void 0===oi,o=void 0===oi&&void 0===n&&!ci;i.length&&(i&&i!==oi&&!s||o||!ci&&ri!=n)&&De(i,n)}}function ne(e){clearTimeout(xi);var i=t(":focus");if(!i.is("textarea")&&!i.is("input")&&!i.is("select")&&"true"!==i.attr("contentEditable")&&""!==i.attr("contentEditable")&&Z.keyboardScrolling&&Z.autoScrolling){var n=e.which,s=[40,38,32,33,34];t.inArray(n,s)>-1&&e.preventDefault(),ai=e.ctrlKey,xi=setTimeout(function(){de(e)},150)}}function se(){t(this).prev().trigger("click")}function oe(t){mi&&(ai=t.ctrlKey)}function re(t){2==t.which&&(zi=t.pageY,di.on("mousemove",pe))}function ae(t){2==t.which&&di.off("mousemove")}function le(){var e=t(this).closest(v);t(this).hasClass(W)?yi.m.left&&ut(e):yi.m.right&&ht(e)}function ce(){mi=!1,ai=!1}function he(e){e.preventDefault();var i=t(this).parent().index();Ft(t(v).eq(i))}function ue(e){e.preventDefault();var i=t(this).closest(v).find(H);fe(i,i.find(I).eq(t(this).closest("li").index()))}function de(e){var i=e.shiftKey;if(gi||!([37,39].indexOf(e.which)<0))switch(e.which){case 38:case 33:yi.k.up&&rt();break;case 32:if(i&&yi.k.up){rt();break}case 40:case 34:yi.k.down&&at();break;case 36:yi.k.up&&ct(1);break;case 35:yi.k.down&&ct(t(v).length);break;case 37:yi.k.left&&ut();break;case 39:yi.k.right&&ht();break;default:return}}function pe(t){gi&&(t.pageY<zi&&yi.m.up?rt():t.pageY>zi&&yi.m.down&&at()),zi=t.pageY}function fe(e,i,n){var s=e.closest(v),o={slides:e,destiny:i,direction:n,destinyPos:i.position(),slideIndex:i.index(),section:s,sectionIndex:s.index(v),anch
1orLink:s.data("anchor"),slidesNav:s.find(G),slideAnchor:Be(i),prevSlide:s.find(D),prevSlideIndex:s.find(D).index(),localIsResizing:fi};o.xMovement=Ce(o.prevSlideIndex,o.slideIndex),o.localIsResizing||(gi=!1),Z.onSlideLeave&&!o.localIsResizing&&"none"!==o.xMovement&&t.isFunction(Z.onSlideLeave)&&!1===Z.onSlideLeave.call(o.prevSlide,o.anchorLink,o.sectionIndex+1,o.prevSlideIndex,o.xMovement,o.slideIndex)?ci=!1:(i.addClass(d).siblings().removeClass(d),o.localIsResizing||(Jt(o.prevSlide),Kt(i)),!Z.loopHorizontal&&Z.controlArrows&&(s.find(Y).toggle(0!==o.slideIndex),s.find($).toggle(!i.is(":last-child"))),s.hasClass(d)&&!o.localIsResizing&&Le(o.slideIndex,o.slideAnchor,o.anchorLink,o.sectionIndex),ge(e,o,!0))}function me(e){ve(e.slidesNav,e.slideIndex),e.localIsResizing||(t.isFunction(Z.afterSlideLoad)&&Z.afterSlideLoad.call(e.destiny,e.anchorLink,e.sectionIndex+1,e.slideAnchor,e.slideIndex),gi=!0,Zt(e.destiny)),ci=!1}function ge(t,e,i){var s=e.destinyPos;if(Z.css3){var o="translate3d(-"+n.round(s.left)+"px, 0px, 0px)";be(t.find(z)).css(qe(o)),wi=setTimeout(function(){i&&me(e)},Z.scrollingSpeed,Z.easing)}else t.animate({scrollLeft:n.round(s.left)},Z.scrollingSpeed,Z.easing,function(){i&&me(e)})}function ve(t,e){t.find(p).removeClass(d),t.find("li").eq(e).find("a").addClass(d)}function ye(){if(Te(),hi){var e=t(i.activeElement);if(!e.is("textarea")&&!e.is("input")&&!e.is("select")){var s=j.height();n.abs(s-Bi)>20*n.max(Bi,s)/100&&(dt(!0),Bi=s)}}else clearTimeout(Ti),Ti=setTimeout(function(){dt(!0)},350)}function Te(){var t=Z.responsive||Z.responsiveWidth,e=Z.responsiveHeight,i=t&&j.outerWidth()<t,n=e&&j.height()<e;t&&e?pt(i||n):t?pt(i):e&&pt(n)}function be(t){var e="all "+Z.scrollingSpeed+"ms "+Z.easingcss3;return t.removeClass(l),t.css({"-webkit-transition":e,transition:e})}function we(t){return t.addClass(l)}function Se(e,i){Z.navigation&&(t(C).find(p).removeClass(d),e?t(C).find('a[href="#'+e+'"]').addClass(d):t(C).find("li").eq(i).find("a").addClass(d))}function _e(e){Z.menu&&(t(Z.menu).find(p).removeClass(d),t(Z.menu).find('[data-menuanchor="'+e+'"]').addClass(d))}function xe(t,e){_e(t),Se(t,e)}function Pe(e){var i=t(y).index(v),n=e.index(v);return i==n?"none":i>n?"up":"down"}function Ce(t,e){return t==e?"none":t>e?"left":"right"}function Me(t){if(!t.hasClass("fp-noscroll")){t.css("overflow","hidden");var e,i=Z.scrollOverflowHandler,n=i.wrapContent(),s=t.closest(v),o=i.scrollable(t);o.length?e=i.scrollHeight(t):(e=t.get(0).scrollHeight,Z.verticalCentered&&(e=t.find(S).get(0).scrollHeight));var r=pi-parseInt(s.css("padding-bottom"))-parseInt(s.css("padding-top"));e>r?o.length?i.update(t,r):(Z.verticalCentered?t.find(S).wrapInner(n):t.wrapInner(n),i.create(t,r)):i.remove(t),t.css("overflow","")}}function Ae(t){t.hasClass(B)||t.addClass(B).wrapInner('<div class="'+w+'" />')}function Ee(t,e){e?be(di):we(di),di.css(qe(t)),setTimeout(function(){di.removeClass(l)},10)}function ke(e){if(!e)return[];var i=di.find(v+'[data-anchor="'+e+'"]');return i.length||(i=t(v).eq(e-1)),i}function Ie(t,e){var i=e.find(H),n=i.find(I+'[data-anchor="'+t+'"]');return n.length||(n=i.find(I).eq(t)),n}function De(t,e){var i=ke(t);i.length&&(void 0===e&&(e=0),t===oi||i.hasClass(d)?Oe(i,e):Ft(i,function(){Oe(i,e)}))}function Oe(t,e){if(void 0!==e){var i=t.find(H),n=Ie(e,t);n.length&&fe(i,n)}}function He(t,e){t.append('<div class="'+R+'"><ul></ul></div>');var i=t.find(G);i.addClass(Z.slidesNavPosition);for(var n=0;n<e;n++)i.find("ul").append('<li><a href="#"><span></span></a></li>');i.css("margin-left","-"+i.width()/2+"px"),i.find("li").first().find("a").addClass(d)}function Le(t,e,i,n){var s="";Z.anchors.length&&!Z.lockAnchors&&(t?(void 0!==i&&(s=i),void 0===e&&(e=t),ri=e,ze(s+"/"+e)):void 0!==t?(ri=e,ze(i)):ze(i)),Re()}function ze(t){if(Z.recordHistory)location.hash=t;else if(hi||ui)e.history.replaceState(s,s,"#"+t);else{var i=e.location.href.split("#")[0];e.location.replace(i+"#"+t)}}function Be(t){var e=t.data("anchor"),i=t.index();return void 0===e&&(e=i),e}function Re(){var e=t(y),i=e.find(D),n=Be(e),s=Be(i),o=String(n);i.length&&(o=o+"-"+s),o=o.replace("/","-").replace("#","");var r=new RegExp("\\b\\s?"+u+"-[^\\s]+\\b","g");ni[0].className=ni[0].className.replace(r,""),ni.addClass(u+"-"+o)}function Ge(){var t,n=i.createElement("p"),o={webkitTransform:"-webkit-transform",OTransform:"-o-transform",msTransform:"-ms-transform",MozTransform:"-moz-transform",transform:"transform"};i.body.insertBefore(n,null);for(var r in o)n.style[r]!==s&&(n.style[r]="translate3d(1px,1px,1px)",t=e.getComputedStyle(n).getPropertyValue(o[r]));return i.body.removeChild(n),t!==s&&t.length>0&&"none"!==t}function Xe(){i.addEventListener?(i.removeEventListener("mousewheel",Gt,!1),i.removeEventListener("wheel",Gt,!1),i.removeEventListener("MozMousePixelScroll",Gt,!1)):i.detachEvent("onmousewheel",Gt)}function Ne(){var t,n="";e.addEventListener?t="addEventListener":(t="attachEvent",n="on");var o="onwheel"in i.createElement("div")?"wheel":i.onmousewheel!==s?"mousewheel":"DOMMouseScroll";"DOMMouseScroll"==o?i[t](n+"MozMousePixelScroll",Gt,!1):i[t](n+o,Gt,!1)}function We(){di.on("mousedown",re).on("mouseup",ae)}function Fe(){di.off("mousedown",re).off("mouseup",ae)}function Ye(){(hi||ui)&&(Z.autoScrolling&&ni.off(Ci.touchmove).on(Ci.touchmove,Ot),t(r).off(Ci.touchstart).on(Ci.touchstart,Bt).off(Ci.touchmove).on(Ci.touchmove,Ht))}function Ve(){(hi||ui)&&t(r).off(Ci.touchstart).off(Ci.touchmove)}function $e(t){var e=[];return e.y=void 0!==t.pageY&&(t.pageY||t.pageX)?t.pageY:t.touches[0].pageY,e.x=void 0!==t.pageX&&(t.pageY||t.pageX)?t.pageX:t.touches[0].pageX,ui&&zt(t)&&Z.scrollBar&&(e.y=t.touches[0].pageY,e.x=t.touches[0].pageX),e}function je(t,e){tt(0,"internal"),void 0!==e&&(fi=!0),fe(t.closest(H),t),void 0!==e&&(fi=!1),tt(Mi.scrollingSpeed,"internal")}function Ue(t){var e=n.round(t);Z.css3&&Z.autoScrolling&&!Z.scrollBar?Ee("translate3d(0px, -"+e+"px, 0px)",!1):Z.autoScrolling&&!Z.scrollBar?di.css("top",-e):ii.scrollTop(e)}function qe(t){return{"-webkit-transform":t,"-moz-transform":t,"-ms-transform":t,transform:t}}function Ke(t,e,i){switch(e){case"up":yi[i].up=t;break;case"down":yi[i].down=t;break;case"left":yi[i].left=t;break;case"right":yi[i].right=t;break;
1case"all":"m"==i?st(t):ot(t)}}function Ze(e){Q(!1,"internal"),st(!1),ot(!1),di.addClass(c),clearTimeout(wi),clearTimeout(bi),clearTimeout(Ti),clearTimeout(Si),clearTimeout(_i),j.off("scroll",At).off("hashchange",ie).off("resize",ye),U.off("click touchstart",C+" a").off("mouseenter",C+" li").off("mouseleave",C+" li").off("click touchstart",X).off("mouseover",Z.normalScrollElements).off("mouseout",Z.normalScrollElements),t(v).off("click touchstart",N),clearTimeout(wi),clearTimeout(bi),e&&Qe()}function Qe(){Ue(0),di.find("img[data-src], source[data-src], audio[data-src], iframe[data-src]").each(function(){qt(t(this),"src")}),di.find("img[data-srcset]").each(function(){qt(t(this),"srcset")}),t(C+", "+G+", "+N).remove(),t(v).css({height:"","background-color":"",padding:""}),t(I).css({width:""}),di.css({height:"",position:"","-ms-touch-action":"","touch-action":""}),ii.css({overflow:"",height:""}),t("html").removeClass(h),ni.removeClass(a),t.each(ni.get(0).className.split(/\s+/),function(t,e){0===e.indexOf(u)&&ni.removeClass(e)}),t(v+", "+I).each(function(){Z.scrollOverflowHandler.remove(t(this)),t(this).removeClass(B+" "+d)}),we(di),di.find(S+", "+z+", "+H).each(function(){t(this).replaceWith(this.childNodes)}),di.css({"-webkit-transition":"none",transition:"none"}),ii.scrollTop(0);var e=[g,k,L];t.each(e,function(e,i){t("."+i).removeClass(i)})}function Je(t,e,i){Z[t]=e,"internal"!==i&&(Mi[t]=e)}function ti(){var e=["fadingEffect","continuousHorizontal","scrollHorizontally","interlockedSlides","resetSliders","responsiveSlides","offsetSections","dragAndMove","scrollOverflowReset","parallax"];t("html").hasClass(h)?ei("error","Fullpage.js can only be initialized once and you are doing it multiple times!"):(Z.continuousVertical&&(Z.loopTop||Z.loopBottom)&&(Z.continuousVertical=!1,ei("warn","Option `loopTop/loopBottom` is mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),Z.scrollBar&&Z.scrollOverflow&&ei("warn","Option `scrollBar` is mutually exclusive with `scrollOverflow`. Sections with scrollOverflow might not work well in Firefox"),!Z.continuousVertical||!Z.scrollBar&&Z.autoScrolling||(Z.continuousVertical=!1,ei("warn","Scroll bars (`scrollBar:true` or `autoScrolling:false`) are mutually exclusive with `continuousVertical`; `continuousVertical` disabled")),t.each(e,function(t,e){Z[e]&&ei("warn","fullpage.js extensions require jquery.fullpage.extensions.min.js file instead of the usual jquery.fullpage.js. Requested: "+e)}),t.each(Z.anchors,function(e,i){var n=U.find("[name]").filter(function(){return t(this).attr("name")&&t(this).attr("name").toLowerCase()==i.toLowerCase()}),s=U.find("[id]").filter(function(){return t(this).attr("id")&&t(this).attr("id").toLowerCase()==i.toLowerCase()});(s.length||n.length)&&(ei("error","data-anchor tags can not have the same value as any `id` element on the site (or `name` element for IE)."),s.length&&ei("error",'"'+i+'" is is being used by another element `id` property'),n.length&&ei("error",'"'+i+'" is is being used by another element `name` property'))}))}function ei(t,e){console&&console[t]&&console[t]("fullPage: "+e)}if(t("html").hasClass(h))ti();else{var ii=t("html, body"),ni=t("body"),si=t.fn.fullpage;Z=t.extend({menu:!1,anchors:[],lockAnchors:!1,navigation:!1,navigationPosition:"right",navigationTooltips:[],showActiveTooltip:!1,slidesNavigation:!1,slidesNavPosition:"bottom",scrollBar:!1,hybrid:!1,css3:!0,scrollingSpeed:700,autoScrolling:!0,fitToSection:!0,fitToSectionDelay:1e3,easing:"easeInOutCubic",easingcss3:"ease",loopBottom:!1,loopTop:!1,loopHorizontal:!0,continuousVertical:!1,continuousHorizontal:!1,scrollHorizontally:!1,interlockedSlides:!1,dragAndMove:!1,offsetSections:!1,resetSliders:!1,fadingEffect:!1,normalScrollElements:null,scrollOverflow:!1,scrollOverflowReset:!1,scrollOverflowHandler:K,scrollOverflowOptions:null,touchSensitivity:5,normalScrollElementTouchThreshold:5,bigSectionsDestination:null,keyboardScrolling:!0,animateAnchor:!0,recordHistory:!0,controlArrows:!0,controlArrowColor:"#fff",verticalCentered:!0,sectionsColor:[],paddingTop:0,paddingBottom:0,fixedElements:null,responsive:0,responsiveWidth:0,responsiveHeight:0,responsiveSlides:!1,parallax:!1,parallaxOptions:{type:"reveal",percentage:62,property:"translate"},sectionSelector:".section",slideSelector:".slide",afterLoad:null,onLeave:null,afterRe
1nder:null,afterResize:null,afterReBuild:null,afterSlideLoad:null,onSlideLeave:null,afterResponsive:null,lazyLoading:!0},Z);var oi,ri,ai,li,ci=!1,hi=navigator.userAgent.match(/(iPhone|iPod|iPad|Android|playbook|silk|BlackBerry|BB10|Windows Phone|Tizen|Bada|webOS|IEMobile|Opera Mini)/),ui="ontouchstart"in e||navigator.msMaxTouchPoints>0||navigator.maxTouchPoints,di=t(this),pi=j.height(),fi=!1,mi=!0,gi=!0,vi=[],yi={};yi.m={up:!0,down:!0,left:!0,right:!0},yi.k=t.extend(!0,{},yi.m);var Ti,bi,wi,Si,_i,xi,Pi=function(){return e.PointerEvent?{down:"pointerdown",move:"pointermove"}:{down:"MSPointerDown",move:"MSPointerMove"}}(),Ci={touchmove:"ontouchmove"in e?"touchmove":Pi.move,touchstart:"ontouchstart"in e?"touchstart":Pi.down},Mi=t.extend(!0,{},Z);ti(),q.click=ui,q=t.extend(q,Z.scrollOverflowOptions),t.extend(t.easing,{easeInOutCubic:function(t,e,i,n,s){return(e/=s/2)<1?n/2*e*e*e+i:n/2*((e-=2)*e*e+2)+i}}),t(this).length&&(si.setAutoScrolling=Q,si.setRecordHistory=J,si.setScrollingSpeed=tt,si.setFitToSection=et,si.setLockAnchors=it,si.setMouseWheelScrolling=nt,si.setAllowScrolling=st,si.setKeyboardScrolling=ot,si.moveSectionUp=rt,si.moveSectionDown=at,si.silentMoveTo=lt,si.moveTo=ct,si.moveSlideRight=ht,si.moveSlideLeft=ut,si.fitToSection=Et,si.reBuild=dt,si.setResponsive=pt,si.destroy=Ze,function(){Z.css3&&(Z.css3=Ge()),Z.scrollBar=Z.scrollBar||Z.hybrid,ft(),mt(),st(!0),Q(Z.autoScrolling,"internal"),Te(),Re(),"complete"===i.readyState&&ee(),j.on("load",ee)}(),function(){j.on("scroll",At).on("hashchange",ie).blur(ce).resize(ye),U.keydown(ne).keyup(oe).on("click touchstart",C+" a",he).on("click touchstart",X,ue).on("click",A,se),t(v).on("click touchstart",N,le),Z.normalScrollElements&&(U.on("mouseenter",Z.normalScrollElements,function(){nt(!1)}),U.on("mouseleave",Z.normalScrollElements,function(){nt(!0)}))}());var Ai=!1,Ei=0,ki=0,Ii=0,Di=0,Oi=0,Hi=(new Date).getTime(),Li=0,zi=0,Bi=pi}},"undefined"!=typeof IScroll&&(IScroll.prototype.wheelOn=function(){this.wrapper.addEventListener("wheel",this),this.wrapper.addEventListener("mousewheel",this),this.wrapper.addEventListener("DOMMouseScroll",this)},IScroll.prototype.wheelOff=function(){this.wrapper.removeEventListener("wheel",this),this.wrapper.removeEventListener("mousewheel",this),this.wrapper.removeEventListener("DOMMouseScroll",this)});var K={refreshId:null,iScrollInstances:[],toggleWheel:function(e){t(y).find(".fp-scrollable").each(function(){var i=t(this).data("iscrollInstance");void 0!==i&&i&&(e?i.wheelOn():i.wheelOff())})},onLeave:function(){K.toggleWheel(!1)},beforeLeave:function(){K.onLeave()},afterLoad:function(){K.toggleWheel(!0)},create:function(e,i){var n=e.find(".fp-scrollable");n.height(i),n.each(function(){var e=t(this),i=e.data("iscrollInstance");i&&t.each(K.iScrollInstances,function(){t(this).destroy()}),i=new IScroll(e.get(0),q),K.iScrollInstances.push(i),i.wheelOff(),e.data("iscrollInstance",i)})},isScrolled:function(t,e){var i=e.data("iscrollInstance");return!i||("top"===t?i.y>=0&&!e.scrollTop():"bottom"===t?0-i.y+e.scrollTop()+1+e.innerHeight()>=e[0].scrollHeight:void 0)},scrollable:function(t){return t.find(H).length?t.find(D).find(".fp-scrollable"):t.find(".fp-scrollable")},scrollHeight:function(t){return t.find(".fp-scrollable").children().first().get(0).scrollHeight},remove:function(t){var e=t.find(".fp-scrollable");e.length&&(e.data("iscrollInstance").destroy(),e.data("iscrollInstance",null)),t.find(".fp-scrollable").children().first().children().first().unwrap().unwrap()},update:function(e,i){clearTimeout(K.refreshId),K.refreshId=setTimeout(function(){t.each(K.iScrollInstances,function(){t(this).get(0).refresh()})},150),e.find(".fp-scrollable").css("height",i+"px").parent().css("height",i+"px")},wrapContent:function(){return'<div class="fp-scrollable"><div class="fp-scroller"></div></div>'}}}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):jQuery&&!jQuery.fn.hoverIntent&&t(jQuery)}(function(t){var e,i,n={interval:100,sensitivity:6,timeout:0},s=0,o=function(t){e=t.pageX,i=t.pageY},r=function(t,n,s,a){if(Math.sqrt((s.pX-e)*(s.pX-e)+(s.pY-i)*(s.pY-i))<a.sensitivity)return n.off(s.event,o),delete s.timeoutId,s.isActive=!0,t.pageX=e,t.pageY=i,delete s.pX,delete s.pY,a.over.apply(n[0],[t]);s.pX=e,s.pY=i,s.timeoutId=setTimeout(function(){r(t,n,s,a)},a.interval)}
1,a=function(t,e,i,n){return delete e.data("hoverIntent")[i.id],n.apply(e[0],[t])};t.fn.hoverIntent=function(e,i,l){var c=s++,h=t.extend({},n);t.isPlainObject(e)?(h=t.extend(h,e),t.isFunction(h.out)||(h.out=h.over)):h=t.isFunction(i)?t.extend(h,{over:e,out:i,selector:l}):t.extend(h,{over:e,out:e,selector:i});var u=function(e){var i=t.extend({},e),n=t(this),s=n.data("hoverIntent");s||n.data("hoverIntent",s={});var l=s[c];l||(s[c]=l={id:c}),l.timeoutId&&(l.timeoutId=clearTimeout(l.timeoutId));var u=l.event="mousemove.hoverIntent.hoverIntent"+c;if("mouseenter"===e.type){if(l.isActive)return;l.pX=i.pageX,l.pY=i.pageY,n.off(u,o).on(u,o),l.timeoutId=setTimeout(function(){r(i,n,l,h)},h.interval)}else{if(!l.isActive)return;n.off(u,o),l.timeoutId=setTimeout(function(){a(i,n,l,h.out)},h.timeout)}};return this.on({"mouseenter.hoverIntent":u,"mouseleave.hoverIntent":u},h.selector)}}),function(t,e){"function"==typeof define&&define.amd?define(["jquery"],e):e("object"==typeof exports?require("jquery"):t.jQuery)}(this,function(t){function e(t){var e,i,n,s,o,r,a,l={};for(a=0,r=(o=t.replace(/\s*:\s*/g,":").replace(/\s*,\s*/g,",").split(",")).length;a<r&&(-1===(i=o[a]).search(/^(http|https|ftp):\/\//)&&-1!==i.search(":"));a++)e=i.indexOf(":"),n=i.substring(0,e),(s=i.substring(e+1))||(s=void 0),"string"==typeof s&&(s="true"===s||"false"!==s&&s),"string"==typeof s&&(s=isNaN(s)?s:+s),l[n]=s;return null==n&&null==s?t:l}function i(t){var e,i,n,s=(t=""+t).split(/\s+/),o="50%",r="50%";for(n=0,e=s.length;n<e;n++)"left"===(i=s[n])?o="0%":"right"===i?o="100%":"top"===i?r="0%":"bottom"===i?r="100%":"center"===i?0===n?o="50%":r="50%":0===n?o=i:r=i;return{x:o,y:r}}function n(e,i){var n=function(){i(this.src)};t('<img src="'+e+'.gif">').on("load",n),t('<img src="'+e+'.jpg">').on("load",n),t('<img src="'+e+'.jpeg">').on("load",n),t('<img src="'+e+'.png">').on("load",n)}function s(i,n,s){if(this.$element=t(i),"string"==typeof n&&(n=e(n)),s?"string"==typeof s&&(s=e(s)):s={},"string"==typeof n)n=n.replace(/\.\w*$/,"");else if("object"==typeof n)for(var a in n)n.hasOwnProperty(a)&&(n[a]=n[a].replace(/\.\w*$/,""));this.settings=t.extend({},o,s),this.path=n;try{this.init()}catch(t){if(t.message!==r)throw t}}var o={volume:1,playbackRate:1,muted:!0,loop:!0,playsinline:"",autoplay:!0,position:"50% 50%",posterType:"detect",resizing:!0,bgColor:"transparent",className:""},r="Not implemented";s.prototype.init=function(){var e,s,o=this,a=o.path,l=a,c="",h=o.$element,u=o.settings,d=i(u.position),p=u.posterType;s=o.$wrapper=t("<div>").addClass(u.className).css({position:"absolute","z-index":0,top:0,left:0,bottom:0,right:0,overflow:"hidden","-webkit-background-size":"cover","-moz-background-size":"cover","-o-background-size":"cover","background-size":"cover","background-color":u.bgColor,"background-repeat":"no-repeat","background-position":d.x+" "+d.y}),"object"==typeof a&&(a.poster?l=a.poster:a.mp4?l=a.mp4:a.webm?l=a.webm:a.ogv&&(l=a.ogv)),"detect"===p?n(l,function(t){s.css("background-image","url("+t+")")}):"none"!==p&&s.css("background-image","url("+l+"."+p+")"),"static"===h.css("position")&&h.css("position","relative"),h.prepend(s),"object"==typeof a?(a.mp4&&(c+='<source src="'+a.mp4+'.mp4" type="video/mp4">'),a.webm&&(c+='<source src="'+a.webm+'.webm" type="video/webm">'),a.ogv&&(c+='<source src="'+a.ogv+'.ogv" type="video/ogg">'),e=o.$video=t("<video>"+c+"</video>")):e=o.$video=t('<video><source src="'+a+'.mp4" type="video/mp4"><source src="'+a+'.webm" type="video/webm"><source src="'+a+'.ogv" type="video/ogg"></video>');try{e.prop({autoplay:u.autoplay,loop:u.loop,volume:u.volume,muted:u.muted,defaultMuted:u.muted,playbackRate:u.playbackRate,defaultPlaybackRate:u.playbackRate})}catch(t){throw new Error(r)}e.attr("playsinline",u.playsinline),e.css({margin:"auto",position:"absolute","z-index":0,top:d.y,left:d.x,"-webkit-transform":"translate(-"+d.x+", -"+d.y+")","-ms-transform":"translate(-"+d.x+", -"+d.y+")","-moz-transform":"translate(-"+d.x+", -"+d.y+")",transform:"translate(-"+d.x+", -"+d.y+")",visibility:"hidden",opacity:0}).one("canplaythrough.vide",function(){o.resize()}).one("canplay playing.vide",function(){e.css({visibility:"visible"}).animate({opacity:1}),s.css("background-image","none")}),h.on("resize.vide",function(){u.resizing&&o.resize()}),s.append(e)},s.prototype.getVideoObject=function(){return this.$video[0]},s.prototype.resize=function(){if(this.$video){var t=this.$wrapper,e=this.$video,i=e[0],n=i.videoHeight,s=i.videoWidth,o=t.height(),r=t.width();r/s>o/n?e.css({width:r+2,height:"auto"}):e.css({width:"auto",height:o+2})}},s.prototype.destroy=function(){delete t.vide.lookup[this.index],this.$video&&this.$video.off("vide"),this.$element.off("vide").removeData("vide"),this.$wrapper.remove()},t.vide={lookup:[]},t.fn.vide=function(e,i){var n;return this.each(function(){(n=t.data(this,"vide"))&&n.destroy(),(n=new s(this,e,i)).index=t.vide.lookup.push(n)-1,t.data(this,"vide",n)}),this},t(document).ready(function(){var e=t(window);e.on("resize.vide",function(){for(var e,i=t.vide.lookup.length,n=0;n<i;n++)(e=t.vide.lookup[n])&&e.settings.resizing&&e.resize()}),e.on("unload.vide",function(){return!1}
vendor: 14,059 bytes, line 1
1),t(document).find("[data-vide-bg]").each(function(e,i){var n=t(i),s=n.data("vide-options"),o=n.data("vide-bg");n.vide(o,s)})})}),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(t){var e=0,i=Array.prototype.slice;t.cleanData=function(e){return function(i){var n,s,o;for(o=0;null!=(s=i[o]);o++)try{(n=t._data(s,"events"))&&n.remove&&t(s).triggerHandler("remove")}catch(t){}e(i)}}(t.cleanData),t.widget=function(e,i,n){var s,o,r,a,l={},c=e.split(".")[0];return e=e.split(".")[1],s=c+"-"+e,n||(n=i,i=t.Widget),t.expr[":"][s.toLowerCase()]=function(e){return!!t.data(e,s)},t[c]=t[c]||{},o=t[c][e],r=t[c][e]=function(t,e){return this._createWidget?void(arguments.length&&this._createWidget(t,e)):new r(t,e)},t.extend(r,o,{version:n.version,_proto:t.extend({},n),_childConstructors:[]}),a=new i,a.options=t.widget.extend({},a.options),t.each(n,function(e,n){return t.isFunction(n)?void(l[e]=function(){var t=function(){return i.prototype[e].apply(this,arguments)},s=function(t){return i.prototype[e].apply(this,t)};return function(){var e,i=this._super,o=this._superApply;return this._super=t,this._superApply=s,e=n.apply(this,arguments),this._super=i,this._superApply=o,e}}()):void(l[e]=n)}),r.prototype=t.widget.extend(a,{widgetEventPrefix:o?a.widgetEventPrefix||e:e},l,{constructor:r,namespace:c,widgetName:e,widgetFullName:s}),o?(t.each(o._childConstructors,function(e,i){var n=i.prototype;t.widget(n.namespace+"."+n.widgetName,r,i._proto)}),delete o._childConstructors):i._childConstructors.push(r),t.widget.bridge(e,r),r},t.widget.extend=function(e){for(var n,s,o=i.call(arguments,1),r=0,a=o.length;a>r;r++)for(n in o[r])s=o[r][n],o[r].hasOwnProperty(n)&&void 0!==s&&(e[n]=t.isPlainObject(s)?t.isPlainObject(e[n])?t.widget.extend({},e[n],s):t.widget.extend({},s):s);return e},t.widget.bridge=function(e,n){var s=n.prototype.widgetFullName||e;t.fn[e]=function(o){var r="string"==typeof o,a=i.call(arguments,1),l=this;return o=!r&&a.length?t.widget.extend.apply(null,[o].concat(a)):o,r?this.each(function(){var i,n=t.data(this,s);return"instance"===o?(l=n,!1):n?t.isFunction(n[o])&&"_"!==o.charAt(0)?(i=n[o].apply(n,a),i!==n&&void 0!==i?(l=i&&i.jquery?l.pushStack(i.get()):i,!1):void 0):t.error("no such method '"+o+"' for "+e+" widget instance"):t.error("cannot call methods on "+e+" prior to initialization; attempted to call method '"+o+"'")}):this.each(function(){var e=t.data(this,s);e?(e.option(o||{}),e._init&&e._init()):t.data(this,s,new n(o,this))}),l}},t.Widget=function(){},t.Widget._childConstructors=[],t.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{disabled:!1,create:null},_createWidget:function(i,n){n=t(n||this.defaultElement||this)[0],this.element=t(n),this.uuid=e++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=t(),this.hoverable=t(),this.focusable=t(),n!==this&&(t.data(n,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===n&&this.destroy()}}),this.document=t(n.style?n.ownerDocument:n.document||n),this.window=t(this.document[0].defaultView||this.document[0].parentWindow)),this.options=t.widget.extend({},this.options,this._getCreateOptions(),i),this._create(),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:t.noop,_getCreateEventData:t.noop,_create:t.noop,_init:t.noop,destroy:function(){this._destroy(),this.element.unbind(this.eventNamespace).removeData(this.widgetFullName).removeData(t.camelCase(this.widgetFullName)),this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled"),this.bindings.unbind(this.eventNamespace),this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus")},_destroy:t.noop,widget:function(){return this.element},option:function(e,i){var n,s,o,r=e;if(0===arguments.length)return t.widget.extend({},this.options);if("string"==typeof e)if(r={},n=e.split("."),e=n.shift(),n.length){for(s=r[e]=t.widget.extend({},this.options[e]),o=0;n.length-1>o;o++)s[n[o]]=s[n[o]]||{},s=s[n[o]];if(e=n.pop(),1===arguments.length)return void 0===s[e]?null:s[e];s[e]=i}else{if(1===arguments.length)return void 0===this.options[e]?null:this.options[e];r[e]=i}return this._setOptions(r),this},_setOptions:function(t){var e;for(e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return this.options[t]=e,"disabled"===t&&(this.widget().toggleClass(this.widgetFullName+"-disabled",!!e),e&&(this.hoverable.removeClass("ui-state-hover"),this.focusable.removeClass("ui-state-focus"))),this},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_on:function(e,i,n){var s,o=this;"boolean"!=typeof e&&(n=i,i=e,e=!1),n?(i=s=t(i),this.bindings=this.bindings.add(i)):(n=i,i=this.element,s=this.widget()),t.each(n,function(n,r){function a(){return e||!0!==o.options.disabled&&!t(this).hasClass("ui-state-disabled")?("string"==typeof r?o[r]:r).apply(o,arguments):void 0}"string"!=typeof r&&(a.guid=r.guid=r.guid||a.guid||t.guid++);var l=n.match(/^([\w:-]*)\s*(.*)$/),c=l[1]+o.eventNamespace,h=l[2];h?s.delegate(h,c,a):i.bind(c,a)})},_off:function(e,i){i=(i||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,e.unbind(i).undelegate(i),this.bindings=t(this.bindings.not(e).get()),this.focusable=t(this.focusable.not(e).get()),this.hoverable=t(this.hoverable.not(e).get())},_delay:function(t,e){function i(){return("string"==typeof t?n[t]:t).apply(n,arguments)}var n=this;return setTimeout(i,e||0)},_hoverable:function(e){this.hoverable=this.hoverable.add(e),this._on(e,{mouseenter:function(e){t(e.currentTarget).addClass("ui-state-hover")},mouseleave:function(e){t(e.currentTarget).removeClass("ui-state-hover")}})},_focusable:function(e){this.focusable=this.focusable.add(e),this._on(e,{focusin:function(e){t(e.currentTarget).addClass("ui-state-focus")},focusout:function(e){t(e.currentTarget).removeClass("ui-state-focus")}})},_trigger:function(e,i,n){var s,o,r=this.options[e];if(n=n||{},i=t.Event(i),i.type=(e===this.widgetEventPrefix?e:this.widgetEventPrefix+e).toLowerCase(),i.target=this.element[0],o=i.originalEvent)for(s in o)s in i||(i[s]=o[s]);return this.element.trigger(i,n),!(t.isFunction(r)&&!1===r.apply(this.element[0],[i].concat(n))||i.isDefaultPrevented())}},t.each({show:"fadeIn",hide:"fadeOut"},function(e,i){t.Widget.prototype["_"+e]=function(n,s,o){"string"==typeof s&&(s={effect:s});var r,a=s?!0===s||"number"==typeof s?i:s.effect||i:e;"number"==typeof(s=s||{})&&(s={duration:s}),r=!t.isEmptyObject(s),s.complete=o,s.delay&&n.delay(s.delay),r&&t.effects&&t.effects.effect[a]?n[e](s):a!==e&&n[a]?n[a](s.duration,s.easing,o):n.queue(function(i){t(this)[e](),o&&o.call(n[0]),i()})}}),t.widget}),function(t){t.widget("aerolab.midnight",{options:{headerClass:"midnightHeader",innerClass:"midnightInner",defaultClass:"default",classPrefix:"",sectionSelector:"midnight"},_headers:{},_headerInfo:{top:0,height:0},_$sections:[],_sections:[],_scrollTop:0,_documentHeight:0,_transformMode:!1,refresh:function(){this._headerInfo={top:this.element.position().top,height:this.element.outerHeight()},this._$sections=t("[data-"+this.options.sectionSelector+"]:not(:hidden)"),this._sections=[],this._setupHeaders(),this.recalculate()},_create:function(){var e=this;this._scrollTop=window.pageYOffset||document.documentElement.scrollTop,this._documentHeight=t(document).height(),this._headers={},this._transformMode=this._getSupportedTransform(),this.refresh(),setInterval(function(){e._recalculateSections()},1e3),e.recalculate(),t(window).resize(function(){e.recalculate()}),this._updateHeadersLoop()},recalculate:function(){this._recalculateSections(),this._updateHeaderHeight(),this._recalculateHeaders(),this._updateHeaders()},_getSupportedTransform:function(){for(var t=["transform","WebkitTransform","MozTransform","OTransform","msTransform"],e=0;e<t.length;e++)if(void 0!==document.createElement("div").style[t[e]])return t[e];return!1},_getContainerHeight:function(){var e=this.element.find("> ."+this.options.headerClass),i=0,n=0,s=this;return e.length?e.each(function(){var e=t(this),o=e.find("> ."+s.options.innerClass);o.length?(o.css("bottom","auto").css("overflow","auto"),n=o.outerHeight(),o.css("bottom","0"),o.css("bottom","auto").css("overflow","hidden")):(e.css("bottom","auto"),n=e.outerHeight(),e.css("bottom","0")),i=n>i?n:i}):i=n=this.element.outerHeight(),i},_setupHeaders:function(){var e=this;this._headers[this.options.defaultClass]={};for(var i=0;i<this._$sections.length;i++)"string"==typeof(o=t(this._$sections[i]).data(this.options.sectionSelector))&&""!==(o=o.trim())&&(e._headers[o]={});this.element.css("padding-top"),this.element.css("padding-right"),this.element.css("padding-bottom"),this.element.css("padding-left");this.element.css({position:"fixed",top:this._headerInfo.top,left:0,right:0}),this._updateHeaderHeight();var n=this.element.find("> ."+this.options.headerClass);n.length?n.filter("."+this.options.defaultClass).length||n.filter("."+this.options.headerClass+":first").clone(!0,!0).attr("class",this.options.headerClass+" "+this.options.defaultClass):this.element.wrapInner('<div class="'+this.options.headerClass+" "+this.options.defaultClass+'"></div>');var s=(n=this.element.find("> ."+this.options.headerClass)).filter("."+this.options.defaultClass).clone(!0,!0);for(var o in this._headers)if(this._headers.hasOwnProperty(o)&&void 0===this._headers[o].element){var r=n.filter("."+o);r.length?this._headers[o].element=r:this._headers[o].element=s.clone(!0,!0).removeClass(this.options.defaultClass).addClass(o).appendTo(this.element);var a={position:"absolute",overflow:"hidden",top:0,left:0,right:0,bottom:0};this._headers[o].element.css(a),!1!==this._transformMode&&this._headers[o].element.css(this._transformMode,"translateZ(0)"),this._headers[o].element.find("> ."+this.options.innerClass).length||this._headers[o].element.wrapInner('<div class="'+this.options.innerClass+'"></div>'),this._headers[o].inner=this._headers[o].element.find("> ."+this.options.innerClass),this._headers[o].inner.css(a),!1!==this._transformMode&&this._headers[o].inner.css(this._transformMode,"translateZ(0)"),this._headers[o].from="",this._headers[o].progress=0}if(t(".menu-item-has-children",this.element).length){var l=_.pluck(this._headers,"element");t.each(l,function(){var e=t(this);e.hover(function(){e.addClass("overflow-enabled")},function(){e.removeClass("overflow-enabled")})})}n.each(function(){var i=t(this),n=!1;for(var s in e._headers)e._headers.hasOwnProperty(s)&&i.hasClass(s)&&(n=!0);i.find("> ."+e.options.innerClass).length||i.wrapInner('<div class="'+e.options.innerClass+'"></div>'),n?i.show():i.hide()})},_recalculateHeaders:function(){this._scrollTop=window.pageYOffset||document.body.scrollTop||document.documentElement.scrollTop,this._scrollTop=Math.max(this._scrollTop,0),this._scrollTop=Math.min(this._scrollTop,this._documentHeight);var t=this._headerInfo.height,e=this._scrollTop+0,i=e+t;if("function"==typeof window.getComputedStyle){var n=window.getComputedStyle(this.element[0],null),s=0,o=0;if(!1!==this._transformMode&&"string"==typeof n.transform){var r=n.transform.match(/(-?[0-9\.]+)/g);null!==r&&r.length>=6&&!isNaN(parseFloat(r[5]))&&(o=parseFloat(r[5]))}n.top.indexOf("px")>=0&&!isNaN(parseFloat(n.top))&&(s=parseFloat(n.top)),e+=s+o,i+=s+o}for(var a in this._headers)this._headers.hasOwnProperty(a)&&(this._headers[a].from="",this._headers[a].progress=0);for(var l=0;l<this._sections.length;l++)i>=this._sections[l].start&&e<=this._sections[l].end&&(this._headers[this._sections[l].className].visible=!0,e>=this._sections[l].start&&i<=this._sections[l].end?(this._headers[this._sections[l].className].from="top",this._headers[this._sections[l].className].progress+=1):i>this._sections[l].end&&e<this._sections[l].end?(this._headers[this._sections[l].className].from="top",this._headers[this._sections[l].className].progress=1-(i-this._sections[l].end)/t):i>this._sections[l].start&&e<this._sections[l].start&&("top"===this._headers[this._sections[l].className].from?this._headers[this._sections[l].className].progress+=(i-this._sections[l].start)/t:(this._headers[this._sections[l].className].from="bottom",this._headers[this._sections[l].className].progress=(i-this._sections[l].start)/t)))},_updateHeaders:function(){if(void 0!==this._headers[this.options.defaultClass]){var t=0,e="";for(var i in this._headers)this._headers.hasOwnProperty(i)&&""!==!this._headers[i].from&&(t+=this._headers[i].progress,e=i);t<1&&(""===this._headers[this.options.defaultClass].from?(this._headers[this.options.defaultClass].from="top"===this._headers[e].from?"bottom":"top",this._headers[this.options.defaultClass].progress=1-t):this._headers[this.options.defaultClass].progress+=1-t);for(var n in this._headers)if(this._headers.hasOwnProperty(n)&&""!==!this._headers[n].from){var s=100*(1-this._headers[n].progress);s>=100&&(s=110),s<=-100&&(s=-110),this._headers[n].element.hasClass("active")&&this._headers[n].element.removeClass("disable-pointers"),"top"===this._headers[n].from?!1!==this._transformMode?(this._headers[n].element.addClass("active"),this._headers[n].element[0].style[this._transformMode]="translateY(-"+s+"%) translateZ(0)",this._headers[n].inner[0].style[this._transformMode]="translateY(+"+s+"%) translateZ(0)"):(this._headers[n].element[0].style.top="-"+s+"%",this._headers[n].inner[0].style.top="+"+s+"%"):!1!==this._transformMode?(this._headers[n].element.removeClass("active"),this._headers[n].element.addClass("disable-pointers"),this._headers[n].element[0].style[this._transformMode]="translateY(+"+s+"%) translateZ(0)",this._headers[n].inner[0].style[this._transformMode]="translateY(-"+s+"%) translateZ(0)"):(this._headers[n].element[0].style.top="+"+s+"%",this._headers[n].inner[0].style.top="-"+s+"%")}}},_recalculateSections:function(){this._documentHeight=t(document).height(),this._sections=[];for(var e=0;e<this._$sections.length;e++){var i=t(this._$sections[e]);
1this._sections.push({element:i,className:i.data(this.options.sectionSelector),start:i.offset().top,end:i.offset().top+i.outerHeight()})}},_updateHeaderHeight:function(){this._headerInfo.height=this._getContainerHeight(),this.element.css("height",this._headerInfo.height+"px")},_updateHeadersLoop:function(){var t=this;this._requestAnimationFrame(function(){t._updateHeadersLoop()}),this._recalculateHeaders(),this._updateHeaders()},_requestAnimationFrame:function(t){var e=e||function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(t){window.setTimeout(t,1e3/60)}}();e(t)}})}(jQuery),function(t,e){t(function(){function t(t,e){return null!=t&&null!=e&&t.toLowerCase()===e.toLowerCase()}function i(t,e){var i,n,s=t.length;if(!s||!e)return!1;for(i=e.toLowerCase(),n=0;n<s;++n)if(i===t[n].toLowerCase())return!0;return!1}function n(t){for(var e in t)a.call(t,e)&&(t[e]=new RegExp(t[e],"i"))}function s(t,e){this.ua=t||"",this._cache={},this.maxPhoneWidth=e||600}var o={};o.mobileDetectRules={phones:{iPhone:"\\biPhone\\b|\\biPod\\b",BlackBerry:"BlackBerry|\\bBB10\\b|rim[0-9]+",HTC:"HTC|HTC.*(Sensation|Evo|Vision|Explorer|6800|8100|8900|A7272|S510e|C110e|Legend|Desire|T8282)|APX515CKT|Qtek9090|APA9292KT|HD_mini|Sensation.*Z710e|PG86100|Z715e|Desire.*(A8181|HD)|ADR6200|ADR6400L|ADR6425|001HT|Inspire 4G|Android.*\\bEVO\\b|T-Mobile G1|Z520m",Nexus:"Nexus One|Nexus S|Galaxy.*Nexus|Android.*Nexus.*Mobile|Nexus 4|Nexus 5|Nexus 6",Dell:"Dell.*Streak|Dell.*Aero|Dell.*Venue|DELL.*Venue Pro|Dell Flash|Dell Smoke|Dell Mini 3iX|XCD28|XCD35|\\b001DL\\b|\\b101DL\\b|\\bGS01\\b",Motorola:"Motorola|DROIDX|DROID BIONIC|\\bDroid\\b.*Build|Android.*Xoom|HRI39|MOT-|A1260|A1680|A555|A853|A855|A953|A955|A956|Motorola.*ELECTRIFY|Motorola.*i1|i867|i940|MB200|MB300|MB501|MB502|MB508|MB511|MB520|MB525|MB526|MB611|MB612|MB632|MB810|MB855|MB860|MB861|MB865|MB870|ME501|ME502|ME511|ME525|ME600|ME632|ME722|ME811|ME860|ME863|ME865|MT620|MT710|MT716|MT720|MT810|MT870|MT917|Motorola.*TITANIUM|WX435|WX445|XT300|XT301|XT311|XT316|XT317|XT319|XT320|XT390|XT502|XT530|XT531|XT532|XT535|XT603|XT610|XT611|XT615|XT681|XT701|XT702|XT711|XT720|XT800|XT806|XT860|XT862|XT875|XT882|XT883|XT894|XT901|XT907|XT909|XT910|XT912|XT928|XT926|XT915|XT919|XT925|XT1021|\\bMoto E\\b",Samsung:"\\bSamsung\\b
vendor: 5,343 bytes, line 1
1|SM-G9250|GT-19300|SGH-I337|BGT-S5230|GT-B2100|GT-B2700|GT-B2710|GT-B3210|GT-B3310|GT-B3410|GT-B3730|GT-B3740|GT-B5510|GT-B5512|GT-B5722|GT-B6520|GT-B7300|GT-B7320|GT-B7330|GT-B7350|GT-B7510|GT-B7722|GT-B7800|GT-C3010|GT-C3011|GT-C3060|GT-C3200|GT-C3212|GT-C3212I|GT-C3262|GT-C3222|GT-C3300|GT-C3300K|GT-C3303|GT-C3303K|GT-C3310|GT-C3322|GT-C3330|GT-C3350|GT-C3500|GT-C3510|GT-C3530|GT-C3630|GT-C3780|GT-C5010|GT-C5212|GT-C6620|GT-C6625|GT-C6712|GT-E1050|GT-E1070|GT-E1075|GT-E1080|GT-E1081|GT-E1085|GT-E1087|GT-E1100|GT-E1107|GT-E1110|GT-E1120|GT-E1125|GT-E1130|GT-E1160|GT-E1170|GT-E1175|GT-E1180|GT-E1182|GT-E1200|GT-E1210|GT-E1225|GT-E1230|GT-E1390|GT-E2100|GT-E2120|GT-E2121|GT-E2152|GT-E2220|GT-E2222|GT-E2230|GT-E2232|GT-E2250|GT-E2370|GT-E2550|GT-E2652|GT-E3210|GT-E3213|GT-I5500|GT-I5503|GT-I5700|GT-I5800|GT-I5801|GT-I6410|GT-I6420|GT-I7110|GT-I7410|GT-I7500|GT-I8000|GT-I8150|GT-I8160|GT-I8190|GT-I8320|GT-I8330|GT-I8350|GT-I8530|GT-I8700|GT-I8703|GT-I8910|GT-I9000|GT-I9001|GT-I9003|GT-I9010|GT-I9020|GT-I9023|GT-I9070|GT-I9082|GT-I9100|GT-I9103|GT-I9220|GT-I9250|GT-I9300|GT-I9305|GT-I9500|GT-I9505|GT-M3510|GT-M5650|GT-M7500|GT-M7600|GT-M7603|GT-M8800|GT-M8910|GT-N7000|GT-S3110|GT-S3310|GT-S3350|GT-S3353|GT-S3370|GT-S3650|GT-S3653|GT-S3770|GT-S3850|GT-S5210|GT-S5220|GT-S5229|GT-S5230|GT-S5233|GT-S5250|GT-S5253|GT-S5260|GT-S5263|GT-S5270|GT-S5300|GT-S5330|GT-S5350|GT-S5360|GT-S5363|GT-S5369|GT-S5380|GT-S5380D|GT-S5560|GT-S5570|GT-S5600|GT-S5603|GT-S5610|GT-S5620|GT-S5660|GT-S5670|GT-S5690|GT-S5750|GT-S5780|GT-S5830|GT-S5839|GT-S6102|GT-S6500|GT-S7070|GT-S7200|GT-S7220|GT-S7230|GT-S7233|GT-S7250|GT-S7500|GT-S7530|GT-S7550|GT-S7562|GT-S7710|GT-S8000|GT-S8003|GT-S8500|GT-S8530|GT-S8600|SCH-A310|SCH-A530|SCH-A570|SCH-A610|SCH-A630|SCH-A650|SCH-A790|SCH-A795|SCH-A850|SCH-A870|SCH-A890|SCH-A930|SCH-A950|SCH-A970|SCH-A990|SCH-I100|SCH-I110|SCH-I400|SCH-I405|SCH-I500|SCH-I510|SCH-I515|SCH-I600|SCH-I730|SCH-I760|SCH-I770|SCH-I830|SCH-I910|SCH-I920|SCH-I959|SCH-LC11|SCH-N150|SCH-N300|SCH-R100|SCH-R300|SCH-R351|SCH-R400|SCH-R410|SCH-T300|SCH-U310|SCH-U320|SCH-U350|SCH-U360|SCH-U365|SCH-U370|SCH-U380|SCH-U410|SCH-U430|SCH-U450|SCH-U460|SCH-U470|SCH-U490|SCH-U540|SCH-U550|SCH-U620|SCH-U640|SCH-U650|SCH-U660|SCH-U700|SCH-U740|SCH-U750|SCH-U810|SCH-U820|SCH-U900|SCH-U940|SCH-U960|SCS-26UC|SGH-A107|SGH-A117|SGH-A127|SGH-A137|SGH-A157|SGH-A167|SGH-A177|SGH-A187|SGH-A197|SGH-A227|SGH-A237|SGH-A257|SGH-A437|SGH-A517|SGH-A597|SGH-A637|SGH-A657|SGH-A667|SGH-A687|SGH-A697|SGH-A707|SGH-A717|SGH-A727|SGH-A737|SGH-A747|SGH-A767|SGH-A777|SGH-A797|SGH-A817|SGH-A827|SGH-A837|SGH-A847|SGH-A867|SGH-A877|SGH-A887|SGH-A897|SGH-A927|SGH-B100|SGH-B130|SGH-B200|SGH-B220|SGH-C100|SGH-C110|SGH-C120|SGH-C130|SGH-C140|SGH-C160|SGH-C170|SGH-C180|SGH-C200|SGH-C207|SGH-C210|SGH-C225|SGH-C230|SGH-C417|SGH-C450|SGH-D307|SGH-D347|SGH-D357|SGH-D407|SGH-D415|SGH-D780|SGH-D807|SGH-D980|SGH-E105|SGH-E200|SGH-E315|SGH-E316|SGH-E317|SGH-E335|SGH-E590|SGH-E635|SGH-E715|SGH-E890|SGH-F300|SGH-F480|SGH-I200|SGH-I300|SGH-I320|SGH-I550|SGH-I577|SGH-I600|SGH-I607|SGH-I617|SGH-I627|SGH-I637|SGH-I677|SGH-I700|SGH-I717|SGH-I727|SGH-i747M|SGH-I777|SGH-I780|SGH-I827|SGH-I847|SGH-I857|SGH-I896|SGH-I897|SGH-I900|SGH-I907|SGH-I917|SGH-I927|SGH-I937|SGH-I997|SGH-J150|SGH-J200|SGH-L170|SGH-L700|SGH-M110|SGH-M150|SGH-M200|SGH-N105|SGH-N500|SGH-N600|SGH-N620|SGH-N625|SGH-N700|SGH-N710|SGH-P107|SGH-P207|SGH-P300|SGH-P310|SGH-P520|SGH-P735|SGH-P777|SGH-Q105|SGH-R210|SGH-R220|SGH-R225|SGH-S105|SGH-S307|SGH-T109|SGH-T119|SGH-T139|SGH-T209|SGH-T219|SGH-T229|SGH-T239|SGH-T249|SGH-T259|SGH-T309|SGH-T319|SGH-T329|SGH-T339|SGH-T349|SGH-T359|SGH-T369|SGH-T379|SGH-T409|SGH-T429|SGH-T439|SGH-T459|SGH-T469|SGH-T479|SGH-T499|SGH-T509|SGH-T519|SGH-T539|SGH-T559|SGH-T589|SGH-T609|SGH-T619|SGH-T629|SGH-T639|SGH-T659|SGH-T669|SGH-T679|SGH-T709|SGH-T719|SGH-T729|SGH-T739|SGH-T746|SGH-T749|SGH-T759|SGH-T769|SGH-T809|SGH-T819|SGH-T839|SGH-T919|SGH-T929|SGH-T939|SGH-T959|SGH-T989|SGH-U100|SGH-U200|SGH-U800|SGH-V205|SGH-V206|SGH-X100|SGH-X105|SGH-X120|SGH-X140|SGH-X426|SGH-X427|SGH-X475|SGH-X495|SGH-X497|SGH-X507|SGH-X600|SGH-X610|SGH-X620|SGH-X630|SGH-X700|SGH-X820|SGH-X890|SGH-Z130|SGH-Z150|SGH-Z170|SGH-ZX10|SGH-ZX20|SHW-M110|SPH-A120|SPH-A400|SPH-A420|SPH-A460|SPH-A500|SPH-A560|SPH-A600|SPH-A620|SPH-A660|SPH-A700|SPH-A740|SPH-A760|SPH-A790|SPH-A800|SPH-A820|SPH-A840|SPH-A880|SPH-A900|SPH-A940|SPH-A960|SPH-D600|SPH-D700|SPH-D710|SPH-D720|SPH-I300|SPH-I325|SPH-I330|SPH-I350|SPH-I500|SPH-I600|SPH-I700|SPH-L700|SPH-M100|SPH-M220|SPH-M240|SPH-M300|SPH-M305|SPH-M320|SPH-M330|SPH-M350|SPH-M360|SPH-M370|SPH-M380|SPH-M510|SPH-M540|SPH-M550|SPH-M560|SPH-M570|SPH-M580|SPH-M610|SPH-M620|SPH-M630|SPH-M800|SPH-M810|SPH-M850|SPH-M900|SPH-M910|SPH-M920|SPH-M930|SPH-N100|SPH-N200|SPH-N240|SPH-N300|SPH-N400|SPH-Z400|SWC-E100|SCH-i909|GT-N7100|GT-N7105|SCH-I535|SM-N900A|SGH-I317|SGH-T999L|GT-S5360B|GT-I8262|GT-S6802|GT-S6312|GT-S6310|GT-S5312|GT-S5310|GT-I9105|GT-I8510|GT-S6790N|SM-G7105|SM-N9005|GT-S5301|GT-I9295|GT-I9195|SM-C101|GT-S7392|GT-S7560|GT-B7610|GT-I5510|GT-S7582|GT-S7530E|GT-I8750|SM-G9006V|SM-G9008V|SM-G9009D|SM-G900A|SM-G900D|SM-G900F|SM-G900H|SM-G900I|SM-G900J|SM-G900K|SM-G900L|SM-G900M|SM-G900P|SM-G900R4|SM-G900S|SM-G900T|SM-G900V|SM-G900W8|SHV-E160K|SCH-P709|SCH-P729|SM-T2558|GT-I9205|SM-G9350|SM-J120F|SM-G920F|SM-G920V|SM-G930F|SM-N910C
1",LG:"\\bLG\\b;|LG[- ]?(C800|C900|E400|E610|E900|E-900|F160|F180K|F180L|F180S|730|855|L160|LS740|LS840|LS970|LU6200|MS690|MS695|MS770|MS840|MS870|MS910|P500|P700|P705|VM696|AS680|AS695|AX840|C729|E970|GS505|272|C395|E739BK|E960|L55C|L75C|LS696|LS860|P769BK|P350|P500|P509|P870|UN272|US730|VS840|VS950|LN272|LN510|LS670|LS855|LW690|MN270|MN510|P509|P769|P930|UN200|UN270|UN510|UN610|US670|US740|US760|UX265|UX840|VN271|VN530|VS660|VS700|VS740|VS750|VS910|VS920|VS930|VX9200|VX11000|AX840A|LW770|P506|P925|P999|E612|D955|D802|MS323)",Sony:"SonyST|SonyLT|SonyEricsson|SonyEricssonLT15iv|LT18i|E10i|LT28h|LT26w|SonyEricssonMT27i|C5303|C6902|C6903|C6906|C6943|D2533",Asus:"Asus.*Galaxy|PadFone.*Mobile",NokiaLumia:"Lumia [0-9]{3,4}",Micromax:"Micromax.*\\b(A210|A92|A88|A72|A111|A110Q|A115|A116|A110|A90S|A26|A51|A35|A54|A25|A27|A89|A68|A65|A57|A90)\\b",Palm:"PalmSource|Palm",Vertu:"Vertu|Vertu.*Ltd|Vertu.*Ascent|Vertu.*Ayxta|Vertu.*Constellation(F|Quest)?|Vertu.*Monika|Vertu.*Signature",Pantech:"PANTECH|IM-A850S|IM-A840S|IM-A830L|IM-A830K|IM-A830S|IM-A820L|IM-A810K|IM-A810S|IM-A800S|IM-T100K|IM-A725L|IM-A780L|IM-A775C|IM-A770K|IM-A760S|IM-A750K|IM-A740S|IM-A730S|IM-A720L|IM-A710K|IM-A690L|IM-A690S|IM-A650S|IM-A630K|IM-A600S|VEGA PTL21|PT003|P8010|ADR910L|P6030|P6020|P9070|P4100|P9060|P5000|CDM8992|TXT8045|ADR8995|IS11PT|P2030|P6010|P8000|PT002|IS06|CDM8999|P9050|PT001|TXT8040|P2020|P9020|P2000|P7040|P7000|C790",Fly:"IQ230|IQ444|IQ450|IQ440|IQ442|IQ441|IQ245|IQ256|IQ236|IQ255|IQ235|IQ245|IQ275|IQ240|IQ285|IQ280|IQ270|IQ260|IQ250",Wiko:"KITE 4G|HIGHWAY|GETAWAY|STAIRWAY|DARKSIDE|DARKFULL|DARKNIGHT|DARKMOON|SLIDE|WAX 4G|RAINBOW|BLOOM|SUNSET|GOA(?!nna)|LENNY|BARRY|IGGY|OZZY|CINK FIVE|CINK PEAX|CINK PEAX 2|CINK SLI
1M|CINK SLIM 2|CINK +|CINK KING|CINK PEAX|CINK SLIM|SUBLIM",iMobile:"i-mobile (IQ|i-STYLE|idea|ZAA|Hitz)",SimValley:"\\b(SP-80|XT-930|SX-340|XT-930|SX-310|SP-360|SP60|SPT-800|SP-120|SPT-800|SP-140|SPX-5|SPX-8|SP-100|SPX-8|SPX-12)\\b",Wolfgang:"AT-B24D|AT-AS50HD|AT-AS40W|AT-AS55HD|AT-AS45q2|AT-B26D|AT-AS50Q",Alcatel:"Alcatel",Nintendo:"Nintendo 3DS",Amoi:"Amoi",INQ:"INQ",GenericPhone:"Tapatalk|PDA;|SAGEM|\\bmmp\\b|pocket|\\bpsp\\b|symbian|Smartphone|smartfon|treo|up.browser|up.link|vodafone|\\bwap\\b|nokia|Series40|Series60|S60|SonyEricsson|N900|MAUI.*WAP.*Browser"},tablets:{iPad:"iPad|iPad.*Mobile",NexusTablet:"Android.*Nexus[\\s]+(7|9|10)",SamsungTablet:"SAMSUNG.*Tablet|Galaxy.*Tab|SC-01C|GT-P1000|GT-P1003|GT-P1010|GT-P3105|GT-P6210|GT-P6800|GT-P6810|GT-P7100|GT-P7300|GT-P7310|GT-P7500|GT-P7510|SCH-I800|SCH-I815|SCH-I905|SGH-I957|SGH-I987|SGH-T849|SGH-T859|SGH-T869|SPH-P100|GT-P3100|GT-P3108|GT-P3110|GT-P5100|GT-P5110|GT-P6200|GT-P7320|GT-P7511|GT-N8000|GT-P8510|SGH-I497|SPH-P500|SGH-T779|SCH-I705|SCH-I915|GT-N8013|GT-P3113|GT-P5113|GT-P8110|GT-N8010|GT-N8005|GT-N8020|GT-P1013|GT-P6201|GT-P7501|GT-N5100|GT-N5105|GT-N5110|SHV-E140K|SHV-E140L|SHV-E140S|SHV-E150S|SHV-E230K|SHV-E230L|SHV-E230S|SHW-M180K|SHW-M180L|SHW-M180S|SHW-M180W|SHW-M300W|SHW-M305W|SHW-M380K|SHW-M380S|SHW-M380W|SHW-M430W|SHW-M480K|SHW-M480S|SHW-M480W|SHW-M485W|SHW-M486W|SHW-M500W|GT-I9228|SCH-P739|SCH-I925|GT-I9200|GT-P5200|GT-P5210|GT-P5210X|SM-T311|SM-T310|SM-T310X|SM-T210|SM-T210R|SM-T211|SM-P600|SM-P601|SM-P605|SM-P900|SM-P901|SM-T217|SM-T217A|SM-T217S|SM-P6000|SM-T3100|SGH-I467|XE500|SM-T110|GT-P5220|GT-I9200X|GT-N5110X|GT-N5120|SM-P905|SM-T111|SM-T2105|SM-T315|SM-T320|SM-T320X|SM-T321|SM-T520|SM-T525|SM-T530NU|SM-T230NU|SM-T330NU|SM-T900|XE500T1C|SM-P605V|SM-P905V|SM-T337V|SM-T537V|SM-T707V|SM-T807V|SM-P600X|SM-P900X|SM-T210X|SM-T230|SM-T230X|SM-T325|GT-P7503|SM-T531|SM-T330|SM-T530|SM-T705|SM-T705C|SM-T535|SM-T331|SM-T800|SM-T700|SM-T537|SM-T807|SM-P907A|SM-T337A|SM-T537A|SM-T707A|SM-T807A|SM-T237|SM-T807P|SM-P607T|SM-T217T|SM-T337T|SM-T807T|SM-T116NQ|SM-P550|SM-T350|SM-T550|SM-T9000|SM-P9000|SM-T705Y|SM-T805|GT-P3113|SM-T710|SM-T810|SM-T815|SM-T360|SM-T533|SM-T113|SM-T335|SM-T715|SM-T560|SM-T670|SM-T677|SM-T377|SM-T567|SM-T357T|SM-T555|SM-T561|SM-T713|SM-T719|SM-T813|SM-T819|SM-T580|SM-T355Y|SM-T280|SM-T817A|SM-T820|SM-W700|SM-P580|SM-T587",Kindle:"Kindle|Silk.*Accelerated|Android.*\\b(KFOT|KFTT|KFJWI|KFJWA|KFOTE|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|WFJWAE|KFSAWA|KFSAWI|KFASWI|KFARWI|KFFOWI|KFGIWI|KFMEWI)\\b|Android.*Silk/[0-9.]+ like Chrome/[0-9.]+ (?!Mobile)",SurfaceTablet:"Windows NT [0-9.]+; ARM;.*(Tablet|ARMBJS)",HPTablet:"HP Slate (7|8|10)|HP ElitePad 900|hp-tablet|EliteBook.*Touch|HP 8|Slate 21|HP SlateBook 10",AsusTablet:"^.*PadFone((?!Mobile).)*$|Transformer|TF101|TF101G|TF300T|TF300TG|TF300TL|TF700T|TF700KL|TF701T|TF810C|ME171|ME301T|ME302C|ME371MG|ME370T|ME372MG|ME172V|ME173X|ME400C|Slider SL101|\\bK00F\\b|\\bK00C\\b|\\bK00E\\b|\\bK00L\\b|TX201LA|ME176C|ME102A|\\bM80TA\\b|ME372CL|ME560CG|ME372CG|ME302KL| K010 | K011 | K017 | K01E |ME572C|ME103K|ME170C|ME171C|\\bME70C\\b|ME581C|ME581CL|ME8510C|ME181C|P01Y|PO1MA|P01Z",BlackBerryTablet:"PlayBook|RIM Tablet",HTCtablet:"HTC_Flyer_P512|HTC Flyer|HTC Jetstream|HTC-P715a|HTC EVO View 4G|PG41200|PG09410",MotorolaTablet:"xoom|sholest|MZ615|MZ605|MZ505|MZ601|MZ602|MZ603|MZ604|MZ606|MZ607|MZ608|MZ609|MZ615|MZ616|MZ617",NookTablet:"Android.*Nook|NookColor|nook browser|BNRV200|BNRV200A|BNTV250|BNTV250A|BNTV400|BNTV600|LogicPD Zoom2",AcerTablet:"Android.*; \\b(A100|A101|A110|A200|A210|A211|A500|A501|A510|A511|A700|A701|W500|W500P|W501|W501P|W510|W511|W700|G100|G100W|B1-A71|B1-710|B1-711|A1-810|A1-811|A1-830)\\b|W3-810|\\bA3-A10\\b|\\bA3-A11\\b|\\bA3-A20\\b|\\bA3-A30",ToshibaTablet:"Android.*(AT100|AT105|AT200|AT205|AT270|AT275|AT300|AT305|AT1S5|AT500|AT570|AT700|AT830)|TOSHIBA.*FOLIO",LGTablet:"\\bL-06C|LG-V909|LG-V900|LG-V700|LG-V510|LG-V500|LG-V410|LG-V400|LG-VK810\\b",FujitsuTablet:"Android.*\\b(F-01D|F-02F|F-05E|F-10D|M532|Q572)\\b",PrestigioTablet:"PMP3170B|PMP3270B|PMP3470B|PMP7170B|PMP3370B|PMP3570C|PMP5870C|PMP3670B|PMP5570C|PMP5770D|PMP3970B|PMP3870C|PMP5580C|PMP5880D|PMP5780D|PMP5588C|PMP7280C|PMP7280C3G|PMP7280|PMP7880D|PMP5597D|PMP5597|PMP7100D|PER3464|PER3274|PER3574|PER3884|PER5274|PER5474|PMP5097CPRO|PMP5097|PMP7380D|PMP5297C|PMP5297C_QUAD|PMP812E|PMP812E3G|PMP812F|PMP810E|PMP880TD|PMT3017|PMT3037|PMT3047|PMT3057|PMT7008|PMT5887|PMT5001|PMT5002",LenovoTablet:"Lenovo TAB|Idea(Tab|Pad)( A1|A10| K1|)|ThinkPad([ ]+)?Tablet|YT3-X90L|YT3-X90F|YT3-X90X|Lenovo.*(S2109|S2110|S5000|S6000|K3011|A3000|A3500|A1000|A2107|A2109|A1107|A5500|A7600|B6000|B8000|B8080)(-|)(FL|F|HV|H|)",DellTablet:"Venue 11|Venue 8|Venue 7|Dell Streak 10|Dell Streak 7",YarvikTablet:"Android.*\\b(TAB210|TAB211|TAB224|TAB250|TAB260|TAB264|TAB310|TAB360|TAB364|TAB410|TAB411|TAB420|TAB424|TAB450|TAB460|TAB461|TAB464|TAB465|TAB467|TAB468|TAB07-100|TAB07-101|TAB07-150|TAB07-151|TAB07-152|TAB07-200|TAB07-201-3G|TAB07-210|TAB07-211|TAB07-212|TAB07-214|TAB07-220|TAB07-400|TAB07-485|TAB08-150|TAB08-200|TAB08-201-3G|TAB08-201-30|TAB09-100|TAB09-211|TAB09-410|TAB10-150|TAB10-201|TAB10-211|TAB10-400|TAB10-410|TAB13-201|TAB274EUK|TAB275EUK|TAB374EUK|TAB462EUK|TAB474EUK|TAB9-200)\\b",MedionTablet:"Android.*\\bOYO\\b|LIFE.*(P9212|P9514|P9516|S9512)|LIFETAB",ArnovaTablet:"97G4|AN10G2|AN7bG3|AN7fG3|AN8G3|AN8cG3|AN7G3|AN9G3|AN7dG3|AN7dG3ST|AN7dG3ChildPad|AN10bG3|AN10bG3DT|AN9G2",IntensoTablet:"INM8002KP|INM1010FP|INM805ND|Intenso Tab|TAB1004",IRUTablet:"M702pro",MegafonTablet:"MegaFon V9|\\bZTE V9\\b|Android.*\\bMT7A\\b",EbodaTablet:"E-Boda (Supreme|Impresspeed|Izzycomm|Essential)",AllViewTablet:"Allview.*(Viva|Alldro|City|Speed|All TV|Frenzy|Quasar|Shine|TX1|AX1|AX2)",ArchosTablet:"\\b(101G9|80G9|A101IT)\\b|Qilive 97R|Archos5|\\bARCHOS (70|79|80|90|97|101|FAMILYPAD|)(b|c|)(G10| Cobalt| TITANIUM(HD|)| Xenon| Neon|XSK| 2| XS 2| PLATINUM| CARBON|GAMEPAD)\\b",AinolTablet:"NOVO7|NOVO8|NOVO10|Novo7Aurora|Novo7Basic|NOVO7PALADIN|novo9-Spark",NokiaLumiaTablet:"Lumia 2520",SonyTablet:"Sony.*Tablet|Xperia Tablet|Sony Tablet S|SO-03E|SGPT12|SGPT13|SGPT114|SGPT121|SGPT122|SGPT123|SGPT111|SGPT112|SGPT113|SGPT131|SGPT132|SGPT133|SGPT211|SGPT212|SGPT213|SGP311|SGP312|SGP321|EBRD1101|EBRD1102|EBRD1201|SGP351|SGP341|SGP511|SGP512|SGP521|SGP541|SGP551|SGP621|SGP612|SOT31",PhilipsTablet:"\\b(PI2010|PI3000|PI3100|PI3105|PI3110|PI3205|PI3210|PI3900|PI4010|PI7000|PI7100)\\b",CubeTablet:"Android.*(K8GT|U9GT|U10GT|U16GT|U17GT|U18GT|U19GT|U20GT|U23GT|U30GT)|CUBE U8GT",CobyTablet:"MID1042|MID1045|MID1125|MID1126|MID7012|MID7014|MID7015|MID7034|MID7035|MID7036|MID7042|MID7048|MID7127|MID8042|MID8048|MID8127|MID9042|MID9740|MID9742|MID7022|MID7010",MIDTablet:"M9701|M9000|M9100|M806|M1052|M806|T703|MID701|MID713|MID710|MID727|MID760|MID830|MID728|MID933|MID125|MI
1D810|MID732|MID120|MID930|MID800|MID731|MID900|MID100|MID820|MID735|MID980|MID130|MID833|MID737|MID960|MID135|MID860|MID736|MID140|MID930|MID835|MID733|MID4X10",MSITablet:"MSI \\b(Primo 73K|Primo 73L|Primo 81L|Primo 77|Primo 93|Primo 75|Primo 76|Primo 73|Primo 81|Primo 91|Primo 90|Enjoy 71|Enjoy 7|Enjoy 10)\\b",SMiTTablet:"Android.*(\\bMID\\b|MID-560|MTV-T1200|MTV-PND531|MTV-P1101|MTV-PND530)",RockChipTablet:"Android.*(RK2818|RK2808A|RK2918|RK3066)|RK2738|RK2808A",FlyTablet:"IQ310|Fly Vision",bqTablet:"Android.*(bq)?.*(Elcano|Curie|Edison|Maxwell|Kepler|Pascal|Tesla|Hypatia|Platon|Newton|Livingstone|Cervantes|Avant|Aquaris [E|M]10)|Maxwell.*Lite|Maxwell.*Plus",HuaweiTablet:"MediaPad|MediaPad 7 Youth|IDEOS S7|S7-201c|S7-202u|S7-101|S7-103|S7-104|S7-105|S7-106|S7-201|S7-Slim",NecTablet:"\\bN-06D|\\bN-08D",PantechTablet:"Pantech.*P4100",BronchoTablet:"Broncho.*(N701|N708|N802|a710)",VersusTablet:"TOUCHPAD.*[78910]|\\bTOUCHTAB\\b",ZyncTablet:"z1000|Z99 2G|z99|z930|z999|z990|z909|Z919|z900",PositivoTablet:"TB07STA|TB10STA|TB07FTA|TB10FTA",NabiTablet:"Android.*\\bNabi",KoboTablet:"Kobo Touch|\\bK080\\b|\\bVox\\b Build|\\bArc\\b Build",DanewTablet:"DSlide.*\\b(700|701R|702|703R|704|802|970|971|972|973|974|1010|1012)\\b",TexetTablet:"NaviPad|TB-772A|TM-7045|TM-7055|TM-9750|TM-7016|TM-7024|TM-7026|TM-7041|TM-7043|TM-7047|TM-8041|TM-9741|TM-9747|TM-9748|TM-9751|TM-7022|TM-7021|TM-7020|TM-7011|TM-7010|TM-7023|TM-7025|TM-7037W|TM-7038W|TM-7027W|TM-9720|TM-9725|TM-9737W|TM-1020|TM-9738W|TM-9740|TM-9743W|TB-807A|TB-771A|TB-727A|TB-725A|TB-719A|TB-823A|TB-805A|TB-723A|TB-715A|TB-707A|TB-705A|TB-709A|TB-711A|TB-890HD|TB-880HD|TB-790HD|TB-780HD|TB-770HD|TB-721HD|TB-710HD|TB-434HD|TB-860HD|TB-840HD|TB-760HD|TB-750HD|TB-740HD|TB-730HD|TB-722HD|TB-720HD|TB-700HD|TB-500HD|TB-470HD|TB-431HD|TB-430HD|TB-506|TB-504|TB-446|TB-436|TB-416|TB-146SE|TB-126SE",PlaystationTablet:"Playstation.*(Portable|Vita)",TrekstorTablet:"ST10416-1|VT10416-1|ST70408-1|ST702xx-1|ST702xx-2|ST80208|ST97216|ST70104-2|VT10416-2|ST10216-2A|SurfTab",PyleAudioTablet:"\\b(PTBL10CEU|PTBL10C|PTBL72BC|PTBL72BCEU|PTBL7CEU|PTBL7C|PTBL92BC|PTBL92BCEU|PTBL9CEU|PTBL9CUK|PTBL9C)\\b",AdvanTablet:"Android.* \\b(E3A|T3X|T5C|T5B|T3E|T3C|T3B|T1J|T1F|T2A|T1H|T1i|E1C|T1-E|T5-A|T4|E1-B|T2Ci|T1-B|T1-D|O1-A|E1-A|T1-A|T3A|T4i)\\b ",DanyTechTablet:"Genius Tab G3|Genius Tab S2|Genius Tab Q3|Genius Tab G4|Genius Tab Q4|Genius Tab G-II|Genius TAB GII|Genius TAB GIII|Genius Tab S1",GalapadTablet:"Android.*\\bG1\\b",MicromaxTablet:"Funbook|Micromax.*\\b(P250|P560|P360|P362|P600|P300|P350|P500|P275)\\b",KarbonnTablet:"Android.*\\b(A39|A37|A34|ST8|ST10|ST7|Smart Tab3|Smart Tab2)\\b",AllFineTablet:"Fine7 Genius|Fine7 Shine|Fine7 Air|Fine8 Style|Fine9 More|Fine10 Joy|Fine11 Wide",PROSCANTablet:"\\b(PEM63|PLT1023G|PLT1041|PLT1044|PLT1044G|PLT1091|PLT4311|PLT4311PL|PLT4315|PLT7030|PLT7033|PLT7033D|PLT7035|PLT7035D|PLT7044K|PLT7045K|PLT7045KB|PLT7071KG|PLT7072|PLT7223G|PLT7225G|PLT7777G|PLT7810K|PLT7849G|PLT7851G|PLT7852G|PLT8015|PLT8031|PLT8034|PLT8036|PLT8080K|PLT8082|PLT8088|PLT8223G|PLT8234G|PLT8235G|PLT8816K|PLT9011|PLT9045K|PLT9233G|PLT9735|PLT9760G|PLT9770G)\\b",YONESTablet:"BQ1078|BC1003|BC1077|RK9702|BC9730|BC9001|IT9001|BC7008|BC7010|BC708|BC728|BC7012|BC7030|BC7027|BC7026",ChangJiaTablet:"TPC7102|TPC7103|TPC7105|TPC7106|TPC7107|TPC7201|TPC7203|TPC7205|TPC7210|TPC7708|TPC7709|TPC7712|TPC7110|TPC8101|TPC8103|TPC8105|TPC8106|TPC8203|TPC8205|TPC8503|TPC9106|TPC9701|TPC97101|TPC97103|TPC97105|TPC97106|TPC97111|TPC97113|TPC97203|TPC97603|TPC97809|TPC97205|TPC10101|TPC10103|TPC10106|TPC10111|TPC10203|TPC10205|TPC10503",GUTablet:"TX-A1301|TX-M9002|Q702|kf026",PointOfVie
1wTablet:"TAB-P506|TAB-navi-7-3G-M|TAB-P517|TAB-P-527|TAB-P701|TAB-P703|TAB-P721|TAB-P731N|TAB-P741|TAB-P825|TAB-P905|TAB-P925|TAB-PR945|TAB-PL1015|TAB-P1025|TAB-PI1045|TAB-P1325|TAB-PROTAB[0-9]+|TAB-PROTAB25|TAB-PROTAB26|TAB-PROTAB27|TAB-PROTAB26XL|TAB-PROTAB2-IPS9|TAB-PROTAB30-IPS9|TAB-PROTAB25XXL|TAB-PROTAB26-IPS10|TAB-PROTAB30-IPS10",OvermaxTablet:"OV-(SteelCore|NewBase|Basecore|Baseone|Exellen|Quattor|EduTab|Solution|ACTION|BasicTab|TeddyTab|MagicTab|Stream|TB-08|TB-09)",HCLTablet:"HCL.*Tablet|Connect-3G-2.0|Connect-2G-2.0|ME Tablet U1|ME Tablet U2|ME Tablet G1|ME Tablet X1|ME Tablet Y2|ME Tablet Sync",DPSTablet:"DPS Dream 9|DPS Dual 7",VistureTablet:"V97 HD|i75 3G|Visture V4( HD)?|Visture V5( HD)?|Visture V10",CrestaTablet:"CTP(-)?810|CTP(-)?818|CTP(-)?828|CTP(-)?838|CTP(-)?888|CTP(-)?978|CTP(-)?980|CTP(-)?987|CTP(-)?988|CTP(-)?989",MediatekTablet:"\\bMT8125|MT8389|MT8135|MT8377\\b",ConcordeTablet:"Concorde([ ]+)?Tab|ConCorde ReadMan",GoCleverTablet:"GOCLEVER TAB|A7GOCLEVER|M1042|M7841|M742|R1042BK|R1041|TAB A975|TAB A7842|TAB A741|TAB A741L|TAB M723G|TAB M721|TAB A1021|TAB I921|TAB R721|TAB I720|TAB T76|TAB R70|TAB R76.2|TAB R106|TAB R83.2|TAB M813G|TAB I721|GCTA722|TAB I70|TAB I71|TAB S73|TAB R73|TAB R74|TAB R93|TAB R75|TAB R76.1|TAB A73|TAB A93|TAB A93.2|TAB T72|TAB R83|TAB R974|TAB R973|TAB A101|TAB A103|TAB A104|TAB A104.2|R105BK|M713G|A972BK|TAB A971|TAB R974.2|TAB R104|TAB R83.3|TAB A1042",ModecomTablet:"FreeTAB 9000|FreeTAB 7.4|FreeTAB 7004|FreeTAB 7800|FreeTAB 2096|FreeTAB 7.5|FreeTAB 1014|FreeTAB 1001 |FreeTAB 8001|FreeTAB 9706|FreeTAB 9702|FreeTAB 7003|FreeTAB 7002|FreeTAB 1002|FreeTAB 7801|FreeTAB 1331|FreeTAB 1004|FreeTAB 8002|FreeTAB 8014|FreeTAB 9704|FreeTAB 1003",VoninoTablet:"\\b(Argus[ _]?S|Diamond[ _]?79HD|Emerald[ _]?78E|Luna[ _]?70C|Onyx[ _]?S|Onyx[ _]?Z|Orin[ _]?HD|Orin[ _]?S|Otis[ _]?S|SpeedStar[ _]?S|Magnet[ _]?M9|Primus[ _]?94[ _]?3G|Primus[ _]?94HD|Primus[ _]?QS|Android.*\\bQ8\\b|Sirius[ _]?EVO[ _]?QS|Sirius[ _]?QS|Spirit[ _]?S)\\b",ECSTablet:"V07OT2|TM105A|S10OT1|TR10CS1",StorexTablet:"eZee[_']?(Tab|Go)[0-9]+|TabLC7|Looney Tunes Tab",VodafoneTablet:"SmartTab([ ]+)?[0-9]+|SmartTabII10|SmartTabII7|VF-1497",EssentielBTablet:"Smart[ ']?TAB[ ]+?[0-9]+|Family[ ']?TAB2",RossMoorTablet:"RM-790|RM-997|RMD-878G|RMD-974R|RMT-705A|RMT-701|RME-601|RMT-501|RMT-711",iMobileTablet:"i-mobile i-note",TolinoTablet:"tolino tab [0-9.]+|tolino shine",AudioSonicTablet:"\\bC-22Q|T7-QC|T-17B|T-17P\\b",AMPETablet:"Android.* A78 ",SkkTablet:"Android.* (SKYPAD|PHOENIX|CYCLOPS)",TecnoTablet:"TECNO P9",JXDTablet:"Android.* \\b(F3000|A3300|JXD5000|JXD3000|JXD2000|JXD300B|JXD300|S5800|S7800|S602b|S5110b|S7300|S5300|S602|S603|S5100|S5110|S601|S7100a|P3000F|P3000s|P101|P200s|P1000m|P200m|P9100|P1000s|S6600b|S908|P1000|P300|S18|S6600|S9100)\\b",iJoyTablet:"Tablet (Spirit 7|Essentia|Galatea|Fusion|Onix 7|Landa|Titan|Scooby|Deox|Stella|Themis|Argon|Unique 7|Sygnus|Hexen|Finity 7|Cream|Cream X2|Jade|Neon 7|Neron 7|Kandy|Scape|Saphyr 7|Rebel|Biox|Rebel|Rebel 8GB|Myst|Draco 7|Myst|Tab7-004|Myst|Tadeo Jones|Tablet Boing|Arrow|Draco Dual Cam|Aurix|Mint|Amity|Revolution|Finity 9|Neon 9|T9w|Amity 4GB Dual Cam|Stone 4GB|Stone 8GB|Andromeda|Silken|X2|Andromeda II|Halley|Flame|Saphyr 9,7|Touch 8|Planet|Triton|Unique 10|Hexen 10|Memphis 4GB|Memphis 8GB|Onix 10)",FX2Tablet:"FX2 PAD7|FX2 PAD10",XoroTablet:"KidsPAD 701|PAD[ ]?712|PAD[ ]?714|PAD[ ]?716|PAD[ ]?717|PAD[ ]?718|PAD[ ]?720|PAD[ ]?721|PAD[ ]?722|PAD[ ]?790|PAD[ ]?792|PAD[ ]?900|PAD[ ]?9715D|PAD[ ]?9716DR|PAD[ ]?9718DR|PAD[ ]?9719QR|PAD[ ]?9720QR|TelePAD1030|Telepad1032|TelePAD730|TelePAD731|TelePAD732|TelePAD735Q|TelePAD830|TelePAD9730|TelePAD795|MegaPAD 1331|MegaPAD 1851|MegaPAD 2151",ViewsonicTablet:"ViewPad 10pi|ViewPad 10e|ViewPad 10s|ViewPad E72|ViewPad7|ViewPad E100|ViewPad 7e|ViewSonic VB733|VB100a",OdysTablet:"LOOX|XENO10|ODYS[ -](Space|EVO|Xpress|NOON)|\\bXELIO\\b|Xelio10Pro|XELIO7PHONETAB|XELIO10EXTREME|XELIOPT2|NEO_QUAD10",CaptivaTablet:"CAPTIVA PAD",IconbitTablet:"NetTAB|NT-3702|NT-3702S|NT-3702S|NT-3603P|NT-3603P|NT-0704S|NT-0704S|NT-3805C|NT-3805C|NT-0806C|NT-0806C|NT-0909T|NT-0909T|NT-0907S|NT-0907S|NT-0902S|NT-0902S",TeclastTablet:"T98 4G|\\bP80\\b|\\bX90HD\\b|X98 Air|X98 Air 3G|\\bX89\\b|P80 3G|\\bX80h\\b|P98 Air|\\bX89HD\\b|P98 3G|\\bP90HD\\b|P89 3G|X98 3G|\\bP70h\\b|P79HD 3G|G18d 3G|\\bP79HD\\b|\\bP89s\\b|\\bA88\\b|\\bP10HD\\b|\\bP19HD\\b|G18 3G|\\bP78HD\\b|\\bA78\\b|\\bP75\\b|G17s 3G|G17h 3G|\\bP85t\\b|\\bP90\\b|\\bP11\\b|\\bP98t\\b|\\bP98HD\\b|\\bG18d\\b|\\bP85s\\b|\\bP11HD\\b|\\bP88s\\b|\\bA80HD\\b|\\bA80se\\b|\\bA10h\\b|\\bP89\\b|\\bP78s\\b|\\bG18\\b|\\bP85\\b|\\bA70h\\b|\\bA70\\b|\\bG17\\b|\\bP18\\b|\\bA80s\\b|\\bA11s\\b|\\bP88HD\\b|\\bA80h\\b|\\bP76s\\b|\\bP76h\\b|\\bP98\\b|\\bA10HD\\b|\\bP78\\b|\\bP88\\b|\\bA11\\b|\\bA10t\\b|\\bP76a\\b|\\bP76t\\b|\\bP76e\\b|\\bP85HD\\b|\\bP85a\\b|\\bP86\\b|\\bP75HD\\b|\\bP76v\\b|\\bA12\\b|\\bP75a\\b|\\bA15\\b|\\bP76Ti\\b|\\bP81HD\\b|\\bA10\\b|\\bT760VE\\b|\\bT720HD\\b|\\bP76\\b|\\bP73\\b|\\bP71\\b|\\bP72\\b|\\bT720SE\\b|\\bC520Ti\\b|\\bT760\\b|\\bT720VE\\b|T720-3GE|T720-WiFi",OndaTablet:"\\b(V975i|Vi30|VX530|V701|Vi60|V701s|Vi50|V801s|V719|Vx610w|VX610W|V819i|Vi10|VX580W|Vi10|V711s|V813|V811|V820w|V820|Vi20|V711|VI30W|V712|V891w|V972|V819w|V820w|Vi60|V820w|V711|V813s|V801|V819|V975s|V801|V819|V819|V818|V811|V712|V975m|V101w|V961w|V812|V818|V971|V971s|V919|V989|V116w|V102w|V973|Vi40)\\b[\\s]+",JaytechTablet:"TPC-PA762",BlaupunktTablet:"Endeavour 800NG|Endeavour 1010",DigmaTablet:"\\b(iDx10|iDx9|iDx8|iDx7|iDxD7|iDxD8|iDsQ8|iDsQ7|iDsQ8|iDsD10|iDnD7|3TS804H|iDsQ11|iDj7|iDs10)\\b",EvolioTablet:"ARIA_Mini_wifi|Aria[ _]Mini|Evolio X10|Evolio X7|Evolio X8|\\bEvotab\\b|\\bNeura\\b",LavaTablet:"QPAD E704|\\bIvoryS\\b|E-TAB IVORY|\\bE-TAB\\b",AocTablet:"MW0811|MW0812|MW0922|MTK8382|MW1031|MW0831|MW0821|MW0931|MW0712",MpmanTablet:"MP11 OCTA|MP10 OCTA|MPQC1114|MPQC1004|MPQC994|MPQC974|MPQC973|MPQC804|MPQC784|MPQC780|\\bMPG7\\b|MPDCG75|MPDCG71|MPDC1006|MP101DC|MPDC9000|MPDC905|MPDC706HD|MPDC706|MPDC705|MPDC110|MPDC100|MPDC99|MPDC97|MPDC88|MPDC8|MPDC77|MP709|MID701|MID711|MID170|MPDC703|MPQC1010",CelkonTablet:"CT695|CT888|CT[\\s]?910|CT7 Tab|CT9 Tab|CT3 Tab|CT2 Tab|CT1 Tab|C820|C720|\\bCT-1\\b",WolderTablet:"miTab \\b(DIAMOND|SPACE|BROOKLYN|NEO|FLY|MANHATTAN|FUNK|EVOLUTION|SKY|GOCAR|IRON|GENIUS|POP|MINT|EPSILON|BROADWAY|JUMP|HOP|LEGEND|NEW AGE|LINE|ADVANCE|FEEL|FOLLOW|LIKE|LINK|LIVE|THINK|FREEDOM|CHICAGO|CLEVELAND|BALTIMORE-GH|IOWA|BOSTON|SEATTLE|PHOENIX|DALLAS|IN 101|MasterChef)\\b",MiTablet:"\\bMI PAD\\b|\\bHM NOTE 1W\\b",
1NibiruTablet:"Nibiru M1|Nibiru Jupiter One",NexoTablet:"NEXO NOVA|NEXO 10|NEXO AVIO|NEXO FREE|NEXO GO|NEXO EVO|NEXO 3G|NEXO SMART|NEXO KIDDO|NEXO MOBI",LeaderTablet:"TBLT10Q|TBLT10I|TBL-10WDKB|TBL-10WDKBO2013|TBL-W230V2|TBL-W450|TBL-W500|SV572|TBLT7I|TBA-AC7-8G|TBLT79|TBL-8W16|TBL-10W32|TBL-10WKB|TBL-W100",UbislateTablet:"UbiSlate[\\s]?7C",PocketBookTablet:"Pocketbook",KocasoTablet:"\\b(TB-1207)\\b",HisenseTablet:"\\b(F5281|E2371)\\b",Hudl:"Hudl HT7S3|Hudl 2",TelstraTablet:"T-Hub2",GenericTablet:"Android.*\\b97D\\b|Tablet(?!.*PC)|BNTV250A|MID-WCDMA|LogicPD Zoom2|\\bA7EB\\b|CatNova8|A1_07|CT704|CT1002|\\bM721\\b|rk30sdk|\\bEVOTAB\\b|M758A|ET904|ALUMIUM10|Smartfren Tab|Endeavour 1010|Tablet-PC-4|Tagi Tab|\\bM6pro\\b|CT1020W|arc 10HD|\\bTP750\\b"},oss:{AndroidOS:"Android",BlackBerryOS:"blackberry|\\bBB10\\b|rim tablet os",PalmOS:"PalmOS|avantgo|blazer|elaine|hiptop|palm|plucker|xiino",SymbianOS:"Symbian|SymbOS|Series60|Series40|SYB-[0-9]+|\\bS60\\b",WindowsMobileOS:"Windows CE.*(PPC|Smartphone|Mobile|[0-9]{3}x[0-9]{3})|Window Mobile|Windows Phone [0-9.]+|WCE;",WindowsPhoneOS:"Windows Phone 10.0|Windows Phone 8.1|Windows Phone 8.0|Windows Phone OS|XBLWP7|ZuneWP7|Windows NT 6.[23]; ARM;",iOS:"\\biPhone.*Mobile|\\biPod|\\biPad",MeeGoOS:"MeeGo",MaemoOS:"Maemo",JavaOS:"J2ME/|\\bMIDP\\b|\\bCLDC\\b",webOS:"webOS|hpwOS",badaOS:"\\bBada\\b",BREWOS:"BREW"},uas:{Chrome:"\\bCrMo\\b|CriOS|Android.*Chrome/[.0-9]* (Mobile)?",Dolfin:"\\bDolfin\\b",Opera:"Opera.*Mini|Opera.*Mobi|Android.*Opera|Mobile.*OPR/[0-9.]+|Coast/[0-9.]+",Skyfire:"Skyfire",Edge:"Mobile Safari/[.0-9]* Edge",IE:"IEMobile|MSIEMobile",Firefox:"fennec|firefox.*maemo|(Mobile|Tablet).*Firefox|Firefox.*Mobile|FxiOS",Bolt:"bolt",TeaShark:"teashark",Blazer:"Blazer",Safari:"Version.*Mobile.*Safari|Safari.*Mobile|MobileSafari",UCBrowser:"UC.*Browser|UCWEB",baiduboxapp:"baiduboxapp",baidubrowser:"baidubrowser",DiigoBrowser:"DiigoBrowser",Puffin:"Puffin",Mercury:"\\bMercury\\b",ObigoBrowser:"Obigo",NetFront:"NF-Browser",GenericBrowser:"NokiaBrowser|OviBrowser|OneBrowser|TwonkyBeamBrowser|SEMC.*Browser|FlyFlow|Minimo|NetFront|Novarra-Vision|MQQBrowser|MicroMessenger",PaleMoon:"Android.*PaleMoon|Mobile.*PaleMoon"},props:{Mobile:"Mobile/[VER]",Build:"Build/[VER]",Version:"Version/[VER]",VendorID:"VendorID/[VER]",iPad:"iPad.*CPU[a-z ]+[VER]",iPhone:"iPhone.*CPU[a-z ]+[VER]",iPod:"iPod.*CPU[a-z ]+[VER]",Kindle:"Kindle/[VER]",Chrome:["Chrome/[VER]","CriOS/[VER]","CrMo/[VER]"],Coast:["Coast/[VER]"],Dolfin:"Dolfin/[VER]",Firefox:["Firefox/[VER]","FxiOS/[VER]"],Fennec:"Fennec/[VER]",Edge:"Edge/[VER]",IE:["IEMobile/[VER];","IEMobile [VER]","MSIE [VER];","Trident/[0-9.]+;.*rv:[VER]"],NetFront:"NetFront/[VER]",NokiaBrowser:"NokiaBrowser/[VER]",Opera:[" OPR/[VER]","Opera Mini/[VER]","Version/[VER]"],"Opera Mini":"Opera Mini/[VER]","Opera Mobi":"Version/[VER]","UC Browser":"UC Browser[VER]",MQQBrowser:"MQQBrowser/[VER]",MicroMessenger:"MicroMessenger/[VER]",baiduboxapp:"baiduboxapp/[VER]",baidubrowser:"baidubrowser/[VER]",SamsungBrowser:"SamsungBrowser/[VER]",Iron:"Iron/[VER]",Safari:["Version/[VER]","Safari/[VER]"],Skyfire:"Skyfire/[VER]",Tizen:"Tizen/[VER]",Webkit:"webkit[ /][VER]",PaleMoon:"PaleMoon/[VER]",Gecko:"Gecko/[VER]",Trident:"Trident/[VER]",Presto:"Presto/[VER]",Goanna:"Goanna/[VER]",iOS:" \\bi?OS\\b [VER][ ;]{1}",Android:"Android [VER]",BlackBerry:["BlackBerry[\\w]+/[VER]","BlackBerry.*Version/[VER]","Version/[VER]"],BREW:"BREW [VER]",Java:"Java/[VER]","Windows Phone OS":["Windows Phone OS [VER]","Windows Phone [VER]"],"Windows Phone":"Windows Phone [VER]","Windows CE":"Windows CE/[VER]","Windows NT":"Windows NT [VER]",Symbian:["SymbianOS/[VER]","Symbian/[VER]"],webOS:["webOS/[VER]","hpwOS/[VER];"]},utils:{Bot:"Googlebot|facebookexternalhit|AdsBot-Google|Google Keyword Suggestion|Facebot|YandexBot|YandexMobileBot|bingbot|ia_archiver|AhrefsBot|Ezooms|GSLFbot|WBSearchBot|Twitterbot|TweetmemeBot|Twikle|PaperLiBot|Wotbox|UnwindFetchor|Exabot|MJ12bot|YandexImages|TurnitinBot|Pingdom",MobileBot:"Googlebot-Mobile|AdsBot-Google-Mobile|YahooSeeker/M1A1-R2D2",DesktopMode:"WPDesktop",TV:"SonyDTV|HbbTV",WebKit:"(webkit)[ /]([\\w.]+)",Console:"\\b(Nintendo|Nintendo WiiU|Nintendo 3DS|PLAYSTATION|Xbox)\\b",Watch:"SM-V700"}},o.detectMobileBrowsers={fullPattern:/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,shortPattern:/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
vendor: 5,391 bytes, line 1
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,tabletPattern:/android|ipad|playbook|silk/i};var r,a=Object.prototype.hasOwnProperty;return o.FALLBACK_PHONE="UnknownPhone",o.FALLBACK_TABLET="UnknownTablet",o.FALLBACK_MOBILE="UnknownMobile",r="isArray"in Array?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},function(){var t,e,i,s,l,c,h=o.mobileDetectRules;for(t in h.props)if(a.call(h.props,t)){for(e=h.props[t],r(e)||(e=[e]),l=e.length,s=0;s<l;++s)i=e[s],(c=i.indexOf("[VER]"))>=0&&(i=i.substring(0,c)+"([\\w._\\+]+)"+i.substring(c+5)),e[s]=new RegExp(i,"i");h.props[t]=e}n(h.oss),n(h.phones),n(h.tablets),n(h.uas),n(h.utils),h.oss0={WindowsPhoneOS:h.oss.WindowsPhoneOS,WindowsMobileOS:h.oss.WindowsMobileOS}}(),o.findMatch=function(t,e){for(var i in t)if(a.call(t,i)&&t[i].test(e))return i;return null},o.findMatches=function(t,e){var i=[];for(var n in t)a.call(t,n)&&t[n].test(e)&&i.push(n);return i},o.getVersionStr=function(t,e){var i,n,s,r,l=o.mobileDetectRules.props;if(a.call(l,t))for(i=l[t],s=i.length,n=0;n<s;++n)if(null!==(r=i[n].exec(e)))return r[1];return null},o.getVersion=function(t,e){var i=o.getVersionStr(t,e);return i?o.prepareVersionNo(i):NaN},o.prepareVersionNo=function(t){var e;return 1===(e=t.split(/[a-z._ \/\-]/i)).length&&(t=e[0]),e.length>1&&(t=e[0]+".",e.shift(),t+=e.join("")),Number(t)},o.isMobileFallback=function(t){return o.detectMobileBrowsers.fullPattern.test(t)||o.detectMobileBrowsers.shortPattern.test(t.substr(0,4))},o.isTabletFallback=function(t){return o.detectMobileBrowsers.tabletPattern.test(t)},o.prepareDetectionCache=function(t,i,n){if(t.mobile===e){var r,a,l;return(a=o.findMatch(o.mobileDetectRules.tablets,i))?(t.mobile=t.tablet=a,void(t.phone=null)):(r=o.findMatch(o.mobileDetectRules.phones,i))?(t.mobile=t.phone=r,void(t.tablet=null)):void(o.isMobileFallback(i)?(l=s.isPhoneSized(n),l===e?(t.mobile=o.FALLBACK_MOBILE,t.tablet=t.phone=null):l?(t.mobile=t.phone=o.FALLBACK_PHONE,t.tablet=null):(t.mobile=t.tablet=o.FALLBACK_TABLET,t.phone=null)):o.isTabletFallback(i)?(t.mobile=t.tablet=o.FALLBACK_TABLET,t.phone=null):t.mobile=t.tablet=t.phone=null)}},o.mobileGrade=function(t){var e=null!==t.mobile();return t.os("iOS")&&t.version("iPad")>=4.3||t.os("iOS")&&t.version("iPhone")>=3.1||t.os("iOS")&&t.version("iPod")>=3.1||t.version("Android")>2.1&&t.is("Webkit")||t.version("Windows Phone OS")>=7||t.is("BlackBerry")&&t.version("BlackBerry")>=6||t.match("Playbook.*Tablet")||t.version("webOS")>=1.4&&t.match("Palm|Pre|Pixi")||t.match("hp.*TouchPad")||t.is("Firefox")&&t.version("Firefox")>=12||t.is("Chrome")&&t.is("AndroidOS")&&t.version("Android")>=4||t.is("Skyfire")&&t.version("Skyfire")>=4.1&&t.is("AndroidOS")&&t.version("Android")>=2.3||t.is("Opera")&&t.version("Opera Mobi")>11&&t.is("AndroidOS")||t.is("MeeGoOS")||t.is("Tizen")||t.is("Dolfin")&&t.version("Bada")>=2||(t.is("UC Browser")||t.is("Dolfin"))&&t.version("Android")>=2.3||t.match("Kindle Fire")||t.is("Kindle")&&t.version("Kindle")>=3||t.is("AndroidOS")&&t.is("NookTablet")||t.version("Chrome")>=11&&!e||t.version("Safari")>=5&&!e||t.version("Firefox")>=4&&!e||t.version("MSIE")>=7&&!e||t.version("Opera")>=10&&!e?"A":t.os("iOS")&&t.version("iPad")<4.3||t.os("iOS")&&t.version("iPhone")<3.1||t.os("iOS")&&t.version("iPod")<3.1||t.is("Blackberry")&&t.version("BlackBerry")>=5&&t.version("BlackBerry")<6||t.version("Opera Mini")>=5&&t.version("Opera Mini")<=6.5&&(t.version("Android")>=2.3||t.is("iOS"))||t.match("NokiaN8|NokiaC7|N97.*Series60|Symbian/3")||t.version("Opera Mobi")>=11&&t.is("SymbianOS")?"B":(t.version("BlackBerry")<5||t.match("MSIEMobile|Windows CE.*Mobile")||t.version("Windows Mobile"),"C")},o.detectOS=function(t){return o.findMatch(o.mobileDetectRules.oss0,t)||o.findMatch(o.mobileDetectRules.oss,t)},o.getDeviceSmallerSide=function(){return window.screen.width<window.screen.height?window.screen.width:window.screen.height},s.prototype={constructor:s,mobile:function(){return o.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.mobile},phone:function(){return o.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.phone},tablet:function(){return o.prepareDetectionCache(this._cache,this.ua,this.maxPhoneWidth),this._cache.tablet},userAgent:function(){return this._cache.userAgent===e&&(this._cache.userAgent=o.findMatch(o.mobileDetectRules.uas,this.ua)),this._cache.userAgent},userAgents:function(){return this._cache.userAgents===e&&(this._cache.userAgents=o.findMatches(o.mobileDetectRules.uas,this.ua)),this._cache.userAgents},os:function(){return this._cache.os===e&&(this._cache.os=o.detectOS(this.ua)),this._cache.os},version:function(t){return o.getVersion(t,this.ua)},versionStr:function(t){return o.getVersionStr(t,this.ua)},is:function(e){return i(this.userAgents(),e)||t(e,this.os())||t(e,this.phone())||t(e,this.tablet())||i(o.findMatches(o.mobileDetectRules.utils,this.ua),e)},match:function(t){return t instanceof RegExp||(t=new RegExp(t,"i")),t.test(this.ua)},isPhoneSized:function(t){return s.isPhoneSized(t||this.maxPhoneWidth)},mobileGrade:function(){return this._cache.grade===e&&(this._cache.grade=
1o.mobileGrade(this)),this._cache.grade}},"undefined"!=typeof window&&window.screen?s.isPhoneSized=function(t){return t<0?e:o.getDeviceSmallerSide()<=t}:s.isPhoneSized=function(){},s._impl=o,s.version="1.3.6 2017-04-05",s})}(function(t){if("undefined"!=typeof module&&module.exports)return function(t){module.exports=t()};if("function"==typeof define&&define.amd)return define;if("undefined"!=typeof window)return function(t){window.MobileDetect=t()};throw new Error("unknown environment")}()),function(){var t,e,i,n,s,o,r,a,l,c,h,u,d,p,f,m,g,v,y,T,b,w,S,_,x,P,C=[].slice;e='<span class="odometer-digit"><span class="odometer-digit-spacer">8</span><span class="odometer-digit-inner">'+('<span class="odometer-ribbon"><span class="odometer-ribbon-inner">'+'<span class="odometer-value"></span>'+"</span></span>")+"</span></span>",n='<span class="odometer-formatting-mark"></span>',t="(,ddd).dd",s=/^\(?([^)]*)\)?(?:(.)(d+))?$/,i=2e3,o=2,r=1e3/30,c="transitionend webkitTransitionEnd oTransitionEnd otransitionend MSTransitionEnd",y=document.createElement("div").style,h=null!=y.transition||null!=y.webkitTransition||null!=y.mozTransition||null!=y.oTransition,g=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame,a=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,d=function(t){var e;return e=document.createElement("div"),e.innerHTML=t,e.children[0]},m=function(t,e){return t.className=t.className.replace(new RegExp("(^| )"+e.split(" ").join("|")+"( |$)","gi")," ")},u=function(t,e){return m(t,e),t.className+=" "+e},T=function(t,e){var i;return null!=document.createEvent?((i=document.createEvent("HTMLEvents")).initEvent(e,!0,!0),t.dispatchEvent(i)):void 0},f=function(){var t,e;return null!=(t=null!=(e=window.performance)&&"function"==typeof e.now?e.now():void 0)?t:+new Date},v=function(t,e){return null==e&&(e=0),e?(t*=Math.pow(10,e),t+=.5,t=Math.floor(t),t/=Math.pow(10,e)):Math.round(t)},b=function(t){return 0>t?Math.ceil(t):Math.floor(t)},p=function(t){return t-v(t)},S=!1,(w=function(){var t,e,i,n,s;if(!S&&null!=window.jQuery){for(S=!0,s=[],e=0,i=(n=["html","text"]).length;i>e;e++)t=n[e],s.push(function(t){var e;return e=window.jQuery.fn[t],window.jQuery.fn[t]=function(t){var i;return null==t||null==(null!=(i=this[0])?i.odometer:void 0)?e.apply(this,arguments):this[0].odometer.update(t)}}(t));return s}})(),setTimeout(w,0),(l=function(){function l(t){var e,n,s,a,c,h,u,d,p,f=this;if(this.options=t,this.el=this.options.el,null!=this.el.odometer)return this.el.odometer;this.el.odometer=this,u=l.options;for(e in u)s=u[e],null==this.options[e]&&(this.options[e]=s);null==(a=this.options).duration&&(a.duration=i),this.MAX_VALUES=this.options.duration/r/o|0,this.resetFormat(),this.value=this.cleanValue(null!=(d=this.options.value)?d:""),this.renderInside(),this.render();try{for(c=0,h=(p=["innerHTML","innerText","textContent"]).length;h>c;c++)n=p[c],null!=this.el[n]&&function(t){Object.defineProperty(f.el,t,{get:function(){var e;return"innerHTML"===t?f.inside.outerHTML:null!=(e=f.inside.innerText)?e:f.inside.textContent},set:function(t){return f.update(t)}})}(n)}catch(t){t,this.watchForMutations()}}return l.prototype.renderInside=function(){return this.inside=document.createElement("div"),this.inside.className="odometer-inside",this.el.innerHTML="",this.el.appendChild(this.inside)},l.prototype.watchForMutations=function(){var t=this;if(null!=a)try{return null==this.observer&&(this.observer=new a(function(){var e;return e=t.el.innerText,t.renderInside(),t.render(t.value),t.update(e)})),this.watchMutations=!0,this.startWatchingMutations()}catch(t){t}},l.prototype.startWatchingMutations=function(){return this.watchMutations?this.observer.observe(this.el,{childList:!0}):void 0},l.prototype.stopWatchingMutations=function(){var t;return null!=(t=this.observer)?t.disconnect():void 0},l.prototype.cleanValue=function(t){var e;return"string"==typeof t&&(t=t.replace(null!=(e=this.format.radix)?e:".","<radix>"),t=t.replace(/[.,]/g,""),t=t.replace("<radix>","."),t=parseFloat(t,10)||0),v(t,this.format.precision)},l.prototype.bindTransitionEnd=function(){var t,e,i,n,s,o,r=this;if(!this.transitionEndBound){for(this.transitionEndBound=!0,e=!1,o=[],i=0,n=(s=c.split(" ")).length;n>i;i++)t=s[i],o.push(this.el.addEventListener(t,function(){return!!e||(e=!0,setTimeout(function(){return r.render(),e=!1,T(r.el,"odometerdone")},0),!0)},!1));return o}},l.prototype.resetFormat=function(){var e,i,n,o,r,a,l,c;if((e=null!=(l=this.options.format)?l:t)||(e="d"),!(n=s.exec(e)))throw new Error("Odometer: Unparsable digit format");return c=n.slice(1,4),a=c[0],r=c[1],i=c[2],o=(null!=i?i.length:void 0)||0,this.format={repeating:a,radix:r,precision:o}},l.prototype.render=function(t){var e,i,n,s,o,r,a,l,c,u,d,f;for(null==t&&(t=this.value),this.stopWatchingMutations(),this.resetFormat(),this.inside.innerHTML="",r=this.options.theme,o=[],l=0,u=(e=this.el.className.split(" ")).length;u>l;l++)(i=e[l]).length&&((s=/^odometer-theme-(.+)$/.exec(i))?r=s[1]:/^odometer(-|$)/.test(i)||o.push(i));for(o.push("odometer"),h||o.push("odometer-no-transitions"),o.push(r?"odometer-theme-"+r:"odometer-auto-theme"),this.el.className=o.join(" "),this.ribbons={},this.digits=[],a=!this.format.precision||!p(t)||!1,c=0,d=(f=t.toString().split("").reverse()).length;d>c;
vendor: 4,631 bytes, line 1
1c++)"."===(n=f[c])&&(a=!0),this.addDigit(n,a);return this.startWatchingMutations()},l.prototype.update=function(t){var e,i=this;return t=this.cleanValue(t),(e=t-this.value)?(m(this.el,"odometer-animating-up odometer-animating-down odometer-animating"),e>0?u(this.el,"odometer-animating-up"):u(this.el,"odometer-animating-down"),this.stopWatchingMutations(),this.animate(t),this.startWatchingMutations(),setTimeout(function(){return i.el.offsetHeight,u(i.el,"odometer-animating")},0),this.value=t):void 0},l.prototype.renderDigit=function(){return d(e)},l.prototype.insertDigit=function(t,e){return null!=e?this.inside.insertBefore(t,e):this.inside.children.length?this.inside.insertBefore(t,this.inside.children[0]):this.inside.appendChild(t)},l.prototype.addSpacer=function(t,e,i){var s;return s=d(n),s.innerHTML=t,i&&u(s,i),this.insertDigit(s,e)},l.prototype.addDigit=function(t,e){var i,n,s,o;if(null==e&&(e=!0),"-"===t)return this.addSpacer(t,null,"odometer-negation-mark");if("."===t)return this.addSpacer(null!=(o=this.format.radix)?o:".",null,"odometer-radix-mark");if(e)for(s=!1;;){if(!this.format.repeating.length){if(s)throw new Error("Bad odometer format without digits");this.resetFormat(),s=!0}if(i=this.format.repeating[this.format.repeating.length-1],this.format.repeating=this.format.repeating.substring(0,this.format.repeating.length-1),"d"===i)break;this.addSpacer(i)}return n=this.renderDigit(),n.querySelector(".odometer-value").innerHTML=t,this.digits.push(n),this.insertDigit(n)},l.prototype.animate=function(t){return h&&"count"!==this.options.animation?this.animateSlide(t):this.animateCount(t)},l.prototype.animateCount=function(t){var e,i,n,s,o,r=this;if(i=+t-this.value)return s=n=f(),e=this.value,(o=function(){var a,l,c;return f()-s>r.options.duration?(r.value=t,r.render(),void T(r.el,"odometerdone")):((a=f()-n)>50&&(n=f(),c=a/r.options.duration,l=i*c,e+=l,r.render(Math.round(e))),null!=g?g(o):setTimeout(o,50))})()},l.prototype.getDigitCount=function(){var t,e,i,n,s,o;for(t=s=0,o=(n=1<=arguments.length?C.call(arguments,0):[]).length;o>s;t=++s)i=n[t],n[t]=Math.abs(i);return e=Math.max.apply(Math,n),Math.ceil(Math.log(e+1)/Math.log(10))},l.prototype.getFractionalDigitCount=function(){var t,e,i,n,s,o,r;for(e=/^\-?\d*\.(\d*?)0*$/,t=o=0,r=(s=1<=arguments.length?C.call(arguments,0):[]).length;r>o;t=++o)n=s[t],s[t]=n.toString(),i=e.exec(s[t]),s[t]=null==i?0:i[1].length;return Math.max.apply(Math,s)},l.prototype.resetDigits=function(){return this.digits=[],this.ribbons=[],this.inside.innerHTML="",this.resetFormat()},l.prototype.animateSlide=function(t){var e,i,n,s,o,r,a,l,c,h,d,p,f,m,g,v,y,T,w,S,_,x,P,C,M,A,E;if(v=this.value,(l=this.getFractionalDigitCount(v,t))&&(t*=Math.pow(10,l),v*=Math.pow(10,l)),n=t-v){for(this.bindTransitionEnd(),s=this.getDigitCount(v,t),o=[],e=0,d=w=0;s>=0?s>w:w>s;d=s>=0?++w:--w){if(y=b(v/Math.pow(10,s-d-1)),a=b(t/Math.pow(10,s-d-1)),r=a-y,Math.abs(r)>this.MAX_VALUES){for(h=[],p=r/(this.MAX_VALUES+this.MAX_VALUES*e*.5),i=y;r>0&&a>i||0>r&&i>a;)h.push(Math.round(i)),i+=p;h[h.length-1]!==a&&h.push(a),e++}else h=function(){E=[];for(var t=y;a>=y?a>=t:t>=a;a>=y?t++:t--)E.push(t);return E}.apply(this);for(d=S=0,x=h.length;x>S;d=++S)c=h[d],h[d]=Math.abs(c%10);o.push(h)}for(this.resetDigits(),d=_=0,P=(A=o.reverse()).length;P>_;d=++_)for(h=A[d],this.digits[d]||this.addDigit(" ",d>=l),null==(T=this.ribbons)[d]&&(T[d]=this.digits[d].querySelector(".odometer-ribbon-inner")),this.ribbons[d].innerHTML="",0>n&&(h=h.reverse()),f=M=0,C=h.length;C>M;f=++M)c=h[f],g=document.createElement("div"),g.className="odometer-value",g.innerHTML=c,this.ribbons[d].appendChild(g),f===h.length-1&&u(g,"odometer-last-value"),0===f&&u(g,"odometer-first-value");return 0>y&&this.addDigit("-"),null!=(m=this.inside.querySelector(".odometer-radix-mark"))&&m.parent.removeChild(m),l?this.addSpacer(this.format.radix,this.digits[l-1],"odometer-radix-mark"):void 0}},l}()).options=null!=(x=window.odometerOptions)?x:{},setTimeout(function(){var t,e,i,n,s;if(window.odometerOptions){n=window.odometerOptions,s=[];for(t in n)e=n[t],s.push(null!=(i=l.options)[t]?(i=l.options)[t]:i[t]=e);return s}},0),l.init=function(){var t,e,i,n,s,o;if(null!=document.querySelectorAll){for(o=[],i=0,n=(e=document.querySelectorAll(l.options.selector||".odometer")).length;n>i;i++)t=e[i],o.push(t.odometer=new l({el:t,value:null!=(s=t.innerText)?s:t.textContent}));return o}},null!=(null!=(P=document.documentElement)?P.doScroll:void 0)&&null!=document.createEventObject?(_=document.onreadystatechange,document.onreadystatechange=function(){return"complete"===document.readyState&&!1!==l.options.auto&&l.init(
vendor: 14,223 bytes, line 1
1),null!=_?_.apply(this,arguments):void 0}):document.addEventListener("DOMContentLoaded",function(){return!1!==l.options.auto?l.init():void 0},!1),"function"==typeof define&&define.amd?define(["jquery"],function(){return l}):!1===typeof exports?module.exports=l:window.Odometer=l}.call(this),function(t,e){"function"==typeof define&&define.amd?define("packery/js/rect",e):"object"==typeof module&&module.exports?module.exports=e():(t.Packery=t.Packery||{},t.Packery.Rect=e())}(window,function(){function t(e){for(var i in t.defaults)this[i]=t.defaults[i];for(i in e)this[i]=e[i]}t.defaults={x:0,y:0,width:0,height:0};var e=t.prototype;return e.contains=function(t){var e=t.width||0,i=t.height||0;return this.x<=t.x&&this.y<=t.y&&this.x+this.width>=t.x+e&&this.y+this.height>=t.y+i},e.overlaps=function(t){var e=this.x+this.width,i=this.y+this.height,n=t.x+t.width,s=t.y+t.height;return this.x<n&&e>t.x&&this.y<s&&i>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,n=[],s=this.x+this.width,o=this.y+this.height,r=e.x+e.width,a=e.y+e.height;return this.y<e.y&&(i=new t({x:this.x,y:this.y,width:this.width,height:e.y-this.y}),n.push(i)),s>r&&(i=new t({x:r,y:this.y,width:s-r,height:this.height}),n.push(i)),o>a&&(i=new t({x:this.x,y:a,width:this.width,height:o-a}),n.push(i)),this.x<e.x&&(i=new t({x:this.x,y:this.y,width:e.x-this.x,height:this.height}),n.push(i)),n},e.canFit=function(t){return this.width>=t.width&&this.height>=t.height},t}),function(t,e){if("function"==typeof define&&define.amd)define("packery/js/packer",["./rect"],e);else if("object"==typeof module&&module.exports)module.exports=e(require("./rect"));else{var i=t.Packery=t.Packery||{};i.Packer=e(i.Rect)}}(window,function(t){function e(t,e,i){this.width=t||0,this.height=e||0,this.sortDirection=i||"downwardLeftToRight",this.reset()}var i=e.prototype;i.reset=function(){this.spaces=[];var e=new t({x:0,y:0,width:this.width,height:this.height});this.spaces.push(e),this.sorter=n[this.sortDirection]||n.downwardLeftToRight},i.pack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.canFit(t)){this.placeInSpace(t,i);break}}},i.columnPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.x<=t.x&&i.x+i.width>=t.x+t.width&&i.height>=t.height-.01){t.y=i.y,this.placed(t);break}}},i.rowPack=function(t){for(var e=0;e<this.spaces.length;e++){var i=this.spaces[e];if(i.y<=t.y&&i.y+i.height>=t.y+t.height&&i.width>=t.width-.01){t.x=i.x,this.placed(t);break}}},i.placeInSpace=function(t,e){t.x=e.x,t.y=e.y,this.placed(t)},i.placed=function(t){for(var e=[],i=0;i<this.spaces.length;i++){var n=this.spaces[i],s=n.getMaximalFreeRects(t);s?e.push.apply(e,s):e.push(n)}this.spaces=e,this.mergeSortSpaces()},i.mergeSortSpaces=function(){e.mergeRects(this.spaces),this.spaces.sort(this.sorter)},i.addSpace=function(t){this.spaces.push(t),this.mergeSortSpaces()},e.mergeRects=function(t){var e=0,i=t[e];t:for(;i;){for(var n=0,s=t[e+n];s;){if(s==i)n++;else{if(s.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(s)?t.splice(e+n,1):n++}s=t[e+n]}i=t[++e]}return t};var n={downwardLeftToRight:function(t,e){return t.y-e.y||t.x-e.x},rightwardTopToBottom:function(t,e){return t.x-e.x||t.y-e.y}};return e}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/item",["outlayer/outlayer","./rect"],e):"object"==typeof module&&module.exports?module.exports=e(require("outlayer"),require("./rect")):t.Packery.Item=e(t.Outlayer,t.Packery.Rect)}(window,function(t,e){var i="string"==typeof document.documentElement.style.transform?"transform":"WebkitTransform",n=function(){t.Item.apply(this,arguments)},s=n.prototype=Object.create(t.Item.prototype),o=s._create;s._create=function(){o.call(this),this.rect=new e};var r=s.moveTo;return s.moveTo=function(t,e){var i=Math.abs(this.position.x-t),n=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&n<1?this.goTo(t,e):r.apply(this,arguments)},s.enablePlacing=function(){this.removeTransitionStyles(),this.isTransitioning&&i&&(this.element.style[i]="none"),this.isTransitioning=!1,this.getSize(),this.layout._setRectSize(this.element,this.rect),this.isPlacing=!0},s.disablePlacing=function(){this.isPlacing=!1},s.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},s.showDropPlaceholder=function(){var t=this.dropPlaceholder;t||((t=this.dropPlaceholder=document.createElement("div")).className="packery-drop-placeholder",t.style.position="absolute"),t.style.width=this.size.width+"px",t.style.height=this.size.height+"px",this.positionDropPlaceholder(),this.layout.element.appendChild(t)},s.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},s.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},n}),function(t,e){"function"==typeof define&&define.amd?define("packery/js/packery",["get-size/get-size","outlayer/outlayer","./rect","./packer","./item"],e):"object"==typeof module&&module.exports?module.exports=e(require("get-size"),require("outlayer"),require("./rect"),require("./packer"),require("./item")):t.Packery=e(t.getSize,t.Outlayer,t.Packery.Rect,t.Packery.Packer,t.Packery.Item)}(window,function(t,e,i,n,s){function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function r(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}function a(t,e){var i=e.x-t.x,n=e.y-t.y;return Math.sqrt(i*i+n*n)}i.prototype.canFit=function(t){return this.width>=t.width-1&&this.height>=t.height-1};var l=e.create("packery");l.Item=s;var c=l.prototype;c._create=function(){e.prototype._create.call(this),this.packer=new n,this.shiftPacker=new n,this.isEnabled=!0,this.dragItemCount=0;var t=this;this.handleDraggabilly={dragStart:function(){t.itemDragStart(this.element)},dragMove:function(){t.itemDragMove(this.element,this.position.x,this.position.y)},dragEnd:function(){t.itemDragEnd(this.element)}},this.handleUIDraggable={start:function(e,i){i&&t.itemDragStart(e.currentTarget)},drag:function(e,i){i&&t.itemDragMove(e.currentTarget,i.position.left,i.position.top)},stop:function(e,i){i&&t.itemDragEnd(e.currentTarget)}}},c._resetLayout=function(){this.getSize(),this._getMeasurements();var t,e,i;this._getOption("horizontal")?(t=1/0,e=this.size.innerHeight+this.gutter,i="rightwardTopToBottom"):(t=this.size.innerWidth+this.gutter,e=1/0,i="downwardLeftToRight"),this.packer.width=this.shiftPacker.width=t,this.packer.height=this.shiftPacker.height=e,this.packer.sortDirection=this.shiftPacker.sortDirection=i,this.packer.reset(),this.maxY=0,this.maxX=0},c._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},c._getItemLayoutPosition=function(t){if(this._setRectSize(t.element,t.rect),this.isShifting||this.dragItemCount>0){var e=this._getPackMethod();this.packer[e](t.rect)}else this.packer.pack(t.rect);return this._setMaxXY(t.rect),t.rect},c.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},c._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},c._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},c._setRectSize=function(e,i){var n=t(e),s=n.outerWidth,o=n.outerHeight;(s||o)&&(s=this._applyGridGutter(s,this.columnWidth),o=this._applyGridGutter(o,this.rowHeight)),i.width=Math.min(s,this.packer.width),i.height=Math.min(o,this.packer.height)},c._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter),n=i&&i<1?"round":"ceil";return t=Math[n](t/e)*e},c._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},c._manageStamp=function(t){var e,n=this.getItem(t);if(n&&n.isPlacing)e=n.rect;else{var s=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?s.left:s.right,y:this._getOption("originTop")?s.top:s.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},c.sortItemsByPosition=function(){var t=this._getOption("horizontal")?r:o;this.items.sort(t)},c.fit=function(t,e,i){var n=this.getItem(t);n&&(this.stamp(n.element),n.enablePlacing(),this.updateShiftTargets(n),e=void 0===e?n.rect.x:e,i=void 0===i?n.rect.y:i,this.shift(n,e,i),this._bindFitEvents(n),n.moveTo(n.rect.x,n.rect.y),this.shiftLayout(),this.unstamp(n.element),this.sortItemsByPosition(),n.disablePlacing())},c._bindFitEvents=function(t){function e(){2==++n&&i.dispatchEvent("fitComplete",null,[t])}var i=this,n=0;t.once("layout",e),this.once("layoutComplete",e)},c.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},c.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},c.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),n=i?"y":"x",s=i?"height":"width",o=i?"rowHeight":"columnWidth",r=i?"innerHeight":"innerWidth",a=this[o];if(a=a&&a+this.gutter){this._getMeasurements();var l=this[o]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[n]/a);t.rect[n]=e*l})}else{var c=t(this.element)[r]+this.gutter,h=this.packer[s];e.forEach(function(t){t.rect[n]=t.rect[n]/h*c})}this.shiftLayout()},c.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},c.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),n=this._getOption("originTop");this.stamps.forEach(function(t){var s=this.getItem(t);if(!s||!s.isPlacing){var o=this._getElementOffset(t),r=new i({x:e?o.left:o.right,y:n?o.top:o.bottom});this._setRectSize(t,r),this.shiftPacker.placed(r)}},this);var s=this._getOption("horizontal"),o=s?"rowHeight":"columnWidth",r=s?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a,l=this[o];if(l=l&&l+this.gutter){var c=Math.ceil(t.rect[r]/l),h=Math.floor((this.shiftPacker[r]+this.gutter)/l);a=(h-c)*l;for(var u=0;u<h;u++)this._addShiftTarget(u*l,0,a)}else a=this.shiftPacker[r]+this.gutter-t.rect[r],this._addShiftTarget(0,0,a);var d=this._getItemsForLayout(this.items),p=this._getPackMethod();d.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[p](e),this._addShiftTarget(e.x,e.y,a);var i=s?e.x+e.width:e.x,n=s?e.y:e.y+e.height;if(this._addShiftTarget(i,n,a),l)for(var o=Math.round(e[r]/l),c=1;c<o;c++){var h=s?i:e.x+l*c,u=s?e.y+l*c:n;this._addShiftTarget(h,u,a)}},this)},c._addShiftTarget=function(t,e,i){var n=this._getOption("horizontal")?e:t;if(!(0!==n&&n>i)){var s=t+","+e;-1!=this.shiftTargetKeys.indexOf(s)||(this.shiftTargetKeys.push(s),this.shiftTargets.push({x:t,y:e}))}},c.shift=function(t,e,i){var n,s=1/0,o={x:e,y:i};this.shiftTargets.forEach(function(t){var e=a(t,o);e<s&&(n=t,s=e)}),t.rect.x=n.x,t.rect.y=n.y};c.itemDragMove=function(t,e,i){function n(){o.shift(s,e,i),s.positionDropPlaceholder(),o.layout()}var s=this.isEnabled&&this.getItem(t);if(s){e-=this.size.paddingLeft,i-=this.size.paddingTop;var o=this,r=new Date;this._itemDragTime&&r-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(n,120)):(n(),this._itemDragTime=r)}},c.itemDragEnd=function(t){function e(){2==++n&&(i.element.classList.remove("is-positioning-post-drag"),i.hideDropPlaceholder(),s.dispatchEvent("dragItemPositioned",null,[i]))}var i=this.isEnabled&&this.getItem(t);if(i){clearTimeout(this.dragTimeout),i.element.classList.add("is-positioning-post-drag");var n=0,s=this;i.once("layout",e),this.once("layoutComplete",e),i.moveTo(i.rect.x,i.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),i.disablePlacing(),this.unstamp(i.element)}},c.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},c.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},c._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},c.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},c.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},c._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var h=c.destroy;return c.destroy=function(){h.apply(this,arguments),this.isEnabled=!1},l.Rect=i,l.Packer=n,l}),function(t,e){"function"==typeof define&&define.amd?define(["isotope/js/layout-mode","packery/js/packery"],e):"object"==typeof module&&module.exports?module.exports=e(require("isotope-layout/js/layout-mode"),require("packery")):e(t.Isotope.LayoutMode,t.Packery)}(window,function(t,e){var i=t.create("packery"),n=i.prototype,s={_getElementOffset:!0,_getMeasurement:!0};for(var o in e.prototype)s[o]||(n[o]=e.prototype[o]);var r=n._resetLayout;n._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,r.apply(this,arguments)};var a=n._getItemLayoutPosition;n._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,a.call(this,t)};var l=n.needsResizeLayout;n.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():l.call(this)};var c=n._getOption;return n._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotope,arguments)},i}),function t(e,i,n){function s(r,a){if(!i[r]){if(!e[r]){var l="function"==typeof require&&require;if(!a&&l)return l(r,!0);if(o)return o(r,!0);var c=new Error("Cannot find module '"+r+"'");throw c.code="MODULE_NOT_FOUND",c}var h=i[r]={exports:{}};e[r][0].call(h.exports,function(t){var i=e[r][1][t];return s(i||t)},h,h.exports,t,e,i,n)}return i[r].exports}for(var o="function"==typeof require&&require,r=0;r<n.length;r++)s(n[r]);return s}
1({1:[function(t,e,i){function n(t){t.fn.perfectScrollbar=function(t){return this.each(function(){if("object"==typeof t||void 0===t){var e=t;o.get(this)||s.initialize(this,e)}else{var i=t;"update"===i?s.update(this):"destroy"===i&&s.destroy(this)}})}}var s=t("../main"),o=t("../plugin/instances");if("function"==typeof define&&define.amd)define(["jquery"],n);else{var r=window.jQuery?window.jQuery:window.$;void 0!==r&&n(r)}e.exports=n},{"../main":7,"../plugin/instances":18}],2:[function(t,e,i){function n(t,e){var i=t.className.split(" ");i.indexOf(e)<0&&i.push(e),t.className=i.join(" ")}function s(t,e){var i=t.className.split(" "),n=i.indexOf(e);n>=0&&i.splice(n,1),t.className=i.join(" ")}i.add=function(t,e){t.classList?t.classList.add(e):n(t,e)},i.remove=function(t,e){t.classList?t.classList.remove(e):s(t,e)},i.list=function(t){return t.classList?Array.prototype.slice.apply(t.classList):t.className.split(" ")}},{}],3:[function(t,e,i){function n(t,e){return window.getComputedStyle(t)[e]}function s(t,e,i){return"number"==typeof i&&(i=i.toString()+"px"),t.style[e]=i,t}function o(t,e){for(var i in e){var n=e[i];"number"==typeof n&&(n=n.toString()+"px"),t.style[i]=n}return t}var r={};r.e=function(t,e){var i=document.createElement(t);return i.className=e,i},r.appendTo=function(t,e){return e.appendChild(t),t},r.css=function(t,e,i){return"object"==typeof e?o(t,e):void 0===i?n(t,e):s(t,e,i)},r.matches=function(t,e){return void 0!==t.matches?t.matches(e):void 0!==t.matchesSelector?t.matchesSelector(e):void 0!==t.webkitMatchesSelector?t.webkitMatchesSelector(e):void 0!==t.mozMatchesSelector?t.mozMatchesSelector(e):void 0!==t.msMatchesSelector?t.msMatchesSelector(e):void 0},r.remove=function(t){void 0!==t.remove?t.remove():t.parentNode&&t.parentNode.removeChild(t)},r.queryChildren=function(t,e){return Array.prototype.filter.call(t.childNodes,function(t){return r.matches(t,e)})},e.exports=r},{}],4:[function(t,e,i){var n=function(t){this.element=t,this.events={}};n.prototype.bind=function(t,e){void 0===this.events[t]&&(this.events[t]=[]),this.events[t].push(e),this.element.addEventListener(t,e,!1)},n.prototype.unbind=function(t,e){var i=void 0!==e;this.events[t]=this.events[t].filter(function(n){return!(!i||n===e)||(this.element.removeEventListener(t,n,!1),!1)},this)},n.prototype.unbindAll=function(){for(var t in this.events)this.unbind(t)};var s=function(){this.eventElements=[]};s.prototype.eventElement=function(t){var e=this.eventElements.filter(function(e){return e.element===t})[0];return void 0===e&&(e=new n(t),this.eventElements.push(e)),e},s.prototype.bind=function(t,e,i){this.eventElement(t).bind(e,i)},s.prototype.unbind=function(t,e,i){this.eventElement(t).unbind(e,i)},s.prototype.unbindAll=function(){for(var t=0;t<this.eventElements.length;t++)this.eventElements[t].unbindAll()},s.prototype.once=function(t,e,i){var n=this.eventElement(t),s=function(t){n.unbind(e,s),i(t)};n.bind(e,s)},e.exports=s},{}],5:[function(t,e,i){e.exports=function(){function t(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}
1return function(){return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()}}()},{}],6:[function(t,e,i){var n=t("./class"),s=t("./dom"),o=i.toInt=function(t){return parseInt(t,10)||0},r=i.clone=function(t){if(t){if(Array.isArray(t))return t.map(r);if("object"==typeof t){var e={};for(var i in t)e[i]=r(t[i]);return e}return t}return null};i.extend=function(t,e){var i=r(t);for(var n in e)i[n]=r(e[n]);return i},i.isEditable=function(t){return s.matches(t,"input,[contenteditable]")||s.matches(t,"select,[contenteditable]")||s.matches(t,"textarea,[contenteditable]")||s.matches(t,"button,[contenteditable]")},i.removePsClasses=function(t){for(var e=n.list(t),i=0;i<e.length;i++){var s=e[i];0===s.indexOf("ps-")&&n.remove(t,s)}},i.outerWidth=function(t){return o(s.css(t,"width"))+o(s.css(t,"paddingLeft"))+o(s.css(t,"paddingRight"))+o(s.css(t,"borderLeftWidth"))+o(s.css(t,"borderRightWidth"))},i.startScrolling=function(t,e){n.add(t,"ps-in-scrolling"),void 0!==e?n.add(t,"ps-"+e):(n.add(t,"ps-x"),n.add(t,"ps-y"))},i.stopScrolling=function(t,e){n.remove(t,"ps-in-scrolling"),void 0!==e?n.remove(t,"ps-"+e):(n.remove(t,"ps-x"),n.remove(t,"ps-y"))},i.env={isWebKit:"WebkitAppearance"in document.documentElement.style,supportsTouch:"ontouchstart"in window||window.DocumentTouch&&document instanceof window.DocumentTouch,supportsIePointer:null!==window.navigator.msMaxTouchPoints}},{"./class":2,"./dom":3}],7:[function(t,e,i){var n=t("./plugin/destroy"),s=t("./plugin/initialize"),o=t("./plugin/update");e.exports={initialize:s,update:o,destroy:n}},{"./plugin/destroy":9,"./plugin/initialize":17,"./plugin/update":21}],8:[function(t,e,i){e.exports={handlers:["click-rail","drag-scrollbar","keyboard","wheel","touch"],maxScrollbarLength:null,minScrollbarLength:null,scrollXMarginOffset:0,scrollYMarginOffset:0,suppressScrollX:!1,suppressScrollY:!1,swipePropagation:!0,swipeEasing:!0,useBothWheelAxes:!1,wheelPropagation:!1,wheelSpeed:1,theme:"default"}},{}],9:[function(t,e,i){var n=t("../lib/helper"),s=t("../lib/dom"),o=t("./instances");e.exports=function(t){var e=o.get(t);e&&(e.event.unbindAll(),s.remove(e.scrollbarX),s.remove(e.scrollbarY),s.remove(e.scrollbarXRail),s.remove(e.scrollbarYRail),n.removePsClasses(t),o.remove(t))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18}],10:[function(t,e,i){function n(t,e){function i(t){return t.getBoundingClientRect()}var n=function(t){t.stopPropagation()};e.event.bind(e.scrollbarY,"click",n),e.event.bind(e.scrollbarYRail,"click",function(n){var s=n.pageY-window.pageYOffset-i(e.scrollbarYRail).top>e.scrollbarYTop?1:-1;r(t,"top",t.scrollTop+s*e.containerHeight),o(t),n.stopPropagation()}),e.event.bind(e.scrollbarX,"click",n),e.event.bind(e.scrollbarXRail,"click",function(n){var s=n.pageX-window.pageXOffset-i(e.scrollbarXRail).left>e.scrollbarXLeft?1:-1;r(t,"left",t.scrollLeft+s*e.containerWidth),o(t),n.stopPropagation()})}var s=t("../instances"),o=t("../update-geometry"),r=t("../update-scroll");e.exports=function(t){n(t,s.get(t))}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],11:[function(t,e,i){function n(t,e){function i(i){var s=n+i*e.railXRatio,r=Math.max(0,e.scrollbarXRail.getBoundingClientRect().left)+e.railXRatio*(e.railXWidth-e.scrollbarXWidth);e.scrollbarXLeft=s<0?0:s>r?r:s;var a=o.toInt(e.scrollbarXLeft*(e.contentWidth-e.containerWidth)/(e.containerWidth-e.railXRatio*e.scrollbarXWidth))-e.negativeScrollAdjustment;c(t,"left",a)}var n=null,s=null,a=function(e){i(e.pageX-s),l(t),e.stopPropagation(),e.preventDefault()},h=function(){o.stopScrolling(t,"x"),e.event.unbind(e.ownerDocument,"mousemove",a)};e.event.bind(e.scrollbarX,"mousedown",function(i){s=i.pageX,n=o.toInt(r.css(e.scrollbarX,"left"))*e.railXRatio,o.startScrolling(t,"x"),e.event.bind(e.ownerDocument,"mousemove",a),e.event.once(e.ownerDocument,"mouseup",h),i.stopPropagation(),i.preventDefault()})}function s(t,e){function i(i){var s=n+i*e.railYRatio,r=Math.max(0,e.scrollbarYRail.getBoundingClientRect().top)+e.railYRatio*(e.railYHeight-e.scrollbarYHeight);e.scrollbarYTop=s<0?0:s>r?r:s;var a=o.toInt(e.scrollbarYTop*(e.contentHeight-e.containerHeight)/(e.containerHeight-e.railYRatio*e.scrollbarYHeight));c(t,"top",a)}var n=null,s=null,a=function(e){i(e.pageY-s),l(t),e.stopPropagation(),e.preventDefault()},h=function(){o.stopScrolling(t,"y"),e.event.unbind(e.ownerDocument,"mousemove",a)};e.event.bind(e.scrollbarY,"mousedown",function(i){s=i.pageY,n=o.toInt(r.css(e.scrollbarY,"top"))*e.railYRatio,o.startScrolling(t,"y"),e.event.bind(e.ownerDocument,"mousemove",a),e.event.once(e.ownerDocument,"mouseup",h),i.stopPropagation(),i.preventDefault()})}var o=t("../../lib/helper"),r=t("../../lib/dom"),a=t("../instances"),l=t("../update-geometry"),c=t("../update-scroll");e.exports=function(t){var e=a.get(t);n(t,e),s(t,e)}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}
1],12:[function(t,e,i){function n(t,e){function i(i,n){var s=t.scrollTop;if(0===i){if(!e.scrollbarYActive)return!1;if(0===s&&n>0||s>=e.contentHeight-e.containerHeight&&n<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===n){if(!e.scrollbarXActive)return!1;if(0===o&&i<0||o>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}var n=!1;e.event.bind(t,"mouseenter",function(){n=!0}),e.event.bind(t,"mouseleave",function(){n=!1});var r=!1;e.event.bind(e.ownerDocument,"keydown",function(c){if(!(c.isDefaultPrevented&&c.isDefaultPrevented()||c.defaultPrevented)){var h=o.matches(e.scrollbarX,":focus")||o.matches(e.scrollbarY,":focus");if(n||h){var u=document.activeElement?document.activeElement:e.ownerDocument.activeElement;if(u){if("IFRAME"===u.tagName)u=u.contentDocument.activeElement;else for(;u.shadowRoot;)u=u.shadowRoot.activeElement;if(s.isEditable(u))return}var d=0,p=0;switch(c.which){case 37:d=c.metaKey?-e.contentWidth:c.altKey?-e.containerWidth:-30;break;case 38:p=c.metaKey?e.contentHeight:c.altKey?e.containerHeight:30;break;case 39:d=c.metaKey?e.contentWidth:c.altKey?e.containerWidth:30;break;case 40:p=c.metaKey?-e.contentHeight:c.altKey?-e.containerHeight:-30;break;case 33:p=90;break;case 32:p=c.shiftKey?90:-90;break;case 34:p=-90;break;case 35:p=c.ctrlKey?-e.contentHeight:-e.containerHeight;break;case 36:p=c.ctrlKey?t.scrollTop:e.containerHeight;break;default:return}l(t,"top",t.scrollTop-p),l(t,"left",t.scrollLeft+d),a(t),(r=i(d,p))&&c.preventDefault()}}})}var s=t("../../lib/helper"),o=t("../../lib/dom"),r=t("../instances"),a=t("../update-geometry"),l=t("../update-scroll");e.exports=function(t){n(t,r.get(t))}},{"../../lib/dom":3,"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],13:[function(t,e,i){function n(t,e){function i(i,n){var s=t.scrollTop;if(0===i){if(!e.scrollbarYActive)return!1;if(0===s&&n>0||s>=e.contentHeight-e.containerHeight&&n<0)return!e.settings.wheelPropagation}var o=t.scrollLeft;if(0===n){if(!e.scrollbarXActive)return!1;if(0===o&&i<0||o>=e.contentWidth-e.containerWidth&&i>0)return!e.settings.wheelPropagation}return!0}function n(t){var e=t.deltaX,i=-1*t.deltaY;return void 0!==e&&void 0!==i||(e=-1*t.wheelDeltaX/6,i=t.wheelDeltaY/6),t.deltaMode&&1===t.deltaMode&&(e*=10,i*=10),e!==e&&i!==i&&(e=0,i=t.wheelDelta),t.shiftKey?[-i,-e]:[e,i]}function s(e,i){var n=t.querySelector("textarea:hover, select[multiple]:hover, .ps-child:hover");if(n){var s=window.getComputedStyle(n);if(![s.overflow,s.overflowX,s.overflowY].join("").match(/(scroll|auto)/))return!1;var o=n.scrollHeight-n.clientHeight;if(o>0&&!(0===n.scrollTop&&i>0||n.scrollTop===o&&i<0))return!0;var r=n.scrollLeft-n.clientWidth;if(r>0&&!(0===n.scrollLeft&&e<0||n.scrollLeft===r&&e>0))return!0}return!1}function a(a){var c=n(a),h=c[0],u=c[1];s(h,u)||(l=!1,e.settings.useBothWheelAxes?e.scrollbarYActive&&!e.scrollbarXActive?(u?r(t,"top",t.scrollTop-u*e.settings.wheelSpeed):r(t,"top",t.scrollTop+h*e.settings.wheelSpeed),l=!0):e.scrollbarXActive&&!e.scrollbarYActive&&(h?r(t,"left",t.scrollLeft+h*e.settings.wheelSpeed):r(t,"left",t.scrollLeft-u*e.settings.wheelSpeed),l=!0):(r(t,"top",t.scrollTop-u*e.settings.wheelSpeed),r(t,"left",t.scrollLeft+h*e.settings.wheelSpeed)),o(t),(l=l||i(h,u))&&(a.stopPropagation(),a.preventDefault()))}var l=!1;void 0!==window.onwheel?e.event.bind(t,"wheel",a):void 0!==window.onmousewheel&&e.event.bind(t,"mousewheel",a)}var s=t("../instances"),o=t("../update-geometry"),r=t("../update-scroll");e.exports=function(t){n(t,s.get(t))}},{"../instances":18,"../update-geometry":19,"../update-scroll":20}],14:[function(t,e,i){function n(t,e){e.event.bind(t,"scroll",function(){o(t)})}var s=t("../instances"),o=t("../update-geometry");e.exports=function(t){n(t,s.get(t))}},{"../instances":18,"../update-geometry":19}],15:[function(t,e,i){function n(t,e){function i(){var t=window.getSelection?window.getSelection():document.getSelection?document.getSelection():"";return 0===t.toString().length?null:t.getRangeAt(0).commonAncestorContainer}function n(){c||(c=setInterval(function(){return o.get(t)?(a(t,"top",t.scrollTop+h.top),a(t,"left",t.scrollLeft+h.left),void r(t)):void clearInterval(c)},50))}function l(){c&&(clearInterval(c),c=null),s.stopScrolling(t)}var c=null,h={top:0,left:0},u=!1;e.event.bind(e.ownerDocument,"selectionchange",function(){t.contains(i())?u=!0:(u=!1,l())}
1),e.event.bind(window,"mouseup",function(){u&&(u=!1,l())}),e.event.bind(window,"keyup",function(){u&&(u=!1,l())}),e.event.bind(window,"mousemove",function(e){if(u){var i={x:e.pageX,y:e.pageY},o={left:t.offsetLeft,right:t.offsetLeft+t.offsetWidth,top:t.offsetTop,bottom:t.offsetTop+t.offsetHeight};i.x<o.left+3?(h.left=-5,s.startScrolling(t,"x")):i.x>o.right-3?(h.left=5,s.startScrolling(t,"x")):h.left=0,i.y<o.top+3?(h.top=o.top+3-i.y<5?-5:-20,s.startScrolling(t,"y")):i.y>o.bottom-3?(h.top=i.y-o.bottom+3<5?5:20,s.startScrolling(t,"y")):h.top=0,0===h.top&&0===h.left?l():n()}})}var s=t("../../lib/helper"),o=t("../instances"),r=t("../update-geometry"),a=t("../update-scroll");e.exports=function(t){n(t,o.get(t))}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],16:[function(t,e,i){function n(t,e,i,n){function s(i,n){var s=t.scrollTop,o=t.scrollLeft,r=Math.abs(i),a=Math.abs(n);if(a>r){if(n<0&&s===e.contentHeight-e.containerHeight||n>0&&0===s)return!e.settings.swipePropagation}else if(r>a&&(i<0&&o===e.contentWidth-e.containerWidth||i>0&&0===o))return!e.settings.swipePropagation;return!0}function l(e,i){a(t,"top",t.scrollTop-i),a(t,"left",t.scrollLeft-e),r(t)}function c(){b=!0}function h(){b=!1}function u(t){return t.targetTouches?t.targetTouches[0]:t}function d(t){return!(!t.targetTouches||1!==t.targetTouches.length)||!(!t.pointerType||"mouse"===t.pointerType||t.pointerType===t.MSPOINTER_TYPE_MOUSE)}function p(t){if(d(t)){w=!0;var e=u(t);g.pageX=e.pageX,g.pageY=e.pageY,v=(new Date).getTime(),null!==T&&clearInterval(T),t.stopPropagation()}}function f(t){if(!w&&e.settings.swipePropagation&&p(t),!b&&w&&d(t)){var i=u(t),n={pageX:i.pageX,pageY:i.pageY},o=n.pageX-g.pageX,r=n.pageY-g.pageY;l(o,r),g=n;var a=(new Date).getTime(),c=a-v;c>0&&(y.x=o/c,y.y=r/c,v=a),s(o,r)&&(t.stopPropagation(),t.preventDefault())}}function m(){!b&&w&&(w=!1,e.settings.swipeEasing&&(clearInterval(T),T=setInterval(function(){return o.get(t)&&(y.x||y.y)?Math.abs(y.x)<.01&&Math.abs(y.y)<.01?void clearInterval(T):(l(30*y.x,30*y.y),y.x*=.8,void(y.y*=.8)):void clearInterval(T)},10)))}var g={},v=0,y={},T=null,b=!1,w=!1;i?(e.event.bind(window,"touchstart",c),e.event.bind(window,"touchend",h),e.event.bind(t,"touchstart",p),e.event.bind(t,"touchmove",f),e.event.bind(t,"touchend",m)):n&&(window.PointerEvent?(e.event.bind(window,"pointerdown",c),e.event.bind(window,"pointerup",h),e.event.bind(t,"pointerdown",p),e.event.bind(t,"pointermove",f),e.event.bind(t,"pointerup",m)):window.MSPointerEvent&&(e.event.bind(window,"MSPointerDown",c),e.event.bind(window,"MSPointerUp",h),e.event.bind(t,"MSPointerDown",p),e.event.bind(t,"MSPointerMove",f),e.event.bind(t,"MSPointerUp",m)))}var s=t("../../lib/helper"),o=t("../instances"),r=t("../update-geometry"),a=t("../update-scroll");e.exports=function(t){(s.env.supportsTouch||s.env.supportsIePointer)&&n(t,o.get(t),s.env.supportsTouch,s.env.supportsIePointer)}},{"../../lib/helper":6,"../instances":18,"../update-geometry":19,"../update-scroll":20}],17:[function(t,e,i){var n=t("../lib/helper"),s=t("../lib/class"),o=t("./instances"),r=t("./update-geometry"),a={"click-rail":t("./handler/click-rail"),"drag-scrollbar":t("./handler/drag-scrollbar"),keyboard:t("./handler/keyboard"),wheel:t("./handler/mouse-wheel"),touch:t("./handler/touch"),selection:t("./handler/selection")},l=t("./handler/native-scroll");e.exports=function(t,e){e="object"==typeof e?e:{},s.add(t,"ps");var i=o.add(t);i.settings=n.extend(i.settings,e),s.add(t,"ps--theme_"+i.settings.theme),i.settings.handlers.forEach(function(e){a[e](t)}),l(t),r(t)}},{"../lib/class":2,"../lib/helper":6,"./handler/click-rail":10,"./handler/drag-scrollbar":11,"./handler/keyboard":12,"./handler/mouse-wheel":13,"./handler/native-scroll":14,"./handler/selection":15,"./handler/touch":16,"./instances":18,"./update-geometry":19}],18:[function(t,e,i){function n(t){function e(){l.add(t,"ps--focus")}function i(){l.remove(t,"ps--focus")}var n=this;n.settings=a.clone(c),n.containerWidth=null,n.containerHeight=null,n.contentWidth=null,n.contentHeight=null,n.isRtl="rtl"===h.css(t,"direction"),n.isNegativeScroll=function(){var e=t.scrollLeft,i=null;return t.scrollLeft=-1,i=t.scrollLeft<0,t.scrollLeft=e,i}(),n.negativeScrollAdjustment=n.isNegativeScroll?t.scrollWidth-t.clientWidth:0,n.event=new u,n.ownerDocument=t.ownerDocument||document,n.scrollbarXRail=h.appendTo(h.e("div","ps__scrollbar-x-rail"),t),n.scrollbarX=h.appendTo(h.e("div","ps__scrollbar-x"),n.scrollbarXRail),n.scrollbarX.setAttribute("tabindex",0),n.event.bind(n.scrollbarX,"focus",e),n.event.bind(n.scrollbarX,"blur",i),n.scrollbarXActive=null,n.scrollbarXWidth=null,n.scrollbarXLeft=null,n.scrollbarXBottom=a.toInt(h.css(n.scrollbarXRail,"bottom")),n.isScrollbarXUsingBottom=n.scrollbarXBottom===n.scrollbarXBottom,n.scrollbarXTop=n.isScrollbarXUsingBottom?null:a.toInt(h.css(n.scrollbarXRail,"top")),n.railBorderXWidth=a.toInt(h.css(n.scrollbarXRail,"borderLeftWidth"))+a.toInt(h.css(n.scrollbarXRail,"borderRightWidth")),h.css(n.scrollbarXRail,"display","block"),n.railXMarginWidth=a.toInt(h.css(n.scrollbarXRail,"marginLeft"))+a.toInt(h.css(n.scrollbarXRail,"marginRight")),h.css(n.scrollbarXRail,"display",""),n.railXWidth=null,n.railXRatio=null,n.scrollbarYRail=h.appendTo(h.e("div","ps__scrollbar-y-rail"),t),n.scrollbarY=h.appendTo(h.e("div","ps__scrollbar-y"),n.scrollbarYRail),n.scrollbarY.setAttribute("tabindex",0),n.event.bind(n.scrollbarY,"focus",e),n.event.bind(n.scrollbarY,"blur",i),n.scrollbarYActive=null,n.scrollbarYHeight=null,n.scrollbarYTop=null,n.scrollbarYRight=a.toInt(h.css(n.scrollbarYRail,"right")),n.isScrollbarYUsingRight=n.scrollbarYRight===n.scrollbarYRight,n.scrollbarYLeft=n.isScrollbarYUsingRight?null:a.toInt(h.css(n.scrollbarYRail,"left")),n.scrollbarYOuterWidth=n.isRtl?a.outerWidth(n.scrollbarY):null,n.railBorderYWidth=a.toInt(h.css(n.scrollbarYRail,"borderTopWidth"))+a.toInt(h.css(n.scrollbarYRail,"borderBottomWidth")),h.css(n.scrollbarYRail,"display","block"),n.railYMarginHeight=a.toInt(h.css(n.scrollbarYRail,"marginTop"))+a.toInt(h.css(n.scrollbarYRail,"marginBottom")),h.css(n.scrollbarYRail,"display",""),n.railYHeight=null,n.railYRatio=null}function s(t){return t.getAttribute("data-ps-id")}function o(t,e){t.setAttribute("data-ps-id",e)}function r(t){t.removeAttribute("data-ps-id")}var a=t("../lib/helper"),l=t("../lib/class"),c=t("./default-setting"),h=t("../lib/dom"),u=t("../lib/event-manager"),d=t("../lib/guid"),p={};i.add=function(t){var e=d();return o(t,e),p[e]=new n(t),p[e]},i.remove=function(t){delete p[s(t)],r(t)},i.get=function(t){return p[s(t)]}}
1,{"../lib/class":2,"../lib/dom":3,"../lib/event-manager":4,"../lib/guid":5,"../lib/helper":6,"./default-setting":8}],19:[function(t,e,i){function n(t,e){return t.settings.minScrollbarLength&&(e=Math.max(e,t.settings.minScrollbarLength)),t.settings.maxScrollbarLength&&(e=Math.min(e,t.settings.maxScrollbarLength)),e}function s(t,e){var i={width:e.railXWidth};e.isRtl?i.left=e.negativeScrollAdjustment+t.scrollLeft+e.containerWidth-e.contentWidth:i.left=t.scrollLeft,e.isScrollbarXUsingBottom?i.bottom=e.scrollbarXBottom-t.scrollTop:i.top=e.scrollbarXTop+t.scrollTop,a.css(e.scrollbarXRail,i);var n={top:t.scrollTop,height:e.railYHeight};e.isScrollbarYUsingRight?e.isRtl?n.right=e.contentWidth-(e.negativeScrollAdjustment+t.scrollLeft)-e.scrollbarYRight-e.scrollbarYOuterWidth:n.right=e.scrollbarYRight-t.scrollLeft:e.isRtl?n.left=e.negativeScrollAdjustment+t.scrollLeft+2*e.containerWidth-e.contentWidth-e.scrollbarYLeft-e.scrollbarYOuterWidth:n.left=e.scrollbarYLeft+t.scrollLeft,a.css(e.scrollbarYRail,n),a.css(e.scrollbarX,{left:e.scrollbarXLeft,width:e.scrollbarXWidth-e.railBorderXWidth}),a.css(e.scrollbarY,{top:e.scrollbarYTop,height:e.scrollbarYHeight-e.railBorderYWidth})}var o=t("../lib/helper"),r=t("../lib/class"),a=t("../lib/dom"),l=t("./instances"),c=t("./update-scroll");e.exports=function(t){var e=l.get(t);e.containerWidth=t.clientWidth,e.containerHeight=t.clientHeight,e.contentWidth=t.scrollWidth,e.contentHeight=t.scrollHeight;var i;t.contains(e.scrollbarXRail)||((i=a.queryChildren(t,".ps__scrollbar-x-rail")).length>0&&i.forEach(function(t){a.remove(t)}),a.appendTo(e.scrollbarXRail,t)),t.contains(e.scrollbarYRail)||((i=a.queryChildren(t,".ps__scrollbar-y-rail")).length>0&&i.forEach(function(t){a.remove(t)}),a.appendTo(e.scrollbarYRail,t)),!e.settings.suppressScrollX&&e.containerWidth+e.settings.scrollXMarginOffset<e.contentWidth?(e.scrollbarXActive=!0,e.railXWidth=e.containerWidth-e.railXMarginWidth,e.railXRatio=e.containerWidth/e.railXWidth,e.scrollbarXWidth=n(e,o.toInt(e.railXWidth*e.containerWidth/e.contentWidth)),e.scrollbarXLeft=o.toInt((e.negativeScrollAdjustment+t.scrollLeft)*(e.railXWidth-e.scrollbarXWidth)/(e.contentWidth-e.containerWidth))):e.scrollbarXActive=!1,!e.settings.suppressScrollY&&e.containerHeight+e.settings.scrollYMarginOffset<e.contentHeight?(e.scrollbarYActive=!0,e.railYHeight=e.containerHeight-e.railYMarginHeight,e.railYRatio=e.containerHeight/e.railYHeight,e.scrollbarYHeight=n(e,o.toInt(e.railYHeight*e.containerHeight/e.contentHeight)),e.scrollbarYTop=o.toInt(t.scrollTop*(e.railYHeight-e.scrollbarYHeight)/(e.contentHeight-e.containerHeight))):e.scrollbarYActive=!1,e.scrollbarXLeft>=e.railXWidth-e.scrollbarXWidth&&(e.scrollbarXLeft=e.railXWidth-e.scrollbarXWidth),e.scrollbarYTop>=e.railYHeight-e.scrollbarYHeight&&(e.scrollbarYTop=e.railYHeight-e.scrollbarYHeight),s(t,e),e.scrollbarXActive?r.add(t,"ps--active-x"):(r.remove(t,"ps--active-x"),e.scrollbarXWidth=0,e.scrollbarXLeft=0,c(t,"left",0)),e.scrollbarYActive?r.add(t,"ps--active-y"):(r.remove(t,"ps--active-y"),e.scrollbarYHeight=0,e.scrollbarYTop=0,c(t,"top",0))}},{"../lib/class":2,"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-scroll":20}],20:[function(t,e,i){var n=t("./instances"),s=function(t){var e=document.createEvent("Event");return e.initEvent(t,!0,!0),e};e.exports=function(t,e,i){if(void 0===t)throw"You must provide an element to the update-scroll function";if(void 0===e)throw"You must provide an axis to the update-scroll function";if(void 0===i)throw"You must provide a value to the update-scroll function";"top"===e&&i<=0&&(t.scrollTop=i=0,t.dispatchEvent(s("ps-y-reach-start"))),"left"===e&&i<=0&&(t.scrollLeft=i=0,t.dispatchEvent(s("ps-x-reach-start")));var o=n.get(t);"top"===e&&i>=o.contentHeight-o.containerHeight&&(i=o.contentHeight-o.containerHeight,i-t.scrollTop<=1?i=t.scrollTop:t.scrollTop=i,t.dispatchEvent(s("ps-y-reach-end"))),"left"===e&&i>=o.contentWidth-o.containerWidth&&(i=o.contentWidth-o.containerWidth,i-t.scrollLeft<=1?i=t.scrollLeft:t.scrollLeft=i,t.dispatchEvent(s("ps-x-reach-end"))),void 0===o.lastTop&&(o.lastTop=t.scrollTop),void 0===o.lastLeft&&(o.lastLeft=t.scrollLeft),"top"===e&&i<o.lastTop&&t.dispatchEvent(s("ps-scroll-up")),"top"===e&&i>o.lastTop&&t.dispatchEvent(s("ps-scroll-down")),"left"===e&&i<o.lastLeft&&t.dispatchEvent(s("ps-scroll-left")),"left"===e&&i>o.lastLeft&&t.dispatchEvent(s("ps-scroll-right")),"top"===e&&i!==o.lastTop&&(t.scrollTop=o.lastTop=i,t.dispatchEvent(s("ps-scroll-y"))),"left"===e&&i!==o.lastLeft&&(t.scrollLeft=o.lastLeft=i,t.dispatchEvent(s("ps-scroll-x")))}},{"./instances":18}
1],21:[function(t,e,i){var n=t("../lib/helper"),s=t("../lib/dom"),o=t("./instances"),r=t("./update-geometry"),a=t("./update-scroll");e.exports=function(t){var e=o.get(t);e&&(e.negativeScrollAdjustment=e.isNegativeScroll?t.scrollWidth-t.clientWidth:0,s.css(e.scrollbarXRail,"display","block"),s.css(e.scrollbarYRail,"display","block"),e.railXMarginWidth=n.toInt(s.css(e.scrollbarXRail,"marginLeft"))+n.toInt(s.css(e.scrollbarXRail,"marginRight")),e.railYMarginHeight=n.toInt(s.css(e.scrollbarYRail,"marginTop"))+n.toInt(s.css(e.scrollbarYRail,"marginBottom")),s.css(e.scrollbarXRail,"display","none"),s.css(e.scrollbarYRail,"display","none"),r(t),a(t,"top",t.scrollTop),a(t,"left",t.scrollLeft),s.css(e.scrollbarXRail,"display",""),s.css(e.scrollbarYRail,"display",""))}},{"../lib/dom":3,"../lib/helper":6,"./instances":18,"./update-geometry":19,"./update-scroll":20}]},{},[1]),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipeUI_Default=e()}(this,function(){return function(t,e){var i,n,s,o,r,a,l,c,h,u,d,p,f,m,g,v,y,T,b,w=this,S=!1,_=!0,x=!0,P={barsSize:{top:44,bottom:"auto"},closeElClasses:["item","caption","zoom-wrap","ui","top-bar"],timeToIdle:4e3,timeToIdleOutside:1e3,loadingIndicatorDelay:1e3,addCaptionHTMLFn:function(t,e){return t.title?(e.children[0].innerHTML=t.title,!0):(e.children[0].innerHTML="",!1)},closeEl:!0,captionEl:!0,fullscreenEl:!0,zoomEl:!0,shareEl:!0,counterEl:!0,arrowEl:!0,preloaderEl:!0,tapToClose:!1,tapToToggleControls:!0,clickToCloseNonZoomable:!0,shareButtons:[{id:"facebook",label:"Share on Facebook",url:"https://www.facebook.com/sharer/sharer.php?u={{url}}"},{id:"twitter",label:"Tweet",url:"https://twitter.com/intent/tweet?text={{text}}&url={{url}}"},{id:"pinterest",label:"Pin it",url:"http://www.pinterest.com/pin/create/button/?url={{url}}&media={{image_url}}&description={{text}}"},{id:"download",label:"Download image",url:"{{raw_image_url}}",download:!0}],getImageURLForShare:function(){return t.currItem.src||""},getPageURLForShare:function(){return window.location.href},getTextForShare:function(){return t.currItem.title||""},indexIndicatorSep:" / ",fitControlsWidth:1200},C=function(t){if(v)return!0;t=t||window.event,g.timeToIdle&&g.mouseUsed&&!h&&z();for(var i,n,s=(t.target||t.srcElement).getAttribute("class")||"",o=0;o<Y.length;o++)(i=Y[o]).onTap&&s.indexOf("pswp__"+i.name)>-1&&(i.onTap(),n=!0);if(n){t.stopPropagation&&t.stopPropagation(),v=!0;var r=e.features.isOldAndroid?600:30;y=setTimeout(function(){v=!1},r)}},M=function(){return!t.likelyTouchDevice||g.mouseUsed||screen.width>g.fitControlsWidth},A=function(t,i,n){e[(n?"add":"remove")+"Class"](t,"pswp__"+i)},E=function(){var t=1===g.getNumItemsFn();t!==m&&(A(n,"ui--one-slide",t),m=t)},k=function(){A(l,"share-modal--hidden",x)},I=function(){return x=!x,x?(e.removeClass(l,"pswp__share-modal--fade-in"),setTimeout(function(){x&&k()},300)):(k(),setTimeout(function(){x||e.addClass(l,"pswp__share-modal--fade-in")},30)),x||O(),!1},D=function(e){var i=(e=e||window.event).target||e.srcElement;return t.shout("shareLinkClick",e,i),!(!i.href||!i.hasAttribute("download")&&(window.open(i.href,"pswp_share","scrollbars=yes,resizable=yes,toolbar=no,location=yes,width=550,height=420,top=100,left="+(window.screen?Math.round(screen.width/2-275):100)),x||I(),1))},O=function(){for(var t,e,i,n,s,o="",r=0;r<g.shareButtons.length;r++)t=g.shareButtons[r],i=g.getImageURLForShare(t),n=g.getPageURLForShare(t),s=g.getTextForShare(t),e=t.url.replace("{{url}}",encodeURIComponent(n)).replace("{{image_url}}",encodeURIComponent(i)).replace("{{raw_image_url}}",i).replace("{{text}}",encodeURIComponent(s)),o+='<a href="'+e+'" target="_blank" class="pswp__share--'+t.id+'"'+(t.download?"download":"")+">"+t.label+"</a>",g.parseShareButtonOut&&(o=g.parseShareButtonOut(t,o));l.children[0].innerHTML=o,l.children[0].onclick=D},H=function(t){for(var i=0;i<g.closeElClasses.length;i++)if(e.hasClass(t,"pswp__"+g.closeElClasses[i]))return!0},L=0,z=function(){clearTimeout(b),L=0,h&&w.setIdle(!1)},B=function(t){var e=(t=t||window.event).relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||(clearTimeout(b),b=setTimeout(function(){w.setIdle(!0)},g.timeToIdleOutside))},R=function(){g.fullscreenEl&&!e.features.isOldAndroid&&(i||(i=w.getFullscreenAPI()),i?(e.bind(document,i.eventK,w.updateFullscreen),w.updateFullscreen(),e.addClass(t.template,"pswp--supports-fs")):e.removeClass(t.template,"pswp--supports-fs"))},G=function(){g.preloaderEl&&(X(!0),u("beforeChange",function(){clearTimeout(f),f=setTimeout(function(){t.currItem&&t.currItem.loading?(!t.allowProgressiveImg()||t.currItem.img&&!t.currItem.img.naturalWi
1dth)&&X(!1):X(!0)},g.loadingIndicatorDelay)}),u("imageLoadComplete",function(e,i){t.currItem===i&&X(!0)}))},X=function(t){p!==t&&(A(d,"preloader--active",!t),p=t)},N=function(t){var i=t.vGap;if(M()){var r=g.barsSize;if(g.captionEl&&"auto"===r.bottom)if(o||((o=e.createEl("pswp__caption pswp__caption--fake")).appendChild(e.createEl("pswp__caption__center")),n.insertBefore(o,s),e.addClass(n,"pswp__ui--fit")),g.addCaptionHTMLFn(t,o,!0)){var a=o.clientHeight;i.bottom=parseInt(a,10)||44}else i.bottom=r.top;else i.bottom="auto"===r.bottom?0:r.bottom;i.top=r.top}else i.top=i.bottom=0},W=function(){g.timeToIdle&&u("mouseUsed",function(){e.bind(document,"mousemove",z),e.bind(document,"mouseout",B),T=setInterval(function(){2===++L&&w.setIdle(!0)},g.timeToIdle/2)})},F=function(){u("onVerticalDrag",function(t){_&&t<.95?w.hideControls():!_&&t>=.95&&w.showControls()});var t;u("onPinchClose",function(e){_&&e<.9?(w.hideControls(),t=!0):t&&!_&&e>.9&&w.showControls()}),u("zoomGestureEnded",function(){(t=!1)&&!_&&w.showControls()})},Y=[{name:"caption",option:"captionEl",onInit:function(t){s=t}},{name:"share-modal",option:"shareEl",onInit:function(t){l=t},onTap:function(){I()}},{name:"button--share",option:"shareEl",onInit:function(t){a=t},onTap:function(){I()}},{name:"button--zoom",option:"zoomEl",onTap:t.toggleDesktopZoom},{name:"counter",option:"counterEl",onInit:function(t){r=t}},{name:"button--close",option:"closeEl",onTap:t.close},{name:"button--arrow--left",option:"arrowEl",onTap:t.prev},{name:"button--arrow--right",option:"arrowEl",onTap:t.next},{name:"button--fs",option:"fullscreenEl",onTap:function(){i.isFullscreen()?i.exit():i.enter()}},{name:"preloader",option:"preloaderEl",onInit:function(t){d=t}}],V=function(){var t,i,s,o=function(n){if(n)for(var o=n.length,r=0;r<o;r++){t=n[r],i=t.className;for(var a=0;a<Y.length;a++)s=Y[a],i.indexOf("pswp__"+s.name)>-1&&(g[s.option]?(e.removeClass(t,"pswp__element--disabled"),s.onInit&&s.onInit(t)):e.addClass(t,"pswp__element--disabled"))}};o(n.children);var r=e.getChildByClass(n,"pswp__top-bar");r&&o(r.children)};w.init=function(){e.extend(t.options,P,!0),g=t.options,n=e.getChildByClass(t.scrollWrap,"pswp__ui"),u=t.listen,F(),u("beforeChange",w.update),u("doubleTap",function(e){var i=t.currItem.initialZoomLevel;t.getZoomLevel()!==i?t.zoomTo(i,e,333):t.zoomTo(g.getDoubleTapZoom(!1,t.currItem),e,333)}),u("preventDragEvent",function(t,e,i){var n=t.target||t.srcElement;n&&n.getAttribute("class")&&t.type.indexOf("mouse")>-1&&(n.getAttribute("class").indexOf("__caption")>0||/(SMALL|STRONG|EM)/i.test(n.tagName))&&(i.prevent=!1)}),u("bindEvents",function(){e.bind(n,"pswpTap click",C),e.bind(t.scrollWrap,"pswpTap",w.onGlobalTap),t.likelyTouchDevice||e.bind(t.scrollWrap,"mouseover",w.onMouseOver)}),u("unbindEvents",function(){x||I(),T&&clearInterval(T),e.unbind(document,"mouseout",B),e.unbind(document,"mousemove",z),e.unbind(n,"pswpTap click",C),e.unbind(t.scrollWrap,"pswpTap",w.onGlobalTap),e.unbind(t.scrollWrap,"mouseover",w.onMouseOver),i&&(e.unbind(document,i.eventK,w.updateFullscreen),i.isFullscreen()&&(g.hideAnimationDuration=0,i.exit()),i=null)}),u("destroy",function(){g.captionEl&&(o&&n.removeChild(o),e.removeClass(s,"pswp__caption--empty")),l&&(l.children[0].onclick=null),e.removeClass(n,"pswp__ui--over-close"),e.addClass(n,"pswp__ui--hidden"),w.setIdle(!1)}),g.showAnimationDuration||e.removeClass(n,"pswp__ui--hidden"),u("initialZoomIn",function(){g.showAnimationDuration&&e.removeClass(n,"pswp__ui--hidden")}),u("initialZoomOut",function(){e.addClass(n,"pswp__ui--hidden")}),u("parseVerticalMargin",N),V(),g.shareEl&&a&&l&&(x=!0),E(),W(),R(),G()},w.setIdle=function(t){h=t,A(n,"ui--idle",t)},w.update=function(){_&&t.currItem?(w.updateIndexIndicator(),g.captionEl&&(g.addCaptionHTMLFn(t.currItem,s),A(s,"caption--empty",!t.currItem.title)),S=!0):S=!1,x||I(),E()},w.updateFullscreen=function(n){n&&setTimeout(function(){t.setScrollOffset(0,e.getScrollY())},50),e[(i.isFullscreen()?"add":"remove")+"Class"](t.template,"pswp--fs")},w.updateIndexIndicator=function(){g.counterEl&&(r.innerHTML=t.getCurrentIndex()+1+g.indexIndicatorSep+g.getNumItemsFn())},w.onGlobalTap=function(i){var n=(i=i||window.event).target||i.srcElement;if(!v)if(i.detail&&"mouse"===i.detail.pointerType){if(H(n))return void t.close();e.hasClass(n,"pswp__img")&&(1===t.getZoomLevel()&&t.getZoomLevel()<=t.currItem.fitRatio?g.clickToCloseNonZoomable&&t.close():t.toggleDesktopZoom(i.detail.releasePoint))}else if(g.tapToToggleControls&&(_?w.hideControls():w.showControls()),g.tapToClose&&(e.hasClass(n,"pswp__img")||H(n))
1)return void t.close()},w.onMouseOver=function(t){var e=(t=t||window.event).target||t.srcElement;A(n,"ui--over-close",H(e))},w.hideControls=function(){e.addClass(n,"pswp__ui--hidden"),_=!1},w.showControls=function(){_=!0,S||w.update(),e.removeClass(n,"pswp__ui--hidden")},w.supportsFullscreen=function(){var t=document;return!!(t.exitFullscreen||t.mozCancelFullScreen||t.webkitExitFullscreen||t.msExitFullscreen)},w.getFullscreenAPI=function(){var e,i=document.documentElement,n="fullscreenchange";return i.requestFullscreen?e={enterK:"requestFullscreen",exitK:"exitFullscreen",elementK:"fullscreenElement",eventK:n}:i.mozRequestFullScreen?e={enterK:"mozRequestFullScreen",exitK:"mozCancelFullScreen",elementK:"mozFullScreenElement",eventK:"moz"+n}:i.webkitRequestFullscreen?e={enterK:"webkitRequestFullscreen",exitK:"webkitExitFullscreen",elementK:"webkitFullscreenElement",eventK:"webkit"+n}:i.msRequestFullscreen&&(e={enterK:"msRequestFullscreen",exitK:"msExitFullscreen",elementK:"msFullscreenElement",eventK:"MSFullscreenChange"}),e&&(e.enter=function(){return c=g.closeOnScroll,g.closeOnScroll=!1,"webkitRequestFullscreen"!==this.enterK?t.template[this.enterK]():void t.template[this.enterK](Element.ALLOW_KEYBOARD_INPUT)},e.exit=function(){return g.closeOnScroll=c,document[this.exitK]()},e.isFullscreen=function(){return document[this.elementK]}),e}}}),function(t,e){"function"==typeof define&&define.amd?define(e):"object"==typeof exports?module.exports=e():t.PhotoSwipe=e()}(this,function(){return function(t,e,i,n){var s={features:null,bind:function(t,e,i,n){var s=(n?"remove":"add")+"EventListener";e=e.split(" ");for(var o=0;o<e.length;o++)e[o]&&t[s](e[o],i,!1)},isArray:function(t){return t instanceof Array},createEl:function(t,e){var i=document.createElement(e||"div");return t&&(i.className=t),i},getScrollY:function(){var t=window.pageYOffset;return void 0!==t?t:document.documentElement.scrollTop},unbind:function(t,e,i){s.bind(t,e,i,!0)},removeClass:function(t,e){var i=new RegExp("(\\s|^)"+e+"(\\s|$)");t.className=t.className.replace(i," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")},addClass:function(t,e){s.hasClass(t,e)||(t.className+=(t.className?" ":"")+e)},hasClass:function(t,e){return t.className&&new RegExp("(^|\\s)"+e+"(\\s|$)").test(t.className)},getChildByClass:function(t,e){for(var i=t.firstChild;i;){if(s.hasClass(i,e))return i;i=i.nextSibling}},arraySearch:function(t,e,i){for(var n=t.length;n--;)if(t[n][i]===e)return n;return-1},extend:function(t,e,i){for(var n in e)if(e.hasOwnProperty(n)){if(i&&t.hasOwnProperty(n))continue;t[n]=e[n]}},easing:{sine:{out:function(t){return Math.sin(t*(Math.PI/2))},inOut:function(t){return-(Math.cos(Math.PI*t)-1)/2}},cubic:{out:function(t){return--t*t*t+1}}},detectFeatures:function(){if(s.features)return s.features;var t=s.createEl().style,e="",i={};if(i.oldIE=document.all&&!document.addEventListener,i.touch="ontouchstart"in window,window.requestAnimationFrame&&(i.raf=window.requestAnimationFrame,i.caf=window.cancelAnimationFrame),i.pointerEvent=navigator.pointerEnabled||navigator.msPointerEnabled,!i.pointerEvent){var n=navigator.userAgent;if(/iP(hone|od)/.test(navigator.platform)){var o=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);o&&o.length>0&&(o=parseInt(o[1],10))>=1&&o<8&&(i.isOldIOSPhone=!0)}var r=n.match(/Android\s([0-9\.]*)/),a=r?r[1]:0;(a=parseFloat(a))>=1&&(a<4.4&&(i.isOldAndroid=!0),i.androidVersion=a),i.isMobileOpera=/opera mini|o
1pera mobi/i.test(n)}for(var l,c,h=["transform","perspective","animationName"],u=["","webkit","Moz","ms","O"],d=0;d<4;d++){e=u[d];for(var p=0;p<3;p++)l=h[p],c=e+(e?l.charAt(0).toUpperCase()+l.slice(1):l),!i[l]&&c in t&&(i[l]=c);e&&!i.raf&&(e=e.toLowerCase(),i.raf=window[e+"RequestAnimationFrame"],i.raf&&(i.caf=window[e+"CancelAnimationFrame"]||window[e+"CancelRequestAnimationFrame"]))}if(!i.raf){var f=0;i.raf=function(t){var e=(new Date).getTime(),i=Math.max(0,16-(e-f)),n=window.setTimeout(function(){t(e+i)},i);return f=e+i,n},i.caf=function(t){clearTimeout(t)}}return i.svg=!!document.createElementNS&&!!document.createElementNS("http://www.w3.org/2000/svg","svg").createSVGRect,s.features=i,i}};s.detectFeatures(),s.features.oldIE&&(s.bind=function(t,e,i,n){e=e.split(" ");for(var s,o=(n?"detach":"attach")+"Event",r=function(){i.handleEvent.call(i)},a=0;a<e.length;a++)if(s=e[a])if("object"==typeof i&&i.handleEvent){if(n){if(!i["oldIE"+s])return!1}else i["oldIE"+s]=r;t[o]("on"+s,i["oldIE"+s])}else t[o]("on"+s,i)});var o=this,r={allowPanToNext:!0,spacing:.12,bgOpacity:1,mouseUsed:!1,loop:!0,pinchToClose:!0,closeOnScroll:!0,closeOnVerticalDrag:!0,verticalDragRange:.75,hideAnimationDuration:333,showAnimationDuration:333,showHideOpacity:!1,focus:!0,escKey:!0,arrowKeys:!0,mainScrollEndFriction:.35,panEndFriction:.35,isClickableElement:function(t){return"A"===t.tagName},getDoubleTapZoom:function(t,e){return t?1:e.initialZoomLevel<.7?1:1.33},maxSpreadZoom:1.33,modal:!0,scaleMode:"fit"};s.extend(r,n);var a,l,c,h,u,d,p,f,m,g,v,y,T,b,w,S,_,x,P,C,M,A,E,k,I,D,O,H,L,z,B,R,G,X,N,W,F,Y,V,$,j,U,q,K,Z,Q,J,tt,et,it,nt,st,ot,rt,at,lt,ct,ht={x:0,y:0},ut={x:0,y:0},dt={x:0,y:0},pt={},ft=0,mt={},gt={x:0,y:0},vt=0,yt=!0,Tt=[],bt={},wt=!1,St=function(t,e){s.extend(o,e.publicMethods),Tt.push(t)},_t=function(t){var e=qe();return t>e-1?t-e:t<0?e+t:t},xt={},Pt=function(t,e){return xt[t]||(xt[t]=[]),xt[t].push(e)},Ct=function(t){var e=xt[t];if(e){var i=Array.prototype.slice.call(arguments);i.shift();for(var n=0;n<e.length;n++)e[n].apply(o,i)}},Mt=function(){return(new Date).getTime()},At=function(t){at=t,o.bg.style.opacity=t*r.bgOpacity},Et=function(t,e,i,n,s){(!wt||s&&s!==o.currItem)&&(n/=s?s.fitRatio:o.currItem.fitRatio),t[A]=y+e+"px, "+i+"px"+T+" scale("+n+")"},kt=function(t){it&&(t&&(g>o.currItem.fitRatio?wt||(ri(o.currItem,!1,!0),wt=!0):wt&&(ri(o.currItem),wt=!1)),Et(it,dt.x,dt.y,g))},It=function(t){t.container&&Et(t.container.style,t.initialPosition.x,t.initialPosition.y,t.initialZoomLevel,t)},Dt=function(t,e){e[A]=y+t+"px, 0px"+T},Ot=function(t,e){if(!r.loop&&e){var i=h+(gt.x*ft-t)/gt.x,n=Math.round(t-fe.x);(i<0&&n>0||i>=qe()-1&&n<0)&&(t=fe.x+n*r.mainScrollEndFriction)}fe.x=t,Dt(t,u)},Ht=function(t,e){var i=me[t]-mt[t];return ut[t]+ht[t]+i-i*(e/v)},Lt=function(t,e){t.x=e.x,t.y=e.y,e.id&&(t.id=e.id)},zt=function(t){t.x=Math.round(t.x),t.y=Math.round(t.y)},Bt=null,Rt=function(){Bt&&(s.unbind(document,"mousemove",Rt),s.addClass(t,"pswp--has_mouse"),r.mouseUsed=!0,Ct("mouseUsed")),Bt=setTimeout(function(){Bt=null},100)},Gt=function(){s.bind(document,"keydown",o),B.transform&&s.bind(o.scrollWrap,"click",o),r.mouseUsed||s.bind(document,"mousemove",Rt),s.bind(window,"resize scroll orientationchange",o),Ct("bindEvents")},Xt=function(){s.unbind(window,"resize scroll orientationchange",o),s.unbind(window,"scroll",m.scroll),s.unbind(document,"keydown",o),s.unbind(document,"mousemove",Rt),B.transform&&s.unbind(o.scrollWrap,"click",o),V&&s.unbind(window,p,o),clearTimeout(R),Ct("unbindEvents")},Nt=function(t,e){var i=ii(o.currItem,pt,t);return e&&(et=i),i},Wt=function(t){return t||(t=o.currItem),t.initialZoomLevel},Ft=function(t){return t||(t=o.currItem),t.w>0?r.maxSpreadZoom:1},Yt=function(t,e,i,n){return n===o.currItem.initialZoomLevel?(i[t]=o.currItem.initialPosition[t],!0):(i[t]=Ht(t,n),i[t]>e.min[t]?(i[t]=e.min[t],!0):i[t]<e.max[t]&&(i[t]=e.max[t],!0))},Vt=function(){if(A){var e=B.perspective&&!k;return y="translate"+(e?"3d(":"("),void(T=B.perspective?", 0px)":")")}A="left",s.addClass(t,"pswp--ie"),Dt=function(t,e){e.left=t+"px"},It=function(t){var e=t.fitRatio>1?1:t.fitRatio,i=t.container.style,n=e*t.w,s=e*t.h;i.width=n+"px",i.height=s+"px",i.left=t.initialPosition.x+"px",i.top=t.initialPosition.y+"px"},kt=function(){if(it){var t=it,e=o.currItem,i=e.fitRatio>1?1:e.fitRatio,n=i*e.w,s=i*e.h;
1t.width=n+"px",t.height=s+"px",t.left=dt.x+"px",t.top=dt.y+"px"}}},$t=function(t){var e="";r.escKey&&27===t.keyCode?e="close":r.arrowKeys&&(37===t.keyCode?e="prev":39===t.keyCode&&(e="next")),e&&(t.ctrlKey||t.altKey||t.shiftKey||t.metaKey||(t.preventDefault?t.preventDefault():t.returnValue=!1,o[e]()))},jt=function(t){t&&(U||j||nt||F)&&(t.preventDefault(),t.stopPropagation())},Ut=function(){o.setScrollOffset(0,s.getScrollY())},qt={},Kt=0,Zt=function(t){qt[t]&&(qt[t].raf&&D(qt[t].raf),Kt--,delete qt[t])},Qt=function(t){qt[t]&&Zt(t),qt[t]||(Kt++,qt[t]={})},Jt=function(){for(var t in qt)qt.hasOwnProperty(t)&&Zt(t)},te=function(t,e,i,n,s,o,r){var a,l=Mt();Qt(t);var c=function(){if(qt[t]){if((a=Mt()-l)>=n)return Zt(t),o(i),void(r&&r());o((i-e)*s(a/n)+e),qt[t].raf=I(c)}};c()},ee={shout:Ct,listen:Pt,viewportSize:pt,options:r,isMainScrollAnimating:function(){return nt},getZoomLevel:function(){return g},getCurrentIndex:function(){return h},isDragging:function(){return V},isZooming:function(){return Q},setScrollOffset:function(t,e){mt.x=t,z=mt.y=e,Ct("updateScrollOffset",mt)},applyZoomPan:function(t,e,i,n){dt.x=e,dt.y=i,g=t,kt(n)},init:function(){if(!a&&!l){var i;o.framework=s,o.template=t,o.bg=s.getChildByClass(t,"pswp__bg"),O=t.className,a=!0,B=s.detectFeatures(),I=B.raf,D=B.caf,A=B.transform,L=B.oldIE,o.scrollWrap=s.getChildByClass(t,"pswp__scroll-wrap"),o.container=s.getChildByClass(o.scrollWrap,"pswp__container"),u=o.container.style,o.itemHolders=S=[{el:o.container.children[0],wrap:0,index:-1},{el:o.container.children[1],wrap:0,index:-1},{el:o.container.children[2],wrap:0,index:-1}],S[0].el.style.display=S[2].el.style.display="none",Vt(),m={resize:o.updateSize,orientationchange:function(){clearTimeout(R),R=setTimeout(function(){pt.x!==o.scrollWrap.clientWidth&&o.updateSize()},500)},scroll:Ut,keydown:$t,click:jt};var n=B.isOldIOSPhone||B.isOldAndroid||B.isMobileOpera;for(B.animationName&&B.transform&&!n||(r.showAnimationDuration=r.hideAnimationDuration=0),i=0;i<Tt.length;i++)o["init"+Tt[i]]();e&&(o.ui=new e(o,s)).init(),Ct("firstUpdate"),h=h||r.index||0,(isNaN(h)||h<0||h>=qe())&&(h=0),o.currItem=Ue(h),(B.isOldIOSPhone||B.isOldAndroid)&&(yt=!1),t.setAttribute("aria-hidden","false"),r.modal&&(yt?t.style.position="fixed":(t.style.position="absolute",t.style.top=s.getScrollY()+"px")),void 0===z&&(Ct("initialLayout"),z=H=s.getScrollY());var c="pswp--open ";for(r.mainClass&&(c+=r.mainClass+" "),r.showHideOpacity&&(c+="pswp--animate_opacity "),c+=k?"pswp--touch":"pswp--notouch",c+=B.animationName?" pswp--css_animation":"",c+=B.svg?" pswp--svg":"",s.addClass(t,c),o.updateSize(),d=-1,vt=null,i=0;i<3;i++)Dt((i+d)*gt.x,S[i].el.style);L||s.bind(o.scrollWrap,f,o),Pt("initialZoomInEnd",function(){o.setContent(S[0],h-1),o.setContent(S[2],h+1),S[0].el.style.display=S[2].el.style.display="block",r.focus&&t.focus(),Gt()}),o.setContent(S[1],h),o.updateCurrItem(),Ct("afterInit"),yt||(b=setInterval(function(){Kt||V||Q||g!==o.currItem.initialZoomLevel||o.updateSize()},1e3)),s.addClass(t,"pswp--visible")}},close:function(){a&&(a=!1,l=!0,Ct("close"),Xt(),Ze(o.currItem,null,!0,o.destroy))},destroy:function(){Ct("destroy"),Ye&&clearTimeout(Ye),t.setAttribute("aria-hidden","true"),t.className=O,b&&clearInterval(b),s.unbind(o.scrollWrap,f,o),s.unbind(window,"scroll",o),be(),Jt(),xt=null},panTo:function(t,e,i){i||(t>et.min.x?t=et.min.x:t<et.max.x&&(t=et.max.x),e>et.min.y?e=et.min.y:e<et.max.y&&(e=et.max.y)),dt.x=t,dt.y=e,kt()},handleEvent:function(t){t=t||window.event,m[t.type]&&m[t.type](t)},goTo:function(t){var e=(t=_t(t))-h;vt=e,h=t,o.currItem=Ue(h),ft-=e,Ot(gt.x*ft),Jt(),nt=!1,o.updateCurrItem()},next:function(){o.goTo(h+1)},prev:function(){o.goTo(h-1)},updateCurrZoomItem:function(t){if(t&&Ct("beforeChange",0),S[1].el.children.length){var e=S[1].el.children[0];it=s.hasClass(e,"pswp__zoom-wrap")?e.style:null}else it=null;et=o.currItem.bounds,v=g=o.currItem.initialZoomLevel,dt.x=et.center.x,dt.y=et.center.y,t&&Ct("afterChange")},invalidateCurrItems:function(){w=!0;for(var t=0;t<3;t++)S[t].item&&(S[t].item.needsUpdate=!0)},updateCurrItem:function(t){if(0!==vt){var e,i=Math.abs(vt);if(!(t&&i<2)){o.currItem=Ue(h),wt=!1,Ct("beforeChange",vt),i>=3&&(d+=vt+(vt>0?-3:3),i=3);for(var n=0;n<i;n++)vt>0?(e=S.shift(),S[2]=e,d++,Dt((d+2)*gt.x,e.el.style),o.setContent(e,h-i+n+1+1)):(e=S.pop(),S.unshift(e),d--,Dt(d*gt.x,e.el.style),o.setContent(e,h+i-n-1-1));if(it&&1===Math.abs(vt)){var s=Ue(_);s.initialZoomLevel!==g&&(ii(s,pt),ri(s),It(s))}
vendor: 12,164 bytes, line 1
1vt=0,o.updateCurrZoomItem(),_=h,Ct("afterChange")}}},updateSize:function(e){if(!yt&&r.modal){var i=s.getScrollY();if(z!==i&&(t.style.top=i+"px",z=i),!e&&bt.x===window.innerWidth&&bt.y===window.innerHeight)return;bt.x=window.innerWidth,bt.y=window.innerHeight,t.style.height=bt.y+"px"}if(pt.x=o.scrollWrap.clientWidth,pt.y=o.scrollWrap.clientHeight,Ut(),gt.x=pt.x+Math.round(pt.x*r.spacing),gt.y=pt.y,Ot(gt.x*ft),Ct("beforeResize"),void 0!==d){for(var n,a,l,c=0;c<3;c++)n=S[c],Dt((c+d)*gt.x,n.el.style),l=h+c-1,r.loop&&qe()>2&&(l=_t(l)),a=Ue(l),a&&(w||a.needsUpdate||!a.bounds)?(o.cleanSlide(a),o.setContent(n,l),1===c&&(o.currItem=a,o.updateCurrZoomItem(!0)),a.needsUpdate=!1):-1===n.index&&l>=0&&o.setContent(n,l),a&&a.container&&(ii(a,pt),ri(a),It(a));w=!1}v=g=o.currItem.initialZoomLevel,(et=o.currItem.bounds)&&(dt.x=et.center.x,dt.y=et.center.y,kt(!0)),Ct("resize")},zoomTo:function(t,e,i,n,o){e&&(v=g,me.x=Math.abs(e.x)-dt.x,me.y=Math.abs(e.y)-dt.y,Lt(ut,dt));var r=Nt(t,!1),a={};Yt("x",r,a,t),Yt("y",r,a,t);var l=g,c={x:dt.x,y:dt.y};zt(a);var h=function(e){1===e?(g=t,dt.x=a.x,dt.y=a.y):(g=(t-l)*e+l,dt.x=(a.x-c.x)*e+c.x,dt.y=(a.y-c.y)*e+c.y),o&&o(e),kt(1===e)};i?te("customZoomTo",0,1,i,n||s.easing.sine.inOut,h):h(1)}},ie={},ne={},se={},oe={},re={},ae=[],le={},ce=[],he={},ue=0,de={x:0,y:0},pe=0,fe={x:0,y:0},me={x:0,y:0},ge={x:0,y:0},ve=function(t,e){return t.x===e.x&&t.y===e.y},ye=function(t,e){return Math.abs(t.x-e.x)<25&&Math.abs(t.y-e.y)<25},Te=function(t,e){return he.x=Math.abs(t.x-e.x),he.y=Math.abs(t.y-e.y),Math.sqrt(he.x*he.x+he.y*he.y)},be=function(){q&&(D(q),q=null)},we=function(){V&&(q=I(we),Be())},Se=function(){return!("fit"===r.scaleMode&&g===o.currItem.initialZoomLevel)},_e=function(t,e){return!(!t||t===document)&&!(t.getAttribute("class")&&t.getAttribute("class").indexOf("pswp__scroll-wrap")>-1)&&(e(t)?t:_e(t.parentNode,e))},xe={},Pe=function(t,e){return xe.prevent=!_e(t.target,r.isClickableElement),Ct("preventDragEvent",t,e,xe),xe.prevent},Ce=function(t,e){return e.x=t.pageX,e.y=t.pageY,e.id=t.identifier,e},Me=function(t,e,i){i.x=.5*(t.x+e.x),i.y=.5*(t.y+e.y)},Ae=function(t,e,i){if(t-X>50){var n=ce.length>2?ce.shift():{};n.x=e,n.y=i,ce.push(n),X=t}},Ee=function(){var t=dt.y-o.currItem.initialPosition.y;return 1-Math.abs(t/(pt.y/2))},ke={},Ie={},De=[],Oe=function(t){for(;De.length>0;)De.pop();return E?(ct=0,ae.forEach(function(t){0===ct?De[0]=t:1===ct&&(De[1]=t),ct++})):t.type.indexOf("touch")>-1?t.touches&&t.touches.length>0&&(De[0]=Ce(t.touches[0],ke),t.touches.length>1&&(De[1]=Ce(t.touches[1],Ie))):(ke.x=t.pageX,ke.y=t.pageY,ke.id="",De[0]=ke),De},He=function(t,e){var i,n,s,a,l=dt[t]+e[t],c=e[t]>0,h=fe.x+e.x,u=fe.x-le.x;return i=l>et.min[t]||l<et.max[t]?r.panEndFriction:1,l=dt[t]+e[t]*i,!r.allowPanToNext&&g!==o.currItem.initialZoomLevel||(it?"h"!==st||"x"!==t||j||(c?(l>et.min[t]&&(i=r.panEndFriction,et.min[t]-l,n=et.min[t]-ut[t]),(n<=0||u<0)&&qe()>1?(a=h,u<0&&h>le.x&&(a=le.x)):et.min.x!==et.max.x&&(s=l)):(l<et.max[t]&&(i=r.panEndFriction,l-et.max[t],n=ut[t]-et.max[t]),(n<=0||u>0)&&qe()>1?(a=h,u>0&&h<le.x&&(a=le.x)):et.min.x!==et.max.x&&(s=l))):a=h,"x"!==t)?void(nt||K||g>o.currItem.fitRatio&&(dt[t]+=e[t]*i)):(void 0!==a&&(Ot(a,!0),K=a!==le.x),et.min.x!==et.max.x&&(void 0!==s?dt.x=s:K||(dt.x+=e.x*i)),void 0!==a)},Le=function(t){if(!("mousedown"===t.type&&t.button>0)){if(je)return void t.preventDefault();if(!Y||"mousedown"!==t.type){if(Pe(t,!0)&&t.preventDefault(),Ct("pointerDown"),E){var e=s.arraySearch(ae,t.pointerId,"id");e<0&&(e=ae.length),ae[e]={x:t.pageX,y:t.pageY,id:t.pointerId}}var i=Oe(t),n=i.length;Z=null,Jt(),V&&1!==n||(V=ot=!0,s.bind(window,p,o),W=lt=rt=F=K=U=$=j=!1,st=null,Ct("firstTouchStart",i),Lt(ut,dt),ht.x=ht.y=0,Lt(oe,i[0]),Lt(re,oe),le.x=gt.x*ft,ce=[{x:oe.x,y:oe.y}],X=G=Mt(),Nt(g,!0),be(),we()),!Q&&n>1&&!nt&&!K&&(v=g,j=!1,Q=$=!0,ht.y=ht.x=0,Lt(ut,dt),Lt(ie,i[0]),Lt(ne,i[1]),Me(ie,ne,ge),me.x=Math.abs(ge.x)-dt.x,me.y=Math.abs(ge.y)-dt.y,J=tt=Te(ie,ne))}}},ze=function(t){if(t.preventDefault(),E){var e=s.arraySearch(ae,t.pointerId,"id");if(e>-1){var i=ae[e];i.x=t.pageX,i.y=t.pageY}}if(V){var n=Oe(t);if(st||U||Q)Z=n;else if(fe.x!==gt.x*ft)st="h";else{var o=Math.abs(n[0].x-oe.x)-Math.abs(n[0].y-oe.y);Math.abs(o)>=10&&(st=o>0?"h":"v",Z=n)}}},Be=function(){if(Z){var t=Z.length;if(0!==t)if(Lt(ie,Z[0]),se.x=ie.x-oe.x,se.y=ie.y-oe.y,Q&&t>1){if(oe.x=ie.x,oe.y=ie.y,!se.x&&!se.y&&ve(Z[1],ne))return;Lt(ne,Z[1]),j||(j=!0,Ct("zoomGestureStarted"));var e=Te(ie,ne),i=We(e);i>o.currItem.initialZoomLevel+o.currItem.initialZoomLevel/15&&(lt=!0);var n=1,s=Wt(),a=Ft();if(i<s)if(r.pinchToClose&&!lt&&v<=o.currItem.initialZoomLevel){var l=1-(s-i)/(s/1.2);At(l),Ct("onPinchClose",l),rt=!0}else(n=(s-i)/s)>1&&(n=1),i=s-n*(s/3);else i>a&&((n=(i-a)/(6*s))>1&&(n=1),i=a+n*s);n<0&&(n=0),J=e,Me(ie,ne,de),ht.x+=de.x-ge.x,ht.y+=de.y-ge.y,Lt(ge,de),dt.x=Ht("x",i),dt.y=Ht("y",i),W=i>g,g=i,kt()}else{if(!st)return;if(ot&&(ot=!1,Math.abs(se.x)>=10&&(se.x-=Z[0].x-re.x),Math.abs(se.y)>=10&&(se.y-=Z[0].y-re.y)),oe.x=ie.x,oe.y=ie.y,0===se.x&&0===se.y)return;if("v"===st&&r.closeOnVerticalDrag&&!Se()){ht.y+=se.y,dt.y+=se.y;var c=Ee();return F=!0,Ct("onVerticalDrag",c),At(c),void kt()}Ae(Mt(),ie.x,ie.y),U=!0,et=o.currItem.bounds,He("x",se)||(He("y",se),zt(dt),kt())}}},Re=function(t){if(B.isOldAndroid){if(Y&&"mouseup"===t.type)return;t.type.indexOf("touch")>-1&&(clearTimeout(Y),Y=setTimeout(function(){Y=0},600))}Ct("pointerUp"),Pe(t,!1)&&t.preventDefault();var e;if(E){var i=s.arraySearch(ae,t.pointerId,"id");if(i>-1)if(e=ae.splice(i,1)[0],navigator.pointerEnabled)e.type=t.pointerType||"mouse";else{var n={4:"mouse",2:"touch",3:"pen"};e.type=n[t.pointerType],e.type||(e.type=t.pointerType||"mouse")}}var a,l=Oe(t),c=l.length;if("mouseup"===t.type&&(c=0),2===c)return Z=null,!0;1===c&&Lt(re,l[0]),0!==c||st||nt||(e||("mouseup"===t.type?e={x:t.pageX,y:t.pageY,type:"mouse"}:t.changedTouches&&t.changedTouches[0]&&(e={x:t.changedTouches[0].pageX,y:t.changedTouches[0].pageY,type:"touch"})),Ct("touchRelease",t,e));var h=-1;if(0===c&&(V=!1,s.unbind(window,p,o),be(),Q?h=0:-1!==pe&&(h=Mt()-pe)),pe=1===c?Mt():-1,a=-1!==h&&h<150?"zoom":"swipe",Q&&c<2&&(Q=!1,1===c&&(a="zoomPointerUp"),Ct("zoomGestureEnded")),Z=null,U||j||nt||F)if(Jt(),N||(N=Ge()),N.calculateSwipeSpeed("x"),F)if(Ee()<r.verticalDragRange)o.close();else{var u=dt.y,d=at;te("verticalDrag",0,1,300,s.easing.cubic.out,function(t){dt.y=(o.currItem.initialPosition.y-u)*t+u,At((1-d)*t+d),kt()}),Ct("onVerticalDrag",1)}else{if((K||nt)&&0===c){if(Ne(a,N))return;a="zoomPointerUp"}if(!nt)return"swipe"!==a?void Fe():void(!K&&g>o.currItem.fitRatio&&Xe(N))}},Ge=function(){var t,e,i={lastFlickOffset:{},lastFlickDist:{},lastFlickSpeed:{},slowDownRatio:{},slowDownRatioReverse:{},speedDecelerationRatio:{},speedDecelerationRatioAbs:{},distanceOffset:{},backAnimDestination:{},backAnimStarted:{},calculateSwipeSpeed:function(n){ce.length>1?(t=Mt()-X+50,e=ce[ce.length-2][n]):(t=Mt()-G,e=re[n]),i.lastFlickOffset[n]=oe[n]-e,i.lastFlickDist[n]=Math.abs(i.lastFlickOffset[n]),i.lastFlickDist[n]>20?i.lastFlickSpeed[n]=i.lastFlickOffset[n]/t:i.lastFlickSpeed[n]=0,Math.abs(i.lastFlickSpeed[n])<.1&&(i.lastFlickSpeed[n]=0),i.slowDownRatio[n]=.95,i.slowDownRatioReverse[n]=1-i.slowDownRatio[n],i.speedDecelerationRatio[n]=1},calculateOverBoundsAnimOffset:function(t,e){i.backAnimStarted[t]||(dt[t]>et.min[t]?i.backAnimDestination[t]=et.min[t]:dt[t]<et.max[t]&&(i.backAnimDestination[t]=et.max[t]),void 0!==i.backAnimDestination[t]&&(i.slowDownRatio[t]=.7,i.slowDownRatioReverse[t]=1-i.slowDownRatio[t],i.speedDecelerationRatioAbs[t]<.05&&(i.lastFlickSpeed[t]=0,i.backAnimStarted[t]=!0,te("bounceZoomPan"+t,dt[t],i.backAnimDestination[t],e||300,s.easing.sine.out,function(e){dt[t]=e,kt()}))))},calculateAnimOffset:function(t){i.backAnimStarted[t]||(i.speedDecelerationRatio[t]=i.speedDecelerationRatio[t]*(i.slowDownRatio[t]+i.slowDownRatioReverse[t]-i.slowDownRatioReverse[t]*i.timeDiff/10),i.speedDecelerationRatioAbs[t]=Math.abs(i.lastFlickSpeed[t]*i.speedDecelerationRatio[t]),i.distanceOffset[t]=i.lastFlickSpeed[t]*i.speedDecelerationRatio[t]*i.timeDiff,dt[t]+=i.distanceOffset[t])},panAnimLoop:function(){if(qt.zoomPan&&(qt.zoomPan.raf=I(i.panAnimLoop),i.now=Mt(),i.timeDiff=i.now-i.lastNow,i.lastNow=i.now,i.calculateAnimOffset("x"),i.calculateAnimOffset("y"),kt(),i.calculateOverBoundsAnimOffset("x"),i.calculateOverBoundsAnimOffset("y"),i.speedDecelerationRatioAbs.x<.05&&i.speedDecelerationRatioAbs.y<.05))return dt.x=Math.round(dt.x),dt.y=Math.round(dt.y),kt(),void Zt("zoomPan")}};return i},Xe=function(t){return t.calculateSwipeSpeed("y"),et=o.currItem.bounds,t.backAnimDestination={},t.backAnimStarted={},Math.abs(t.lastFlickSpeed.x)<=.05&&Math.abs(t.lastFlickSpeed.y)<=.05?(t.speedDecelerationRatioAbs.x=t.speedDecelerationRatioAbs.y=0,t.calculateOverBoundsAnimOffset("x"),t.calculateOverBoundsAnimOffset("y"),!0):(Qt("zoomPan"),t.lastNow=Mt(),void t.panAnimLoop())},Ne=function(t,e){var i;nt||(ue=h);var n;if("swipe"===t){var a=oe.x-re.x,l=e.lastFlickDist.x<10;a>30&&(l||e.lastFlickOffset.x>20)?n=-1:a<-30&&(l||e.lastFlickOffset.x<-20)&&(n=1)}var c;n&&(h+=n,h<0?(h=r.loop?qe()-1:0,c=!0):h>=qe()&&(h=r.loop?0:qe()-1,c=!0),c&&!r.loop||(vt+=n,ft-=n,i=!0));var u,d=gt.x*ft,p=Math.abs(d-fe.x);return i||d>fe.x==e.lastFlickSpeed.x>0?(u=Math.abs(e.lastFlickSpeed.x)>0?p/Math.abs(e.lastFlickSpeed.x):333,u=Math.min(u,400),u=Math.max(u,250)):u=333,ue===h&&(i=!1),nt=!0,Ct("mainScrollAnimStart"),te("mainScroll",fe.x,d,u,s.easing.cubic.out,Ot,function(){Jt(),nt=!1,ue=-1,(i||ue!==h)&&o.updateCurrItem(),Ct("mainScrollAnimComplete")}),i&&o.updateCurrItem(!0),i},We=function(t){return 1/tt*t*v},Fe=function(){var t=g,e=Wt(),i=Ft();g<e?t=e:g>i&&(t=i);var n,r=at;return rt&&!W&&!lt&&g<e?(o.close(),!0):(rt&&(n=function(t){At((1-r)*t+r)}),o.zoomTo(t,0,200,s.easing.cubic.out,n),!0)};St("Gestures",{publicMethods:{initGestures:function(){var t=function(t,e,i,n,s){x=t+e,P=t+i,C=t+n,M=s?t+s:""};(E=B.pointerEvent)&&B.touch&&(B.touch=!1),E?navigator.pointerEnabled?t("pointer","down","move","up","cancel"):t("MSPointer","Down","Move","Up","Cancel"):B.touch?(t("touch","start","move","end","cancel"),k=!0):t("mouse","down","move","up"),p=P+" "+C+" "+M,f=x,E&&!k&&(k=navigator.maxTouchPoints>1||navigator.msMaxTouchPoints>1),o.likelyTouchDevice=k,m[x]=Le,m[P]=ze,m[C]=Re,M&&(m[M]=m[C]),B.touch&&(f+=" mousedown",p+=" mousemove mouseup",m.mousedown=m[x],m.mousemove=m[P],m.mouseup=m[C]),k||(r.allowPanToNext=!1)}}});var Ye,Ve,$e,je,Ue,qe,Ke,Ze=function(e,i,n,a){Ye&&clearTimeout(Ye),je=!0,$e=!0;var l;e.initialLayout?(l=e.initialLayout,e.initialLayout=null):l=r.getThumbBoundsFn&&r.getThumbBoundsFn(h);var u=n?r.hideAnimationDuration:r.showAnimationDuration,d=function(){Zt("initialZoom"),n?(o.template.removeAttribute("style"),o.bg.removeAttribute("style")):(At(1),i&&(i.style.display="block"),s.addClass(t,"pswp--animated-in"),Ct("initialZoom"+(n?"OutEnd":"InEnd"))),a&&a(),je=!1};if(!u||!l||void 0===l.x)return Ct("initialZoom"+(n?"Out":"In")),g=e.initialZoomLevel,Lt(dt,e.initialPosition),kt(),t.style.opacity=n?0:1,At(1),void(u?setTimeout(function(){d()},u):d());!function(){var i=c,a=!o.currItem.src||o.currItem.loadError||r.showHideOpacity;e.miniImg&&(e.miniImg.style.webkitBackfaceVisibility="hidden"),n||(g=l.w/e.w,dt.x=l.x,dt.y=l.y-H,o[a?"template":"bg"].style.opacity=.001,kt()),Qt("initialZoom"),n&&!i&&s.removeClass(t,"pswp--animated-in"),a&&(n?s[(i?"remove":"add")+"Class"](t,"pswp--animate_opacity"):setTimeout(function(){s.addClass(t,"pswp--animate_opacity")},30)),Ye=setTimeout(function(){if(Ct("initialZoom"+(n?"Out":"In")),n){var o=l.w/e.w,r={x:dt.x,y:dt.y},c=g,h=at,p=function(e){1===e?(g=o,dt.x=l.x,dt.y=l.y-z):(g=(o-c)*e+c,dt.x=(l.x-r.x)*e+r.x,dt.y=(l.y-z-r.y)*e+r.y),kt(),a?t.style.opacity=1-e:At(h-e*h)};i?te("initialZoom",0,1,u,s.easing.cubic.out,p,d):(p(1),Ye=setTimeout(d,u+20))}else g=e.initialZoomLevel,Lt(dt,e.initialPosition),kt(),At(1),a?t.style.opacity=1:At(1),Ye=setTimeout(d,u+20)},n?25:90)}()},Qe={},Je=[],ti={index:0,errorMsg:'<div class="pswp__error-msg"><a href="%url%" target="_blank">The image</a> could not be loaded.</div>',forceProgressiveLoading:!1,preload:[1,1],getNumItemsFn:function(){return Ve.length}}
1,ei=function(t,e,i){var n=t.bounds;n.center.x=Math.round((Qe.x-e)/2),n.center.y=Math.round((Qe.y-i)/2)+t.vGap.top,n.max.x=e>Qe.x?Math.round(Qe.x-e):n.center.x,n.max.y=i>Qe.y?Math.round(Qe.y-i)+t.vGap.top:n.center.y,n.min.x=e>Qe.x?0:n.center.x,n.min.y=i>Qe.y?t.vGap.top:n.center.y},ii=function(t,e,i){if(t.src&&!t.loadError){var n=!i;if(n&&(t.vGap||(t.vGap={top:0,bottom:0}),Ct("parseVerticalMargin",t)),Qe.x=e.x,Qe.y=e.y-t.vGap.top-t.vGap.bottom,n){var s=Qe.x/t.w,o=Qe.y/t.h;t.fitRatio=s<o?s:o;var a=r.scaleMode;"orig"===a?i=1:"fit"===a&&(i=t.fitRatio),i>1&&(i=1),t.initialZoomLevel=i,t.bounds||(t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}})}if(!i)return;return ei(t,t.w*i,t.h*i),n&&i===t.initialZoomLevel&&(t.initialPosition=t.bounds.center),t.bounds}return t.w=t.h=0,t.initialZoomLevel=t.fitRatio=1,t.bounds={center:{x:0,y:0},max:{x:0,y:0},min:{x:0,y:0}},t.initialPosition=t.bounds.center,t.bounds},ni=function(t,e,i,n,s,r){e.loadError||n&&(e.imageAppended=!0,ri(e,n,e===o.currItem&&wt),i.appendChild(n),r&&setTimeout(function(){e&&e.loaded&&e.placeholder&&(e.placeholder.style.display="none",e.placeholder=null)},500))},si=function(t){t.loading=!0,t.loaded=!1;var e=t.img=s.createEl("pswp__img","img"),i=function(){t.loading=!1,t.loaded=!0,t.loadComplete?t.loadComplete(t):t.img=null,e.onload=e.onerror=null,e=null};return e.onload=i,e.onerror=function(){t.loadError=!0,i()},e.src=t.src,e},oi=function(t,e){if(t.src&&t.loadError&&t.container)return e&&(t.container.innerHTML=""),t.container.innerHTML=r.errorMsg.replace("%url%",t.src),!0},ri=function(t,e,i){if(t.src){e||(e=t.container.lastChild);var n=i?t.w:Math.round(t.w*t.fitRatio),s=i?t.h:Math.round(t.h*t.fitRatio);t.placeholder&&!t.loaded&&(t.placeholder.style.width=n+"px",t.placeholder.style.height=s+"px"),e.style.width=n+"px",e.style.height=s+"px"}},ai=function(){if(Je.length){for(var t,e=0;e<Je.length;e++)(t=Je[e]).holder.index===t.index&&ni(t.index,t.item,t.baseDiv,t.img,0,t.clearPlaceholder);Je=[]}};St("Controller",{publicMethods:{lazyLoadItem:function(t){t=_t(t);var e=Ue(t);e&&(!e.loaded&&!e.loading||w)&&(Ct("gettingData",t,e),e.src&&si(e))},initController:function(){s.extend(r,ti,!0),o.items=Ve=i,Ue=o.getItemAt,qe=r.getNumItemsFn,Ke=r.loop,qe()<3&&(r.loop=!1),Pt("beforeChange",function(t){var e,i=r.preload,n=null===t||t>=0,s=Math.min(i[0],qe()),a=Math.min(i[1],qe());for(e=1;e<=(n?a:s);e++)o.lazyLoadItem(h+e);for(e=1;e<=(n?s:a);e++)o.lazyLoadItem(h-e)}),Pt("initialLayout",function(){o.currItem.initialLayout=r.getThumbBoundsFn&&r.getThumbBoundsFn(h)}),Pt("mainScrollAnimComplete",ai),Pt("initialZoomInEnd",ai),Pt("destroy",function(){for(var t,e=0;e<Ve.length;e++)(t=Ve[e]).container&&(t.container=null),t.placeholder&&(t.placeholder=null),t.img&&(t.img=null),t.preloader&&(t.preloader=null),t.loadError&&(t.loaded=t.loadError=!1);Je=null})},getItemAt:function(t){return t>=0&&void 0!==Ve[t]&&Ve[t]},allowProgressiveImg:function(){return r.forceProgressiveLoading||!k||r.mouseUsed||screen.width>1200},setContent:function(t,e){r.loop&&(e=_t(e));var i=o.getItemAt(t.index);i&&(i.container=null);var n,l=o.getItemAt(e);if(l){Ct("gettingData",e,l),t.index=e,t.item=l;var c=l.container=s.createEl("pswp__zoom-wrap");if(!l.src&&l.html&&(l.html.tagName?c.appendChild(l.html):c.innerHTML=l.html),oi(l),ii(l,pt),!l.src||l.loadError||l.loaded)l.src&&!l.loadError&&(n=s.createEl("pswp__img","img"),n.style.opacity=1,n.src=l.src,ri(l,n),ni(0,l,c,n));else{if(l.loadComplete=function(i){if(a){if(t&&t.index===e){if(oi(i,!0))return i.loadComplete=i.img=null,ii(i,pt),It(i),void(t.index===h&&o.updateCurrZoomItem());i.imageAppended?!je&&i.placeholder&&(i.placeholder.style.display="none",i.placeholder=null):B.transform&&(nt||je)?Je.push({item:i,baseDiv:c,img:i.img,index:e,holder:t,clearPlaceholder:!0}):ni(0,i,c,i.img,0,!0)}i.loadComplete=null,i.img=null,Ct("imageLoadComplete",e,i)}},s.features.transform){var u="pswp__img pswp__img--placeholder";u+=l.msrc?"":" pswp__img--placeholder--blank";var d=s.createEl(u,l.msrc?"img":"");l.msrc&&(d.src=l.msrc),ri(l,d),c.appendChild(d),l.placeholder=d}l.loading||si(l),o.allowProgressiveImg()&&(!$e&&B.transform?Je.push({item:l,baseDiv:c,img:l.img,index:e,holder:t}):ni(0,l,c,l.img,0,!0))}$e||e!==h?It(l):(it=c.style,Ze(l,n||l.img)),t.el.innerHTML="",t.el.appendChild(c)}else t.el.innerHTML=""},cleanSlide:function(t){t.img&&(t.img.onload=t.img.onerror=null),t.loaded=t.loading=t.img=t.imageAppended=!1}}});var li,ci={}
1,hi=function(t,e,i){var n=document.createEvent("CustomEvent"),s={origEvent:t,target:t.target,releasePoint:e,pointerType:i||"touch"};n.initCustomEvent("pswpTap",!0,!0,s),t.target.dispatchEvent(n)};St("Tap",{publicMethods:{initTap:function(){Pt("firstTouchStart",o.onTapStart),Pt("touchRelease",o.onTapRelease),Pt("destroy",function(){ci={},li=null})},onTapStart:function(t){t.length>1&&(clearTimeout(li),li=null)},onTapRelease:function(t,e){if(e&&!U&&!$&&!Kt){var i=e;if(li&&(clearTimeout(li),li=null,ye(i,ci)))return void Ct("doubleTap",i);if("mouse"===e.type)return void hi(t,e,"mouse");if("BUTTON"===t.target.tagName.toUpperCase()||s.hasClass(t.target,"pswp__single-tap"))return void hi(t,e);Lt(ci,i),li=setTimeout(function(){hi(t,e),li=null},300)}}}});var ui;St("DesktopZoom",{publicMethods:{initDesktopZoom:function(){L||(k?Pt("mouseUsed",function(){o.setupDesktopZoom()}):o.setupDesktopZoom(!0))},setupDesktopZoom:function(e){ui={};var i="wheel mousewheel DOMMouseScroll";Pt("bindEvents",function(){s.bind(t,i,o.handleMouseWheel)}),Pt("unbindEvents",function(){ui&&s.unbind(t,i,o.handleMouseWheel)}),o.mouseZoomedIn=!1;var n,r=function(){o.mouseZoomedIn&&(s.removeClass(t,"pswp--zoomed-in"),o.mouseZoomedIn=!1),g<1?s.addClass(t,"pswp--zoom-allowed"):s.removeClass(t,"pswp--zoom-allowed"),a()},a=function(){n&&(s.removeClass(t,"pswp--dragging"),n=!1)};Pt("resize",r),Pt("afterChange",r),Pt("pointerDown",function(){o.mouseZoomedIn&&(n=!0,s.addClass(t,"pswp--dragging"))}),Pt("pointerUp",a),e||r()},handleMouseWheel:function(t){if(g<=o.currItem.fitRatio)return r.modal&&(!r.closeOnScroll||Kt||V?t.preventDefault():A&&Math.abs(t.deltaY)>2&&(c=!0,o.close())),!0;if(t.stopPropagation(),ui.x=0,"deltaX"in t)1===t.deltaMode?(ui.x=18*t.deltaX,ui.y=18*t.deltaY):(ui.x=t.deltaX,ui.y=t.deltaY);else if("wheelDelta"in t)t.wheelDeltaX&&(ui.x=-.16*t.wheelDeltaX),t.wheelDeltaY?ui.y=-.16*t.wheelDeltaY:ui.y=-.16*t.wheelDelta;else{if(!("detail"in t))return;ui.y=t.detail}Nt(g,!0);var e=dt.x-ui.x,i=dt.y-ui.y;(r.modal||e<=et.min.x&&e>=et.max.x&&i<=et.min.y&&i>=et.max.y)&&t.preventDefault(),o.panTo(e,i)},toggleDesktopZoom:function(e){e=e||{x:pt.x/2+mt.x,y:pt.y/2+mt.y};var i=r.getDoubleTapZoom(!0,o.currItem),n=g===i;o.mouseZoomedIn=!n,o.zoomTo(n?o.currItem.initialZoomLevel:i,e,333),s[(n?"remove":"add")+"Class"](t,"pswp--zoomed-in")}}});var di,pi,fi,mi,gi,vi,yi,Ti,bi,wi,Si,_i,xi={history:!0,galleryUID:1},Pi=function(){return Si.hash.substring(1)},Ci=function(){di&&clearTimeout(di),fi&&clearTimeout(fi)},Mi=function(){var t=Pi(),e={};if(t.length<5)return e;var i,n=t.split("&");for(i=0;i<n.length;i++)if(n[i]){var s=n[i].split("=");s.length<2||(e[s[0]]=s[1])}if(r.galleryPIDs){var o=e.pid;for(e.pid=0,i=0;i<Ve.length;i++)if(Ve[i].pid===o){e.pid=i;break}}else e.pid=parseInt(e.pid,10)-1;return e.pid<0&&(e.pid=0),e},Ai=function(){if(fi&&clearTimeout(fi),Kt||V)fi=setTimeout(Ai,500);else{mi?clearTimeout(pi):mi=!0;var t=h+1,e=Ue(h);e.hasOwnProperty("pid")&&(t=e.pid);var i=yi+"&gid="+r.galleryUID+"&pid="+t;Ti||-1===Si.hash.indexOf(i)&&(wi=!0);var n=Si.href.split("#")[0]+"#"+i;_i?"#"+i!==window.location.hash&&history[Ti?"replaceState":"pushState"]("",document.title,n):Ti?Si.replace(n):Si.hash=i,Ti=!0,pi=setTimeout(function(){mi=!1},60)}};St("History",{publicMethods:{initHistory:function(){if(s.extend(r,xi,!0),r.history){Si=window.location,wi=!1,bi=!1,Ti=!1,yi=Pi(),_i="pushState"in history,yi.indexOf("gid=")>-1&&(yi=yi.split("&gid=")[0],yi=yi.split("?gid=")[0]),Pt("afterChange",o.updateURL),Pt("unbindEvents",function(){s.unbind(window,"hashchange",o.onHashChange)});var t=function(){vi=!0,bi||(wi?history.back():yi?Si.hash=yi:_i?history.pushState("",document.title,Si.pathname+Si.search):Si.hash=""),Ci()};Pt("unbindEvents",function(){c&&t()}),Pt("destroy",function(){vi||t()}),Pt("firstUpdate",function(){h=Mi().pid});var e=yi.indexOf("pid=");e>-1&&"&"===(yi=yi.substring(0,e)).slice(-1)&&(yi=yi.slice(0,-1)),setTimeout(function(){a&&s.bind(window,"hashchange",o.onHashChange)},40)}},onHashChange:function(){return Pi()===yi?(bi=!0,void o.close()):void(mi||(gi=!0,o.goTo(Mi().pid),gi=!1))},updateURL:function(){Ci(),gi||(Ti?di=setTimeout(Ai,800):Ai())}}}),s.extend(o,ee)}}
1),function(t,e,i){function n(t){for(var e=0;e<a.length;e++){var i=a[e][0],n=a[e][1];if(Math.abs(t.clientX-i)<l&&Math.abs(t.clientY-n)<l){t.stopPropagation(),t.preventDefault();break}}}function s(){a=[]}function o(){a.splice(0,1)}function r(t){if(t.touches.length-t.changedTouches.length<=0){var e=t.changedTouches[0];a.push([e.clientX,e.clientY]),setTimeout(o,c)}}var a=[],l=25,c=2500;"ontouchstart"in t?(t.PreventGhostClick=function(t){t.addEventListener("touchstart",s,!0),t.addEventListener("touchend",r,!0)},e.addEventListener("click",n,!0)):t.PreventGhostClick=function(){}}(window,document),window.requestAnimationFrame||function(){for(var t=0,e=["webkit","moz"],i=0;i<e.length&&!window.requestAnimationFrame;++i)window.requestAnimationFrame=window[e[i]+"RequestAnimationFrame"],window.cancelAnimationFrame=window[e[i]+"CancelAnimationFrame"]||window[e[i]+"CancelRequestAnimationFrame"];window.requestAnimationFrame||(window.requestAnimationFrame=function(e,i){var n=(new Date).getTime(),s=Math.max(0,16-(n-t)),o=window.setTimeout(function(){e(n+s)},s);return t=n+s,o}),window.cancelAnimationFrame||(window.cancelAnimationFrame=function(t){clearTimeout(t)})}();var hasWindow="undefined"!=typeof window,environment=hasWindow?window.devicePixelRatio||1:1,srcReplace=/(\.[A-z]{3,4}\/?(\?.*)?)$/,inlineReplace=/url\(('|")?([^\)'"]+)('|")?\)/i,selector="[data-rjs]",processedAttr="data-rjs-processed";hasWindow&&(window.addEventListener("load",retina),window.retinajs=retina),function(t){function e(i,n){this.$body=t(document.body),this.$scrollElement=t(t(i).is(document.body)?window:i),this.options=t.extend({},e.DEFAULTS,n),".thb_row_pagination"===this.options.target?this.selector=(this.options.target||"")+" li":this.selector=(this.options.target||"")+" li a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",t.proxy(this.process,this)),this.refresh(),this.process()}function i(i){return this.each(function(){var n=t(this),s=n.data("bs.scrollspy"),o="object"==typeof i&&i;s||n.data("bs.scrollspy",s=new e(this,o)),"string"==typeof i&&s[i]()})}e.VERSION="3.3.7",e.DEFAULTS={offset:10},e.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},e.prototype.refresh=function(){var e=this,i="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),t.isWindow(this.$scrollElement[0])||(i="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var e=t(this),s=e.data("target")||e.attr("href"),o=!!s&&t("#"+(-1!==s.indexOf("#")?s.substring(s.indexOf("#")+1):""));return o&&o.length&&o.is(":visible")&&[[o[i]().top+n,s]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){e.offsets.push(this[0]),e.targets.push(this[1])})},e.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),n=this.options.offset+i-this.$scrollElement.height(),s=this.offsets,o=this.targets,r=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),e>=n)return r!=(t=o[o.length-1])&&this.activate(t);if(r&&e<s[0])return this.activeTarget=null,this.clear();for(t=s.length;t--;)r!=o[t]&&e>=s[t]&&(void 0===s[t+1]||e<s[t+1])&&this.activate(o[t])},e.prototype.activate=function(e){this.activeTarget=e,this.clear();var i=this.selector+'[data-target="'+e+'"],'+this.selector+'[href$="'+e+'"]',n=t(i).addClass("active");n.parent(".dropdown-menu").length&&(n=n.closest("li.dropdown").addClass("active")),n.trigger("activate.bs.scrollspy")},e.prototype.clear=function(){t(this.selector).removeClass("active")};var n=t.fn.scrollspy;t.fn.scrollspy=i,t.fn.scrollspy.Constructor=e,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=n,this},t(window).on("load.bs.scrollspy.data-api",function(){t('[data-spy="scroll"]').each(function(){var e=t(this);i.call(e,e.data())})})}(jQuery),function(t,e){function i(t,e){return Math.floor(Math.random()*(e-t+1))+t}function n(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function s(t,e,i){var n;return function(){var s=this,o=arguments,r=function(){n=null,i||t.apply(s,o)},a=i&&!n;clearTimeout(n),n=setTimeout(r,e),a&&t.apply(s,o)}}function o(t,e,n){for(var s=[],o=0;o<n;++o)s.push(i(t,e));return s.sort(function(t,e){return t-e}),s}function r(t){return Object.getOwnPropertyNames(t).length>0}function a(){for(var t="clipPath",e=["webkit","moz","ms","o"],i=[t],n=document.createElement("testelement"),s=0,o=e.length;s<o;s++){var r=e[s]+t.charAt(0).toUpperCase()+t.slice(1);i.push(r)}for(var s=0,o=i.length;s<o;s++){var a=i[s];if(""===n.style[a]&&(n.style[a]="polygon(50% 0%, 0% 100%, 100% 100%)",""!==n.style[a]))return!0}return!1}function l(t,e){this.el=t,this.options=n({},this.options),n(this.options,e),this.animate=this._animate;var i=this;return imagesLoaded(this.el,{background:!0},function(){i._init(),i._initEvents(),i.options.onReady()}),i}l.prototype={options:{pieces:4,renderOnLoad:!1,shadows:!0,shadowsAnimation:{opacity:1},parallax:!1,parallaxMovement:{min:10,max:40},animation:{duration:1500,easing:"easeOutQuad",delay:0,translateZ:{min:10,max:65}},onReady:function(){return!1},onAnimationComplete:function(){return!1},onAnimationStart:function(){return!1},positions:[{top:80,left:10,width:30,height:20},{top:2,left:2,width:40,height:40},{top:30,left:60,width:30,height:60},{top:10,left:20,width:50,height:60}]},_init:function(){this.dimensions={width:this.el.offsetWidth,height:this.el.offsetHeight};var t=this.el.style.backgroundImage;this.imgsrc=t.replace("url(","").replace(")","").replace(/\"/gi,""),this._layout();var e=this;this.pieces=[].slice.call(this.el.querySelectorAll(".segmenter__piece-wrap")),this.pieces.forEac
1h(function(t,i){e.options.renderOnLoad&&e._renderPiece(t)}),this.options.renderOnLoad&&(this.active=!0)},_layout:function(){var t=a(),n=document.createElement("div");n.className="segmenter__background",n.style.backgroundImage="url("+this.imgsrc+")";var s=document.createElement("div"),o="",r=this.options.positions.length;s.className="segmenter__pieces";for(var l=0,c=this.options.pieces;l<c;++l){this.options.parallax&&(o+='<div class="segmenter__piece-parallax">'),o+='<div class="segmenter__piece-wrap">';var h,u,d,p,f,m,g,v,y=l<=r-1?l:0,T="random"===this.options.positions;h=T?i(0,100):this.options.positions[y].top,u=T?i(0,100):this.options.positions[y].left,d=T?i(0,100):this.options.positions[y].width,p=T?i(0,100):this.options.positions[y].height,t||(f=T?h/100*this.dimensions.height:this.options.positions[y].top/100*this.dimensions.height,m=T?u/100*this.dimensions.width:this.options.positions[y].left/100*this.dimensions.width,g=T?d/100*this.dimensions.width+m:this.options.positions[y].width/100*this.dimensions.width+m,v=T?p/100*this.dimensions.height+f:this.options.positions[y].height/100*this.dimensions.height+f),this.options.shadows&&(o+='<div class="segmenter__shadow" style="top: '+h+"%; left: "+u+"%; width: "+d+"%; height: "+p+'%"></div>'),o+=t?'<div class="segmenter__piece" style="background-image: url('+this.imgsrc+"); -webkit-clip-path: polygon("+u+"% "+h+"%, "+(u+d)+"% "+h+"%, "+(u+d)+"% "+(h+p)+"%, "+u+"% "+(h+p)+"%); clip-path: polygon("+u+"% "+h+"%, "+(u+d)+"% "+h+"%, "+(u+d)+"% "+(h+p)+"%, "+u+"% "+(h+p)+'%)"></div>':'<div class="segmenter__piece" style="background-image: url('+this.imgsrc+"); clip: rect("+f+"px,"+g+"px,"+v+"px,"+m+'px)"></div>',o+="</div>",this.options.parallax&&(o+="</div>")}s.innerHTML=o,e(this.el).prepend(s),e(this.el).prepend(n)},_renderPiece:function(t){var e=this.pieces.indexOf(t);if(void 0!=self.options.animation.translateZ)if("object"==typeof self.options.animation.translateZ){i=o(self.options.animation.translateZ.min,self.options.animation.translateZ.max,self.options.pieces);t.style.transform=t.style.WebkitTransform="translateZ("+i[e]+"px)"}else t.style.transform=t.style.WebkitTransform="translateZ("+self.options.animation.translateZ+"px)";if(void 0!=self.options.animation.translateY)if("object"==typeof self.options.animation.translateY){i=o(self.options.animation.translateY.min,self.options.animation.translateY.max,self.options.pieces);t.style.transform=t.style.WebkitTransform="translateY("+i[e]+"px)"}else t.style.transform=t.style.WebkitTransform="translateY("+self.options.animation.translateY+"px)";if(void 0!=self.options.animation.translateX)if("object"==typeof self.options.animation.translateX){var i=o(self.options.animation.translateX.min,self.options.animation.translateX.max,self.options.pieces);t.style.transform=t.style.WebkitTransform="translateX("+i[e]+"px)"}else t.style.transform=t.style.WebkitTransform="translateX("+self.options.animation.translateX+"px)";if(void 0!=self.options.animation.opacity&&(t.style.opacity=self.options.animation.opacity),self.options.shadows&&r(self.options.shadowsAnimation)){var n=t.querySelector(".segmenter__shadow");n.style.opacity=void 0!=self.options.shadowsAnimation.opacity?self.options.shadowsAnimation.opacity:0,n.style.transform=n.style.WebkitTransform="translateX("+(void 0!=self.options.shadowsAnimation.translateX?self.options.shadowsAnimation.translateX:0)+"px) translateY("+(void 0!=self.options.shadowsAnimation.translateY?self.options.shadowsAnimation.translateY:0)+"px)"}},_animate:function(){if(this.active)return!1;this.active=!0;var t=this,n={targets:this.pieces,duration:this.options.animation.duration,delay:function(e,i){return(t.options.pieces-i-1)*t.options.animation.delay},easing:this.options.animation.easing,begin:this.options.onAnimationStart,complete:this.options.onAnimationComplete};if(void 0!=this.options.animation.translateZ){var s=o(this.options.animation.translateZ.min,this.options.animation.translateZ.max,this.options.pieces);n.translateZ="object"==typeof this.options.animation.translateZ?function(t,e){return s[e]}:this.options.animation.translateZ}void 0!=this.options.animation.translateX&&(n.translateX="object"==typeof this.options.animation.translateX?function(t,e){return i(0,100)}:this.options.animation.translateX),void 0!=this.options.animation.translateY&&(n.translateY="object"==typeof this.options.animation.translateY?function(t,e){return i(0,100)}:this.options.animation.translateY),void 0!=this.options.animation.opacity&&(n.op
1acity=this.options.animation.opacity);var r=new TimelineMax({paused:!0});return e(this.pieces).each(function(e,i){r.to(i,t.options.animation.duration/1e3,{z:s[e]},"start+="+.1*e).to(i.querySelectorAll(".segmenter__shadow"),t.options.animation.duration/1e3,{opacity:1},"start+="+.1*e)}),r},_initEvents:function(){var e=this;if(this.debounceResize=s(function(t){var n=e.options.positions.length;e.dimensions={width:e.el.offsetWidth,height:e.el.offsetHeight},e.pieces.forEach(function(t,s){var o,r,a,l,c=t.querySelector(".segmenter__piece");if("random"===e.options.positions){var h=i(0,100),u=i(0,100),d=i(0,100),p=i(0,100);o=h/100*e.dimensions.height,r=u/100*e.dimensions.width,a=d/100*e.dimensions.width+r,l=p/100*e.dimensions.height+o}else{var f=s<=n-1?s:0;o=e.options.positions[f].top/100*e.dimensions.height,r=e.options.positions[f].left/100*e.dimensions.width,a=e.options.positions[f].width/100*e.dimensions.width+r,l=e.options.positions[f].height/100*e.dimensions.height+o}c.style.clip="rect("+o+"px,"+a+"px,"+l+"px,"+r+"px)"})},10),t.addEventListener("resize",this.debounceResize),this.options.parallax){var n=o(this.options.parallaxMovement.min,this.options.parallaxMovement.max,this.options.pieces);this.pieces.forEach(function(t,i){t.setAttribute("data-parallax-translation","object"==typeof e.options.parallaxMovement?n[i]:e.options.parallaxMovement)}),this.mousemove=function(t){if(!e.active)return!1;requestAnimationFrame(function(){e.pieces.forEach(function(i){var n=i.getAttribute("data-parallax-translation"),s=n/e.dimensions.width*t.clientX-n/2,o=n/e.dimensions.height*t.clientY-n/2;i.parentNode.style.transform=i.parentNode.style.WebkitTransform="translate3d("+s+"px,"+o+"px,0)"})})},t.addEventListener("mousemove",this.mousemove),this.handleOrientation=function(){if(!e.active)return!1;var t=event.gamma;t+=90,requestAnimationFrame(function(){e.pieces.forEach(function(i){var n=i.getAttribute("data-parallax-translation"),s=n/e.dimensions.width*t-n/2,o=n/e.dimensions.height*t-n/2;i.parentNode.style.transform=i.parentNode.style.WebkitTransform="translate3d("+s+"px,"+o+"px,0)"})})},t.addEventListener("deviceorientation",this.handleOrientation)}}},t.Segmenter=l}(window,jQuery),function(t,e,i){function n(i){if(s=e.documentElement,o=e.body,N(),nt=this,i=i||{},lt=i.constants||{},i.easing)for(var n in i.easing)Y[n]=i.easing[n];mt=i.edgeStrategy||"set",rt={beforerender:i.beforerender,render:i.render,keyframe:i.keyframe},(at=!1!==i.forceHeight)&&(Dt=i.scale||1),ct=i.mobileDeceleration||_,ut=!1!==i.smoothScrolling,dt=i.smoothScrollingDuration||x,pt={targetTop:nt.getScrollTop()},(Xt=(i.mobileCheck||function(){return/Android|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent||navigator.vendor||t.opera)})())?((ot=e.getElementById("skrollr-body"))&&it(),V(),Ct(s,[y,w],[T])):Ct(s,[y,b],[T]),nt.refresh(),yt(t,"resize orientationchange",function(){var t=s.clientWidth,e=s.clientHeight;(e!==Bt||t!==zt)&&(Bt=e,zt=t,Rt=!0)});var r=W();return function t(){U(),vt=r(t)}(),nt}var s,o,r={get:function(){return nt},init:function(t){return nt||new n(t)},VERSION:"0.6.26"},a=Object.prototype.hasOwnProperty,l=t.Math,c=t.getComputedStyle,h="touchstart",u="touchmove",d="touchcancel",p="touchend",f="skrollable",m=f+"-before",g=f+"-between",v=f+"-after",y="skrollr",T="no-"+y,b=y+"-desktop",w=y+"-mobile",S="linear",_=.004,x=200,P="center",C="bottom",M="___skrollable_id",A=/^(?:input|textarea|button|select)$/i,E=/^\s+|\s+$/g,k=/^data(?:-(_\w+))?(?:-?(-?\d*\.?\d+p?))?(?:-?(start|end|top|center|bottom))?(?:-?(top|center|bottom))?$/,I=/\s*(@?[\w\-\[\]]+)\s*:\s*(.+?)\s*(?:;|$)/gi,D=/^(@?[a-z\-]+)\[(\w+)\]$/,O=/-([a-z0-9_])/g,H=function(t,e){return e.toUpperCase()}
vendor: 7,896 bytes, line 1
1,L=/[\-+]?[\d]*\.?[\d]+/g,z=/\{\?\}/g,B=/rgba?\(\s*-?\d+\s*,\s*-?\d+\s*,\s*-?\d+/g,R=/[a-z\-]+-gradient/g,G="",X="",N=function(){var t=/^(?:O|Moz|webkit|ms)|(?:-(?:o|moz|webkit|ms)-)/;if(c){var e=c(o,null);for(var n in e)if(G=n.match(t)||+n==n&&e[n].match(t))break;if(!G)return G=X="",i;"-"===(G=G[0]).slice(0,1)?(X=G,G={"-webkit-":"webkit","-moz-":"Moz","-ms-":"ms","-o-":"O"}[G]):X="-"+G.toLowerCase()+"-"}},W=function(){var e=t.requestAnimationFrame||t[G.toLowerCase()+"RequestAnimationFrame"],i=Et();return(Xt||!e)&&(e=function(e){var n=Et()-i,s=l.max(0,1e3/60-n);return t.setTimeout(function(){i=Et(),e()},s)}),e},F=function(){var e=t.cancelAnimationFrame||t[G.toLowerCase()+"CancelAnimationFrame"];return(Xt||!e)&&(e=function(e){return t.clearTimeout(e)}),e},Y={begin:function(){return 0},end:function(){return 1},linear:function(t){return t},quadratic:function(t){return t*t},cubic:function(t){return t*t*t},swing:function(t){return-l.cos(t*l.PI)/2+.5},sqrt:function(t){return l.sqrt(t)},outCubic:function(t){return l.pow(t-1,3)+1},bounce:function(t){var e;if(.5083>=t)e=3;else if(.8489>=t)e=9;else if(.96208>=t)e=27;else{if(!(.99981>=t))return 1;e=91}return 1-l.abs(3*l.cos(1.028*t*e)/e)}};n.prototype.refresh=function(t){var n,s,o=!1;for(t===i?(o=!0,st=[],Gt=0,t=e.getElementsByTagName("*")):t.length===i&&(t=[t]),n=0,s=t.length;s>n;n++){var r=t[n],a=r,l=[],c=ut,h=mt,u=!1;if(o&&M in r&&delete r[M],r.attributes){for(var d=0,p=r.attributes.length;p>d;d++){var m=r.attributes[d];if("data-anchor-target"!==m.name)if("data-smooth-scrolling"!==m.name)if("data-edge-strategy"!==m.name)if("data-emit-events"!==m.name){var g=m.name.match(k);if(null!==g){var v={props:m.value,element:r,eventType:m.name.replace(O,H)};l.push(v);var y=g[1];y&&(v.constant=y.substr(1));var T=g[2];/p$/.test(T)?(v.isPercentage=!0,v.offset=(0|T.slice(0,-1))/100):v.offset=0|T;var b=g[3],w=g[4]||b;b&&"start"!==b&&"end"!==b?(v.mode="relative",v.anchors=[b,w]):(v.mode="absolute","end"===b?v.isEnd=!0:v.isPercentage||(v.offset=v.offset*Dt))}}else u=!0;else h=m.value;else c="off"!==m.value;else if(null===(a=e.querySelector(m.value)))throw'Unable to find anchor target "'+m.value+'"'}if(l.length){var S,_,x;!o&&M in r?(x=r[M],S=st[x].styleAttr,_=st[x].classAttr):(x=r[M]=Gt++,S=r.style.cssText,_=Pt(r)),st[x]={element:r,styleAttr:S,classAttr:_,anchorTarget:a,keyFrames:l,smoothScrolling:c,edgeStrategy:h,emitEvents:u,lastFrameIndex:-1},Ct(r,[f],[])}}}for(St(),n=0,s=t.length;s>n;n++){var P=st[t[n][M]];P!==i&&(q(P),Z(P))}return nt},n.prototype.relativeToAbsolute=function(t,e,i){var n=s.clientHeight,o=t.getBoundingClientRect(),r=o.top,a=o.bottom-o.top;return e===C?r-=n:e===P&&(r-=n/2),i===C?r+=a:i===P&&(r+=a/2),0|(r+=nt.getScrollTop())+.5},n.prototype.animateTo=function(t,e){e=e||{};var n=Et(),s=nt.getScrollTop();return(ht={startTop:s,topDiff:t-s,targetTop:t,duration:e.duration||1e3,startTime:n,endTime:n+(e.duration||1e3),easing:Y[e.easing||S],done:e.done}).topDiff||(ht.done&&ht.done.call(nt,!1),ht=i),nt},n.prototype.stopAnimateTo=function(){ht&&ht.done&&ht.done.call(nt,!0),ht=i},n.prototype.isAnimatingTo=function(){return!!ht},n.prototype.isMobile=function(){return Xt},n.prototype.setScrollTop=function(e,i){return ft=!0===i,Xt?Nt=l.min(l.max(e,0),It):t.scrollTo(0,e),nt},n.prototype.getScrollTop=function(){return Xt?Nt:t.pageYOffset||s.scrollTop||o.scrollTop||0},n.prototype.getMaxScrollTop=function(){return It},n.prototype.on=function(t,e){return rt[t]=e,nt},n.prototype.off=function(t){return delete rt[t],nt},n.prototype.destroy=function(){F()(vt),bt(),Ct(s,[T],[y,b,w]);for(var t=0,e=st.length;e>t;t++)et(st[t].element);s.style.overflow=o.style.overflow="",s.style.height=o.style.height="",ot&&r.setStyle(ot,"transform","none"),nt=i,ot=i,rt=i,at=i,It=0,Dt=1,lt=i,ct=i,Ot="down",Ht=-1,zt=0,Bt=0,Rt=!1,ht=i,ut=i,dt=i,pt=i,ft=i,Gt=0,mt=i,Xt=!1,Nt=0,gt=i};var V=function(){var n,r,a,c,f,m,g,v,y,T,b,w;yt(s,[h,u,d,p].join(" "),function(t){var s=t.changedTouches[0];for(c=t.target;3===c.nodeType;)c=c.parentNode;switch(f=s.clientY,m=s.clientX,T=t.timeStamp,A.test(c.tagName)||t.preventDefault(),t.type){case h:n&&n.blur(),nt.stopAnimateTo(),n=c,r=g=f,a=m,y=T;break;case u:A.test(c.tagName)&&e.activeElement!==c&&t.preventDefault(),v=f-g,w=T-b,nt.setScrollTop(Nt-v,!0),g=f,b=T;break;default:case d:case p:var o=r-f,S=a-m;if(49>S*S+o*o){if(!A.test(n.tagName)){n.focus();var _=e.createEvent("MouseEvents");_.initMouseEvent("click",!0,!0,t.view,1,s.screenX,s.screenY,s.clientX,s.clientY,t.ctrlKey,t.altKey,t.shiftKey,t.metaKey,0,null),n.dispatchEvent(_)}return}n=i;var x=v/w;x=l.max(l.min(x,3),-3);var P=l.abs(x/ct),C=x*P+.5*ct*P*P,M=nt.getScrollTop()-C,E=0;M>It?(E=(It-M)/C,M=It):0>M&&(E=-M/C,M=0),P*=1-E,nt.animateTo(0|M+.5,{easing:"outCubic",duration:P})}}),t.scrollTo(0,0),s.style.overflow=o.style.overflow="hidden"},$=function(){var t,e,i,n,o,r,a,c,h,u,d,p=s.clientHeight,f=_t();for(c=0,h=st.length;h>c;c++)for(t=st[c],e=t.element,i=t.anchorTarget,n=t.keyFrames,o=0,r=n.length;r>o;o++)a=n[o],u=a.offset,d=f[a.constant]||0,a.frame=u,a.isPercentage&&(u*=p,a.frame=u),"relative"===a.mode&&(et(e),a.frame=nt.relativeToAbsolute(i,a.anchors[0],a.anchors[1])-u,et(e,!0)),a.frame+=d,at&&!a.isEnd&&a.frame>It&&(It=a.frame);for(It=l.max(It,xt()),c=0,h=st.length;h>c;c++){for(o=0,r=(n=(t=st[c]).keyFrames).length;r>o;o++)a=n[o],d=f[a.constant]||0,a.isEnd&&(a.frame=It-a.offset+d);t.keyFrames.sort(kt)}},j=function(t,e){for(var i=0,n=st.length;n>i;i++){var s,o,l=st[i],c=l.element,h=l.smoothScrolling?t:e,u=l.keyFrames,d=u.length,p=u[0],y=u[u.length-1],T=p.frame>h,b=h>y.frame,w=T?p:y,S=l.emitEvents,_=l.lastFrameIndex;if(T||b){if(T&&-1===l.edge||b&&1===l.edge)continue;switch(T?(Ct(c,[m],[v,g]),S&&_>-1&&(wt(c,p.eventType,Ot),l.lastFrameIndex=-1)):(Ct(c,[v],[m,g]),S&&d>_&&(wt(c,y.eventType,Ot),l.lastFrameIndex=d)),l.edge=T?-1:1,l.edgeStrategy){case"reset":et(c);continue;case"ease":h=w.frame;break;default:case"set":var x=w.props;for(s in x)a.call(x,s)&&(o=tt(x[s].value),0===s.indexOf("@")?c.setAttribute(s.substr(1),o):r.setStyle(c,s,o));continue}}else 0!==l.edge&&(Ct(c,[f,g],[m,v]),l.edge=0);for(var P=0;d-1>P;P++)if(h>=u[P].frame&&u[P+1].frame>=h){var C=u[P],M=u[P+1];for(s in C.props)if(a.call(C.props,s)){var A=(h-C.frame)/(M.frame-C.frame);A=C.props[s].easing(A),o=J(C.props[s].value,M.props[s].value,A),o=tt(o),0===s.indexOf("@")?c.setAttribute(s.substr(1),o):r.setStyle(c,s,o)}S&&_!==P&&("down"===Ot?wt(c,C.eventType,Ot):wt(c,M.eventType,Ot),l.lastFrameIndex=P);break}}},U=function(){Rt&&(Rt=!1,St());var t,e,n=nt.getScrollTop(),s=Et();if(ht?(s>=ht.endTime?(n=ht.targetTop,t=ht.done,ht=i):(e=ht.easing((s-ht.startTime)/ht.duration),n=0|ht.startTop+e*ht.topDiff),nt.setScrollTop(n,!0)):ft||(pt.targetTop-n&&(pt={startTop:Ht,topDiff:n-Ht,targetTop:n,startTime:Lt,endTime:Lt+dt}),pt.endTime>=s&&(e=Y.sqrt((s-pt.startTime)/dt),n=0|pt.startTop+e*pt.topDiff)),Xt&&ot&&r.setStyle(ot,"transform","translate(0, "+-Nt+"px) "+gt),ft||Ht!==n){ft=!1;var o={curTop:n,lastTop:Ht,maxTop:It,direction:Ot=n>Ht?"down":Ht>n?"up":Ot};!1!==(rt.beforerender&&rt.beforerender.call(nt,o))&&(j(n,nt.getScrollTop()),Ht=n,rt.render&&rt.render.call(nt,o)),t&&t.call(nt,!1)}Lt=s},q=function(t){for(var e=0,i=t.keyFrames.length;i>e;e++){for(var n,s,o,r,a=t.keyFrames[e],l={};null!==(r=I.exec(a.props));)o=r[1],s=r[2],n=o.match(D),null!==n?(o=n[1],n=n[2]):n=S,s=s.indexOf("!")?K(s):[s.slice(1)],l[o]={value:s,easing:Y[n]};a.props=l}},K=function(t){var e=[];return B.lastIndex=0,t=t.replace(B,function(t){return t.replace(L,function(t){return t/255*100+"%"})}),X&&(R.lastIndex=0,t=t.replace(R,function(t){return X+t})),t=t.replace(L,function(t){return e.push(+t),"{?}"}),e.unshift(t),e},Z=function(t){var e,i,n={};for(e=0,i=t.keyFrames.length;i>e;e++)Q(t.keyFrames[e],n);for(n={},e=t.keyFrames.length-1;e>=0;e--)Q(t.keyFrames[e],n)},Q=function(t,e){var i;for(i in e)a.call(t.props,i)||(t.props[i]=e[i]);for(i in t.props)e[i]=t.props[i]}
1,J=function(t,e,i){var n,s=t.length;if(s!==e.length)throw"Can't interpolate between \""+t[0]+'" and "'+e[0]+'"';var o=[t[0]];for(n=1;s>n;n++)o[n]=t[n]+(e[n]-t[n])*i;return o},tt=function(t){var e=1;return z.lastIndex=0,t[0].replace(z,function(){return t[e++]})},et=function(t,e){for(var i,n,s=0,o=(t=[].concat(t)).length;o>s;s++)n=t[s],(i=st[n[M]])&&(e?(n.style.cssText=i.dirtyStyleAttr,Ct(n,i.dirtyClassAttr)):(i.dirtyStyleAttr=n.style.cssText,i.dirtyClassAttr=Pt(n),n.style.cssText=i.styleAttr,Ct(n,i.classAttr)))},it=function(){gt="translateZ(0)",r.setStyle(ot,"transform",gt);var t=c(ot),e=t.getPropertyValue("transform"),i=t.getPropertyValue(X+"transform");e&&"none"!==e||i&&"none"!==i||(gt="")};r.setStyle=function(t,e,i){var n=t.style;if("zIndex"===(e=e.replace(O,H).replace("-","")))n[e]=isNaN(i)?i:""+(0|i);else if("float"===e)n.styleFloat=n.cssFloat=i;else try{G&&(n[G+e.slice(0,1).toUpperCase()+e.slice(1)]=i),n[e]=i}catch(t){}};var nt,st,ot,rt,at,lt,ct,ht,ut,dt,pt,ft,mt,gt,vt,yt=r.addEvent=function(e,i,n){for(var s,o=function(e){return(e=e||t.event).target||(e.target=e.srcElement),e.preventDefault||(e.preventDefault=function(){e.returnValue=!1,e.defaultPrevented=!0}),n.call(this,e)},r=0,a=(i=i.split(" ")).length;a>r;r++)s=i[r],e.addEventListener?e.addEventListener(s,n,!1):e.attachEvent("on"+s,o),Wt.push({element:e,name:s,listener:n})},Tt=r.removeEvent=function(t,e,i){for(var n=0,s=(e=e.split(" ")).length;s>n;n++)t.removeEventListener?t.removeEventListener(e[n],i,!1):t.detachEvent("on"+e[n],i)},bt=function(){for(var t,e=0,i=Wt.length;i>e;e++)t=Wt[e],Tt(t.element,t.name,t.listener);Wt=[]},wt=function(t,e,i){rt.keyframe&&rt.keyframe.call(nt,t,e,i)},St=function(){var t=nt.getScrollTop();It=0,at&&!Xt&&(o.style.height=""),$(),at&&!Xt&&(o.style.height=It+s.clientHeight+"px"),Xt?nt.setScrollTop(l.min(nt.getScrollTop(),It)):nt.setScrollTop(t,!0),ft=!0},_t=function(){var t,e,i=s.clientHeight,n={};for(t in lt)e=lt[t],"function"==typeof e?e=e.call(nt):/p$/.test(e)&&(e=e.slice(0,-1)/100*i),n[t]=e;return n},xt=function(){var t=ot&&ot.offsetHeight||0;return l.max(t,o.scrollHeight,o.offsetHeight,s.scrollHeight,s.offsetHeight,s.clientHeight)-s.clientHeight},Pt=function(e){var i="className";return t.SVGElement&&e instanceof t.SVGElement&&(e=e[i],i="baseVal"),e[i]},Ct=function(e,n,s){var o="className";if(t.SVGElement&&e instanceof t.SVGElement&&(e=e[o],o="baseVal"),s===i)return e[o]=n,i;for(var r=e[o],a=0,l=s.length;l>a;a++)r=At(r).replace(At(s[a])," ");r=Mt(r);for(var c=0,h=n.length;h>c;c++)-1===At(r).indexOf(At(n[c]))&&(r+=" "+n[c]);e[o]=Mt(r)},Mt=function(t){return t.replace(E,"")},At=function(t){return" "+t+" "},Et=Date.now||function(){return+new Date},kt=function(t,e){return t.frame-e.frame},It=0,Dt=1,Ot="down",Ht=-1,Lt=Et(),zt=0,Bt=0,Rt=!1,Gt=0,Xt=!1,Nt=0,Wt=[];"function"==typeof define&&define.amd?define([],function(){return r}):"undefined"!=typeof module&&module.exports?module.exports=r:t.skrollr=r}(window,document),function(t){"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=window.Slick||{};(e=function(){function e(e,n){var s,o=this;o.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},o.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,
vendor: 8,638 bytes, line 1
1sliding:!1,slideOffset:0,swipeLeft:null,$list:null,touchObject:{},transformsEnabled:!1,unslicked:!1},t.extend(o,o.initials),o.activeBreakpoint=null,o.animType=null,o.animProp=null,o.breakpoints=[],o.breakpointSettings=[],o.cssTransitions=!1,o.focussed=!1,o.interrupted=!1,o.hidden="hidden",o.paused=!0,o.positionProp=null,o.respondTo=null,o.rowCount=1,o.shouldClick=!0,o.$slider=t(e),o.$slidesCache=null,o.transformType=null,o.transitionType=null,o.visibilityChange="visibilitychange",o.windowWidth=0,o.windowTimer=null,s=t(e).data("slick")||{},o.options=t.extend({},o.defaults,n,s),o.currentSlide=o.options.initialSlide,o.originalSettings=o.options,void 0!==document.mozHidden?(o.hidden="mozHidden",o.visibilityChange="mozvisibilitychange"):void 0!==document.webkitHidden&&(o.hidden="webkitHidden",o.visibilityChange="webkitvisibilitychange"),o.autoPlay=t.proxy(o.autoPlay,o),o.autoPlayClear=t.proxy(o.autoPlayClear,o),o.autoPlayIterator=t.proxy(o.autoPlayIterator,o),o.changeSlide=t.proxy(o.changeSlide,o),o.clickHandler=t.proxy(o.clickHandler,o),o.selectHandler=t.proxy(o.selectHandler,o),o.setPosition=t.proxy(o.setPosition,o),o.swipeHandler=t.proxy(o.swipeHandler,o),o.dragHandler=t.proxy(o.dragHandler,o),o.keyHandler=t.proxy(o.keyHandler,o),o.instanceUid=i++,o.htmlExpr=/^(?:\s*(<[\w\W]+>)[^>]*)$/,o.registerBreakpoints(),o.init(!0)}var i=0;return e}()).prototype.activateADA=function(){this.$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 s=this;if("boolean"==typeof i)n=i,i=null;else if(0>i||i>=s.slideCount)return!1;s.unload(),"number"==typeof i?0===i&&0===s.$slides.length?t(e).appendTo(s.$slideTrack):n?t(e).insertBefore(s.$slides.eq(i)):t(e).insertAfter(s.$slides.eq(i)):!0===n?t(e).prependTo(s.$slideTrack):t(e).appendTo(s.$slideTrack),s.$slides=s.$slideTrack.children(this.options.slide),s.$slideTrack.children(this.options.slide).detach(),s.$slideTrack.append(s.$slides),s.$slides.each(function(e,i){t(i).attr("data-slick-index",e)}),s.$slidesCache=s.$slides,s.reinit()},e.prototype.animateHeight=function(){var t=this;if(1===t.options.slidesToShow&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){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={},s=this;s.animateHeight(),!0===s.options.rtl&&!1===s.options.vertical&&(e=-e),!1===s.transformsEnabled?!1===s.options.vertical?s.$slideTrack.animate({left:e},s.options.speed,s.options.easing,i):s.$slideTrack.animate({top:e},s.options.speed,s.options.easing,i):!1===s.cssTransitions?(!0===s.options.rtl&&(s.currentLeft=-s.currentLeft),t({animStart:s.currentLeft}).animate({animStart:e},{duration:s.options.speed,easing:s.options.easing,step:function(t){t=Math.ceil(t),!1===s.options.vertical?(n[s.animType]="translate("+t+"px, 0px)",s.$slideTrack.css(n)):(n[s.animType]="translate(0px,"+t+"px)",s.$slideTrack.css(n))},complete:function(){i&&i.call()}})):(s.applyTransition(),e=Math.ceil(e),!1===s.options.vertical?n[s.animType]="translate3d("+e+"px, 0px, 0px)":n[s.animType]="translate3d(0px,"+e+"px, 0px)",s.$slideTrack.css(n),i&&setTimeout(function(){s.disableTransition(),i.call()},s.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.getNavTarget();null!==i&&"object"==typeof i&&i.each(function(){var i=t(this).slick("getSlick");i.unslicked||i.slideHandler(e,!0)})},e.prototype.applyTransition=function(t){var e=this,i={};!1===e.options.fade?i[e.transitionType]=e.transformType+" "+e.options.speed+"ms "+e.options.cssEase:i[e.transitionType]="opacity "+e.options.speed+"ms "+e.options.cssEase,!1===e.options.fade?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;t.paused||t.interrupted||t.focussed||(!1===t.options.infinite&&(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;!0===e.options.arrows&&(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),!0!==e.options.infinite&&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(!0===n.options.dots&&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),(!0===e.options.centerMode||!0===e.options.swipeToSlide)&&(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),!0===e.options.draggable&&e.$list.addClass("draggable")},e.prototype.buildRows=function(){var t,e,i,n,s,o,r,a=this;if(n=document.createDocumentFragment(),o=a.$slider.children(),a.options.rows>1){for(r=a.options.slidesPerRow*a.options.rows,s=Math.ceil(o.length/r),t=0;s>t;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 h=t*r+(e*a.options.slidesPerRow+i);o.get(h)&&c.appendChild(o.get(h))}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,s,o,r=this,a=!1,l=r.$slider.width(),c=window.innerWidth||t(window).width();if("window"===r.respondTo?o=c:"slider"===r.respondTo?o=l:"min"===r.respondTo&&(o=Math.min(c,l)),r.options.responsive&&r.options.responsive.length&&null!==r.options.responsive){s=null;for(n in r.breakpoints)r.breakpoints.hasOwnProperty(n)&&(!1===r.originalSettings.mobileFirst?o<r.breakpoints[n]&&(s=r.breakpoints[n]):o>r.breakpoints[n]&&(s=r.breakpoints[n]));null!==s?null!==r.activeBreakpoint?(s!==r.activeBreakpoint||i)&&(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=s):(r.activeBreakpoint=s,"unslick"===r.breakpointSettings[s]?r.unslick(s):(r.options=t.extend({},r.originalSettings,r.breakpointSettings[s]),!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e)),a=s):null!==r.activeBreakpoint&&(r.activeBreakpoint=null,r.options=r.originalSettings,!0===e&&(r.currentSlide=r.options.initialSlide),r.refresh(e),a=s),e||!1===a||r.$slider.trigger("breakpoint",[r,a])}},e.prototype.changeSlide=function(e,i){var n,s,o,r=this,a=t(e.currentTarget);switch(a.is("a")&&e.preventDefault(),a.is("li")||(a=a.closest("li")),o=r.slideCount%r.options.slidesToScroll!=0,n=o?0:(r.slideCount-r.currentSlide)%r.options.slidesToScroll,e.data.message){case"previous":s=0===n?r.options.slidesToScroll:r.o
vendor: 1,261 bytes, line 1
1ptions.slidesToShow-n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide-s,!1,i);break;case"next":s=0===n?r.options.slidesToScroll:n,r.slideCount>r.options.slidesToShow&&r.slideHandler(r.currentSlide+s,!1,i);break;case"index":var l=0===e.data.index?0:e.data.index||a.index()*r.options.slidesToScroll;r.slideHandler(r.checkNavigable(l),!1,i),a.children().trigger("focus");break;default:return}},e.prototype.checkNavigable=function(t){var e,i;if(e=this.getNavigableIndexes(),i=0,t>e[e.length-1])t=e[e.length-1];else for(var n in e){if(t<e[n]){t=i;break}i=e[n]}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.slick",t.proxy(e.interrupt,e,!1)),e.$slider.off("focus.slick blur.slick"),!0===e.options.arrows&&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.
1slick",e.swipeHandler),e.$list.off("click.slick",e.clickHandler),t(document).off(e.visibilityChange,e.visibility),e.cleanUpSlideEvents(),!0===e.options.accessibility&&e.$list.off("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&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()).removeAttr("style"),e.$slider.empty().append(t))},e.prototype.clickHandler=function(t){!1===this.shouldClick&&(t.stopImmediatePropagation(),t.stopPropagation(),t.preventDefault())},e.prototype.destroy=function(e){var 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]="",!1===e.options.fade?e.$slideTrack.css(i):e.$slides.eq(t).css(i)},e.prototype.fadeSlide=function(t,e){var i=this;!1===i.cssTransitions?(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;!1===e.cssTransitions?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(){return this.currentSlide},e.prototype.getDotCount=function(){var t=this,e=0,i=0,n=0;if(!0===t.options.infinite)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(!0===t.options.centerMode)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,s=this,o=0;return s.slideOffset=0,i=s.$slides.first().outerHeight(!0),!0===s.options.infinite?(s.slideCount>s.options.slidesToShow&&(s.slideOffset=s.slideWidth*s.options.slidesToShow*-1,o=i*s.options.slidesToShow*-1),s.slideCount%s.options.slidesToScroll!=0&&t+s.options.slidesToScroll>s.slideCount&&s.slideCount>s.options.slidesToShow&&(t>s.slideCount?(s.slideOffset=(s.options.slidesToShow-(t-s.slideCount))*s.slideWidth*-1,o=(s.options.slidesToShow-(t-s.slideCount))*i*-1):(s.slideOffset=s.slideCount%s.options.slidesToScroll*s.slideWidth*-1,o=s.slideCount%s.options.slidesToScroll*i*-1))):t+s.options.slidesToShow>s.slideCount&&(s.slideOffset=(t+s.options.slidesToShow-s.slideCount)*s.slideWidth,o=(t+s.options.slidesToShow-s.slideCount)*i),s.slideCount<=s.options.slidesToShow&&(s.slideOffset=0,o=0),!0===s.options.centerMode&&!0===s.options.infinite?s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)-s.slideWidth:!0===s.options.centerMode&&(s.slideOffset=0,s.slideOffset+=s.slideWidth*Math.floor(s.options.slidesToShow/2)),e=!1===s.options.vertical?t*s.slideWidth*-1+s.slideOffset:t*i*-1+o,!0===s.options.variableWidth&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,!0===s.options.centerMode&&(n=s.slideCount<=s.options.slidesToShow||!1===s.options.infinite?s.$slideTrack.children(".slick-slide").eq(t):s.$slideTrack.children(".slick-slide").eq(t+s.options.slidesToShow+1),e=!0===s.options.rtl?n[0]?-1*(s.$slideTrack.width()-n[0].offsetLeft-n.width()):0:n[0]?-1*n[0].offsetLeft:0,e+=(s.$list.width()-n.outerWidth())/2)),e},e.prototype.getOption=e.prototype.slickGetOption=function(t){return this.options[t]},e.prototype.getNavigableIndexes=function(){var t,e=this,i=0,n=0,s=[];for(!1===e.options.infinite?t=e.slideCount:(i=-1*e.options.slidesToScroll,n=-1*e.options.slidesToScroll,t=2*e.slideCount);t>i;)s.push(i),i=n+e.options.slidesToScroll,n+=e.options.slidesToScroll<=e.options.slidesToShow?e.options.slidesToScroll:e.options.slidesToShow;return s},e.prototype.getSlick=function(){return this},e.prototype.getSlideCount=function(){var e,i,n=this;return i=!0===n.options.centerMode?n.slideWidth*Math.floor(n.options.slidesToShow/2):0,!0===n.options.swipeToSlide?(n.$slideTrack.find(".slick-slide").each(function(s,o){return o.offsetLeft-i+t(o).outerWidth()/2>-1*n.swipeLeft?(e=o,!1):void 0}),Math.abs(t(e).attr("data-slick-index")-n.currentSlide)||1):n.options.slidesToScroll},e.prototype.goTo=e.prototype.slickGoTo=function(t,e){this.changeSlide({data:{message:"index",index:
vendor: 2,296 bytes, line 1
1parseInt(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]),!0===i.options.accessibility&&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;!0===t.options.arrows&&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;!0===e.options.dots&&e.slideCount>e.options.slidesToShow&&t("li",e.$dots).on("click.slick",{message:"index"},e.changeSlide),!0===e.options.dots&&!0===e.options.pauseOnDotsHover&&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"}
1,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)),!0===e.options.accessibility&&e.$list.on("keydown.slick",e.keyHandler),!0===e.options.focusOnSelect&&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;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.show(),t.$nextArrow.show()),!0===t.options.dots&&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&&!0===e.options.accessibility?e.changeSlide({data:{message:!0===e.options.rtl?"next":"previous"}}):39===t.keyCode&&!0===e.options.accessibility&&e.changeSlide({data:{message:!0===e.options.rtl?"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}
vendor: 4,581 bytes, line 1
1,100,function(){e.attr("src",i).animate({opacity:1},200,function(){e.removeAttr("data-lazy").removeClass("slick-loading")}),o.$slider.trigger("lazyLoaded",[o,e,i])})},n.onerror=function(){e.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,e,i])},n.src=i})}var i,n,s,o=this;!0===o.options.centerMode?!0===o.options.infinite?(n=o.currentSlide+(o.options.slidesToShow/2+1),s=n+o.options.slidesToShow+2):(n=Math.max(0,o.currentSlide-(o.options.slidesToShow/2+1)),s=o.options.slidesToShow/2+1+2+o.currentSlide):(n=o.options.infinite?o.options.slidesToShow+o.currentSlide:o.currentSlide,s=Math.ceil(n+o.options.slidesToShow),!0===o.options.fade&&(n>0&&n--,s<=o.slideCount&&s++)),e(o.$slider.find(".slick-slide").slice(n,s)),o.slideCount<=o.options.slidesToShow?(i=o.$slider.find(".slick-slide"),e(i)):o.currentSlide>=o.slideCount-o.options.slidesToShow?(i=o.$slider.find(".slick-cloned").slice(0,o.options.slidesToShow),e(i)):0===o.currentSlide&&(i=o.$slider.find(".slick-cloned").slice(-1*o.options.slidesToShow),e(i))},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(){this.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(),!0===e.options.accessibility&&e.initADA())},e.prototype.prev=e.prototype.slickPrev=function(){this.changeSlide({data:{message:"previous"}})},e.prototype.preventDefault=function(t){t.preventDefault()},e.prototype.progressiveLazyLoad=function(e){e=e||1;var i,n,s,o=this,r=t("img[data-lazy]",o.$slider);r.length?(i=r.first(),n=i.attr("data-lazy"),s=document.createElement("img"),s.onload=function(){i.attr("src",n).removeAttr("data-lazy").removeClass("slick-loading"),!0===o.options.adaptiveHeight&&o.setPosition(),o.$slider.trigger("lazyLoaded",[o,i,n]),o.progressiveLazyLoad()},s.onerror=function(){3>e?setTimeout(function(){o.progressiveLazyLoad(e+1)},500):(i.removeAttr("data-lazy").removeClass("slick-loading").addClass("slick-lazyload-error"),o.$slider.trigger("lazyLoadError",[o,i,n]),o.progressiveLazyLoad())},s.src=n):o.$slider.trigger("allImagesLoaded",[o])},e.prototype.refresh=function(e){var i,n,s=this;n=s.slideCount-s.options.slidesToShow,!s.options.infinite&&s.currentSlide>n&&(s.currentSlide=n),s.slideCount<=s.options.slidesToShow&&(s.currentSlide=0),i=s.currentSlide,s.destroy(!0),t.extend(s,s.initials,{currentSlide:i}),s.init(),e||s.changeSlide({data:{message:"index",index:i}},!1)},e.prototype.registerBreakpoints=function(){var e,i,n,s=this,o=s.options.responsive||null;if("array"===t.type(o)&&o.length){s.respondTo=s.options.respondTo||"window";for(e in o)if(n=s.breakpoints.length-1,i=o[e].breakpoint,o.hasOwnProperty(e)){for(;n>=0;)s.breakpoints[n]&&s.breakpoints[n]===i&&s.breakpoints.splice(n,1),n--;s.breakpoints.push(i),s.breakpointSettings[i]=o[e].settings}s.breakpoints.sort(function(t,e){return s.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),!0===e.options.focusOnSelect&&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))}
1,e.prototype.removeSlide=e.prototype.slickRemove=function(t,e,i){var n=this;return"boolean"==typeof t?(e=t,t=!0===e?0:n.slideCount-1):t=!0===e?--t:t,!(n.slideCount<1||0>t||t>n.slideCount-1)&&(n.unload(),!0===i?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,s={};!0===n.options.rtl&&(t=-t),e="left"==n.positionProp?Math.ceil(t)+"px":"0px",i="top"==n.positionProp?Math.ceil(t)+"px":"0px",s[n.positionProp]=t,!1===n.transformsEnabled?n.$slideTrack.css(s):(s={},!1===n.cssTransitions?(s[n.animType]="translate("+e+", "+i+")",n.$slideTrack.css(s)):(s[n.animType]="translate3d("+e+", "+i+", 0px)",n.$slideTrack.css(s)))},e.prototype.setDimensions=function(){var t=this;!1===t.options.vertical?!0===t.options.centerMode&&t.$list.css({padding:"0px "+t.options.centerPadding}):(t.$list.height(t.$slides.first().outerHeight(!0)*t.options.slidesToShow),!0===t.options.centerMode&&t.$list.css({padding:t.options.centerPadding+" 0px"})),t.listWidth=t.$list.width(),t.listHeight=t.$list.height(),!1===t.options.vertical&&!1===t.options.variableWidth?(t.slideWidth=Math.ceil(t.listWidth/t.options.slidesToShow),t.$slideTrack.width(Math.ceil(t.slideWidth*t.$slideTrack.children(".slick-slide").length))):!0===t.options.variableWidth?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();!1===t.options.variableWidth&&t.$slideTrack.children(".slick-slide").width(t.slideWidth-e)},e.prototype.setFade=function(){var e,i=this;i.$slides.each(function(n,s){e=i.slideWidth*n*-1,!0===i.options.rtl?t(s).css({position:"relative",right:e,top:0,zIndex:i.options.zIndex-2,opacity:0}
vendor: 4,527 bytes, line 1
1):t(s).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&&!0===t.options.adaptiveHeight&&!1===t.options.vertical){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,s,o,r=this,a=!1;if("object"===t.type(arguments[0])?(n=arguments[0],a=arguments[1],o="multiple"):"string"===t.type(arguments[0])&&(n=arguments[0],s=arguments[1],a=arguments[2],"responsive"===arguments[0]&&"array"===t.type(arguments[1])?o="responsive":void 0!==arguments[1]&&(o="single")),"single"===o)r.options[n]=s;else if("multiple"===o)t.each(n,function(t,e){r.options[t]=e});else if("responsive"===o)for(i in s)if("array"!==t.type(r.options.responsive))r.options.responsive=[s[i]];else{for(e=r.options.responsive.length-1;e>=0;)r.options.responsive[e].breakpoint===s[i].breakpoint&&r.options.responsive.splice(e,1),e--;r.options.responsive.push(s[i])}a&&(r.unload(),r.reinit())},e.prototype.setPosition=function(){var t=this;t.setDimensions(),t.setHeight(),!1===t.options.fade?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=!0===t.options.vertical?"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)&&!0===t.options.useCSS&&(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&&!1!==t.animType&&(t.animType="transform",t.transformType="transform",t.transitionType="transition"),t.transformsEnabled=t.options.useTransform&&null!==t.animType&&!1!==t.animType},e.prototype.setSlideClasses=function(t){var e,i,n,s,o=this;i=o.$slider.find(".slick-slide").removeClass("slick-active slick-center slick-current").attr("aria-hidden","true"),o.$slides.eq(t).addClass("slick-current"),!0===o.options.centerMode?(e=Math.floor(o.options.slidesToShow/2),!0===o.options.infinite&&(t>=e&&t<=o.slideCount-1-e?o.$slides.slice(t-e,t+e+1).addClass("slick-active").attr("aria-hidden","false"):(n=o.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-o.options.slidesToShow).addClass("slick-center"):t===o.slideCount-1&&i.eq(o.options.slidesToShow).addClass("slick-center")),o.$slides.eq(t).addClass("slick-center")):t>=0&&t<=o.slideCount-o.options.slidesToShow?o.$slides.slice(t,t+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false"):i.length<=o.options.slidesToShow?i.addClass("slick-active").attr("aria-hidden","false"):(s=o.slideCount%o.options.slidesToShow,n=!0===o.options.infinite?o.options.slidesToShow+t:t,o.options.slidesToShow==o.options.slidesToScroll&&o.slideCount-t<o.options.slidesToShow?i.slice(n-(o.options.slidesToShow-s),n+s).addClass("slick-active").attr("aria-hidden","false"):i.slice(n,n+o.options.slidesToShow).addClass("slick-active").attr("aria-hidden","false")),"ondemand"===o.options.lazyLoad&&o.lazyLoad()},e.prototype.setupInfinite=function(){var e,i,n,s=this;if(!0===s.options.fade&&(s.options.centerMode=!1),!0===s.options.infinite&&!1===s.options.fade&&(i=null,s.slideCount>s.options.slidesToShow)){for(n=!0===s.options.centerMode?s.options.slidesToShow+1:s.options.slidesToShow,e=s.slideCount;e>s.slideCount-n;e-=1)i=e-1,t(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i-s.slideCount).prependTo(s.$slideTrack).addClass("slick-cloned");for(e=0;
1n>e;e+=1)i=e,t(s.$slides[i]).clone(!0).attr("id","").attr("data-slick-index",i+s.slideCount).appendTo(s.$slideTrack).addClass("slick-cloned");s.$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"),s=parseInt(n.attr("data-slick-index"));return s||(s=0),i.slideCount<=i.options.slidesToShow?(i.setSlideClasses(s),void i.asNavFor(s)):void i.slideHandler(s)},e.prototype.slideHandler=function(t,e,i){var n,s,o,r,a,l=null,c=this;return e=e||!1,!0===c.animating&&!0===c.options.waitForAnimate||!0===c.options.fade&&c.currentSlide===t||c.slideCount<=c.options.slidesToShow?void 0:(!1===e&&c.asNavFor(t),n=t,l=c.getLeft(n),r=c.getLeft(c.currentSlide),c.currentLeft=null===c.swipeLeft?r:c.swipeLeft,!1===c.options.infinite&&!1===c.options.centerMode&&(0>t||t>c.getDotCount()*c.options.slidesToScroll)?void(!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n))):!1===c.options.infinite&&!0===c.options.centerMode&&(0>t||t>c.slideCount-c.options.slidesToScroll)?void(!1===c.options.fade&&(n=c.currentSlide,!0!==i?c.animateSlide(r,function(){c.postSlide(n)}):c.postSlide(n))):(c.options.autoplay&&clearInterval(c.autoPlayTimer),s=0>n?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,s]),o=c.currentSlide,c.currentSlide=s,c.setSlideClasses(c.currentSlide),c.options.asNavFor&&(a=c.getNavTarget(),(a=a.slick("getSlick")).slideCount<=a.options.slidesToShow&&a.setSlideClasses(c.currentSlide)),c.updateDots(),c.updateArrows(),!0===c.options.fade?(!0!==i?(c.fadeSlideOut(o),c.fadeSlide(s,function(){c.postSlide(s)})):c.postSlide(s),void c.animateHeight()):void(!0!==i?c.animateSlide(l,function(){c.postSlide(s)}):c.postSlide(s))))},e.prototype.startLoad=function(){var t=this;!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&(t.$prevArrow.hide(),t.$nextArrow.hide()),!0===t.options.dots&&t.slideCount>t.options.slidesToShow&&t.$dots.hide(),t.$slider.addClass("slick-loading")},e.prototype.swipeDirection=function(){var t,e,i,n,s=this;return t=s.touchObject.startX-s.touchObject.curX,e=s.touchObject.startY-s.touchObject.curY,i=Math.atan2(e,t),0>(n=Math.round(180*i/Math.PI))&&(n=360-Math.abs(n)),45>=n&&n>=0?!1===s.options.rtl?"left":"right":360>=n&&n>=315?!1===s.options.rtl?"left":"right":n>=135&&225>=n?!1===s.options.rtl?"right":"left":!0===s.options.verticalSwiping?n>=35&&135>=n?"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(!0===n.touchObject.edgeHit&&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(!(!1===e.options.swipe||"ontouchend"in document&&!1===e.options.swipe||!1===e.options.draggable&&-1!==t.type.indexOf("mouse")))switch(e.touchObject.fingerCount=t.originalEvent&&void 0!==t.originalEvent.touches?t.originalEvent.touches.length:1,e.touchObject.minSwipe=e.listWidth/e.options.touchThreshold,!0===e.options.verticalSwiping&&(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,s,o,r=this;return o=void 0!==t.originalEvent?t.originalEvent.touches:null,!(!r.dragging||o&&1!==o.length)&&(e=r.getLeft(r.currentSlide),r.touchObject.curX=void 0!==o?o[0].pageX:t.clientX,r.touchObject.curY=void 0!==o?o[0].pageY:t.clientY,r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curX-r.touchObject.startX,2))),!0===r.options.verticalSwiping&&(r.touchObject.swipeLength=Math.round(Math.sqrt(Math.pow(r.touchObject.curY-r.touchObject.startY,2)))),i=r.swipeDirection(),"vertical"!==i?(void 0!==t.originalEvent&&r.touchObject.swipeLength>4&&t.preventDefault(),s=(!1===r.options.rtl?1:-1)*(r.touchObject.curX>r.touchObject.startX?1:-1),!0===r.options.verticalSwiping&&(s=r.touchObject.curY>r.touchObject.startY?1:-1),n=r.touchObject.swipeLength,r.touchObject.edgeHit=!1,!1===r.options.infinite&&(0===r.currentSlide&&"right"===i||r.currentSlide>=r.getDotCount()&&"left"===i)&&(n=r.touchObject.swipeLength*r.options.edgeFriction,r.touchObject.edgeHit=!0),!1===r.options.vertical?r.swipeLeft=e+n*s:r.swipeLeft=e+n*(r.$list.height()/r.listWidth)*s,!0===r.options.verticalSwiping&&(r.swipeLeft=e+n*s),!0!==r.options.fade&&!1!==r.options.touchMove&&(!0===r.animating?(r.swipeLeft=null,!1):void r.setCSS(r.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","")}
1,e.prototype.unslick=function(t){var e=this;e.$slider.trigger("unslick",[e,t]),e.destroy()},e.prototype.updateArrows=function(){var t=this;Math.floor(t.options.slidesToShow/2),!0===t.options.arrows&&t.slideCount>t.options.slidesToShow&&!t.options.infinite&&(t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false"),0===t.currentSlide?(t.$prevArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$nextArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-t.options.slidesToShow&&!1===t.options.centerMode?(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$prevArrow.removeClass("slick-disabled").attr("aria-disabled","false")):t.currentSlide>=t.slideCount-1&&!0===t.options.centerMode&&(t.$nextArrow.addClass("slick-disabled").attr("aria-disabled","true"),t.$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,s=arguments[0],o=Array.prototype.slice.call(arguments,1),r=n.length;for(t=0;r>t;t++)if("object"==typeof s||void 0===s?n[t].slick=new e(n[t],s):i=n[t].slick[s].apply(n[t].slick,o),void 0!==i)return i;return n}}),function(){var t,e;t=window.jQuery,e=t(window),t.fn.stick_in_parent=function(i){var n,s,o,r,a,l,c,h,u,d,p,f;for(null==i&&(i={}),f=i.sticky_class,a=i.inner_scrolling,p=i.recalc_every,d=i.parent,h=i.offset_top,c=i.spacer,s=i.bottoming,null==h&&(h=0),null==d&&(d=void 0),null==a&&(a=!0),null==f&&(f="is_stuck"),n=t(document),null==s&&(s=!0),u=function(t){var e;return window.getComputedStyle?(t=window.getComputedStyle(t[0]),e=parseFloat(t.getPropertyValue("width"))+parseFloat(t.getPropertyValue("margin-left"))+parseFloat(t.getPropertyValue("margin-right")),"border-box"!==t.getPropertyValue("box-sizing")&&(e+=parseFloat(t.getPropertyValue("border-left-width"))+parseFloat(t.getPropertyValue("border-right-width"))+parseFloat(t.getPropertyValue("padding-left"))+parseFloat(t.getPropertyValue("padding-right"))),e):t.outerWidth(!0)},o=function(i,o,r,l,m,g,v,y){var T,b,w,S,_,x,P,C,M,A,E,k;if(!i.data("sticky_kit")){if(i.data("sticky_kit",!0),_=n.height(),P=i.parent(),null!=d&&(P=P.closest(d)),!P.length)throw"failed to find stick parent";if(T=w=!1,(E=null!=c?c&&i.closest(c):t("<div />"))&&E.css("position",i.css("position")),(C=function(){var t,e,s;if(!y&&(_=n.height(),t=parseInt(P.css("border-top-width"),10),e=parseInt(P.css("padding-top"),10),o=parseInt(P.css("padding-bottom"),10),r=P.offset().top+t+e,l=P.height(),w&&(T=w=!1,null==c&&(i.insertAfter(E),E.detach()),i.css({position:"",top:"",width:"",bottom:""}).removeClass(f),s=!0),m=i.offset().top-(parseInt(i.css("margin-top"),10)||0)-h,g=i.outerHeight(!0),v=i.css("float"),E&&E.css({width:u(i),height:g,display:i.css("display"),"vertical-align":i.css("vertical-align"),float:v}),s))return k()})(),g!==l)return S=void 0,x=h,A=p,k=function(){var t,u,d,b;if(!y&&(d=!1,null!=A&&0>=--A&&(A=p,C(),d=!0),d||n.height()===_||C(),d=e.scrollTop(),null!=S&&(u=d-S),S=d,w?(s&&(b=d+g+x>l+r,T&&!b&&(T=!1,i.css({position:"fixed",bottom:"",top:x}).trigger("sticky_kit:unbottom"))),d<m&&(w=!1,x=h,null==c&&("left"!==v&&"right"!==v||i.insertAfter(E),E.detach()),t={position:"",width:"",top:""},i.css(t).removeClass(f).trigger("sticky_kit:unstick")),a&&(t=e.height(),g+h>t&&!T&&(x-=u,x=Math.max(t-g,x),x=Math.min(h,x),w&&i.css({top:x+"px"})))):d>m&&(w=!0,t={position:"fixed",top:x},t.width="border-box"===i.css("box-sizing")?i.outerWidth()+"px":i.width()+"px",i.css(t).addClass(f),null==c&&(i.after(E),"left"!==v&&"right"!==v||E.append(i)),i.trigger("sticky_kit:stick")),w&&s&&(null==b&&(b=d+g+x>l+r),!T&&b)))return T=!0,"static"===P.css("position")&&P.css({position:"relative"}),i.css({position:"absolute",bottom:o,top:"auto"}).trigger("sticky_kit:bottom")},M=function(){return C(),k()},b=function(){if(y=!0,e.off("touchmove",k),e.off("scroll",k),e.off("resize",M),t(document.body).off("sticky_kit:recalc",M),i.off("sticky_kit:detach",b),i.removeData("sticky_kit"),i.css({position:"",bottom:"",top:"",width:""}),P.position("position",""),w)return null==c&&("left"!==v&&"right"!==v||i.insertAfter(E),E.remove()),i.removeClass(f)},e.on("touchmove",k),e.on("scroll",k),e.on("resize",M),t(document.body).on("sticky_kit:recalc",M),i.on("sticky_kit:detach",b),setTimeout(k,0)}},r=0,l=this.length;r<l;r++)i=this[r],o(t(i));return this}}.call(this),function(){var t,e=function(i,n){function s(t){return Math.floor(t)}function o(){var t=b.params.autoplay,e=b.slides.eq(b.activeIndex);e.attr("data-swiper-autoplay")&&(t=e.attr("data-swiper-autoplay")||b.params.autoplay),b.autoplayTimeoutId=setTimeout(function(){b.params.loop?(b.fixLoop(),b._slideNext(),b.emit("onAutoplay",b)):b.isEnd?n.autoplayStopOnLast?b.stopAutoplay():(b._slideTo(0),b.emit("onAutoplay",b)):(b._slideNext(),b.emit("onAutoplay",b))},t)}function r(e,i){var n=t(e.target);if(!n.is(i))if("string"==typeof i)n=n.parents(i);else if(i.nodeType){var s;return n.parents().each(function(t,e){e===i&&(s=i)}),s?i:void 0}if(0!==n.length)return n[0]}function a(t,e){e=e||{};var i=new(window.MutationObserver||window.WebkitMutationObserver)(function(t){t.forEach(function(t){b.onResize(!0),b.emit("onObserverUpdate",b,t)})});i.observe(t,{attributes:void 0===e.attributes||e.attributes,childList:void 0===e.childList||e.childList,characterData:void 0===e.characterData||e.characterData}),b.observers.push(i)}function l(t){t.originalEvent&&(t=t.originalEvent);var e=t.keyCode||t.charCode;if(!b.params.allowSwipeToNext&&(b.isHorizontal()&&39===e||!b.isHorizontal()&&40===e))return!1;if(!b.params.allowSwipeToPrev&&(b.isHorizontal()&&37===e||!b.isHorizontal()&&38===e))return!1;if(!(t.shiftKey||t.altKey||t.ctrlKey||t.metaKey||document.activeElement&&document.activeElement.nodeName&&("input"===document.activeElement.nodeName.toLowerCase()||"textarea"===document.activeElement.nodeName.toLowerCase()))){if(37===e||39===e||38===e||40===e){var i=!1;if(b.container.parents("."+b.params.slideClass).length>0&&0===b.container.parents("."+b.params.slideActiveClass).length)return;var n={left:window.pageXOffset,top:window.pageYOffset},s=window.innerWidth,o=window.innerHeight,r=b.container.offset();b.rtl&&(r.left=r.left-b.container[0].scrollLeft);for(var a=[[r.left,r.top],[r.left+b.width,r.top],[r.left,r.top+b.height],[r.left+b.width,r.top+b.height]],l=0;l<a.length;l++){var c=a[l];c[0]>
1=n.left&&c[0]<=n.left+s&&c[1]>=n.top&&c[1]<=n.top+o&&(i=!0)}if(!i)return}b.isHorizontal()?(37!==e&&39!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),(39===e&&!b.rtl||37===e&&b.rtl)&&b.slideNext(),(37===e&&!b.rtl||39===e&&b.rtl)&&b.slidePrev()):(38!==e&&40!==e||(t.preventDefault?t.preventDefault():t.returnValue=!1),40===e&&b.slideNext(),38===e&&b.slidePrev()),b.emit("onKeyPress",b,e)}}function c(t){var e=0,i=0,n=0,s=0;return"detail"in t&&(i=t.detail),"wheelDelta"in t&&(i=-t.wheelDelta/120),"wheelDeltaY"in t&&(i=-t.wheelDeltaY/120),"wheelDeltaX"in t&&(e=-t.wheelDeltaX/120),"axis"in t&&t.axis===t.HORIZONTAL_AXIS&&(e=i,i=0),n=10*e,s=10*i,"deltaY"in t&&(s=t.deltaY),"deltaX"in t&&(n=t.deltaX),(n||s)&&t.deltaMode&&(1===t.deltaMode?(n*=40,s*=40):(n*=800,s*=800)),n&&!e&&(e=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:e,spinY:i,pixelX:n,pixelY:s}}function h(t){t.originalEvent&&(t=t.originalEvent);var e=0,i=b.rtl?-1:1,n=c(t);if(b.params.mousewheelForceToAxis)if(b.isHorizontal()){if(!(Math.abs(n.pixelX)>Math.abs(n.pixelY)))return;e=n.pixelX*i}else{if(!(Math.abs(n.pixelY)>Math.abs(n.pixelX)))return;e=n.pixelY}else e=Math.abs(n.pixelX)>Math.abs(n.pixelY)?-n.pixelX*i:-n.pixelY;if(0!==e){if(b.params.mousewheelInvert&&(e=-e),b.params.freeMode){var s=b.getWrapperTranslate()+e*b.params.mousewheelSensitivity,o=b.isBeginning,r=b.isEnd;if(s>=b.minTranslate()&&(s=b.minTranslate()),s<=b.maxTranslate()&&(s=b.maxTranslate()),b.setWrapperTransition(0),b.setWrapperTranslate(s),b.updateProgress(),b.updateActiveIndex(),(!o&&b.isBeginning||!r&&b.isEnd)&&b.updateClasses(),b.params.freeModeSticky?(clearTimeout(b.mousewheel.timeout),b.mousewheel.timeout=setTimeout(function(){b.slideReset()},300)):b.params.lazyLoading&&b.lazy&&b.lazy.load(),b.emit("onScroll",b,t),b.params.autoplay&&b.params.autoplayDisableOnInteraction&&b.stopAutoplay(),0===s||s===b.maxTranslate())return}else{if((new window.Date).getTime()-b.mousewheel.lastScrollTime>60)if(e<0)if(b.isEnd&&!b.params.loop||b.animating){if(b.params.mousewheelReleaseOnEdges)return!0}else b.slideNext(),b.emit("onScroll",b,t);else if(b.isBeginning&&!b.params.loop||b.animating){if(b.params.mousewheelReleaseOnEdges)return!0}else b.slidePrev(),b.emit("onScroll",b,t);b.mousewheel.lastScrollTime=(new window.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1}}function u(e,i){e=t(e);var n,s,o,r=b.rtl?-1:1;n=e.attr("data-swiper-parallax")||"0",s=e.attr("data-swiper-parallax-x"),o=e.attr("data-swiper-parallax-y"),s||o?(s=s||"0",o=o||"0"):b.isHorizontal()?(s=n,o="0"):(o=n,s="0"),s=s.indexOf("%")>=0?parseInt(s,10)*i*r+"%":s*i*r+"px",o=o.indexOf("%")>=0?parseInt(o,10)*i+"%":o*i+"px",e.transform("translate3d("+s+", "+o+",0px)")}function d(t){return 0!==t.indexOf("on")&&(t=t[0]!==t[0].toUpperCase()?"on"+t[0].toUpperCase()+t.substring(1):"on"+t),t}if(!(this instanceof e))return new e(i,n);var p={direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,autoplay:!1,autoplayDisableOnInteraction:!0,autoplayStopOnLast:!1,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",coverflow:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0},flip:{slideShadows:!0,limitRotation:!0},cube:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94},fade:{crossFade:!1},parallax:!1,zoom:!1,zoomMax:3,zoomMin:1,zoomToggle:!0,scrollbar:null,scrollbarHide:!0,scrollbarDraggable:!1,scrollbarSnapOnRelease:!1,keyboardControl:!1,mousewheelControl:!1,mousewheelReleaseOnEdges:!1,mousewheelInvert:!1,mousewheelForceToAxis:!1,mousewheelSensitivity:1,mousewheelEventsTarged:"container",hashnav:!1,hashnavWatchState:!1,history:!1,replaceState:!1,breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,onlyExternal:!1,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,pagination:null,paginationElement:"span",paginationClickable:!1,paginationHide:!1,paginationBulletRender:null,paginationProgressRender:null,paginationFractionRender:null,paginationCustomRender:null,paginationType:"bullets",resistance:!0,resistanceRatio:.85,nextButton:null,prevButton:null,wat
1chSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,lazyLoading:!1,lazyLoadingInPrevNext:!1,lazyLoadingInPrevNextAmount:1,lazyLoadingOnTransitionStart:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,control:void 0,controlInverse:!1,controlBy:"slide",normalizeSlideIndex:!0,allowSwipeToPrev:!0,allowSwipeToNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",buttonDisabledClass:"swiper-button-disabled",paginationCurrentClass:"swiper-pagination-current",paginationTotalClass:"swiper-pagination-total",paginationHiddenClass:"swiper-pagination-hidden",paginationProgressbarClass:"swiper-pagination-progressbar",paginationClickableClass:"swiper-pagination-clickable",paginationModifierClass:"swiper-pagination-",lazyLoadingClass:"swiper-lazy",lazyStatusLoadingClass:"swiper-lazy-loading",lazyStatusLoadedClass:"swiper-lazy-loaded",lazyPreloaderClass:"swiper-lazy-preloader",notificationClass:"swiper-notification",preloaderClass:"preloader",zoomContainerClass:"swiper-zoom-container",observer:!1,observeParents:!1,a11y:!1,prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",runCallbacksOnInit:!0},f=n&&n.virtualTranslate;n=n||{};var m={};for(var g in n)if("object"!=typeof n[g]||null===n[g]||n[g].nodeType||n[g]===window||n[g]===document||"undefined"!=typeof Dom7&&n[g]instanceof Dom7||"undefined"!=typeof jQuery&&n[g]instanceof jQuery)m[g]=n[g];else{m[g]={};for(var v in n[g])m[g][v]=n[g][v]}for(var y in p)if(void 0===n[y])n[y]=p[y];else if("object"==typeof n[y])for(var T in p[y])void 0===n[y][T]&&(n[y][T]=p[y][T]);var b=this;if(b.params=n,b.originalParams=m,b.classNames=[],void 0!==t&&"undefined"!=typeof Dom7&&(t=Dom7),(void 0!==t||(t="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7))&&(b.$=t,b.currentBreakpoint=void 0,b.getActiveBreakpoint=function(){if(!b.params.breakpoints)return!1;var t,e=!1,i=[];for(t in b.params.breakpoints)b.params.breakpoints.hasOwnProperty(t)&&i.push(t);i.sort(function(t,e){return parseInt(t,10)>parseInt(e,10)});for(var n=0;n<i.length;n++)(t=i[n])>=window.innerWidth&&!e&&(e=t);return e||"max"},b.setBreakpoint=function(){var t=b.getActiveBreakpoint();if(t&&b.currentBreakpoint!==t){var e=t in b.params.breakpoints?b.params.breakpoints[t]:b.originalParams,i=b.params.loop&&e.slidesPerView!==b.params.slidesPerView;for(var n in e)b.params[n]=e[n];b.currentBreakpoint=t,i&&b.destroyLoop&&b.reLoop(!0)}},b.params.breakpoints&&b.setBreakpoint(),b.container=t(i),0!==b.container.length)){if(b.container.length>1){var w=[];return b.container.each(function(){w.push(new e(this,n))}),w}b.container[0].swiper=b,b.container.data("swiper",b),b.classNames.push(b.params.containerModifierClass+b.params.direction),b.params.freeMode&&b.classNames.push(b.params.containerModifierClass+"free-mode"),b.support.flexbox||(b.classNames.push(b.params.containerModifierClass+"no-flexbox"),b.params.slidesPerColumn=1),b.params.autoHeight&&b.classNames.push(b.params.containerModifierClass+"autoheight"),(b.params.parallax||b.params.watchSlidesVisibility)&&(b.params.watchSlidesProgress=!0),b.params.touchReleaseOnEdges&&(b.params.resistanceRatio=0),["cube","coverflow","flip"].indexOf(b.params.effect)>=0&&(b.support.transforms3d?(b.params.watchSlidesProgress=!0,b.classNames.push(b.params.containerModifierClass+"3d")):b.params.effect="slide"),"slide"!==b.params.effect&&b.classNames.push(b.params.containerModifierClass+b.params.effect),"cube"===b.params.effect&&(b.params.resistanceRatio=0,b.params.slidesPerView=1,b.params.slidesPerColumn=1,b.params.slidesPerGroup=1,b.params.centeredSlides=!1,b.params.spaceBetween=0,b.params.virtualTranslate=!0),"fade"!==b.params.effect&&"flip"!==b.params.effect||(b.params.slidesPerView=1,b.params.slidesPerColumn=1,b.params.slidesPerGroup=1,b.params.watchSlidesProgress=!0,b.params.spaceBetween=0,void 0===f&&(b.params.virtualTranslate=!0)),b.params.grabCursor&&b.support.touch&&(b.params.grabCursor=!1),b.wrapper=b.container.children("."+b.params.wrapperClass),b.params.pagination&&(b.paginationContainer=t(b.params.pagination),b.params.uniqueNavElements&&"string"==typeof b.params.pagination&&b.paginationContainer.length>1&&1===b.container.find(b.params.pagination).length&&(b.paginationContainer=b.container.find(b.params.pagination)),"bullets"===b.params.paginationType&&b.params.paginationClickable?b.paginationContainer.addClass(b.params.paginationModifierClass+"clickable"):b.params.paginationClickable=!1,b.paginationContainer.addClass(b.params.paginationModifierClass+b.params.paginationType)),(b.params.nextButton||b.params.prevButton)&&(b.params.nextButton&&(b.nextButton=t(b.params.nextButton),b.params.uniqueNavElements&&"string"==typeof b.params.nextButton&&b.nextButton.length>1&&1===b.container.find(b.params.nextButton).length&&(b.nextButton=b.container.find(b.params.nextButton))),b.params.prevButton&&(b.prevButton=t(b.params.prevButton),b.params.uniqueNavElements&&"string"==typeof b.params.prevButton&&b.prevButton.length>1&&1===b.container.find(b.params.prevButton).length&&(b.prevButton=b.container.find(b.params.prevButton)))),b.isHorizontal=function(){return"horizontal"===b.params.direction},b.rtl=b.isHorizontal()&&("rtl"===b.container[0].dir.toLowerCase()||"rtl"===b.container.css("direction")),b.rtl&&b.classNames.push(b.params.containerModifierClass+"rtl"),b.rtl&&(b.wrongRTL="-webkit-box"===b.wrapper.css("display")),b.params.slidesPerColumn>1&&b.classNames.push(b.params.containerModifierClass+"multirow"),b.device.android&&b.classNames.push(b.params.containerModifierClass+"android"),b.container.addClass(b.classNames.join(" ")),b.translate=0,b.progress=0,b.velocity=0,b.lockSwipeToNext=function(){b.params.allowSwipeToNext=!1,!1===b.params.allowSwipeToPrev&&b.params.grabCursor&&b.unsetGrabCursor(
vendor: 7,065 bytes, line 1
1)},b.lockSwipeToPrev=function(){b.params.allowSwipeToPrev=!1,!1===b.params.allowSwipeToNext&&b.params.grabCursor&&b.unsetGrabCursor()},b.lockSwipes=function(){b.params.allowSwipeToNext=b.params.allowSwipeToPrev=!1,b.params.grabCursor&&b.unsetGrabCursor()},b.unlockSwipeToNext=function(){b.params.allowSwipeToNext=!0,!0===b.params.allowSwipeToPrev&&b.params.grabCursor&&b.setGrabCursor()},b.unlockSwipeToPrev=function(){b.params.allowSwipeToPrev=!0,!0===b.params.allowSwipeToNext&&b.params.grabCursor&&b.setGrabCursor()},b.unlockSwipes=function(){b.params.allowSwipeToNext=b.params.allowSwipeToPrev=!0,b.params.grabCursor&&b.setGrabCursor()},b.setGrabCursor=function(t){b.container[0].style.cursor="move",b.container[0].style.cursor=t?"-webkit-grabbing":"-webkit-grab",b.container[0].style.cursor=t?"-moz-grabbin":"-moz-grab",b.container[0].style.cursor=t?"grabbing":"grab"},b.unsetGrabCursor=function(){b.container[0].style.cursor=""},b.params.grabCursor&&b.setGrabCursor(),b.imagesToLoad=[],b.imagesLoaded=0,b.loadImage=function(t,e,i,n,s,o){function r(){o&&o()}var a;t.complete&&s?r():e?(a=new window.Image,a.onload=r,a.onerror=r,n&&(a.sizes=n),i&&(a.srcset=i),e&&(a.src=e)):r()},b.preloadImages=function(){function t(){void 0!==b&&null!==b&&b&&(void 0!==b.imagesLoaded&&b.imagesLoaded++,b.imagesLoaded===b.imagesToLoad.length&&(b.params.updateOnImagesReady&&b.update(),b.emit("onImagesReady",b)))}b.imagesToLoad=b.container.find("img");for(var e=0;e<b.imagesToLoad.length;e++)b.loadImage(b.imagesToLoad[e],b.imagesToLoad[e].currentSrc||b.imagesToLoad[e].getAttribute("src"),b.imagesToLoad[e].srcset||b.imagesToLoad[e].getAttribute("srcset"),b.imagesToLoad[e].sizes||b.imagesToLoad[e].getAttribute("sizes"),!0,t)},b.autoplayTimeoutId=void 0,b.autoplaying=!1,b.autoplayPaused=!1,b.startAutoplay=function(){return void 0===b.autoplayTimeoutId&&!!b.params.autoplay&&!b.autoplaying&&(b.autoplaying=!0,b.emit("onAutoplayStart",b),void o())},b.stopAutoplay=function(t){b.autoplayTimeoutId&&(b.autoplayTimeoutId&&clearTimeout(b.autoplayTimeoutId),b.autoplaying=!1,b.autoplayTimeoutId=void 0,b.emit("onAutoplayStop",b))},b.pauseAutoplay=function(t){b.autoplayPaused||(b.autoplayTimeoutId&&clearTimeout(b.autoplayTimeoutId),b.autoplayPaused=!0,0===t?(b.autoplayPaused=!1,o()):b.wrapper.transitionEnd(function(){b&&(b.autoplayPaused=!1,b.autoplaying?o():b.stopAutoplay())}))},b.minTranslate=function(){return-b.snapGrid[0]},b.maxTranslate=function(){return-b.snapGrid[b.snapGrid.length-1]},b.updateAutoHeight=function(){var t,e=[],i=0;if("auto"!==b.params.slidesPerView&&b.params.slidesPerView>1)for(t=0;t<Math.ceil(b.params.slidesPerView);t++){var n=b.activeIndex+t;if(n>b.slides.length)break;e.push(b.slides.eq(n)[0])}else e.push(b.slides.eq(b.activeIndex)[0]);for(t=0;t<e.length;t++)if(void 0!==e[t]){var s=e[t].offsetHeight;i=s>i?s:i}i&&b.wrapper.css("height",i+"px")},b.updateContainerSize=function(){var t,e;t=void 0!==b.params.width?b.params.width:b.container[0].clientWidth,e=void 0!==b.params.height?b.params.height:b.container[0].clientHeight,0===t&&b.isHorizontal()||0===e&&!b.isHorizontal()||(t=t-parseInt(b.container.css("padding-left"),10)-parseInt(b.container.css("padding-right"),10),e=e-parseInt(b.container.css("padding-top"),10)-parseInt(b.container.css("padding-bottom"),10),b.width=t,b.height=e,b.size=b.isHorizontal()?b.width:b.height)},b.updateSlidesSize=function(){b.slides=b.wrapper.children("."+b.params.slideClass),b.snapGrid=[],b.slidesGrid=[],b.slidesSizesGrid=[];var t,e=b.params.spaceBetween,i=-b.params.slidesOffsetBefore,n=0,o=0;if(void 0!==b.size){"string"==typeof e&&e.indexOf("%")>=0&&(e=parseFloat(e.replace("%",""))/100*b.size),b.virtualSize=-e,b.rtl?b.slides.css({marginLeft:"",marginTop:""}):b.slides.css({marginRight:"",marginBottom:""});var r;b.params.slidesPerColumn>1&&(r=Math.floor(b.slides.length/b.params.slidesPerColumn)===b.slides.length/b.params.slidesPerColumn?b.slides.length:Math.ceil(b.slides.length/b.params.slidesPerColumn)*b.params.slidesPerColumn,"auto"!==b.params.slidesPerView&&"row"===b.params.slidesPerColumnFill&&(r=Math.max(r,b.params.slidesPerView*b.params.slidesPerColumn)));var a,l=b.params.slidesPerColumn,c=r/l,h=c-(b.params.slidesPerColumn*c-b.slides.length);for(t=0;t<b.slides.length;t++){a=0;var u=b.slides.eq(t);if(b.params.slidesPerColumn>1){var d,p,f;"column"===b.params.slidesPerColumnFill?(p=Math.floor(t/l),f=t-p*l,(p>h||p===h&&f===l-1)&&++f>=l&&(f=0,p++),d=p+f*r/l,u.css({"-webkit-box-ordinal-group":d,"-moz-box-ordinal-group":d,"-ms-flex-order":d,"-webkit-order":d,order:d})):(f=Math.floor(t/c),p=t-f*c),u.css("margin-"+(b.isHorizontal()?"top":"left"),0!==f&&b.params.spaceBetween&&b.params.spaceBetween+"px").attr("data-swiper-column",p).attr("data-swiper-row",f)}"none"!==u.css("display")&&("auto"===b.params.slidesPerView?(a=b.isHorizontal()?u.outerWidth(!0):u.outerHeight(!0),b.params.roundLengths&&(a=s(a))):(a=(b.size-(b.params.slidesPerView-1)*e)/b.params.slidesPerView,b.params.roundLengths&&(a=s(a)),b.isHorizontal()?b.slides[t].style.width=a+"px":b.slides[t].style.height=a+"px"),b.slides[t].swiperSlideSize=a,b.slidesSizesGrid.push(a),b.params.centeredSlides?(i=i+a/2+n/2+e,0===n&&0!==t&&(i=i-b.size/2-e),0===t&&(i=i-b.size/2-e),Math.abs(i)<.001&&(i=0),o%b.params.slidesPerGroup==0&&b.snapGrid.push(i),b.slidesGrid.push(i)):(o%b.params.slidesPerGroup==0&&b.snapGrid.push(i),b.slidesGrid.push(i),i=i+a+e),b.virtualSize+=a+e,n=a,o++)}b.virtualSize=Math.max(b.virtualSize,b.size)+b.params.slidesOffsetAfter;var m;if(b.rtl&&b.wrongRTL&&("slide"===b.params.effect||"coverflow"===b.params.effect)&&b.wrapper.css({width:b.virtualSize+b.params.spaceBetween+"px"}),b.support.flexbox&&!b.params.setWrapperSize||(b.isHorizontal()?b.wrapper.css({width:b.virtualSize+b.params.spaceBetween+"px"}):b.wrapper.css({height:b.virtualSize+b.params.spaceBetween+"px"})),b.params.slidesPerColumn>1&&(b.virtualSize=(a+b.params.spaceBetween)*r,b.virtualSize=Math.ceil(b.virtualSize/b.params.slidesPerColumn)-b.params.spaceBetween,b.isHorizontal()?b.wrapper.css({width:b.virtualSize+b.params.spaceBetween+"px"}):b.wrapper.css({height:b.virtualSize+b.params.spaceBetween+"px"}),b.params.centeredSlides)){for(m=[],t=0;t<b.snapGrid.length;t++)b.snapGrid[t]<b.virtualSize+b.snapGrid[0]&&m.push(b.snapGrid[t]);b.snapGrid=m}if(!b.params.centeredSlides){for(m=[],t=0;t<b.snapGrid.length;t++)b.snapGrid[t]<=b.virtualSize-b.size&&m.push(b.snapGrid[t]);b.snapGrid=m,Math.floor(b.virtualSize-b.size)-Math.floor(b.snapGrid[b.snapGrid.length-1])>1&&b.snapGrid.push(b.virtualSize-b.size)}0===b.snapGrid.length&&(b.snapGrid=[0]),0!==b.params.spaceBetween&&(b.isHorizontal()?b.rtl?b.slides.css({marginLeft:e+"px"}):b.slides.css({marginRight:e+"px"}):b.slides.css({marginBottom:e+"px"})),b.params.watchSlidesProgress&&b.updateSlidesOffset()}},b.updateSlidesOffset=function(){for(var t=0;t<b.slides.length;t++)b.slides[t].swiperSlideOffset=b.isHorizontal()?b.slides[t].offsetLeft:b.slides[t].offsetTop},b.currentSlidesPerView=function(){var t,e,i=1;if(b.params.centeredSlides){var n,s=b.slides[b.activeIndex].swiperSlideSize;
1for(t=b.activeIndex+1;t<b.slides.length;t++)b.slides[t]&&!n&&(s+=b.slides[t].swiperSlideSize,i++,s>b.size&&(n=!0));for(e=b.activeIndex-1;e>=0;e--)b.slides[e]&&!n&&(s+=b.slides[e].swiperSlideSize,i++,s>b.size&&(n=!0))}else for(t=b.activeIndex+1;t<b.slides.length;t++)b.slidesGrid[t]-b.slidesGrid[b.activeIndex]<b.size&&i++;return i},b.updateSlidesProgress=function(t){if(void 0===t&&(t=b.translate||0),0!==b.slides.length){void 0===b.slides[0].swiperSlideOffset&&b.updateSlidesOffset();var e=-t;b.rtl&&(e=t),b.slides.removeClass(b.params.slideVisibleClass);for(var i=0;i<b.slides.length;i++){var n=b.slides[i],s=(e+(b.params.centeredSlides?b.minTranslate():0)-n.swiperSlideOffset)/(n.swiperSlideSize+b.params.spaceBetween);if(b.params.watchSlidesVisibility){var o=-(e-n.swiperSlideOffset),r=o+b.slidesSizesGrid[i];(o>=0&&o<b.size||r>0&&r<=b.size||o<=0&&r>=b.size)&&b.slides.eq(i).addClass(b.params.slideVisibleClass)}n.progress=b.rtl?-s:s}}},b.updateProgress=function(t){void 0===t&&(t=b.translate||0);var e=b.maxTranslate()-b.minTranslate(),i=b.isBeginning,n=b.isEnd;0===e?(b.progress=0,b.isBeginning=b.isEnd=!0):(b.progress=(t-b.minTranslate())/e,b.isBeginning=b.progress<=0,b.isEnd=b.progress>=1),b.isBeginning&&!i&&b.emit("onReachBeginning",b),b.isEnd&&!n&&b.emit("onReachEnd",b),b.params.watchSlidesProgress&&b.updateSlidesProgress(t),b.emit("onProgress",b,b.progress)},b.updateActiveIndex=function(){var t,e,i,n=b.rtl?b.translate:-b.translate;for(e=0;e<b.slidesGrid.length;e++)void 0!==b.slidesGrid[e+1]?n>=b.slidesGrid[e]&&n<b.slidesGrid[e+1]-(b.slidesGrid[e+1]-b.slidesGrid[e])/2?t=e:n>=b.slidesGrid[e]&&n<b.slidesGrid[e+1]&&(t=e+1):n>=b.slidesGrid[e]&&(t=e);b.params.normalizeSlideIndex&&(t<0||void 0===t)&&(t=0),(i=Math.floor(t/b.params.slidesPerGroup))>=b.snapGrid.length&&(i=b.snapGrid.length-1),t!==b.activeIndex&&(b.snapIndex=i,b.previousIndex=b.activeIndex,b.activeIndex=t,b.updateClasses(),b.updateRealIndex())},b.updateRealIndex=function(){b.realIndex=parseInt(b.slides.eq(b.activeIndex).attr("data-swiper-slide-index")||b.activeIndex,10)},b.updateClasses=function(){b.slides.removeClass(b.params.slideActiveClass+" "+b.params.slideNextClass+" "+b.params.slidePrevClass+" "+b.params.slideDuplicateActiveClass+" "+b.params.slideDuplicateNextClass+" "+b.params.slideDuplicatePrevClass);var e=b.slides.eq(b.activeIndex);e.addClass(b.params.slideActiveClass),n.loop&&(e.hasClass(b.params.slideDuplicateClass)?b.wrapper.children("."+b.params.slideClass+":not(."+b.params.slideDuplicateClass+')[data-swiper-slide-index="'+b.realIndex+'"]').addClass(b.params.slideDuplicateActiveClass):b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+b.realIndex+'"]').addClass(b.params.slideDuplicateActiveClass));var i=e.next("."+b.params.slideClass).addClass(b.params.slideNextClass);b.params.loop&&0===i.length&&(i=b.slides.eq(0)).addClass(b.params.slideNextClass);var s=e.prev("."+b.params.slideClass).addClass(b.params.slidePrevClass);if(b.params.loop&&0===s.length&&(s=b.slides.eq(-1)).addClass(b.params.slidePrevClass),n.loop&&(i.hasClass(b.params.slideDuplicateClass)?b.wrapper.children("."+b.params.slideClass+":not(."+b.params.slideDuplicateClass+')[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicateNextClass):b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+i.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicateNextClass),s.hasClass(b.params.slideDuplicateClass)?b.wrapper.children("."+b.params.slideClass+":not(."+b.params.slideDuplicateClass+')[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicatePrevClass):b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+s.attr("data-swiper-slide-index")+'"]').addClass(b.params.slideDuplicatePrevClass)),b.paginationContainer&&b.paginationContainer.length>0){var o,r=b.params.loop?Math.ceil((b.slides.length-2*b.loopedSlides)/b.params.slidesPerGroup):b.snapGrid.length;if(b.params.loop?((o=Math.ceil((b.activeIndex-b.loopedSlides)/b.params.slidesPerGroup))>b.slides.length-1-2*b.loopedSlides&&(o-=b.slides.length-2*b.loopedSlides),o>r-1&&(o-=r),o<0&&"bullets"!==b.params.paginationType&&(o=r+o)):o=void 0!==b.snapIndex?b.snapIndex:b.activeIndex||0,"bullets"===b.params.paginationType&&b.bullets&&b.bullets.length>0&&(b.bullets.removeClass(b.params.bulletActiveClass),b.paginationContainer.length>1?b.bullets.each(function(){t(this).index()===o&&t(this).addClass(b.params.bulletActiveClass)}):b.bullets.eq(o).addClass(b.params.bulletActiveClass)),"fraction"===b.params.paginationType&&(b.paginationContainer.find("."+b.params.paginationCurrentClass).text(o+1),b.paginationContainer.find("."+b.params.paginationTotalClass).text(r)),"progress"===b.params.paginationType){var a=(o+1)/r,l=a,c=1;b.isHorizontal()||(c=a,l=1),b.paginationContainer.find("."+b.params.paginationProgressbarClass).transform("translate3d(0,
10,0) scaleX("+l+") scaleY("+c+")").transition(b.params.speed)}"custom"===b.params.paginationType&&b.params.paginationCustomRender&&(b.paginationContainer.html(b.params.paginationCustomRender(b,o+1,r)),b.emit("onPaginationRendered",b,b.paginationContainer[0]))}b.params.loop||(b.params.prevButton&&b.prevButton&&b.prevButton.length>0&&(b.isBeginning?(b.prevButton.addClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.disable(b.prevButton)):(b.prevButton.removeClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.enable(b.prevButton))),b.params.nextButton&&b.nextButton&&b.nextButton.length>0&&(b.isEnd?(b.nextButton.addClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.disable(b.nextButton)):(b.nextButton.removeClass(b.params.buttonDisabledClass),b.params.a11y&&b.a11y&&b.a11y.enable(b.nextButton))))},b.updatePagination=function(){if(b.params.pagination&&b.paginationContainer&&b.paginationContainer.length>0){var t="";if("bullets"===b.params.paginationType){for(var e=b.params.loop?Math.ceil((b.slides.length-2*b.loopedSlides)/b.params.slidesPerGroup):b.snapGrid.length,i=0;i<e;i++)t+=b.params.paginationBulletRender?b.params.paginationBulletRender(b,i,b.params.bulletClass):"<"+b.params.paginationElement+' class="'+b.params.bulletClass+'"></'+b.params.paginationElement+">";b.paginationContainer.html(t),b.bullets=b.paginationContainer.find("."+b.params.bulletClass),b.params.paginationClickable&&b.params.a11y&&b.a11y&&b.a11y.initPagination()}"fraction"===b.params.paginationType&&(t=b.params.paginationFractionRender?b.params.paginationFractionRender(b,b.params.paginationCurrentClass,b.params.paginationTotalClass):'<span class="'+b.params.paginationCurrentClass+'"></span> / <span class="'+b.params.paginationTotalClass+'"></span>',b.paginationContainer.html(t)),"progress"===b.params.paginationType&&(t=b.params.paginationProgressRender?b.params.paginationProgressRender(b,b.params.paginationProgressbarClass):'<span class="'+b.params.paginationProgressbarClass+'"></span>',b.paginationContainer.html(t)),"custom"!==b.params.paginationType&&b.emit("onPaginationRendered",b,b.paginationContainer[0])}},b.update=function(t){function e(){b.rtl,b.translate,i=Math.min(Math.max(b.translate,b.maxTranslate()),b.minTranslate()),b.setWrapperTranslate(i),b.updateActiveIndex(),b.updateClasses()}if(b){b.updateContainerSize(),b.updateSlidesSize(),b.updateProgress(),b.updatePagination(),b.updateClasses(),b.params.scrollbar&&b.scrollbar&&b.scrollbar.set();var i;t?(b.controller&&b.controller.spline&&(b.controller.spline=void 0),b.params.freeMode?(e(),b.params.autoHeight&&b.updateAutoHeight()):(("auto"===b.params.slidesPerView||b.params.slidesPerView>1)&&b.isEnd&&!b.params.centeredSlides?b.slideTo(b.slides.length-1,0,!1,!0):b.slideTo(b.activeIndex,0,!1,!0))||e()):b.params.autoHeight&&b.updateAutoHeight()}},b.onResize=function(t){b.params.onBeforeResize&&b.params.onBeforeResize(b),b.params.breakpoints&&b.setBreakpoint();var e=b.params.allowSwipeToPrev,i=b.params.allowSwipeToNext;b.params.allowSwipeToPrev=b.params.allowSwipeToNext=!0,b.updateContainerSize(),b.updateSlidesSize(),("auto"===b.params.slidesPerView||b.params.freeMode||t)&&b.updatePagination(),b.params.scrollbar&&b.scrollbar&&b.scrollbar.set(),b.controller&&b.controller.spline&&(b.controller.spline=void 0);var n=!1;if(b.params.freeMode){var s=Math.min(Math.max(b.translate,b.maxTranslate()),b.minTranslate());b.setWrapperTranslate(s),b.updateActiveIndex(),b.updateClasses(),b.params.autoHeight&&b.updateAutoHeight()}else b.updateClasses(),n=("auto"===b.params.slidesPerView||b.params.slidesPerView>1)&&b.isEnd&&!b.params.centeredSlides?b.slideTo(b.slides.length-1,0,!1,!0):b.slideTo(b.activeIndex,0,!1,!0);b.params.lazyLoading&&!n&&b.lazy&&b.lazy.load(),b.params.allowSwipeToPrev=e,b.params.allowSwipeToNext=i,b.params.onAfterResize&&b.params.onAfterResize(b)},b.touchEventsDesktop={start:"mousedown",move:"mousemove",end:"mouseup"},window.navigator.pointerEnabled?b.touchEventsDesktop={start:"pointerdown",move:"pointermove",end:"pointerup"}:window.navigator.msPointerEnabled&&(b.touchEventsDesktop={start:"MSPointerDown",move:"MSPointerMove",end:"MSPointerUp"}),b.touchEvents={start:b.support.touch||!b.params.simulateTouch?"touchstart":b.touchEventsDesktop.start,move:b.supp
1ort.touch||!b.params.simulateTouch?"touchmove":b.touchEventsDesktop.move,end:b.support.touch||!b.params.simulateTouch?"touchend":b.touchEventsDesktop.end},(window.navigator.pointerEnabled||window.navigator.msPointerEnabled)&&("container"===b.params.touchEventsTarget?b.container:b.wrapper).addClass("swiper-wp8-"+b.params.direction),b.initEvents=function(t){var e=t?"off":"on",i=t?"removeEventListener":"addEventListener",s="container"===b.params.touchEventsTarget?b.container[0]:b.wrapper[0],o=b.support.touch?s:document,r=!!b.params.nested;if(b.browser.ie)s[i](b.touchEvents.start,b.onTouchStart,!1),o[i](b.touchEvents.move,b.onTouchMove,r),o[i](b.touchEvents.end,b.onTouchEnd,!1);else{if(b.support.touch){var a=!("touchstart"!==b.touchEvents.start||!b.support.passiveListener||!b.params.passiveListeners)&&{passive:!0,capture:!1};s[i](b.touchEvents.start,b.onTouchStart,a),s[i](b.touchEvents.move,b.onTouchMove,r),s[i](b.touchEvents.end,b.onTouchEnd,a)}(n.simulateTouch&&!b.device.ios&&!b.device.android||n.simulateTouch&&!b.support.touch&&b.device.ios)&&(s[i]("mousedown",b.onTouchStart,!1),document[i]("mousemove",b.onTouchMove,r),document[i]("mouseup",b.onTouchEnd,!1))}window[i]("resize",b.onResize),b.params.nextButton&&b.nextButton&&b.nextButton.length>0&&(b.nextButton[e]("click",b.onClickNext),b.params.a11y&&b.a11y&&b.nextButton[e]("keydown",b.a11y.onEnterKey)),b.params.prevButton&&b.prevButton&&b.prevButton.length>0&&(b.prevButton[e]("click",b.onClickPrev),b.params.a11y&&b.a11y&&b.prevButton[e]("keydown",b.a11y.onEnterKey)),b.params.pagination&&b.params.paginationClickable&&(b.paginationContainer[e]("click","."+b.params.bulletClass,b.onClickIndex),b.params.a11y&&b.a11y&&b.paginationContainer[e]("keydown","."+b.params.bulletClass,b.a11y.onEnterKey)),(b.params.preventClicks||b.params.preventClicksPropagation)&&s[i]("click",b.preventClicks,!0)},b.attachEvents=function(){b.initEvents()},b.detachEvents=function(){b.initEvents(!0)},b.allowClick=!0,b.preventClicks=function(t){b.allowClick||(b.params.preventClicks&&t.preventDefault(),b.params.preventClicksPropagation&&b.animating&&(t.stopPropagation(),t.stopImmediatePropagation()))},b.onClickNext=function(t){t.preventDefault(),b.isEnd&&!b.params.loop||b.slideNext()},b.onClickPrev=function(t){t.preventDefault(),b.isBeginning&&!b.params.loop||b.slidePrev()},b.onClickIndex=function(e){e.preventDefault();var i=t(this).index()*b.params.slidesPerGroup;b.params.loop&&(i+=b.loopedSlides),b.slideTo(i)},b.updateClickedSlide=function(e){var i=r(e,"."+b.params.slideClass),n=!1;if(i)for(var s=0;s<b.slides.length;s++)b.slides[s]===i&&(n=!0);if(!i||!n)return b.clickedSlide=void 0,void(b.clickedIndex=void 0);if(b.clickedSlide=i,b.clickedIndex=t(i).index(),b.params.slideToClickedSlide&&void 0!==b.clickedIndex&&b.clickedIndex!==b.activeIndex){var o,a=b.clickedIndex,l="auto"===b.params.slidesPerView?b.currentSlidesPerView():b.params.slidesPerView;if(b.params.loop){if(b.animating)return;o=parseInt(t(b.clickedSlide).attr("data-swiper-slide-index"),10),b.params.centeredSlides?a<b.loopedSlides-l/2||a>b.slides.length-b.loopedSlides+l/2?(b.fixLoop(),a=b.wrapper.children("."+b.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+b.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){b.slideTo(a)},0)):b.slideTo(a):a>b.slides.length-l?(b.fixLoop(),a=b.wrapper.children("."+b.params.slideClass+'[data-swiper-slide-index="'+o+'"]:not(.'+b.params.slideDuplicateClass+")").eq(0).index(),setTimeout(function(){b.slideTo(a)},0)):b.slideTo(a)}else b.slideTo(a)}};var S,_,x,P,C,M,A,E,k,I,D="input, select, textarea, button, video",O=Date.now(),H=[];b.animating=!1,b.touches={startX:0,startY:0,currentX:0,currentY:0,diff:0};var L,z;b.onTouchStart=function(e){if(e.originalEvent&&(e=e.originalEvent),(L="touchstart"===e.type)||!("which"in e)||3!==e.which){if(b.params.noSwiping&&r(e,"."+b.params.noSwipingClass))return void(b.allowClick=!0);if(!b.params.swipeHandler||r(e,b.params.swipeHandler)){var i=b.touches.currentX="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,n=b.touches.currentY="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY;if(!(b.device.ios&&b.params.iOSEdgeSwipeDetection&&i<=b.params.iOSEdgeSwipeThreshold)){if(S=!0,_=!1,x=!0,C=void 0,z=void 0,b.touches.startX=i,b.touches.startY=n,P=Date.now(),b.allowClick=!0,b.updateContainerSize(),b.swipeDirection=void 0,b.params.threshold>0&&(E=!1),"touchstart"!==e.type){var s=!0;t(e.target).is(D)&&(s=!1),document.activeElement&&t(document.activeElement).is(D)&&document.activeElement.blur(),s&&e.preventDefault()}b.emit("onTouchStart",b,e)}}}},b.onTouchMove=function(e){if(e.originalEvent&&(e=e.originalEvent),!L||"mousemove"!==e.type){if(e.preventedByNestedSwiper)return b.touches.startX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,void(b.touches.startY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY);if(b.params.onlyExternal)return b.allowClick=!1,void(S&&(b.touches.startX=b.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,b.touches.startY=b.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,P=Date.now()));if(L&&b.params.touchReleaseOnEdges&&!b.params.loop)if(b.isHorizontal()){if(b.touches.currentX<b.touches.startX&&b.translate<=b.maxTranslate()||b.touches.currentX>b.touches.startX&&b.translate>=b.minTranslate())return}else if(b.touches.currentY<b.touches.startY&&b.translate<=b.maxTranslate()||b.touches.currentY>b.touches.startY&&b.translate>=b.minTranslate())return;if(L&&document.activeElement&&e.target===document.activeElement&&t(e.target).is(D))return _=!0,void(b.allowClick=!1);if(x&&b.emit("onTouchMove",b,e),!(e.targetTouches&&e.targetTouches.length>1)){if(b.touches.currentX="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,b.touches.currentY="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,void 0===C){var i;b.isHorizontal()&&b.touches.currentY===b.touches.startY||!b.isHorizontal()&&b.touches.currentX===b.touches.startX?C=!1:(i=180*Math.atan2(Math.abs(b.touches.currentY-b.touches.startY),Math.abs(b.touches.currentX-b.touches.startX))/Math.PI,C=b.isHorizontal()?i>b.params.touchAngle:90-i>b.params.touchAngle)}if(C&&b.emit("onTouchMoveOpposite",b,e),void 0===z&&(b.touches.currentX===b.touches.startX&&b.touches.currentY===b.touches.startY||(z=!0)),S){if
vendor: 12,080 bytes, line 1
1(C)return void(S=!1);if(z){b.allowClick=!1,b.emit("onSliderMove",b,e),e.preventDefault(),b.params.touchMoveStopPropagation&&!b.params.nested&&e.stopPropagation(),_||(n.loop&&b.fixLoop(),A=b.getWrapperTranslate(),b.setWrapperTransition(0),b.animating&&b.wrapper.trigger("webkitTransitionEnd transitionend oTransitionEnd MSTransitionEnd msTransitionEnd"),b.params.autoplay&&b.autoplaying&&(b.params.autoplayDisableOnInteraction?b.stopAutoplay():b.pauseAutoplay()),I=!1,!b.params.grabCursor||!0!==b.params.allowSwipeToNext&&!0!==b.params.allowSwipeToPrev||b.setGrabCursor(!0)),_=!0;var s=b.touches.diff=b.isHorizontal()?b.touches.currentX-b.touches.startX:b.touches.currentY-b.touches.startY;s*=b.params.touchRatio,b.rtl&&(s=-s),b.swipeDirection=s>0?"prev":"next",M=s+A;var o=!0;if(s>0&&M>b.minTranslate()?(o=!1,b.params.resistance&&(M=b.minTranslate()-1+Math.pow(-b.minTranslate()+A+s,b.params.resistanceRatio))):s<0&&M<b.maxTranslate()&&(o=!1,b.params.resistance&&(M=b.maxTranslate()+1-Math.pow(b.maxTranslate()-A-s,b.params.resistanceRatio))),o&&(e.preventedByNestedSwiper=!0),!b.params.allowSwipeToNext&&"next"===b.swipeDirection&&M<A&&(M=A),!b.params.allowSwipeToPrev&&"prev"===b.swipeDirection&&M>A&&(M=A),b.params.threshold>0){if(!(Math.abs(s)>b.params.threshold||E))return void(M=A);if(!E)return E=!0,b.touches.startX=b.touches.currentX,b.touches.startY=b.touches.currentY,M=A,void(b.touches.diff=b.isHorizontal()?b.touches.currentX-b.touches.startX:b.touches.currentY-b.touches.startY)}b.params.followFinger&&((b.params.freeMode||b.params.watchSlidesProgress)&&b.updateActiveIndex(),b.params.freeMode&&(0===H.length&&H.push({position:b.touches[b.isHorizontal()?"startX":"startY"],time:P}),H.push({position:b.touches[b.isHorizontal()?"currentX":"currentY"],time:(new window.Date).getTime()})),b.updateProgress(M),b.setWrapperTranslate(M))}}}}},b.onTouchEnd=function(e){if(e.originalEvent&&(e=e.originalEvent),x&&b.emit("onTouchEnd",b,e),x=!1,S){b.params.grabCursor&&_&&S&&(!0===b.params.allowSwipeToNext||!0===b.params.allowSwipeToPrev)&&b.setGrabCursor(!1);var i=Date.now(),n=i-P;if(b.allowClick&&(b.updateClickedSlide(e),b.emit("onTap",b,e),n<300&&i-O>300&&(k&&clearTimeout(k),k=setTimeout(function(){b&&(b.params.paginationHide&&b.paginationContainer.length>0&&!t(e.target).hasClass(b.params.bulletClass)&&b.paginationContainer.toggleClass(b.params.paginationHiddenClass),b.emit("onClick",b,e))},300)),n<300&&i-O<300&&(k&&clearTimeout(k),b.emit("onDoubleTap",b,e))),O=Date.now(),setTimeout(function(){b&&(b.allowClick=!0)},0),!S||!_||!b.swipeDirection||0===b.touches.diff||M===A)return void(S=_=!1);S=_=!1;var s;if(s=b.params.followFinger?b.rtl?b.translate:-b.translate:-M,b.params.freeMode){if(s<-b.minTranslate())return void b.slideTo(b.activeIndex);if(s>-b.maxTranslate())return void(b.slides.length<b.snapGrid.length?b.slideTo(b.snapGrid.length-1):b.slideTo(b.slides.length-1));if(b.params.freeModeMomentum){if(H.length>1){var o=H.pop(),r=H.pop(),a=o.position-r.position,l=o.time-r.time;b.velocity=a/l,b.velocity=b.velocity/2,Math.abs(b.velocity)<b.params.freeModeMinimumVelocity&&(b.velocity=0),(l>150||(new window.Date).getTime()-o.time>300)&&(b.velocity=0)}else b.velocity=0;b.velocity=b.velocity*b.params.freeModeMomentumVelocityRatio,H.length=0;var c=1e3*b.params.freeModeMomentumRatio,h=b.velocity*c,u=b.translate+h;b.rtl&&(u=-u);var d,p=!1,f=20*Math.abs(b.velocity)*b.params.freeModeMomentumBounceRatio;if(u<b.maxTranslate())b.params.freeModeMomentumBounce?(u+b.maxTranslate()<-f&&(u=b.maxTranslate()-f),d=b.maxTranslate(),p=!0,I=!0):u=b.maxTranslate();else if(u>b.minTranslate())b.params.freeModeMomentumBounce?(u-b.minTranslate()>f&&(u=b.minTranslate()+f),d=b.minTranslate(),p=!0,I=!0):u=b.minTranslate();else if(b.params.freeModeSticky){var m,g=0;for(g=0;g<b.snapGrid.length;g+=1)if(b.snapGrid[g]>-u){m=g;break}u=Math.abs(b.snapGrid[m]-u)<Math.abs(b.snapGrid[m-1]-u)||"next"===b.swipeDirection?b.snapGrid[m]:b.snapGrid[m-1],b.rtl||(u=-u)}if(0!==b.velocity)c=b.rtl?Math.abs((-u-b.translate)/b.velocity):Math.abs((u-b.translate)/b.velocity);else if(b.params.freeModeSticky)return void b.slideReset();b.params.freeModeMomentumBounce&&p?(b.updateProgress(d),b.setWrapperTransition(c),b.setWrapperTranslate(u),b.onTransitionStart(),b.animating=!0,b.wrapper.transitionEnd(function(){b&&I&&(b.emit("onMomentumBounce",b),b.setWrapperTransition(b.params.speed),b.setWrapperTranslate(d),b.wrapper.transitionEnd(function(){b&&b.onTransitionEnd()}))})):b.velocity?(b.updateProgress(u),b.setWrapperTransition(c),b.setWrapperTranslate(u),b.onTransitionStart(),b.animating||(b.animating=!0,b.wrapper.transitionEnd(function(){b&&b.onTransitionEnd()}))):b.updateProgress(u),b.updateActiveIndex()}return void((!b.params.freeModeMomentum||n>=b.params.longSwipesMs)&&(b.updateProgress(),b.updateActiveIndex()))}var v,y=0,T=b.slidesSizesGrid[0];for(v=0;v<b.slidesGrid.length;v+=b.params.slidesPerGroup)void 0!==b.slidesGrid[v+b.params.slidesPerGroup]?s>=b.slidesGrid[v]&&s<b.slidesGrid[v+b.params.slidesPerGroup]&&(y=v,T=b.slidesGrid[v+b.params.slidesPerGroup]-b.slidesGrid[v]):s>=b.slidesGrid[v]&&(y=v,T=b.slidesGrid[b.slidesGrid.length-1]-b.slidesGrid[b.slidesGrid.length-2]);var w=(s-b.slidesGrid[y])/T;if(n>b.params.longSwipesMs){if(!b.params.longSwipes)return void b.slideTo(b.activeIndex);"next"===b.swipeDirection&&(w>=b.params.longSwipesRatio?b.slideTo(y+b.params.slidesPerGroup):b.slideTo(y)),"prev"===b.swipeDirection&&(w>1-b.params.longSwipesRatio?b.slideTo(y+b.params.slidesPerGroup):b.slideTo(y))}else{if(!b.params.shortSwipes)return void b.slideTo(b.activeIndex);"next"===b.swipeDirection&&b.slideTo(y+b.params.slidesPerGroup),"prev"===b.swipeDirection&&b.slideTo(y)}}},b._slideTo=function(t,e){return b.slideTo(t,e,!0,!0)},b.slideTo=function(t,e,i,n){void 0===i&&(i=!0),void 0===t&&(t=0),t<0&&(t=0),b.snapIndex=Math.floor(t/b.params.slidesPerGroup),b.snapIndex>=b.snapGrid.length&&(b.snapIndex=b.snapGrid.length-1);var s=-b.snapGrid[b.snapIndex];if(b.params.autoplay&&b.autoplaying&&(n||!b.params.autoplayDisableOnInteraction?b.pauseAutoplay(e):b.stopAutoplay()),b.updateProgress(s),b.params.normalizeSlideIndex)for(var o=0;o<b.slidesGrid.length;o++)-Math.floor(100*s)>=Math.floor(100*b.slidesGrid[o])&&(t=o);return!(!b.params.allowSwipeToNext&&s<b.translate&&s<b.minTranslate()||!b.params.allowSwipeToPrev&&s>b.translate&&s>b.maxTranslate()&&(b.activeIndex||0)!==t||(void 0===e&&(e=b.params.speed),b.previousIndex=b.activeIndex||0,b.activeIndex=t,b.updateRealIndex(),b.rtl&&-s===b.translate||!b.rtl&&s===b.translate?(b.params.autoHeight&&b.updateAutoHeight(),b.updateClasses(),"slide"!==b.params.effect&&b.setWrapperTranslate(s),1):(b.updateClasses(),b.onTransitionStart(i),0===e||b.browser.lteIE9?(b.setWrapperTranslate(s),b.setWrapperTransition(0),b.onTransitionEnd(i)):(b.setWrapperTranslate(s),b.setWrapperTransition(e),b.animating||(b.animating=!0,b.wrapper.transitionEnd(function(){b&&b.onTransitionEnd(i)}))),0)))},b.onTransitionStart=function(t){void 0===t&&(t=!0),b.params.autoHeight&&b.updateAutoHeight(),b.lazy&&b.lazy.onTransitionStart(),t&&(b.emit("onTransitionStart",b),b.activeIndex!==b.previousIndex&&(b.emit("onSlideChangeStart",b),b.activeIndex>b.previousIndex?b.emit("onSlideNextStart",b):b.emit("onSlidePrevStart",b)))},b.onTransitionEnd=function(t){b.animating=!1,b.setWrapperTransition(0),void 0===t&&(t=!0),b.lazy&&b.lazy.onTransitionEnd(),t&&(b.emit("onTransitionEnd",b),b.activeIndex!==b.previousIndex&&(b.emit("onSlideChangeEnd",b),b.activeIndex>b.previousIndex?b.emit("onSlideNextEnd",b):b.emit("onSlidePrevEnd",b))),b.params.history&&b.history&&b.history.setHistory(b.params.history,b.activeIndex),b.params.hashnav&&b.hashnav&&b.hashnav.setHash()},b.slideNext=function(t,e,i){return b.params.loop?!b.animating&&(b.fixLoop(),b.container[0].clientLeft,b.slideTo(b.activeIndex+b.params.slidesPerGroup,e,t,i)):b.slideTo(b.activeIndex+b.params.slidesPerGroup,e,t,i)},b._slideNext=function(t){return b.slideNext(!0,t,!0)},b.slidePrev=function(t,e,i){return b.params.loop?!b.animating&&(b.fixLoop(),b.container[0].clientLeft,b.slideTo(b.activeIndex-1,e,t,i)):b.slideTo(b.activeIndex-1,e,t,i)},b._slidePrev=function(t){return b.slidePrev(!0,t,!0)},b.slideReset=function(t,e,i){return b.slideTo(b.activeIndex,e,t)},b.disableTouchControl=function(){return b.params.onlyExternal=!0,!0},b.enableTouchControl=function(){return b.params.onlyExternal=!1,!0},b.setWrapperTransition=function(t,e){b.wrapper.transition(t),"slide"!==b.params.effect&&b.effects[b.params.effect]&&b.effects[b.params.effect].setTransition(t),b.params.parallax&&b.parallax&&b.parallax.setTransition(t),b.params.scrollbar&&b.scrollbar&&b.scrollbar.setTransition(t),b.params.control&&b.controller&&b.controller.setTransition(t,e),b.emit("onSetTransition",b,t)},b.setWrapperTranslate=function(t,e,i){var n=0,o=0;b.isHorizontal()?n=b.rtl?-t:t:o=t,b.params.roundLengths&&(n=s(n),o=s(o)),b.params.virtualTranslate||(b.support.transforms3d?b.wrapper.transform("translate3d("+n+"px, "+o+"px, 0px)"):b.wrapper.transform("translate("+n+"px, "+o+"px)")),b.translate=b.isHorizontal()?n:o;var r=b.maxTranslate()-b.minTranslate();(0===r?0:(t-b.minTranslate())/r)!==b.progress&&b.updateProgress(t),e&&b.updateActiveIndex(),"slide"!==b.params.effect&&b.effects[b.params.effect]&&b.effects[b.params.effect].setTranslate(b.translate),b.params.parallax&&b.parallax&&b.parallax.setTranslate(b.translate),b.params.scrollbar&&b.scrollbar&&b.scrollbar.setTranslate(b.translate),b.params.control&&b.controller&&b.controller.setTranslate(b.translate,i),b.emit("onSetTranslate",b,b.translate)},b.getTranslate=function(t,e){var i,n,s,o;return void 0===e&&(e="x"),b.params.virtualTranslate?b.rtl?-b.translate:b.translate:(s=window.getComputedStyle(t,null),window.WebKitCSSMatrix?((n=s.transform||s.webkitTransform).split(",").length>6&&(n=n.split(", ").map(function(t){return t.replace(",",".")}).join(", ")),o=new window.WebKitCSSMatrix("none"===n?"":n)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=o.toString().split(",")),"x"===e&&(n=window.WebKitCSSMatrix?o.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===e&&(n=window.WebKitCSSMatrix?o.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),b.rtl&&n&&(n=-n),n||0)},b.getWrapperTranslate=function(t){return void 0===t&&(t=b.isHorizontal()?"x":"y"),b.getTranslate(b.wrapper[0],t)},b.observers=[],b.initObservers=function(){if(b.params.observeParents)for(var t=b.container.parents(),e=0;e<t.length;e++)a(t[e]);a(b.container[0],{childList:!1}),a(b.wrapper[0],{attributes:!1})},b.disconnectObservers=function(){for(var t=0;t<b.observers.length;t++)b.observers[t].disconnect();b.observers=[]},b.createLoop=function(){b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass).remove();var e=b.wrapper.children("."+b.params.slideClass);"auto"!==b.params.slidesPerView||b.params.loopedSlides||(b.params.loopedSlides=e.length),b.loopedSlides=parseInt(b.params.loopedSlides||b.params.slidesPerView,10),b.loopedSlides=b.loopedSlides+b.params.loopAdditionalSlides,b.loopedSlides>e.length&&(b.loopedSlides=e.length);var i,n=[],s=[];for(e.each(function(i,o){var r=t(this);i<b.loopedSlides&&s.push(o),i<e.length&&i>=e.length-b.loopedSlides&&n.push(o),r.attr("data-swiper-slide-index",i)}),i=0;i<s.length;i++)b.wrapper.append(t(s[i].cloneNode(!0)).addClass(b.params.slideDuplicateClass));for(i=n.length-1;i>=0;i--)b.wrapper.prepend(t(n[i].cloneNode(!0)).addClass(b.params.slideDuplicateClass))},b.destroyLoop=function(){b.wrapper.children("."+b.params.slideClass+"."+b.params.slideDuplicateClass).remove(),b.slides.removeAttr("data-swiper-slide-index")},b.reLoop=function(t){var e=b.activeIndex-b.loopedSlides;b.destroyLoop(),b.createLoop(),b.updateSlidesSize(),t&&b.slideTo(e+b.loopedSlides,0,!1)},b.fixLoop=function(){var t;b.activeIndex<b.loopedSlides?(t=b.slides.length-3*b.loopedSlides+b.activeIndex,t+=b.loopedSlides,b.slideTo(t,0,!1,!0)):("auto"===b.params.slidesPerView&&b.activeIndex>=2*b.loopedSlides||b.activeIndex>
1b.slides.length-2*b.params.slidesPerView)&&(t=-b.slides.length+b.activeIndex+b.loopedSlides,t+=b.loopedSlides,b.slideTo(t,0,!1,!0))},b.appendSlide=function(t){if(b.params.loop&&b.destroyLoop(),"object"==typeof t&&t.length)for(var e=0;e<t.length;e++)t[e]&&b.wrapper.append(t[e]);else b.wrapper.append(t);b.params.loop&&b.createLoop(),b.params.observer&&b.support.observer||b.update(!0)},b.prependSlide=function(t){b.params.loop&&b.destroyLoop();var e=b.activeIndex+1;if("object"==typeof t&&t.length){for(var i=0;i<t.length;i++)t[i]&&b.wrapper.prepend(t[i]);e=b.activeIndex+t.length}else b.wrapper.prepend(t);b.params.loop&&b.createLoop(),b.params.observer&&b.support.observer||b.update(!0),b.slideTo(e,0,!1)},b.removeSlide=function(t){b.params.loop&&(b.destroyLoop(),b.slides=b.wrapper.children("."+b.params.slideClass));var e,i=b.activeIndex;if("object"==typeof t&&t.length){for(var n=0;n<t.length;n++)e=t[n],b.slides[e]&&b.slides.eq(e).remove(),e<i&&i--;i=Math.max(i,0)}else e=t,b.slides[e]&&b.slides.eq(e).remove(),e<i&&i--,i=Math.max(i,0);b.params.loop&&b.createLoop(),b.params.observer&&b.support.observer||b.update(!0),b.params.loop?b.slideTo(i+b.loopedSlides,0,!1):b.slideTo(i,0,!1)},b.removeAllSlides=function(){for(var t=[],e=0;e<b.slides.length;e++)t.push(e);b.removeSlide(t)},b.effects={fade:{setTranslate:function(){for(var t=0;t<b.slides.length;t++){var e=b.slides.eq(t),i=-e[0].swiperSlideOffset;b.params.virtualTranslate||(i-=b.translate);var n=0;b.isHorizontal()||(n=i,i=0);var s=b.params.fade.crossFade?Math.max(1-Math.abs(e[0].progress),0):1+Math.min(Math.max(e[0].progress,-1),0);e.css({opacity:s}).transform("translate3d("+i+"px, "+n+"px, 0px)")}},setTransition:function(t){if(b.slides.transition(t),b.params.virtualTranslate&&0!==t){var e=!1;b.slides.transitionEnd(function(){if(!e&&b){e=!0,b.animating=!1;for(var t=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],i=0;i<t.length;i++)b.wrapper.trigger(t[i])}})}}},flip:{setTranslate:function(){for(var e=0;e<b.slides.length;e++){var i=b.slides.eq(e),n=i[0].progress;b.params.flip.limitRotation&&(n=Math.max(Math.min(i[0].progress,1),-1));var s=-180*n,o=0,r=-i[0].swiperSlideOffset,a=0;if(b.isHorizontal()?b.rtl&&(s=-s):(a=r,r=0,o=-s,s=0),i[0].style.zIndex=-Math.abs(Math.round(n))+b.slides.length,b.params.flip.slideShadows){var l=b.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),c=b.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===l.length&&(l=t('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"left":"top")+'"></div>'),i.append(l)),0===c.length&&(c=t('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"right":"bottom")+'"></div>'),i.append(c)),l.length&&(l[0].style.opacity=Math.max(-n,0)),c.length&&(c[0].style.opacity=Math.max(n,0))}i.transform("translate3d("+r+"px, "+a+"px, 0px) rotateX("+o+"deg) rotateY("+s+"deg)")}},setTransition:function(e){if(b.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),b.params.virtualTranslate&&0!==e){var i=!1;b.slides.eq(b.activeIndex).transitionEnd(function(){if(!i&&b&&t(this).hasClass(b.params.slideActiveClass)){i=!0,b.animating=!1;for(var e=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],n=0;n<e.length;n++)b.wrapper.trigger(e[n])}})}}},cube:{setTranslate:function(){var e,i=0;b.params.cube.shadow&&(b.isHorizontal()?(0===(e=b.wrapper.find(".swiper-cube-shadow")).length&&(e=t('<div class="swiper-cube-shadow"></div>'),b.wrapper.append(e)),e.css({height:b.width+"px"})):0===(e=b.container.find(".swiper-cube-shadow")).length&&(e=t('<div class="swiper-cube-shadow"></div>'),b.container.append(e)));for(var n=0;n<b.slides.length;n++){var s=b.slides.eq(n),o=90*n,r=Math.floor(o/360);b.rtl&&(o=-o,r=Math.floor(-o/360));var a=Math.max(Math.min(s[0].progress,1),-1),l=0,c=0,h=0;n%4==0?(l=4*-r*b.size,h=0):(n-1)%4==0?(l=0,h=4*-r*b.size):(n-2)%4==0?(l=b.size+4*r*b.size,h=b.size):(n-3)%4==0&&(l=-b.size,h=3*b.size+4*b.size*r),b.rtl&&(l=-l),b.isHorizontal()||(c=l,l=0);var u="rotateX("+(b.isHorizontal()?0:-o)+"deg) rotateY("+(b.isHorizontal()?o:0)+"deg) translate3d("+l+"px, "+c+"px, "+h+"px)";if(a<=1&&a>
vendor: 2,124 bytes, line 1
1-1&&(i=90*n+90*a,b.rtl&&(i=90*-n-90*a)),s.transform(u),b.params.cube.slideShadows){var d=b.isHorizontal()?s.find(".swiper-slide-shadow-left"):s.find(".swiper-slide-shadow-top"),p=b.isHorizontal()?s.find(".swiper-slide-shadow-right"):s.find(".swiper-slide-shadow-bottom");0===d.length&&(d=t('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"left":"top")+'"></div>'),s.append(d)),0===p.length&&(p=t('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"right":"bottom")+'"></div>'),s.append(p)),d.length&&(d[0].style.opacity=Math.max(-a,0)),p.length&&(p[0].style.opacity=Math.max(a,0))}}if(b.wrapper.css({"-webkit-transform-origin":"50% 50% -"+b.size/2+"px","-moz-transform-origin":"50% 50% -"+b.size/2+"px","-ms-transform-origin":"50% 50% -"+b.size/2+"px","transform-origin":"50% 50% -"+b.size/2+"px"}),b.params.cube.shadow)if(b.isHorizontal())e.transform("translate3d(0px, "+(b.width/2+b.params.cube.shadowOffset)+"px, "+-b.width/2+"px) rotateX(90deg) rotateZ(0deg) scale("+b.params.cube.shadowScale+")");else{var f=Math.abs(i)-90*Math.floor(Math.abs(i)/90),m=1.5-(Math.sin(2*f*Math.PI/360)/2+Math.cos(2*f*Math.PI/360)/2),g=b.params.cube.shadowScale,v=b.params.cube.shadowScale/m,y=b.params.cube.shadowOffset;e.transform("scale3d("+g+", 1, "+v+") translate3d(0px, "+(b.height/2+y)+"px, "+-b.height/2/v+"px) rotateX(-90deg)")}var T=b.isSafari||b.isUiWebView?-b.size/2:0;b.wrapper.transform("translate3d(0px,0,"+T+"px) rotateX("+(b.isHorizontal()?0:i)+"deg) rotateY("+(b.isHorizontal()?-i:0)+"deg)")},setTransition:function(t){b.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t),b.params.cube.shadow&&!b.isHorizontal()&&b.container.find(".swiper-cube-shadow").transition(t)}},coverflow:{setTranslate:function(){for(var e=b.translate,i=b.isHorizontal()?-e+b.width/2:-e+b.height/2,n=b.isHorizontal()?b.params.coverflow.rotate:-b.params.coverflow.rotate,s=b.params.coverflow.depth,o=0,r=b.slides.length;o<r;o++){var a=b.slides.eq(o),l=b.slidesSizesGrid[o],c=(i-a[0].swiperSlideOffset-l/2)/l*b.params.coverflow.modifier,h=b.
1isHorizontal()?n*c:0,u=b.isHorizontal()?0:n*c,d=-s*Math.abs(c),p=b.isHorizontal()?0:b.params.coverflow.stretch*c,f=b.isHorizontal()?b.params.coverflow.stretch*c:0;Math.abs(f)<.001&&(f=0),Math.abs(p)<.001&&(p=0),Math.abs(d)<.001&&(d=0),Math.abs(h)<.001&&(h=0),Math.abs(u)<.001&&(u=0);var m="translate3d("+f+"px,"+p+"px,"+d+"px) rotateX("+u+"deg) rotateY("+h+"deg)";if(a.transform(m),a[0].style.zIndex=1-Math.abs(Math.round(c)),b.params.coverflow.slideShadows){var g=b.isHorizontal()?a.find(".swiper-slide-shadow-left"):a.find(".swiper-slide-shadow-top"),v=b.isHorizontal()?a.find(".swiper-slide-shadow-right"):a.find(".swiper-slide-shadow-bottom");0===g.length&&(g=t('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"left":"top")+'"></div>'),a.append(g)),0===v.length&&(v=t('<div class="swiper-slide-shadow-'+(b.isHorizontal()?"right":"bottom")+'"></div>'),a.append(v)),g.length&&(g[0].style.opacity=c>0?c:0),v.length&&(v[0].style.opacity=-c>0?-c:0)}}b.browser.ie&&(b.wrapper[0].style.perspectiveOrigin=i+"px 50%")},setTransition:function(t){b.slides.transition(t).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(t)}}},b.lazy={initialImageLoaded:!1,loadImageInSlide:function(e,i){if(void 0!==e&&(void 0===i&&(i=!0),0!==b.slides.length)){var n=b.slides.eq(e),s=n.find("."+b.params.lazyLoadingClass+":not(."+b.params.lazyStatusLoadedClass+"):not(."+b.params.lazyStatusLoadingClass+")");!n.hasClass(b.params.lazyLoadingClass)||n.hasClass(b.params.lazyStatusLoadedClass)||n.hasClass(b.params.lazyStatusLoadingClass)||(s=s.add(n[0])),0!==s.length&&s.each(function(){var e=t(this);e.addClass(b.params.lazyStatusLoadingClass);var s=e.attr("data-background"),o=e.attr("data-src"),r=e.attr("data-srcset"),a=e.attr("data-sizes");b.loadImage(e[0],o||s,r,a,!1,function(){if(void 0!==b&&null!==b&&b){if(s?(e.css("background-image",'url("'+s+'")'),e.removeAttr("data-background")):(r&&(e.attr("srcset",r),e.removeAttr("data-srcset")),a&&(e.attr("sizes",a),e.removeAttr("data-sizes")),o&&(e.attr("src",o),e.removeAttr("data-src"))),e.addClass(b.params.lazyStatusLoadedClass).removeClass(b.params.lazyStatusLoadingClass),n.find("."+b.params.lazyPreloaderClass+", ."+b.params.preloaderClass).remove(),b.params.loop&&i){var t=n.attr("data-swiper-slide-index");if(n.hasClass(b.params.slideDuplicateClass)){var l=b.wrapper.children('[data-swiper-slide-index="'+t+'"]:not(.'+b.params.slideDuplicateClass+")");b.lazy.loadImageInSlide(l.index(),!1)}else{var c=b.wrapper.children("."+b.params.slideDuplicateClass+'[data-swiper-slide-index="'+t+'"]');b.lazy.loadImageInSlide(c.index(),!1)}}b.emit("onLazyImageReady",b,n[0],e[0])}}),b.emit("onLazyImageLoad",b,n[0],e[0])})}},load:function(){var e,i=b.params.slidesPerView;if("auto"===i&&(i=0),b.lazy.initialImageLoaded||(b.lazy.initialImageLoaded=!0),b.params.watchSlidesVisibility)b.wrapper.children("."+b.params.slideVisibleClass).each(function(){b.lazy.loadImageInSlide(t(this).index())});else if(i>1)for(e=b.activeIndex;e<b.activeIndex+i;e++)b.slides[e]&&b.lazy.loadImageInSlide(e);else b.lazy.loadImageInSlide(b.activeIndex);if(b.params.lazyLoadingInPrevNext)if(i>1||b.params.lazyLoadingInPrevNextAmount&&b.params.lazyLoadingInPrevNextAmount>1){var n=b.params.lazyLoadingInPrevNextAmount,s=i,o=Math.min(b.activeIndex+s+Math.max(n,s),b.slides.length),r=Math.max(b.activeIndex-Math.max(s,n),0);for(e=b.activeIndex+i;e<o;e++)b.slides[e]&&b.lazy.loadImageInSlide(e);for(e=r;e<b.activeIndex;e++)b.slides[e]&&b.lazy.loadImageInSlide(e)}else{var a=b.wrapper.children("."+b.params.slideNextClass);a.length>0&&b.lazy.loadImageInSlide(a.index());var l=b.wrapper.children("."+b.params.slidePrevClass);l.length>0&&b.lazy.loadImageInSlide(l.index())}},onTransitionStart:function(){b.params.lazyLoading&&(b.params.lazyLoadingOnTransitionStart||!b.params.lazyLoadingOnTransitionStart&&!b.lazy.initialImageLoaded)&&b.lazy.load()},onTransitionEnd:function(){b.params.lazyLoading&&!b.params.lazyLoadingOnTransitionStart&&b.lazy.load()}},b.scrollbar={isTouched:!1,setDragPosition:function(t){var e=b.scrollbar,
vendor: 5,893 bytes, line 1
1i=(b.isHorizontal()?"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].pageX:t.pageX||t.clientX:"touchstart"===t.type||"touchmove"===t.type?t.targetTouches[0].pageY:t.pageY||t.clientY)-e.track.offset()[b.isHorizontal()?"left":"top"]-e.dragSize/2,n=-b.minTranslate()*e.moveDivider,s=-b.maxTranslate()*e.moveDivider;i<n?i=n:i>s&&(i=s),i=-i/e.moveDivider,b.updateProgress(i),b.setWrapperTranslate(i,!0)},dragStart:function(t){var e=b.scrollbar;e.isTouched=!0,t.preventDefault(),t.stopPropagation(),e.setDragPosition(t),clearTimeout(e.dragTimeout),e.track.transition(0),b.params.scrollbarHide&&e.track.css("opacity",1),b.wrapper.transition(100),e.drag.transition(100),b.emit("onScrollbarDragStart",b)},dragMove:function(t){var e=b.scrollbar;e.isTouched&&(t.preventDefault?t.preventDefault():t.returnValue=!1,e.setDragPosition(t),b.wrapper.transition(0),e.track.transition(0),e.drag.transition(0),b.emit("onScrollbarDragMove",b))},dragEnd:function(t){var e=b.scrollbar;e.isTouched&&(e.isTouched=!1,b.params.scrollbarHide&&(clearTimeout(e.dragTimeout),e.dragTimeout=setTimeout(function(){e.track.css("opacity",0),e.track.transition(400)},1e3)),b.emit("onScrollbarDragEnd",b),b.params.scrollbarSnapOnRelease&&b.slideReset())},draggableEvents:function(){return!1!==b.params.simulateTouch||b.support.touch?b.touchEvents:b.touchEventsDesktop}(),enableDraggable:function(){var e=b.scrollbar,i=b.support.touch?e.track:document;t(e.track).on(e.draggableEvents.start,e.dragStart),t(i).on(e.draggableEvents.move,e.dragMove),t(i).on(e.draggableEvents.end,e.dragEnd)},disableDraggable:function(){var e=b.scrollbar,i=b.support.touch?e.track:document;t(e.track).off(e.draggableEvents.start,e.dragStart),t(i).off(e.draggableEvents.move,e.dragMove),t(i).off(e.draggableEvents.end,e.dragEnd)},set:function(){if(b.params.scrollbar){var e=b.scrollbar;e.track=t(b.params.scrollbar),b.params.uniqueNavElements&&"string"==typeof b.params.scrollbar&&e.track.length>1&&1===b.container.find(b.params.scrollbar).length&&(e.track=b.container.find(b.params.scrollbar)),e.drag=e.track.find(".swiper-scrollbar-drag"),0===e.drag.length&&(e.drag=t('<div class="swiper-scrollbar-drag"></div>'),e.track.append(e.drag)),e.drag[0].style.width="",e.drag[0].style.height="",e.trackSize=b.isHorizontal()?e.track[0].offsetWidth:e.track[0].offsetHeight,e.divider=b.size/b.virtualSize,e.moveDivider=e.divider*(e.trackSize/b.size),e.dragSize=e.trackSize*e.divider,b.isHorizontal()?e.drag[0].style.width=e.dragSize+"px":e.drag[0].style.height=e.dragSize+"px",e.divider>=1?e.track[0].style.display="none":e.track[0].style.display="",b.params.scrollbarHide&&(e.track[0].style.opacity=0)}},setTranslate:function(){if(b.params.scrollbar){var t,e=b.scrollbar,i=(b.translate,e.dragSize);t=(e.trackSize-e.dragSize)*b.progress,b.rtl&&b.isHorizontal()?(t=-t,t>0?(i=e.dragSize-t,t=0):-t+e.dragSize>e.trackSize&&(i=e.trackSize+t)):t<0?(i=e.dragSize+t,t=0):t+e.dragSize>e.trackSize&&(i=e.trackSize-t),b.isHorizontal()?(b.support.transforms3d?e.drag.transform("translate3d("+t+"px, 0, 0)"):e.drag.transform("translateX("+t+"px)"),e.drag[0].style.width=i+"px"):(b.support.transforms3d?e.drag.transform("translate3d(0px, "+t+"px, 0)"):e.drag.transform("translateY("+t+"px)"),e.drag[0].style.height=i+"px"),b.params.scrollbarHide&&(clearTimeout(e.timeout),e.track[0].style.opacity=1,e.timeout=setTimeout(function(){e.track[0].style.opacity=0,e.track.transition(400)},1e3))}},setTransition:function(t){b.params.scrollbar&&b.scrollbar.drag.transition(t)}},b.controller={LinearSpline:function(t,e){var i=function(){var t,e,i;return function(n,s){for(e=-1,t=n.length;t-e>1;)n[i=t+e>>1]<=s?e=i:t=i;return t}}();this.x=t,this.y=e,this.lastIndex=t.length-1;var n,s;this.x.length,this.interpolate=function(t){return t?(s=i(this.x,t),n=s-1,(t-this.x[n])*(this.y[s]-this.y[n])/(this.x[s]-this.x[n])+this.y[n]):0}},getInterpolateFunction:function(t){b.controller.spline||(b.controller.spline=b.params.loop?new b.controller.LinearSpline(b.slidesGrid,t.slidesGrid):new b.controller.LinearSpline(b.snapGrid,t.snapGrid))},setTranslate:function(t,i){function n(e){t=e.rtl&&"horizontal"===e.params.direction?-b.translate:b.translate,"slide"===b.params.controlBy&&(b.controller.getInterpolateFunction(e),o=-b.controller.spline.interpolate(-t)),o&&"container"!==b.params.controlBy||(s=(e.maxTranslate()-e.minTranslate())/(b.maxTranslate()-b.minTranslate()),o=(t-b.minTranslate())*s+e.minTranslate()),b.params.controlInverse&&(o=e.maxTranslate()-o),e.updateProgress(o),e.setWrapperTranslate(o,!1,b),e.updateActiveIndex()}var s,o,r=b.params.control;if(Array.isArray(r))for(var a=0;a<r.length;a++)r[a]!==i&&r[a]instanceof e&&n(r[a]);else r instanceof e&&i!==r&&n(r)},setTransition:function(t,i){function n(e){e.setWrapperTransition(t,b),0!==t&&(e.onTransitionStart(),e.wrapper.transitionEnd(function(){o&&(e.params.loop&&"slide"===b.params.controlBy&&e.fixLoop(),e.onTransitionEnd())}))}var s,o=b.params.control;if(Array.isArray(o))for(s=0;s<o.length;s++)o[s]!==i&&o[s]instanceof e&&n(o[s]);else o instanceof e&&i!==o&&n(o)}},b.hashnav={onHashCange:function(t,e){var i=document.location.hash.replace("#","");i!==b.slides.eq(b.activeIndex).attr("data-hash")&&b.slideTo(b.wrapper.children("."+b.params.slideClass+'[data-hash="'+i+'"]').index())},attachEvents:function(e){var i=e?"off":"on";t(window)[i]("hashchange",b.hashnav.onHashCange)},setHash:function(){if(b.hashnav.initialized&&b.params.hashnav)if(b.params.replaceState&&window.history&&window.history.replaceState)window.history.replaceState(null,null,"#"+b.slides.eq(b.activeIndex).attr("data-hash")||"");else{var t=b.slides.eq(b.activeIndex),e=t.attr("data-hash")||t.attr("data-history");document.location.hash=e||""}},init:function(){if(b.params.hashnav&&!b.params.history){b.hashnav.initialized=!0;var t=document.location.hash.replace("#","");if(t)for(var e=0,i=b.slides.length;e<i;e++){var n=b.slides.eq(e);
1if((n.attr("data-hash")||n.attr("data-history"))===t&&!n.hasClass(b.params.slideDuplicateClass)){var s=n.index();b.slideTo(s,0,b.params.runCallbacksOnInit,!0)}}b.params.hashnavWatchState&&b.hashnav.attachEvents()}},destroy:function(){b.params.hashnavWatchState&&b.hashnav.attachEvents(!0)}},b.history={init:function(){if(b.params.history){if(!window.history||!window.history.pushState)return b.params.history=!1,void(b.params.hashnav=!0);b.history.initialized=!0,this.paths=this.getPathValues(),(this.paths.key||this.paths.value)&&(this.scrollToSlide(0,this.paths.value,b.params.runCallbacksOnInit),b.params.replaceState||window.addEventListener("popstate",this.setHistoryPopState))}},setHistoryPopState:function(){b.history.paths=b.history.getPathValues(),b.history.scrollToSlide(b.params.speed,b.history.paths.value,!1)},getPathValues:function(){var t=window.location.pathname.slice(1).split("/"),e=t.length;return{key:t[e-2],value:t[e-1]}},setHistory:function(t,e){if(b.history.initialized&&b.params.history){var i=b.slides.eq(e),n=this.slugify(i.attr("data-history"));window.location.pathname.includes(t)||(n=t+"/"+n),b.params.replaceState?window.history.replaceState(null,null,n):window.history.pushState(null,null,n)}},slugify:function(t){return t.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w\-]+/g,"").replace(/\-\-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(t,e,i){if(e)for(var n=0,s=b.slides.length;n<s;n++){var o=b.slides.eq(n);if(this.slugify(o.attr("data-history"))===e&&!o.hasClass(b.params.slideDuplicateClass)){var r=o.index();b.slideTo(r,t,i)}}else b.slideTo(0,t,i)}},b.disableKeyboardControl=function(){b.params.keyboardControl=!1,t(document).off("keydown",l)},b.enableKeyboardControl=function(){b.params.keyboardControl=!0,t(document).on("keydown",l)},b.mousewheel={event:!1,lastScrollTime:(new window.Date).getTime()},b.params.mousewheelControl&&(b.mousewheel.event=navigator.userAgent.indexOf("firefox")>-1?"DOMMouseScroll":function(){var t="onwheel"in document;if(!t){var e=document.createElement("div");e.setAttribute("onwheel","return;"),t="function"==typeof e.onwheel}return!t&&document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")&&(t=document.implementation.hasFeature("Events.wheel","3.0")),t}()?"wheel":"mousewheel"),b.disableMousewheelControl=function(){if(!b.mousewheel.event)return!1;var e=b.container;return"container"!==b.params.mousewheelEventsTarged&&(e=t(b.params.mousewheelEventsTarged)),e.off(b.mousewheel.event,h),b.params.mousewheelControl=!1,!0},b.enableMousewheelControl=function(){if(!b.mousewheel.event)return!1;var e=b.container;return"container"!==b.params.mousewheelEventsTarged&&(e=t(b.params.mousewheelEventsTarged)),e.on(b.mousewheel.event,h),b.params.mousewheelControl=!0,!0},b.parallax={setTranslate:function(){b.container.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){u(this,b.progress)}),b.slides.each(function(){var e=t(this);e.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){u(this,Math.min(Math.max(e[0].progress,-1),1))})})},setTransition:function(e){void 0===e&&(e=b.params.speed),b.container.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(){var i=t(this),n=parseInt(i.attr("data-swiper-parallax-duration"),10)||e;0===e&&(n=0),i.transition(n)})}},b.zoom={scale:1,currentScale:1,isScaling:!1,gesture:{slide:void 0,slideWidth:void 0,slideHeight:void 0,image:void 0,imageWrap:void 0,zoomMax:b.params.zoomMax},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0},getDistanceBetweenTouches:function(t){if(t.targetTouches.length<2)return 1;var e=t.targetTouches[0].pageX,i=t.targetTouches[0].pageY,n=t.targetTouches[1].pageX,s=t.targetTouches[1].pageY;return Math.sqrt(Math.pow(n-e,2)+Math.pow(s-i,2))},onGestureStart:function(e){var i=b.zoom;if(!b.support.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;i.gesture.scaleStart=i.getDistanceBetweenTouches(e)}i.gesture.slide&&i.gesture.slide.length||(i.gesture.slide=t(this),0===i.gesture.slide.length&&(i.gesture.slide=b.
1slides.eq(b.activeIndex)),i.gesture.image=i.gesture.slide.find("img, svg, canvas"),i.gesture.imageWrap=i.gesture.image.parent("."+b.params.zoomContainerClass),i.gesture.zoomMax=i.gesture.imageWrap.attr("data-swiper-zoom")||b.params.zoomMax,0!==i.gesture.imageWrap.length)?(i.gesture.image.transition(0),i.isScaling=!0):i.gesture.image=void 0},onGestureChange:function(t){var e=b.zoom;if(!b.support.gestures){if("touchmove"!==t.type||"touchmove"===t.type&&t.targetTouches.length<2)return;e.gesture.scaleMove=e.getDistanceBetweenTouches(t)}e.gesture.image&&0!==e.gesture.image.length&&(b.support.gestures?e.scale=t.scale*e.currentScale:e.scale=e.gesture.scaleMove/e.gesture.scaleStart*e.currentScale,e.scale>e.gesture.zoomMax&&(e.scale=e.gesture.zoomMax-1+Math.pow(e.scale-e.gesture.zoomMax+1,.5)),e.scale<b.params.zoomMin&&(e.scale=b.params.zoomMin+1-Math.pow(b.params.zoomMin-e.scale+1,.5)),e.gesture.image.transform("translate3d(0,0,0) scale("+e.scale+")"))},onGestureEnd:function(t){var e=b.zoom;!b.support.gestures&&("touchend"!==t.type||"touchend"===t.type&&t.changedTouches.length<2)||e.gesture.image&&0!==e.gesture.image.length&&(e.scale=Math.max(Math.min(e.scale,e.gesture.zoomMax),b.params.zoomMin),e.gesture.image.transition(b.params.speed).transform("translate3d(0,0,0) scale("+e.scale+")"),e.currentScale=e.scale,e.isScaling=!1,1===e.scale&&(e.gesture.slide=void 0))},onTouchStart:function(t,e){var i=t.zoom;i.gesture.image&&0!==i.gesture.image.length&&(i.image.isTouched||("android"===t.device.os&&e.preventDefault(),i.image.isTouched=!0,i.image.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,i.image.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(t){var e=b.zoom;if(e.gesture.image&&0!==e.gesture.image.length&&(b.allowClick=!1,e.image.isTouched&&e.gesture.slide)){e.image.isMoved||(e.image.width=e.gesture.image[0].offsetWidth,e.image.height=e.gesture.image[0].offsetHeight,e.image.startX=b.getTranslate(e.gesture.imageWrap[0],"x")||0,e.image.startY=b.getTranslate(e.gesture.imageWrap[0],"
1y")||0,e.gesture.slideWidth=e.gesture.slide[0].offsetWidth,e.gesture.slideHeight=e.gesture.slide[0].offsetHeight,e.gesture.imageWrap.transition(0),b.rtl&&(e.image.startX=-e.image.startX),b.rtl&&(e.image.startY=-e.image.startY));var i=e.image.width*e.scale,n=e.image.height*e.scale;if(!(i<e.gesture.slideWidth&&n<e.gesture.slideHeight)){if(e.image.minX=Math.min(e.gesture.slideWidth/2-i/2,0),e.image.maxX=-e.image.minX,e.image.minY=Math.min(e.gesture.slideHeight/2-n/2,0),e.image.maxY=-e.image.minY,e.image.touchesCurrent.x="touchmove"===t.type?t.targetTouches[0].pageX:t.pageX,e.image.touchesCurrent.y="touchmove"===t.type?t.targetTouches[0].pageY:t.pageY,!e.image.isMoved&&!e.isScaling){if(b.isHorizontal()&&Math.floor(e.image.minX)===Math.floor(e.image.startX)&&e.image.touchesCurrent.x<e.image.touchesStart.x||Math.floor(e.image.maxX)===Math.floor(e.image.startX)&&e.image.touchesCurrent.x>e.image.touchesStart.x)return void(e.image.isTouched=!1);if(!b.isHorizontal()&&Math.floor(e.image.minY)===Math.floor(e.image.startY)&&e.image.touchesCurrent.y<e.image.touchesStart.y||Math.floor(e.image.maxY)===Math.floor(e.image.startY)&&e.image.touchesCurrent.y>e.image.touchesStart.y)return void(e.image.isTouched=!1)}t.preventDefault(),t.stopPropagation(),e.image.isMoved=!0,e.image.currentX=e.image.touchesCurrent.x-e.image.touchesStart.x+e.image.startX,e.image.currentY=e.image.touchesCurrent.y-e.image.touchesStart.y+e.image.startY,e.image.currentX<e.image.minX&&(e.image.currentX=e.image.minX+1-Math.pow(e.image.minX-e.image.currentX+1,.8)),e.image.currentX>e.image.maxX&&(e.image.currentX=e.image.maxX-1+Math.pow(e.image.currentX-e.image.maxX+1,.8)),e.image.currentY<e.image.minY&&(e.image.currentY=e.image.minY+1-Math.pow(e.image.minY-e.image.currentY+1,.8)),e.image.currentY>e.image.maxY&&(e.image.currentY=e.image.maxY-1+Math.pow(e.image.currentY-e.image.maxY+1,.8)),e.velocity.prevPositionX||(e.velocity.prevPositionX=e.image.touchesCurrent.x),e.velocity.prevPositionY||(e.velocity.prevPositionY=e.image.touchesCurrent.y),e.velocity.prevTime||(e.velocity.prevTime=Date.now()),e.velocity.x=(e.image.touchesCurrent.x-e.velocity.prevPositionX)/(Date.now()-e.velocity.prevTime)/2,e.velocity.y=(e.image.touchesCurrent.y-e.velocity.prevPositionY)/(Date.now()-e.velocity.prevTime)/2,Math.abs(e.image.touchesCurrent.x-e.velocity.prevPositionX)<2&&(e.velocity.x=0),Math.abs(e.image.touchesCurrent.y-e.velocity.prevPositionY)<2&&(e.velocity.y=0),e.velocity.prevPositionX=e.image.touchesCurrent.x,e.velocity.prevPositionY=e.image.touchesCurrent.y,e.velocity.prevTime=Date.now(),e.gesture.imageWrap.transform("translate3d("+e.image.currentX+"px, "+e.image.currentY+"px,0)")}}},onTouchEnd:function(t,e){var i=t.zoom;if(i.gesture.image&&0!==i.gesture.image.length){if(!i.image.isTouched||!i.image.isMoved)return i.image.isTouched=!1,void(i.image.isMoved=!1);i.image.isTouched=!1,i.image.isMoved=!1;var n=300,s=300,o=i.velocity.x*n,r=i.image.currentX+o,a=i.velocity.y*s,l=i.image.currentY+a;0!==i.velocity.x&&(n=Math.abs((r-i.image.currentX)/i.velocity.x)),0!==i.velocity.y&&(s=Math.abs((l-i.image.currentY)/i.velocity.y));var c=Math.max(n,s);i.image.currentX=r,i.image.currentY=l;var h=i.image.width*i.scale,u=i.image.height*i.scale;i.image.minX=Math.min(i.gesture.slideWidth/2-h/2,0),i.image.maxX=-i.image.minX,i.image.minY=Math.min(i.gesture.slideHeight/2-u/2,0),i.image.maxY=-i.image.minY,i.image.currentX=Math.max(Math.min(i.image.currentX,i.image.maxX),i.image.minX),i.image.currentY=Math.max(Math.min(i.image.currentY,i.image.maxY),i.image.minY),i.gesture.imageWrap.transition(c).transform("translate3d("+i.image.currentX+"px, "+i.image.currentY+"px,0)")}},onTransitionEnd:function(t){var e=t.zoom;e.gesture.slide&&t.previousIndex!==t.activeIndex&&(e.gesture.image.transform("translate3d(0,0,0) scale(1)"),e.gesture.imageWrap.transform("translate3d(0,0,0)"),e.gesture.slide=e.gesture.image=e.gesture.imageWrap=void 0,e.scale=e.currentScale=1)},toggleZoom:function(e,i){var n=e.zoom;if(n.gesture.slide||(n.gesture.slide=e.clickedSlide?t(e.clickedSlide):e.slides.eq(e.activeIndex),n.gesture.image=n.gesture.slide.find("img, svg, canvas"),n.gesture.imageWrap=n.gesture.image.parent("."+e.params.zoomContainerClass)),n.gesture.image&&0!==n.gesture.image.length){var s,o,r,a,l,c,h,u,d,p,f,m,g,v,y,T,b,w;void 0===n.image.touchesStart.x&&i?(s="touchend"===i.type?i.changedTouches[0].pageX:i.pageX,o="touchend"===i.type?i.changedTouches[0].pageY:i.pageY):(s=n.image.touchesStart.x,o=n.image.touchesStart.y),n.scale&&1!==n.scale?(n.scale=n.currentScale=1,n.gesture.imageWrap.transition(300).transform("translate3d(0,
10,0)"),n.gesture.image.transition(300).transform("translate3d(0,0,0) scale(1)"),n.gesture.slide=void 0):(n.scale=n.currentScale=n.gesture.imageWrap.attr("data-swiper-zoom")||e.params.zoomMax,i?(b=n.gesture.slide[0].offsetWidth,w=n.gesture.slide[0].offsetHeight,r=n.gesture.slide.offset().left,a=n.gesture.slide.offset().top,l=r+b/2-s,c=a+w/2-o,d=n.gesture.image[0].offsetWidth,p=n.gesture.image[0].offsetHeight,f=d*n.scale,m=p*n.scale,g=Math.min(b/2-f/2,0),v=Math.min(w/2-m/2,0),y=-g,T=-v,h=l*n.scale,u=c*n.scale,h<g&&(h=g),h>y&&(h=y),u<v&&(u=v),u>T&&(u=T)):(h=0,u=0),n.gesture.imageWrap.transition(300).transform("translate3d("+h+"px, "+u+"px,0)"),n.gesture.image.transition(300).transform("translate3d(0,0,0) scale("+n.scale+")"))}},attachEvents:function(e){var i=e?"off":"on";if(b.params.zoom){var n=(b.slides,!("touchstart"!==b.touchEvents.start||!b.support.passiveListener||!b.params.passiveListeners)&&{passive:!0,capture:!1});b.support.gestures?(b.slides[i]("gesturestart",b.zoom.onGestureStart,n),b.slides[i]("gesturechange",b.zoom.onGestureChange,n),b.slides[i]("gestureend",b.zoom.onGestureEnd,n)):"touchstart"===b.touchEvents.start&&(b.slides[i](b.touchEvents.start,b.zoom.onGestureStart,n),b.slides[i](b.touchEvents.move,b.zoom.onGestureChange,n),b.slides[i](b.touchEvents.end,b.zoom.onGestureEnd,n)),b[i]("touchStart",b.zoom.onTouchStart),b.slides.each(function(e,n){t(n).find("."+b.params.zoomContainerClass).length>0&&t(n)[i](b.touchEvents.move,b.zoom.onTouchMove)}),b[i]("touchEnd",b.zoom.onTouchEnd),b[i]("transitionEnd",b.zoom.onTransitionEnd),b.params.zoomToggle&&b.on("doubleTap",b.zoom.toggleZoom)}},init:function(){b.zoom.attachEvents()},destroy:function(){b.zoom.attachEvents(!0)}},b._plugins=[];for(var B in b.plugins){var R=b.plugins[B](b,b.params[B]);R&&b._plugins.push(R)}return b.callPlugins=function(t){for(var e=0;e<b._plugins.length;e++)t in b._plugins[e]&&b._plugins[e][t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},b.emitterEventListeners={},b.emit=function(t){b.params[t]&&b.params[t](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);var e;if(b.emitterEventListeners[t])for(e=0;e<b.emitterEventListeners[t].length;e++)b.emitterEventListeners[t][e](arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]);b.callPlugins&&b.callPlugins(t,arguments[1],arguments[2],arguments[3],arguments[4],arguments[5])},b.on=function(t,e){return t=d(t),b.emitterEventListeners[t]||(b.emitterEventListeners[t]=[]),b.emitterEventListeners[t].push(e),b},b.off=function(t,e){var i;if(t=d(t),void 0===e)return b.emitterEventListeners[t]=[],b;if(b.emitterEventListeners[t]&&0!==b.emitterEventListeners[t].length){for(i=0;i<b.emitterEventListeners[t].length;i++)b.emitterEventListeners[t][i]===e&&b.emitterEventListeners[t].splice(i,1);return b}},b.once=function(t,e){t=d(t);var i=function(){e(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4]),b.off(t,i)};return b.on(t,i),b},b.a11y={makeFocusable:function(t){return t.attr("tabIndex","0"),t},addRole:function(t,e){return t.attr("role",e),t},addLabel:function(t,e){return t.attr("aria-label",e),t},disable:function(t){return t.attr("aria-disabled",!0),t},enable:function(t){return t.attr("aria-disabled",!1),t},onEnterKey:function(e){13===e.keyCode&&(t(e.target).is(b.params.nextButton)?(b.onClickNext(e),b.isEnd?b.a11y.notify(b.params.lastSlideMessage):b.a11y.notify(b.params.nextSlideMessage)):t(e.target).is(b.params.prevButton)&&(b.onClickPrev(e),b.isBeginning?b.a11y.notify(b.params.firstSlideMessage):b.a11y.notify(b.params.prevSlideMessage)),t(e.target).is("."+b.params.bulletClass)&&t(e.target)[0].click())},liveRegion:t('<span class="'+b.params.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>'),notify:function(t){var e=b.a11y.liveRegion;0!==e.length&&(e.html(""),e.html(t))},init:function(){b.params.nextButton&&b.nextButton&&b.nextButton.length>0&&(b.a11y.makeFocusable(b.nextButton),b.a11y.addRole(b.nextButton,"button"),b.a11y.addLabel(b.nextButton,b.params.nextSlideMessage)),b.params.prevButton&&b.prevButton&&b.prevButton.length>0&&(b.a11y.makeFocusable(b.prevButton),b.a11y.addRole(b.prevButton,"button"),b.a11y.addLabel(b.prevButton,b.params.prevSlideMessage)),t(b.container).append(b.a11y.liveRegion)},initPagination:function(){b.params.pagination&&b.params.paginationClickable&&b.bullets&&b.bullets.length&&b.bullets.each(function(){var e=t(this);b.a11y.makeFocusable(e),b.a11y.addRole(e,"button"),b.a11y.addLabel(e,b.params.paginationBulletMessage.replace(/{{index}}/,e.index()+1))})},destroy:function(){b.a11y.liveRegion&&b.a11y.liveRegion.length>0&&b.a11y.liveRegion.remove()}},b.init=function(){b.params.loop&&b.createLoop(),b.updateContainerSize(),b.updateSlidesSize(),b.updatePagination(),b.params.scrollbar&&b.scrollbar&&(b.scrollbar.set(),b.params.scrollbarDraggable&&b.scrollbar.enableDraggable()),"slide"!==b.params.effect&&b.effects[b.params.effect]&&(b.params.loop||b.updateProgress(),b.effects[b.params.effect].setTranslate()),b.params.loop?b.slideTo(b.params.initialSlide+b.loopedSlides,0,b.params.runCallbacksOnInit):(b.slideTo(b.params.initialSlide,0,b.params.runCallbacksOnInit),0===b.params.initialSlide&&(b.parallax&&b.params.parallax&&b.parallax.setTranslate(),b.lazy&&b.params.lazyLoading&&(b.lazy.load(),b.lazy.initialImageLoaded=!0))),b.attachEvents(),b.params.observer&&b.support.observer&&b.initObservers(),b.params.preloadImages&&!b.params.lazyLoading&&b.preloadImages(),b.params.zoom&&b.zoom&&b.zoom.init(),b.params.autoplay&&b.startAutoplay(),b.params.keyboardControl&&b.enableKeyboardControl&&b.enableKeyboardControl(),b.params.mousewheelControl&&b.enableMousewheelControl&&b.enableMousewheelControl(),b.params.hashnavReplaceState&&(b.params.replaceState=b.params.hashnavReplaceState),b.params.history&&b.history&&b.history.init(),b.params.hashnav&&b.hashnav&&b.hashnav.init(),b.params.a11y&&b.a11y&&b.a11y.init(),b.emit("onInit",b)},b.cleanupStyles=function(){b.container.removeClass(b.classNames.join(" ")).removeAttr("style"),b.wrapper.removeAttr("style"),b.slides&&b.slides.length&&b.slides.removeClass([b.params.slideVisibleClass,b.params.slideActiveClass,b.params.slideNextClass,b.params.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-column").removeAttr("data-swiper-row"),b.paginationContainer&&b.paginationContainer.length&&b.paginationContainer.removeClass(b.params.paginationHiddenClass),b.bullets&&b.bullets.length&&b.bullets.removeClass(b.params.bulletActiveClass),b.params.prevButton&&t(b.params.prevButton).removeClass(b.params.buttonDisabledClass),b.params.nextButton&&t(b.params.nextButton).removeClass(b.params.buttonDisabledClass),b.params.scrollbar&&b.scrollbar&&(b.scrollbar.track&&b.scrollbar.track.length&&b.scrollbar.track.removeAttr("style"),b.scrollbar.drag&&b.scrollbar.drag.length&&b.scrollbar.drag.removeAttr("style"))},b.destroy=function(t,e){b.detachEvents(),b.stopAutoplay(),b.params.scrollbar&&b.scrollbar&&b.params.scrollbarDraggable&&b.scrollbar.disableDraggable(),b.params.loop&&b.destroyLoop(),e&&b.cleanupStyles(),b.disconnectObservers(),b.params.zoom&&b.zoom&&b.zoom.destroy(),b.params.keyboardControl&&b.disableKeyboardControl&&b.disableKeyboardControl(),b.params.mousewheelControl&&b.disableMousewheelControl&&b.disableMousewheelControl(),b.params.a11y&&b.a11y&&b.a11y.destroy(),b.params.history&&!b.params.replaceState&&window.removeEventListener("popstate",b.history.setHistoryPopState),b.params.hashnav&&b.hashnav&&b.hashnav.destroy(),b.emit("onDestroy"),!1!==t&&(b=null)},b.init(),b}};e.prototype={isSafari:function(){var t=window.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}
1(),isUiWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(window.navigator.userAgent),isArray:function(t){return"[object Array]"===Object.prototype.toString.apply(t)},browser:{ie:window.navigator.pointerEnabled||window.navigator.msPointerEnabled,ieTouch:window.navigator.msPointerEnabled&&window.navigator.msMaxTouchPoints>1||window.navigator.pointerEnabled&&window.navigator.maxTouchPoints>1,lteIE9:function(){var t=document.createElement("div");return t.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===t.getElementsByTagName("i").length}()},device:function(){var t=window.navigator.userAgent,e=t.match(/(Android);?[\s\/]+([\d.]+)?/),i=t.match(/(iPad).*OS\s([\d_]+)/),n=t.match(/(iPod)(.*OS\s([\d_]+))?/),s=!i&&t.match(/(iPhone\sOS|iOS)\s([\d_]+)/);return{ios:i||s||n,android:e}}(),support:{touch:window.Modernizr&&!0===Modernizr.touch||function(){return!!("ontouchstart"in window||window.DocumentTouch&&document instanceof DocumentTouch)}(),transforms3d:window.Modernizr&&!0===Modernizr.csstransforms3d||function(){var t=document.createElement("div").style;return"webkitPerspective"in t||"MozPerspective"in t||"OPerspective"in t||"MsPerspective"in t||"perspective"in t}(),flexbox:function(){for(var t=document.createElement("div").style,e="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<e.length;i++)if(e[i]in t)return!0}(),observer:function(){return"MutationObserver"in window||"WebkitMutationObserver"in window}(),passiveListener:function(){var t=!1;try{var e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("testPassiveListener",null,e)}catch(t){}return t}(),gestures:function(){return"ongesturestart"in window}()},plugins:{}};for(var i=["jQuery","Zepto","Dom7"],n=0;n<i.length;n++)window[i[n]]&&function(t){t.fn.swiper=function(i){var n;return t(this).each(function(){var t=new e(this,i);n||(n=t)}),n}}(window[i[n]]);var s;(s="undefined"==typeof Dom7?window.Dom7||window.Zepto||window.jQuery:Dom7)&&("transitionEnd"in s.fn||(s.fn.transitionEnd=function(t){function e(o){if(o.target===this)for(t.call(this,o),i=0;i<n.length;i++)s.off(n[i],e)}var i,n=["webkitTransitionEnd","transitionend","oTransitionEnd","MSTransitionEnd","msTransitionEnd"],s=this;if(t)for(i=0;i<n.length;i++)s.on(n[i],e);return this}),"transform"in s.fn||(s.fn.transform=function(t){for(var e=0;e<this.length;e++){var i=this[e].style;i.webkitTransform=i.MsTransform=i.msTransform=i.MozTransform=i.OTransform=i.transform=t}return this}),"transition"in s.fn||(s.fn.transition=function(t){"string"!=typeof t&&(t+="ms");for(var e=0;e<this.length;e++){var i=this[e].style;i.webkitTransitionDuration=i.MsTransitionDuration=i.msTransitionDuration=i.MozTransitionDuration=i.OTransitionDuration=i.transitionDuration=t}return this}),"outerWidth"in s.fn||(s.fn.outerWidth=function(t){return this.length>0?t?this[0].offsetWidth+parseFloat(this.css("margin-right"))+parseFloat(this.css("margin-left")):this[0].offsetWidth:null})),window.Swiper=e}(),"undefined"!=typeof module?module.exports=window.Swiper:"function"==typeof define&&define.amd&&define([],function(){return window.Swiper}),function(t){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
1]],t.strPos)},t.startDelay)},build:function(){var e=this;if(!0===this.showCursor&&(this.cursor=t('<span class="typed-cursor">'+this.cursorChar+"</span>"),this.el.after(this.cursor)),this.stringsElement){this.strings=[],this.stringsElement.hide(),console.log(this.stringsElement.children());var i=this.stringsElement.children();t.each(i,function(i,n){e.strings.push(t(n).html())})}this.init()},typewrite:function(t,e){if(!0!==this.stop){var i=Math.round(70*Math.random())+this.typeSpeed,n=this;n.timeout=setTimeout(function(){var i=0,s=t.substr(e);if("^"===s.charAt(0)){var o=1;/^\^\d+/.test(s)&&(s=/\d+/.exec(s)[0],o+=s.length,i=parseInt(s)),t=t.substring(0,e)+t.substring(e+o)}if("html"===n.contentType){var r=t.substr(e).charAt(0);if("<"===r||"&"===r){var a="",l="";for(l="<"===r?">":";";t.substr(e+1).charAt(0)!==l&&(a+=t.substr(e).charAt(0),!(++e+1>t.length)););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++,!1===n.loop||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(!0!==this.stop){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-1).charAt(0)&&(i-=t.substr(e).charAt(0),!(0>--e)););e--,i+="<"}var s=t.substr(0,e);n.attr?n.el.attr(n.attr,s):n.isInput?n.el.val(s):"html"===n.contentType?n.el.html(s):n.el.text(s),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),this.el.attr("id"),this.el.empty(),void 0!==this.cursor&&this.cursor.remove(),this.strPos=0,this.arrayPos=0,this.curLoop=0,this.options.resetCallback()}},t.fn.typed=function(i){return this.each(function(){var n=t(this),s=n.data("typed"),o="object"==typeof i&&i;s&&s.reset(),n.data("typed",s=new e(this,o)),"string"==typeof i&&s[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);
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.