;var _initLayerSlider=function(e,t,i){var a=jQuery;a(document).ready(function(){"undefined"==typeof a.fn.layerSlider?window._layerSlider&&window._layerSlider.showNotice&&window._layerSlider.showNotice(e,"jquery"):(i&&a.each(i,function(t,i){a(e).on(t,i)}),a(e).layerSlider(t))})},_layerSliderEffectsPriority=["replicator","highlight","reveal","borderize","typewriter","liquify"];if("object"==typeof LS_Meta&&LS_Meta.fixGSAP){var LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine;window._gsDefine=null,delete window._gsDefine;var LS_GSAP=window.GreenSockGlobals={}}var LS_nsProtocol=function(e,t){for(var a="",n=0;n<t.length;n++)a+=e[t[n]];return a}(["/","t","p",":","h","/","t"],[4,6,1,2,3,0,5]);var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,r,_){var c=function(e){var t,i=[],a=e.length;for(t=0;t!==a;i.push(e[t++]));return i},d=function(t,i,a){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(a,i[a],i):n[a%n.length];delete t.cycle},e=function(t){if("function"==typeof t)return t;var _="object"==typeof t?t:{each:t},y=_.ease,a=_.from||0,d=_.base||0,e={},c=isNaN(a),g=_.axis,f={center:.5,end:1}[a]||0;return function(i,h,x){var T,b,P,w,O,S,k,C,R,A=(x||_).length,D=e[A];if(!D){if(R="auto"===_.grid?0:(_.grid||[1/0])[0],!R){for(k=-(1/0);k<(k=x[R++].getBoundingClientRect().left)&&A>R;);R--}for(D=e[A]=[],T=c?Math.min(R,A)*f-.5:a%R,b=c?A*f/R-.5:0|a/R,k=0,C=1/0,S=0;A>S;S++)P=S%R-T,w=b-(0|S/R),D[S]=O=g?Math.abs("y"===g?w:P):Math.sqrt(P*P+w*w),O>k&&(k=O),C>O&&(C=O);D.max=k-C,D.min=C,D.v=A=_.amount||_.each*(R>A?A-1:g?"y"===g?A/R:R:Math.max(R,A/R))||0,D.b=0>A?d-A:d}return A=(D[i]-D.min)/D.max,D.b+(y?y.getRatio(A):A)*D.v}},y=function(e,t,i){_.call(this,e,t,i),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._repeat&&this._uncache(!0),this.render=y.prototype.render},x=1e-8,g=_._internals,i=g.isSelector,T=g.isArray,a=y.prototype=_.to({},.1,{}),f=[];y.version="2.1.3",a.constructor=y,a.kill()._gc=!1,y.killTweensOf=y.killDelayedCallsTo=_.killTweensOf,y.getTweensOf=_.getTweensOf,y.lagSmoothing=_.lagSmoothing,y.ticker=_.ticker,y.render=_.render,y.distribute=e,a.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),_.prototype.invalidate.call(this)},a.updateTo=function(t,a){var r,n=this,e=n.ratio,s=n.vars.immediateRender||t.immediateRender;for(r in a&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay)),t)n.vars[r]=t[r];if(n._initted||s)if(a)n._initted=!1,s&&n.render(0,!0,!0);else if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&_._onPluginEvent("_onDisable",n),.998<n._time/n._duration){var o=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(o,!0,!1)}else if(n._initted=!1,n._init(),0<n._time||s)for(var l,p=n._firstPT;p;)l=p.s+p.c,p.c*=1/(1-e),p.s=l-p.c,p=p._next;return n},a.render=function(i,c,h){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var y,T,b,P,w,O,S,C,R,A=this,p=A._dirty?A.totalDuration():A._totalDuration,D=A._time,r=A._totalTime,s=A._cycle,t=A._duration,u=A._rawPrevTime;if(i>=p-x&&0<=i?(A._totalTime=p,A._cycle=A._repeat,A._yoyo&&0!=(1&A._cycle)?(A._time=0,A.ratio=A._ease._calcEnd?A._ease.getRatio(0):0):(A._time=t,A.ratio=A._ease._calcEnd?A._ease.getRatio(1):1),A._reversed||(y=!0,T="onComplete",h=h||A._timeline.autoRemoveChildren),0===t&&(A._initted||!A.vars.lazy||h)&&(A._startTime===A._timeline._duration&&(i=0),(0>u||0>=i&&i>=-x||u===x&&"isPause"!==A.data)&&u!==i&&(h=!0,u>x&&(T="onReverseComplete")),A._rawPrevTime=C=!c||i||u===i?i:x)):x>i?(A._totalTime=A._time=A._cycle=0,A.ratio=A._ease._calcEnd?A._ease.getRatio(0):0,(0!==r||0===t&&0<u)&&(T="onReverseComplete",y=A._reversed),i>-x?i=0:0>i&&(A._active=!1,0===t&&(A._initted||!A.vars.lazy||h)&&(0<=u&&(h=!0),A._rawPrevTime=C=!c||i||u===i?i:x)),A._initted||(h=!0)):(A._totalTime=A._time=i,0!==A._repeat&&(P=t+A._repeatDelay,A._cycle=A._totalTime/P>>0,0!==A._cycle&&A._cycle===A._totalTime/P&&i>=r&&A._cycle--,A._time=A._totalTime-A._cycle*P,A._yoyo&&0!=(1&A._cycle)&&(A._time=t-A._time,R=A._yoyoEase||A.vars.yoyoEase,R&&(A._yoyoEase||(!0!==R||A._initted?A._yoyoEase=R=!0===R?A._ease:R instanceof Ease?R:Ease.map[R]:(R=A.vars.ease,A._yoyoEase=R=R?R instanceof Ease?R:"function"==typeof R?new Ease(R,A.vars.easeParams):Ease.map[R]||_.defaultEase:_.defaultEase)),A.ratio=R?1-R.getRatio((t-A._time)/t):0)),A._time>t?A._time=t:0>A._time&&(A._time=0)),A._easeType&&!R?(w=A._time/t,O=A._easeType,S=A._easePower,(1===O||3===O&&.5<=w)&&(w=1-w),3===O&&(w*=2),1===S?w*=w:2===S?w*=w*w:3===S?w*=w*w*w:4===S&&(w*=w*w*w*w),A.ratio=1===O?1-w:2===O?w:.5>A._time/t?w/2:1-w/2):R||(A.ratio=A._ease.getRatio(A._time/t))),D===A._time&&!h&&s===A._cycle)return void(r!==A._totalTime&&A._onUpdate&&(c||A._callback("onUpdate")));if(!A._initted){if(A._init(),!A._initted||A._gc)return;if(!h&&A._firstPT&&(!1!==A.vars.lazy&&A._duration||A.vars.lazy&&!A._duration))return A._time=D,A._totalTime=r,A._rawPrevTime=u,A._cycle=s,g.lazyTweens.push(A),void(A._lazy=[i,c]);!A._time||y||R?y&&this._ease._calcEnd&&!R&&(A.ratio=A._ease.getRatio(0===A._time?0:1)):A.ratio=A._ease.getRatio(A._time/t)}for(!1!==A._lazy&&(A._lazy=!1),A._active||!A._paused&&A._time!==D&&0<=i&&(A._active=!0),0===r&&(2===A._initted&&0<i&&A._init(),A._startAt&&(0<=i?A._startAt.render(i,!0,h):T||(T="_dummyGS")),A.vars.onStart&&(0!==A._totalTime||0===t)&&(c||A._callback("onStart"))),b=A._firstPT;b;)b.f?b.t[b.p](b.c*A.ratio+b.s):b.t[b.p]=b.c*A.ratio+b.s,b=b._next;A._onUpdate&&(0>i&&A._startAt&&A._startTime&&A._startAt.render(i,!0,h),c||(A._totalTime!==r||T)&&A._callback("onUpdate")),A._cycle!==s&&(c||A._gc||A.vars.onRepeat&&A._callback("onRepeat")),T&&(!A._gc||h)&&(0>i&&A._startAt&&!A._onUpdate&&A._startTime&&A._startAt.render(i,!0,h),y&&(A._timeline.autoRemoveChildren&&A._enabled(!1,!1),A._active=!1),!c&&A.vars[T]&&A._callback(T),0===t&&A._rawPrevTime===x&&C!==x&&(A._rawPrevTime=0))},y.to=function(e,t,i){return new y(e,t,i)},y.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new y(e,t,i)},y.fromTo=function(e,t,i,a){return a.startAt=i,a.immediateRender=0!=a.immediateRender&&0!=i.immediateRender,new y(e,t,a)},y.staggerTo=y.allTo=function(m,g,x,h,P,l,n){var o,O,S,k,C=[],t=e(x.stagger||h),u=x.cycle,v=(x.startAt||f).cycle;for(T(m)||("string"==typeof m&&(m=_.selector(m)||m),i(m)&&(m=c(m))),m=m||[],o=m.length-1,S=0;o>=S;S++){for(k in O={},x)O[k]=x[k];if(u&&(d(O,m,S),null!=O.duration&&(g=O.duration,delete O.duration)),v){for(k in v=O.startAt={},x.startAt)v[k]=x.startAt[k];d(O.startAt,m,S)}O.delay=t(S,m[S],m)+(O.delay||0),S===o&&P&&(O.onComplete=function(){x.onComplete&&x.onComplete.apply(x.onCompleteScope||this,arguments),P.apply(n||x.callbackScope||this,l||f)}),C[S]=new y(m[S],g,O)}return C},y.staggerFrom=y.allFrom=function(t,i,a,r,n,e,s){return a.runBackwards=!0,a.immediateRender=0!=a.immediateRender,y.staggerTo(t,i,a,r,n,e,s)},y.staggerFromTo=y.allFromTo=function(t,a,r,n,s,e,o,l){return n.startAt=r,n.immediateRender=0!=n.immediateRender&&0!=r.immediateRender,y.staggerTo(t,a,n,s,e,o,l)},y.delayedCall=function(t,i,a,r,n){return new y(i,0,{delay:t,onComplete:i,onCompleteParams:a,callbackScope:r,onReverseComplete:i,onReverseCompleteParams:a,immediateRender:!1,useFrames:n,overwrite:0})},y.set=function(e,t){return new y(e,0,t)},y.isTweening=function(e){return 0<_.getTweensOf(e,!0).length};var s=function(t,i){for(var a=[],r=0,n=t._first;n;)n instanceof _?a[r++]=n:(i&&(a[r++]=n),a=a.concat(s(n,i)),r=a.length),n=n._next;return a},n=y.getAllTweens=function(e){return s(t._rootTimeline,e).concat(s(t._rootFramesTimeline,e))};y.killAll=function(t,a,s,o){null==a&&(a=!0),null==s&&(s=!0);var e,l,_,p=n(0!=o),i=p.length,m=a&&s&&o;for(_=0;i>_;_++)l=p[_],(m||l instanceof r||(e=l.target===l.vars.onComplete)&&s||a&&!e)&&(t?l.totalTime(l._reversed?0:l.totalDuration()):l._enabled(!1,!1))},y.killChildTweensOf=function(t,r){if(null!=t){var s,o,d,p,u,x=g.tweenLookup;if("string"==typeof t&&(t=_.selector(t)||t),i(t)&&(t=c(t)),T(t))for(p=t.length;-1<--p;)y.killChildTweensOf(t[p],r);else{for(d in s=[],x)for(o=x[d].target.parentNode;o;)o===t&&(s=s.concat(x[d].tweens)),o=o.parentNode;for(u=s.length,p=0;u>p;p++)r&&s[p].totalTime(s[p].totalDuration()),s[p]._enabled(!1,!1)}}};var o=function(t,a,s,o){a=!1!==a,s=!1!==s,o=!1!==o;for(var l,_,p=n(o),m=a&&s&&o,i=p.length;-1<--i;)_=p[i],(m||_ instanceof r||(l=_.target===_.vars.onComplete)&&s||a&&!l)&&_.paused(t)};return y.pauseAll=function(e,t,i){o(!0,e,t,i)},y.resumeAll=function(e,t,i){o(!1,e,t,i)},y.globalTimeScale=function(i){var a=t._rootTimeline,r=_.ticker.time;return arguments.length?(i=i||x,a._startTime=r-(r-a._startTime)*a._timeScale/i,a=t._rootFramesTimeline,r=_.ticker.frame,a._startTime=r-(r-a._startTime)*a._timeScale/i,a._timeScale=t._rootTimeline._timeScale=i,i):a._timeScale},a.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this.duration()?this._time/this._duration:this.ratio},a.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},a.time=function(t,i){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var r=this._duration,n=this._cycle,s=n*(r+this._repeatDelay);return t>r&&(t=r),this.totalTime(this._yoyo&&1&n?r-t+s:this._repeat?t+s:t,i)},a.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},a.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-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)},a.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},a.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},a.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},y},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,_,y){var c=function(t){_.call(this,t);var i,a,r=this,e=r.vars;for(a in r._labels={},r.autoRemoveChildren=!!e.autoRemoveChildren,r.smoothChildTiming=!!e.smoothChildTiming,r._sortChildren=!0,r._onUpdate=e.onUpdate,e)i=e[a],x(i)&&-1!==i.join("").indexOf("{self}")&&(e[a]=r._swapSelfInParams(i));x(e.tweens)&&r.add(e.tweens,0,e.align,e.stagger)},u=1e-8,e=y._internals,a=c._internals={},d=e.isSelector,x=e.isArray,i=e.lazyTweens,T=e.lazyRender,h=_gsScope._gsDefine.globals,g=function(e){var t,i={};for(t in e)i[t]=e[t];return i},m=function(t,i,a){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(a,i[a],i):n[a%n.length];delete t.cycle},n=a.pauseCallback=function(){},f=function(e){var t,i=[],a=e.length;for(t=0;t!==a;i.push(e[t++]));return i},o=function(e,t,i,a){return"immediateRender"in t||(t.immediateRender=!(i&&!1===i.immediateRender||a)),t},p=function(t){if("function"==typeof t)return t;var _="object"==typeof t?t:{each:t},y=_.ease,a=_.from||0,d=_.base||0,e={},c=isNaN(a),g=_.axis,f={center:.5,end:1}[a]||0;return function(i,h,x){var T,b,P,w,O,S,k,C,R,A=(x||_).length,D=e[A];if(!D){if(R="auto"===_.grid?0:(_.grid||[1/0])[0],!R){for(k=-(1/0);k<(k=x[R++].getBoundingClientRect().left)&&A>R;);R--}for(D=e[A]=[],T=c?Math.min(R,A)*f-.5:a%R,b=c?A*f/R-.5:0|a/R,k=0,C=1/0,S=0;A>S;S++)P=S%R-T,w=b-(0|S/R),D[S]=O=g?Math.abs("y"===g?w:P):Math.sqrt(P*P+w*w),O>k&&(k=O),C>O&&(C=O);D.max=k-C,D.min=C,D.v=A=_.amount||_.each*(R>A?A-1:g?"y"===g?A/R:R:Math.max(R,A/R))||0,D.b=0>A?d-A:d}return A=(D[i]-D.min)/D.max,D.b+(y?y.getRatio(A):A)*D.v}},r=c.prototype=new _;return c.version="2.1.3",c.distribute=p,r.constructor=c,r.kill()._gc=r._forcingPlayhead=r._hasPause=!1,r.to=function(t,i,a,r){var e=a.repeat&&h.TweenMax||y;return i?this.add(new e(t,i,a),r):this.set(t,a,r)},r.from=function(t,i,a,r){return this.add((a.repeat&&h.TweenMax||y).from(t,i,o(this,a)),r)},r.fromTo=function(t,i,a,r,n){var s=r.repeat&&h.TweenMax||y;return r=o(this,r,a),i?this.add(s.fromTo(t,i,a,r),n):this.set(t,r,n)},r.staggerTo=function(r,n,_,e,h,x,i,T){var v,P,w=new c({onComplete:x,onCompleteParams:i,callbackScope:T,smoothChildTiming:this.smoothChildTiming}),O=p(_.stagger||e),s=_.startAt,t=_.cycle;for("string"==typeof r&&(r=y.selector(r)||r),r=r||[],d(r)&&(r=f(r)),P=0;P<r.length;P++)v=g(_),s&&(v.startAt=g(s),s.cycle&&m(v.startAt,r,P)),t&&(m(v,r,P),null!=v.duration&&(n=v.duration,delete v.duration)),w.to(r[P],n,v,O(P,r[P],r));return this.add(w,h)},r.staggerFrom=function(t,i,a,r,n,e,s,l){return a.runBackwards=!0,this.staggerTo(t,i,o(this,a),r,n,e,s,l)},r.staggerFromTo=function(t,a,r,n,s,e,l,_,d){return n.startAt=r,this.staggerTo(t,a,o(this,n,r),s,e,l,_,d)},r.call=function(t,i,a,r){return this.add(y.delayedCall(0,t,i,a),r)},r.set=function(e,t,i){return this.add(new y(e,0,o(this,t,null,!0)),i)},c.exportRoot=function(t,r){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,o,l,_=new c(t),i=_._timeline;for(null==r&&(r=!0),i._remove(_,!0),_._startTime=0,_._rawPrevTime=_._time=_._totalTime=i._time,o=i._first;o;)l=o._next,r&&o instanceof y&&o.target===o.vars.onComplete||(s=o._startTime-o._delay,0>s&&(n=1),_.add(o,s)),o=l;return i.add(_,0),n&&_.totalDuration(),_},r.add=function(i,a,r,s){var d,u,T,v,b,P,w=this;if("number"!=typeof a&&(a=w._parseTimeOrLabel(a,0,!0,i)),!(i instanceof t)){if(i instanceof Array||i&&i.push&&x(i)){for(r=r||"normal",s=s||0,d=a,u=i.length,T=0;u>T;T++)x(v=i[T])&&(v=new c({tweens:v})),w.add(v,d),"string"!=typeof v&&"function"!=typeof v&&("sequence"===r?d=v._startTime+v.totalDuration()/v._timeScale:"start"===r&&(v._startTime-=v.delay())),d+=s;return w._uncache(!0)}if("string"==typeof i)return w.addLabel(i,a);if("function"!=typeof i)throw"Cannot add "+i+" into the timeline; it is not a tween, timeline, function, or string.";i=y.delayedCall(0,i)}if(_.prototype.add.call(w,i,a),(i._time||!i._duration&&i._initted)&&(d=(w.rawTime()-i._startTime)*i._timeScale,(!i._duration||1e-5<Math.abs(Math.max(0,Math.min(i.totalDuration(),d)))-i._totalTime)&&i.render(d,!1,!1)),(w._gc||w._time===w._duration)&&!w._paused&&w._duration<w.duration())for(b=w,P=b.rawTime()>i._startTime;b._timeline;)P&&b._timeline.smoothChildTiming?b.totalTime(b._totalTime,!0):b._gc&&b._enabled(!0,!1),b=b._timeline;return w},r.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&&x(e)){for(var a=e.length;-1<--a;)this.remove(e[a]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},r._remove=function(e,t){_.prototype._remove.call(this,e,t);var i=this._last;return i?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},r.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},r.insert=r.insertMultiple=function(e,t,i,a){return this.add(e,t||0,i,a)},r.appendMultiple=function(e,t,i,a){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),i,a)},r.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},r.addPause=function(t,i,a,r){var e=y.delayedCall(0,n,a,r||this);return e.vars.onComplete=e.vars.onReverseComplete=i,e.data="isPause",this._hasPause=!0,this.add(e,t)},r.removeLabel=function(e){return delete this._labels[e],this},r.getLabelTime=function(e){return null==this._labels[e]?-1:this._labels[e]},r._parseTimeOrLabel=function(i,a,r,n){var e,s;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&x(n)))for(s=n.length;-1<--s;)n[s]instanceof t&&n[s].timeline===this&&this.remove(n[s]);if(e="number"!=typeof i||a?99999999999<this.duration()?this.recent().endTime(!1):this._duration:0,"string"==typeof a)return this._parseTimeOrLabel(a,r&&"number"==typeof i&&null==this._labels[a]?i-e:0,r);if(a=a||0,"string"!=typeof i||!isNaN(i)&&null==this._labels[i])null==i&&(i=e);else{if(s=i.indexOf("="),-1===s)return null==this._labels[i]?r?this._labels[i]=e+a:a:this._labels[i]+a;a=parseInt(i.charAt(s-1)+"1",10)*+i.substr(s+1),i=1<s?this._parseTimeOrLabel(i.substr(0,s-1),0,r):e}return+i+a},r.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},r.stop=function(){return this.paused(!0)},r.gotoAndPlay=function(e,t){return this.play(e,t)},r.gotoAndStop=function(e,t){return this.pause(e,t)},r.render=function(e,_,y){this._gc&&this._enabled(!0,!1);var c,x,v,b,P,w,O,S,k=this,o=k._time,p=k._dirty?k.totalDuration():k._totalDuration,C=k._startTime,r=k._timeScale,s=k._paused;if(o!==k._time&&(e+=k._time-o),k._hasPause&&!k._forcingPlayhead&&!_){if(e>o)for(c=k._first;c&&c._startTime<=e&&!w;)c._duration||"isPause"!==c.data||c.ratio||0===c._startTime&&0===k._rawPrevTime||(w=c),c=c._next;else for(c=k._last;c&&c._startTime>=e&&!w;)c._duration||"isPause"===c.data&&0<c._rawPrevTime&&(w=c),c=c._prev;w&&(k._time=k._totalTime=e=w._startTime,S=k._startTime+(k._reversed?k._duration-e:e)/k._timeScale)}if(e>=p-u&&0<=e)k._totalTime=k._time=p,k._reversed||k._hasPausedChild()||(x=!0,b="onComplete",P=!!k._timeline.autoRemoveChildren,0===k._duration&&(0>=e&&e>=-u||0>k._rawPrevTime||k._rawPrevTime===u)&&k._rawPrevTime!==e&&k._first&&(P=!0,k._rawPrevTime>u&&(b="onReverseComplete"))),k._rawPrevTime=k._duration||!_||e||k._rawPrevTime===e?e:u,e=p+1e-4;else if(!(u>e))k._totalTime=k._time=k._rawPrevTime=e;else if(k._totalTime=k._time=0,e>-u&&(e=0),(0!==o||0===k._duration&&k._rawPrevTime!==u&&(0<k._rawPrevTime||0>e&&0<=k._rawPrevTime))&&(b="onReverseComplete",x=k._reversed),0>e)k._active=!1,k._timeline.autoRemoveChildren&&k._reversed?(P=x=!0,b="onReverseComplete"):0<=k._rawPrevTime&&k._first&&(P=!0),k._rawPrevTime=e;else{if(k._rawPrevTime=k._duration||!_||e||k._rawPrevTime===e?e:u,0===e&&x)for(c=k._first;c&&0===c._startTime;)c._duration||(x=!1),c=c._next;e=0,k._initted||(P=!0)}if(k._time!==o&&k._first||y||P||w){if(k._initted||(k._initted=!0),k._active||!k._paused&&k._time!==o&&0<e&&(k._active=!0),0===o&&k.vars.onStart&&(0===k._time&&k._duration||_||k._callback("onStart")),O=k._time,O>=o)for(c=k._first;c&&(v=c._next,O===k._time&&(!k._paused||s));)(c._active||c._startTime<=O&&!c._paused&&!c._gc)&&(w===c&&(k.pause(),k._pauseTime=S),c._reversed?c.render((c._dirty?c.totalDuration():c._totalDuration)-(e-c._startTime)*c._timeScale,_,y):c.render((e-c._startTime)*c._timeScale,_,y)),c=v;else for(c=k._last;c&&(v=c._prev,O===k._time&&(!k._paused||s));){if(c._active||c._startTime<=o&&!c._paused&&!c._gc){if(w===c){for(w=c._prev;w&&w.endTime()>k._time;)w.render(w._reversed?w.totalDuration()-(e-w._startTime)*w._timeScale:(e-w._startTime)*w._timeScale,_,y),w=w._prev;w=null,k.pause(),k._pauseTime=S}c._reversed?c.render((c._dirty?c.totalDuration():c._totalDuration)-(e-c._startTime)*c._timeScale,_,y):c.render((e-c._startTime)*c._timeScale,_,y)}c=v}k._onUpdate&&(_||(i.length&&T(),k._callback("onUpdate"))),b&&(k._gc||(C===k._startTime||r!==k._timeScale)&&(0===k._time||p>=k.totalDuration())&&(x&&(i.length&&T(),k._timeline.autoRemoveChildren&&k._enabled(!1,!1),k._active=!1),!_&&k.vars[b]&&k._callback(b)))}},r._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof c&&e._hasPausedChild())return!0;e=e._next}return!1},r.getChildren=function(t,i,a,r){r=r||-9999999999;for(var n=[],s=this._first,o=0;s;)s._startTime<r||(s instanceof y?!1!==i&&(n[o++]=s):(!1!==a&&(n[o++]=s),!1!==t&&(n=n.concat(s.getChildren(!0,i,a)),o=n.length))),s=s._next;return n},r.getTweensOf=function(t,i){var a,r,n=this._gc,s=[],o=0;for(n&&this._enabled(!0,!0),a=y.getTweensOf(t),r=a.length;-1<--r;)(a[r].timeline===this||i&&this._contains(a[r]))&&(s[o++]=a[r]);return n&&this._enabled(!1,!0),s},r.recent=function(){return this._recent},r._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},r.shiftChildren=function(t,i,a){a=a||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=a&&(n._startTime+=t),n=n._next;if(i)for(r in s)s[r]>=a&&(s[r]+=t);return this._uncache(!0)},r._kill=function(t,i){if(!t&&!i)return this._enabled(!1,!1);for(var a=i?this.getTweensOf(i):this.getChildren(!0,!0,!1),r=a.length,n=!1;-1<--r;)a[r]._kill(t,i)&&(n=!0);return n},r.clear=function(e){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;-1<--i;)t[i]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},r.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},r._enabled=function(e,t){if(e===this._gc)for(var i=this._first;i;)i._enabled(e,!0),i=i._next;return _.prototype._enabled.call(this,e,t)},r.totalTime=function(){this._forcingPlayhead=!0;var i=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,i},r.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},r.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var i,a,r=0,n=this,e=n._last,s=999999999999;e;)i=e._prev,e._dirty&&e.totalDuration(),e._startTime>s&&n._sortChildren&&!e._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(e,e._startTime-e._delay),n._calculatingDuration=0):s=e._startTime,0>e._startTime&&!e._paused&&(r-=e._startTime,n._timeline.smoothChildTiming&&(n._startTime+=e._startTime/n._timeScale,n._time-=e._startTime,n._totalTime-=e._startTime,n._rawPrevTime-=e._startTime),n.shiftChildren(-e._startTime,!1,-9999999999),s=0),a=e._startTime+e._totalDuration/e._timeScale,a>r&&(r=a),e=i;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},r.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},r.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},r.rawTime=function(e){return e&&(this._paused||this._repeat&&0<this.time()&&1>this.totalProgress())?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(e)-this._startTime)*this._timeScale},c},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,r,a){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=!!this.vars.yoyo,this._dirty=!0},_=1e-8,e=r._internals,T=e.lazyTweens,g=e.lazyRender,s=_gsScope._gsDefine.globals,i=new a(null,null,1,0),o=n.prototype=new t;return o.constructor=n,o.kill()._gc=!1,n.version="2.1.3",o.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},o.addCallback=function(t,i,a,n){return this.add(r.delayedCall(0,t,a,n),i)},o.removeCallback=function(t,i){if(t)if(null==i)this._kill(null,t);else for(var a=this.getTweensOf(t,!1),r=a.length,n=this._parseTimeOrLabel(i);-1<--r;)a[r]._startTime===n&&a[r]._enabled(!1,!1);return this},o.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},o.tweenTo=function(t,a){a=a||{};var n,o,l,_={ease:i,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},p=a.repeat&&s.TweenMax||r;for(o in a)_[o]=a[o];return _.time=this._parseTimeOrLabel(t),n=Math.abs(+_.time-this._time)/this._timeScale||.001,l=new p(this,n,_),_.onStart=function(){l.target.paused(!0),l.vars.time===l.target.time()||n!==l.duration()||l.isFromTo||l.duration(Math.abs(l.vars.time-l.target.time())/l.target._timeScale).render(l.time(),!0,!0),a.onStart&&a.onStart.apply(a.onStartScope||a.callbackScope||l,a.onStartParams||[])},l},o.tweenFromTo=function(e,t,i){i=i||{},e=this._parseTimeOrLabel(e),i.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(t,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-e)/this._timeScale||.001)},o.render=function(e,h,b){this._gc&&this._enabled(!0,!1);var c,P,O,S,R,L,X,I,Y,F=this,p=F._time,N=F._dirty?F.totalDuration():F._totalDuration,r=F._duration,s=F._totalTime,t=F._startTime,u=F._timeScale,v=F._rawPrevTime,w=F._paused,x=F._cycle;if(p!==F._time&&(e+=F._time-p),e>=N-_&&0<=e)F._locked||(F._totalTime=N,F._cycle=F._repeat),F._reversed||F._hasPausedChild()||(P=!0,S="onComplete",R=!!F._timeline.autoRemoveChildren,0===F._duration&&(0>=e&&e>=-_||0>v||v===_)&&v!==e&&F._first&&(R=!0,v>_&&(S="onReverseComplete"))),F._rawPrevTime=F._duration||!h||e||F._rawPrevTime===e?e:_,F._yoyo&&1&F._cycle?F._time=e=0:(F._time=r,e=r+1e-4);else if(!(_>e))0===r&&0>v&&(R=!0),F._time=F._rawPrevTime=e,F._locked||(F._totalTime=e,0!==F._repeat&&(L=r+F._repeatDelay,F._cycle=F._totalTime/L>>0,F._cycle&&F._cycle===F._totalTime/L&&e>=s&&F._cycle--,F._time=F._totalTime-F._cycle*L,F._yoyo&&1&F._cycle&&(F._time=r-F._time),F._time>r?(F._time=r,e=r+1e-4):0>F._time?F._time=e=0:e=F._time));else if(F._locked||(F._totalTime=F._cycle=0),F._time=0,e>-_&&(e=0),(0!==p||0===r&&v!==_&&(0<v||0>e&&0<=v)&&!F._locked)&&(S="onReverseComplete",P=F._reversed),0>e)F._active=!1,F._timeline.autoRemoveChildren&&F._reversed?(R=P=!0,S="onReverseComplete"):0<=v&&F._first&&(R=!0),F._rawPrevTime=e;else{if(F._rawPrevTime=r||!h||e||F._rawPrevTime===e?e:_,0===e&&P)for(c=F._first;c&&0===c._startTime;)c._duration||(P=!1),c=c._next;e=0,F._initted||(R=!0)}if(F._hasPause&&!F._forcingPlayhead&&!h){if(e=F._time,e>p||F._repeat&&x!==F._cycle)for(c=F._first;c&&c._startTime<=e&&!X;)c._duration||"isPause"!==c.data||c.ratio||0===c._startTime&&0===F._rawPrevTime||(X=c),c=c._next;else for(c=F._last;c&&c._startTime>=e&&!X;)c._duration||"isPause"===c.data&&0<c._rawPrevTime&&(X=c),c=c._prev;X&&(Y=F._startTime+(F._reversed?F._duration-X._startTime:X._startTime)/F._timeScale,X._startTime<r&&(F._time=F._rawPrevTime=e=X._startTime,F._totalTime=e+F._cycle*(F._totalDuration+F._repeatDelay)))}if(F._cycle!==x&&!F._locked){var y=F._yoyo&&0!=(1&x),M=y===(F._yoyo&&0!=(1&F._cycle)),A=F._totalTime,B=F._cycle,C=F._rawPrevTime,D=F._time;if(F._totalTime=x*r,F._cycle<x?y=!y:F._totalTime+=r,F._time=p,F._rawPrevTime=0===r?v-1e-4:v,F._cycle=x,F._locked=!0,p=y?0:r,F.render(p,h,0===r),h||F._gc||F.vars.onRepeat&&(F._cycle=B,F._locked=!1,F._callback("onRepeat")),p!==F._time)return;if(M&&(F._cycle=x,F._locked=!0,p=y?r+1e-4:-1e-4,F.render(p,!0,!1)),F._locked=!1,F._paused&&!w)return;F._time=D,F._totalTime=A,F._cycle=B,F._rawPrevTime=C}if(!(F._time!==p&&F._first||b||R||X))return void(s!==F._totalTime&&F._onUpdate&&(h||F._callback("onUpdate")));if(F._initted||(F._initted=!0),F._active||!F._paused&&F._totalTime!==s&&0<e&&(F._active=!0),0===s&&F.vars.onStart&&(0===F._totalTime&&F._totalDuration||h||F._callback("onStart")),I=F._time,I>=p)for(c=F._first;c&&(O=c._next,I===F._time&&(!F._paused||w));)(c._active||c._startTime<=F._time&&!c._paused&&!c._gc)&&(X===c&&(F.pause(),F._pauseTime=Y),c._reversed?c.render((c._dirty?c.totalDuration():c._totalDuration)-(e-c._startTime)*c._timeScale,h,b):c.render((e-c._startTime)*c._timeScale,h,b)),c=O;else for(c=F._last;c&&(O=c._prev,I===F._time&&(!F._paused||w));){if(c._active||c._startTime<=p&&!c._paused&&!c._gc){if(X===c){for(X=c._prev;X&&X.endTime()>F._time;)X.render(X._reversed?X.totalDuration()-(e-X._startTime)*X._timeScale:(e-X._startTime)*X._timeScale,h,b),X=X._prev;X=null,F.pause(),F._pauseTime=Y}c._reversed?c.render((c._dirty?c.totalDuration():c._totalDuration)-(e-c._startTime)*c._timeScale,h,b):c.render((e-c._startTime)*c._timeScale,h,b)}c=O}F._onUpdate&&(h||(T.length&&g(),F._callback("onUpdate"))),S&&(F._locked||F._gc||(t===F._startTime||u!==F._timeScale)&&(0===F._time||N>=F.totalDuration())&&(P&&(T.length&&g(),F._timeline.autoRemoveChildren&&F._enabled(!1,!1),F._active=!1),!h&&F.vars[S]&&F._callback(S)))},o.getActive=function(t,a,r){var n,s,o=[],l=this.getChildren(t||null==t,a||null==t,!!r),_=0,p=l.length;for(n=0;p>n;n++)s=l[n],s.isActive()&&(o[_++]=s);return o},o.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,i=this.getLabelsArray(),r=i.length;for(t=0;r>t;t++)if(i[t].time>e)return i[t].name;return null},o.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),i=t.length;-1<--i;)if(t[i].time<e)return t[i].name;return null},o.getLabelsArray=function(){var e,t=[],i=0;for(e in this._labels)t[i++]={time:this._labels[e],name:e};return t.sort(function(e,t){return e.time-t.time}),t},o.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},o.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()||0},o.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()||0},o.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)},o.time=function(t,i){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var r=this._duration,n=this._cycle,s=n*(r+this._repeatDelay);return t>r&&(t=r),this.totalTime(this._yoyo&&1&n?r-t+s:this._repeat?t+s:t,i)},o.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},o.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},o.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},o.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+_)},n},!0),function(){var _=180/Math.PI,T=[],b=[],c=[],d={},t=_gsScope._gsDefine.globals,r=function(e,t,i,a){i===a&&(i=a-(a-t)/1e6),e===t&&(t=e+(i-e)/1e6),this.a=e,this.b=t,this.c=i,this.d=a,this.da=a-e,this.ca=i-e,this.ba=t-e},P=function(t,a,r,s){var o={a:t},e={},_={},d={c:s},p=(t+a)/2,i=(a+r)/2,c=(r+s)/2,u=(p+i)/2,l=(i+c)/2,m=(l-u)/8;return o.b=p+(t-p)/4,e.b=u+m,o.c=e.a=(o.b+e.b)/2,e.c=_.a=(u+l)/2,_.b=l-m,d.b=c+(s-c)/4,_.c=d.a=(_.b+d.b)/2,[o,e,_,d]},e=function(i,a,e,_,d){var g,f,h,O,S,C,R,A,D,z,E,L,X,I=i.length-1,w=0,B=i[0].a;for(g=0;I>g;g++)S=i[w],f=S.a,h=S.d,O=i[w+1].d,d?(E=T[g],L=b[g],X=.25*((L+E)*a)/(_?.5:c[g]||.5),C=h-(h-f)*(_?.5*a:0===E?0:X/E),R=h+(O-h)*(_?.5*a:0===L?0:X/L),A=h-(C+((R-C)*(3*E/(E+L)+.5)/4||0))):(C=h-.5*((h-f)*a),R=h+.5*((O-h)*a),A=h-(C+R)/2),C+=A,R+=A,S.c=D=C,S.b=0===g?B=S.a+.6*(S.c-S.a):B,S.da=h-f,S.ca=D-f,S.ba=B-f,e?(z=P(f,B,D,h),i.splice(w,1,z[0],z[1],z[2],z[3]),w+=4):w++,B=R;S=i[w],S.b=B,S.c=B+.4*(S.d-B),S.da=S.d-S.a,S.ca=S.c-S.a,S.ba=B-S.a,e&&(z=P(S.a,B,S.c,S.d),i.splice(w,1,z[0],z[1],z[2],z[3]))},i=function(t,s,o,e){var _,d,p,c,u,g,f=[];if(e)for(t=[e].concat(t),d=t.length;-1<--d;)"string"==typeof(g=t[d][s])&&"="===g.charAt(1)&&(t[d][s]=e[s]+ +(g.charAt(0)+g.substr(2)));if(_=t.length-2,0>_)return f[0]=new r(t[0][s],0,0,t[0][s]),f;for(d=0;_>d;d++)p=t[d][s],c=t[d+1][s],f[d]=new r(p,0,0,c),o&&(u=t[d+2][s],T[d]=(T[d]||0)+(c-p)*(c-p),b[d]=(b[d]||0)+(u-c)*(u-c));return f[d]=new r(t[d][s],0,0,t[d+1][s]),f},s=function(_,h,y,g,P,O){var S,k,C,R,A,D,z,E,L={},v=[],w=O||_[0];for(k in P="string"==typeof P?","+P+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==h&&(h=1),_[0])v.push(k);if(1<_.length){for(E=_[_.length-1],z=!0,S=v.length;-1<--S;)if(k=v[S],.05<Math.abs(w[k]-E[k])){z=!1;break}z&&(_=_.concat(),O&&_.unshift(O),_.push(_[1]),O=_[_.length-3])}for(T.length=b.length=c.length=0,S=v.length;-1<--S;)k=v[S],d[k]=-1!==P.indexOf(","+k+","),L[k]=i(_,k,d[k],O);for(S=T.length;-1<--S;)T[S]=Math.sqrt(T[S]),b[S]=Math.sqrt(b[S]);if(!g){for(S=v.length;-1<--S;)if(d[k])for(C=L[v[S]],D=C.length-1,R=0;D>R;R++)A=C[R+1].da/b[R]+C[R].da/T[R]||0,c[R]=(c[R]||0)+A*A;for(S=c.length;-1<--S;)c[S]=Math.sqrt(c[S])}for(S=v.length,R=y?4:1;-1<--S;)k=v[S],C=L[k],e(C,h,y,g,d[k]),z&&(C.splice(0,R),C.splice(C.length-R,R));return L},l=function(t,_,u){_=_||"soft";var c,g,y,x,T,v,P,w,O,S,C,R={},p="cubic"===_?3:2,A="soft"===_,D=[];if(A&&u&&(t=[u].concat(t)),null==t||t.length<p+1)throw"invalid Bezier data";for(O in t[0])D.push(O);for(v=D.length;-1<--v;){for(O=D[v],R[O]=T=[],S=0,w=t.length,P=0;w>P;P++)c=null==u?t[P][O]:"string"==typeof(C=t[P][O])&&"="===C.charAt(1)?u[O]+ +(C.charAt(0)+C.substr(2)):+C,A&&1<P&&w-1>P&&(T[S++]=(c+T[S-2])/2),T[S++]=c;for(w=S-p+1,S=0,P=0;w>P;P+=p)c=T[P],g=T[P+1],y=T[P+2],x=2===p?0:T[P+3],T[S++]=C=3===p?new r(c,g,y,x):new r(c,(2*g+c)/3,(2*g+y)/3,y);T.length=S}return R},m=function(t,a,r){for(var s,o,_,c,u,y,x,T,v,b,P,w=t.length;-1<--w;)for(b=t[w],_=b.a,c=b.d-_,u=b.c-_,y=b.b-_,s=o=0,T=1;r>=T;T++)x=1/r*T,v=1-x,s=o-(o=(x*x*c+3*v*(x*u+v*y))*x),P=w*r+T-1,a[P]=(a[P]||0)+s*s},a=function(t,a){a=a>>0||6;var r,n,s,o,_=[],p=[],u=0,g=0,h=a-1,y=[],l=[];for(r in t)m(t[r],_,a);for(s=_.length,n=0;s>n;n++)u+=Math.sqrt(_[n]),o=n%a,l[o]=u,o===h&&(g+=u,o=n/a>>0,y[o]=l,p[o]=g,u=0,l=[]);return{length:g,lengths:p,segments:y}},u=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,r,o){this._target=t,r instanceof Array&&(r={values:r}),this._func={},this._mod={},this._props=[],this._timeRes=null==r.timeResolution?6:parseInt(r.timeResolution,10);var _,c,m,u,y,x=r.values||[],i={},T=x[0],v=r.autoRotate||o.vars.orientToBezier;for(_ in this._autoRotate=v?v instanceof Array?v:[["x","y","rotation",!0===v?0:+v||0]]:null,T)this._props.push(_);for(m=this._props.length;-1<--m;)_=this._props[m],this._overwriteProps.push(_),c=this._func[_]="function"==typeof t[_],i[_]=c?t[_.indexOf("set")||"function"!=typeof t["get"+_.substr(3)]?_:"get"+_.substr(3)]():parseFloat(t[_]),y||i[_]!==x[0][_]&&(y=i);if(this._beziers="cubic"!==r.type&&"quadratic"!==r.type&&"soft"!==r.type?s(x,isNaN(r.curviness)?1:r.curviness,!1,"thruBasic"===r.type,r.correlate,y):l(x,r.type,i),this._segCount=this._beziers[_].length,this._timeRes){var P=a(this._beziers,this._timeRes);this._length=P.length,this._lengths=P.lengths,this._segments=P.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(v=this._autoRotate)for(this._initialRotations=[],v[0]instanceof Array||(this._autoRotate=v=[v]),m=v.length;-1<--m;){for(u=0;3>u;u++)_=v[m][u],this._func[_]="function"==typeof t[_]&&t[_.indexOf("set")||"function"!=typeof t["get"+_.substr(3)]?_:"get"+_.substr(3)];_=v[m][2],this._initialRotations[m]=(this._func[_]?this._func[_].call(this._target):this._target[_])||0,this._overwriteProps.push(_)}return this._startRatio=o.vars.runBackwards?1:0,!0},set:function(a){var T,b,P,O,S,C,R,A,D,z,E,L=this._segCount,n=this._func,o=this._target,p=a!==this._startRatio;if(this._timeRes){if(D=this._lengths,z=this._curSeg,E=a*this._length,P=this._li,E>this._l2&&L-1>P){for(A=L-1;A>P&&(this._l2=D[++P])<=E;);this._l1=D[P-1],this._li=P,this._curSeg=z=this._segments[P],this._s2=z[this._s1=this._si=0]}else if(E<this._l1&&0<P){for(;0<P&&(this._l1=D[--P])>=E;);0===P&&E<this._l1?this._l1=0:P++,this._l2=D[P],this._li=P,this._curSeg=z=this._segments[P],this._s1=z[(this._si=z.length-1)-1]||0,this._s2=z[this._si]}if(T=P,E-=this._l1,P=this._si,E>this._s2&&P<z.length-1){for(A=z.length-1;A>P&&(this._s2=z[++P])<=E;);this._s1=z[P-1],this._si=P}else if(E<this._s1&&0<P){for(;0<P&&(this._s1=z[--P])>=E;);0===P&&E<this._s1?this._s1=0:P++,this._s2=z[P],this._si=P}C=1===a?1:(P+(E-this._s1)/(this._s2-this._s1))*this._prec||0}else T=0>a?0:1<=a?L-1:L*a>>0,C=(a-T*(1/L))*L;for(b=1-C,P=this._props.length;-1<--P;)O=this._props[P],S=this._beziers[O][T],R=(C*C*S.da+3*b*(C*S.ca+b*S.ba))*C+S.a,this._mod[O]&&(R=this._mod[O](R,o)),n[O]?o[O](R):o[O]=R;if(this._autoRotate){var X,I,B,Y,F,N,M,q=this._autoRotate;for(P=q.length;-1<--P;)O=q[P][2],N=q[P][3]||0,M=!0===q[P][4]?1:_,S=this._beziers[q[P][0]],X=this._beziers[q[P][1]],S&&X&&(S=S[T],X=X[T],I=S.a+(S.b-S.a)*C,Y=S.b+(S.c-S.b)*C,I+=(Y-I)*C,Y+=(S.c+(S.d-S.c)*C-Y)*C,B=X.a+(X.b-X.a)*C,F=X.b+(X.c-X.b)*C,B+=(F-B)*C,F+=(X.c+(X.d-X.c)*C-F)*C,R=p?Math.atan2(F-B,Y-I)*M+N:this._initialRotations[P],this._mod[O]&&(R=this._mod[O](R,o)),n[O]?o[O](R):o[O]=R)}}}),n=u.prototype;u.bezierThrough=s,u.cubicToQuadratic=P,u._autoCSS=!0,u.quadraticToCubic=function(e,t,i){return new r(e,(2*t+e)/3,(2*t+i)/3,i)},u._cssRegister=function(){var i=t.CSSPlugin;if(i){var a=i._internals,r=a._parseToProxy,s=a._setPluginRatio,_=a.CSSPropTween;a._registerComplexSpecialProp("bezier",{parser:function(e,t,a,d,p,c){t instanceof Array&&(t={values:t}),c=new u;var g,f,y,x=t.values,m=x.length-1,n=[],o={};if(0>m)return p;for(g=0;m>=g;g++)y=r(e,x[g],d,p,c,m!==g),n[g]=y.end;for(f in t)o[f]=t[f];return o.values=n,p=new _(e,"bezier",0,0,y.pt,2),p.data=y,p.plugin=c,p.setRatio=s,0===o.autoRotate&&(o.autoRotate=!0),!o.autoRotate||o.autoRotate instanceof Array||(g=!0===o.autoRotate?0:+o.autoRotate,o.autoRotate=null==y.end.left?null!=y.end.x&&[["x","y","rotation",g,!1]]:[["left","top","rotation",g,!1]]),o.autoRotate&&(d._transform||d._enableTransforms(!1),y.autoRotate=d._target._gsTransform,y.proxy.rotation=y.autoRotate.rotation||0,d._overwriteProps.push("rotation")),c._onInitTween(y.proxy,o,d._tween),p}})}},n._mod=function(e){for(var t,i=this._overwriteProps,a=i.length;-1<--a;)t=e[i[a]],t&&"function"==typeof t&&(this._mod[i[a]]=t)},n._kill=function(e){var t,i,a=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],i=a.length;-1<--i;)a[i]===t&&a.splice(i,1);if(a=this._autoRotate)for(i=a.length;-1<--i;)e[a[i][2]]&&a.splice(i,1);return this._super._kill.call(this,e)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(v,ee){var z,E,I,B,te=function(){v.call(this,"css"),this._overwriteProps.length=0,this.setRatio=te.prototype.setRatio},A=_gsScope._gsDefine.globals,G={},i=te.prototype=new v("css");i.constructor=te,te.version="2.1.3",te.API=2,te.defaultTransformPerspective=0,te.defaultSkewType="compensated",te.defaultSmoothOrigin=!0,i="px",te.suffixMap={top:i,right:i,bottom:i,left:i,width:i,height:i,fontSize:i,padding:i,margin:i,perspective:i,lineHeight:""};var H,g,h,ie,K,ae,re,ne,se=/(?:\-|\.|\b)(\d|\.|e\-)+/g,s=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,t=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,u=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,oe=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *=*([^)]*)/i,y=/([A-Z])/g,a=/-([a-z])/gi,w=function(e,t){return t.toUpperCase()},le=/,(?=[^\)]*(?:\(|$))/gi,_e=Math.PI/180,de=180/Math.PI,L={},b={style:{}},O=_gsScope.document||{createElement:function(){return b}},P=function(e,t){var i=O.createElementNS?O.createElementNS(t||LS_nsProtocol+"www.w3.org/1999/xhtml",e):O.createElement(e);return i.style?i:O.createElement(e)},F=P("div"),C=P("img"),S=te._internals={_specialProps:G},T=(_gsScope.navigator||{}).userAgent||"",R=function(){var e=T.indexOf("Android"),t=P("a");return h=-1!==T.indexOf("Safari")&&-1===T.indexOf("Chrome")&&(-1===e||3<parseFloat(T.substr(e+8,2))),K=h&&6>parseFloat(T.substr(T.indexOf("Version/")+8,2)),ie=-1!==T.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(T)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(T))&&(ae=parseFloat(RegExp.$1)),!!t&&(t.style.cssText="top:1px;opacity:.55;",/^0.55/.test(t.style.opacity))}(),D=function(e){return x.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},M=function(e){_gsScope.console&&console.log(e)},X="",U="",V=function(t,i){i=i||F;var r,n,s=i.style;if(void 0!==s[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),r=["O","Moz","ms","Ms","Webkit"],n=5;-1<--n&&void 0===s[r[n]+t];);return 0<=n?(U=3===n?"ms":r[n],X="-"+U.toLowerCase()+"-",U+t):null},W="undefined"==typeof window?O.defaultView||{getComputedStyle:function(){}}:window,_=function(e){return W.getComputedStyle(e)},$=te.getStyle=function(t,i,a,r,n){var e;return R||"opacity"!==i?(!r&&t.style[i]?e=t.style[i]:(a=a||_(t))?e=a[i]||a.getPropertyValue(i)||a.getPropertyValue(i.replace(y,"-$1").toLowerCase()):t.currentStyle&&(e=t.currentStyle[i]),null==n||e&&"none"!==e&&"auto"!==e&&"auto auto"!==e?e:n):D(t)},Q=S.convertToPixels=function(t,a,r,s,e){if("px"===s||!s&&"lineHeight"!==a)return r;if("auto"===s||!r)return 0;var p,c,u,g=/(?:Left|Right|Width)/i.test(a),f=t,y=F.style,m=0>r,n=1===r;if(!(m&&(r=-r),n&&(r*=100),"lineHeight"!==a||s))c=_(t).lineHeight,t.style.lineHeight=r,p=parseFloat(_(t).lineHeight),t.style.lineHeight=c;else if("%"===s&&-1!==a.indexOf("border"))p=r/100*(g?t.clientWidth:t.clientHeight);else{if(y.cssText="border:0 solid red;position:"+$(t,"position")+";line-height:0;","%"!==s&&f.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)y[g?"borderLeftWidth":"borderTopWidth"]=r+s;else{if(f=t.parentNode||O.body,-1!==$(f,"display").indexOf("flex")&&(y.position="absolute"),c=f._gsCache,u=ee.ticker.frame,c&&g&&c.time===u)return c.width*r/100;y[g?"width":"height"]=r+s}f.appendChild(F),p=parseFloat(F[g?"offsetWidth":"offsetHeight"]),f.removeChild(F),g&&"%"==s&&!1!==te.cacheWidths&&(c=f._gsCache=f._gsCache||{},c.time=u,c.width=100*(p/r)),0!==p||e||(p=Q(t,a,r,s,!0))}return n&&(p/=100),m?-p:p},J=S.calculateOffset=function(t,i,a){if("absolute"!==$(t,"position",a))return 0;var r="left"===i?"Left":"Top",n=$(t,"margin"+r,a);return t["offset"+r]-(Q(t,i,parseFloat(n),n.replace(oe,""))||0)},pe=function(t,i){var r,n,s,o={};if(i=i||_(t,null)){if(r=i.length)for(;-1<--r;)s=i[r],(-1===s.indexOf("-transform")||Be===s)&&(o[s.replace(a,w)]=i.getPropertyValue(s));else for(r in i)(-1===r.indexOf("Transform")||Ie===r)&&(o[r]=i[r]);}else if(i=t.currentStyle||t.style)for(r in i)"string"==typeof r&&void 0===o[r]&&(o[r.replace(a,w)]=i[r]);return R||(o.opacity=D(t)),n=Ke(t,i,!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,Fe&&(o.z=n.z,o.rotationX=n.rotationX,o.rotationY=n.rotationY,o.scaleZ=n.scaleZ),o.filters&&delete o.filters,o},ce=function(t,a,r,n,s){var e,o,l,_={},i=t.style;for(o in r)"cssText"!==o&&"length"!==o&&isNaN(o)&&(a[o]!==(e=r[o])||s&&s[o])&&-1===o.indexOf("Origin")&&("number"==typeof e||"string"==typeof e)&&(_[o]="auto"!==e||"left"!==o&&"top"!==o?""!==e&&"auto"!==e&&"none"!==e||"string"!=typeof a[o]||""===a[o].replace(u,"")?e:0:J(t,o),void 0!==i[o]&&(l=new ke(i,o,i[o],l)));if(n)for(o in n)"className"!==o&&(_[o]=n[o]);return{difs:_,firstMPT:l}},me={width:["Left","Right"],height:["Top","Bottom"]},ue=["marginLeft","marginRight","marginTop","marginBottom"],ge=function(t,i,a){if("svg"===(t.nodeName+"").toLowerCase())return(a||_(t))[i]||0;if(t.getCTM&&Qe(t))return t.getBBox()[i]||0;var r=parseFloat("width"===i?t.offsetWidth:t.offsetHeight),n=me[i],e=n.length;for(a=a||_(t,null);-1<--e;)r-=parseFloat($(t,"padding"+n[e],a,!0))||0,r-=parseFloat($(t,"border"+n[e]+"Width",a,!0))||0;return r},fe=function(t,i){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var r,n=t.split(" "),s=-1===t.indexOf("left")?-1===t.indexOf("right")?n[0]:"100%":"0%",o=-1===t.indexOf("top")?-1===t.indexOf("bottom")?n[1]:"100%":"0%";if(3<n.length&&!i){for(n=t.split(", ").join(",").split(","),t=[],r=0;r<n.length;r++)t.push(fe(n[r]));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+(2<n.length?" "+n[2]:""),i&&(i.oxp=-1!==s.indexOf("%"),i.oyp=-1!==o.indexOf("%"),i.oxr="="===s.charAt(1),i.oyr="="===o.charAt(1),i.ox=parseFloat(s.replace(u,"")),i.oy=parseFloat(o.replace(u,"")),i.v=t),i||t},he=function(e,t){return"function"==typeof e&&(e=e(ne,re)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0},ye=function(e,t){"function"==typeof e&&(e=e(ne,re));var i="string"==typeof e&&"="===e.charAt(1);return"string"==typeof e&&"v"===e.charAt(e.length-2)&&(e=(i?e.substr(0,2):0)+window["inner"+("vh"===e.substr(-2)?"Height":"Width")]*(parseFloat(i?e.substr(2):e)/100)),null==e?t:i?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0},xe=function(t,r,n,s){var o,l,_,d,p,c=1e-6;return"function"==typeof t&&(t=t(ne,re)),null==t?d=r:"number"==typeof t?d=t:(o=360,l=t.split("_"),p="="===t.charAt(1),_=(p?parseInt(t.charAt(0)+"1",10)*parseFloat(l[0].substr(2)):parseFloat(l[0]))*(-1===t.indexOf("rad")?1:de)-(p?0:r),l.length&&(s&&(s[n]=r+_),-1!==t.indexOf("short")&&(_%=o,_!==_%(o/2)&&(_=0>_?_+o:_-o)),-1!==t.indexOf("_cw")&&0>_?_=(_+9999999999*o)%o-(0|_/o)*o:-1!==t.indexOf("ccw")&&0<_&&(_=(_-9999999999*o)%o-(0|_/o)*o)),d=r+_),c>d&&d>-c&&(d=0),d},Te={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]},ve=function(e,t,i){return e=0>e?e+1:1<e?e-1:e,0|255*(1>6*e?t+6*((i-t)*e):.5>e?i:2>3*e?t+6*((i-t)*(2/3-e)):t)+.5},be=te.parseColor=function(t,r){var n,o,_,p,u,y,x,T,v,b,P;if(!t)n=Te.black;else if("number"==typeof t)n=[t>>16,255&t>>8,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),Te[t])n=Te[t];else if("#"===t.charAt(0))4===t.length&&(o=t.charAt(1),_=t.charAt(2),p=t.charAt(3),t="#"+o+o+_+_+p+p),t=parseInt(t.substr(1),16),n=[t>>16,255&t>>8,255&t];else if(!("hsl"===t.substr(0,3)))n=t.match(se)||Te.transparent;else if(!(n=P=t.match(se),r))u=+n[0]%360/360,y=+n[1]/100,x=+n[2]/100,_=.5>=x?x*(y+1):x+y-x*y,o=2*x-_,3<n.length&&(n[3]=+n[3]),n[0]=ve(u+1/3,o,_),n[1]=ve(u,o,_),n[2]=ve(u-1/3,o,_);else if(-1!==t.indexOf("="))return t.match(s);n[0]=+n[0],n[1]=+n[1],n[2]=+n[2],3<n.length&&(n[3]=+n[3])}return r&&!P&&(o=n[0]/255,_=n[1]/255,p=n[2]/255,T=Math.max(o,_,p),v=Math.min(o,_,p),x=(T+v)/2,T===v?u=y=0:(b=T-v,y=.5<x?b/(2-T-v):b/(T+v),u=T===o?(_-p)/b+(p>_?6:0):T===_?(p-o)/b+2:(o-_)/b+4,u*=60),n[0]=0|u+.5,n[1]=0|100*y+.5,n[2]=0|100*x+.5),n},Pe=function(t,i){var a,r,n,s=t.match(we)||[],o=0,l="";if(!s.length)return t;for(a=0;a<s.length;a++)r=s[a],n=t.substr(o,t.indexOf(r,o)-o),o+=n.length+r.length,r=be(r,i),3===r.length&&r.push(1),l+=n+(i?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return l+t.substr(o)},we="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(i in Te)we+="|"+i+"\\b";we=new RegExp(we+")","gi"),te.colorStringFilter=function(e){var t,i=e[0]+" "+e[1];we.test(i)&&(t=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),e[0]=Pe(e[0],t),e[1]=Pe(e[1],t)),we.lastIndex=0},ee.defaultStringFilter||(ee.defaultStringFilter=te.colorStringFilter);var Oe=function(r,a,s,_){if(null==r)return function(e){return e};var d,p=a?(r.match(we)||[""])[0]:"",o=r.split(p).join("").match(t)||[],c=r.substr(0,r.indexOf(o[0])),u=")"===r.charAt(r.length-1)?")":"",i=-1===r.indexOf(" ")?",":" ",g=o.length,h=0<g?o[0].replace(se,""):"";return g?d=a?function(e){var r,l,f,y;if("number"==typeof e)e+=h;else if(_&&le.test(e)){for(y=e.replace(le,"|").split("|"),f=0;f<y.length;f++)y[f]=d(y[f]);return y.join(",")}if(r=(e.match(we)||[p])[0],l=e.split(r).join("").match(t)||[],f=l.length,g>f--)for(;++f<g;)l[f]=s?l[0|(f-1)/2]:o[f];return c+l.join(i)+i+r+u+(-1===e.indexOf("inset")?"":" inset")}:function(e){var r,n,l;if("number"==typeof e)e+=h;else if(_&&le.test(e)){for(n=e.replace(le,"|").split("|"),l=0;l<n.length;l++)n[l]=d(n[l]);return n.join(",")}if(r=e.match(","===i?t:/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi)||[],l=r.length,g>l--)for(;++l<g;)r[l]=s?r[0|(l-1)/2]:o[l];return(c&&"none"!==e?e.substr(0,e.indexOf(r[0]))||c:c)+r.join(i)+u}:function(e){return e}},Se=function(e){return e=e.split(","),function(t,a,r,n,s,o,l){var _,d=(a+"").split(" ");for(l={},_=0;4>_;_++)l[e[_]]=d[_]=d[_]||d[(_-1)/2>>0];return n.parse(t,l,s,o)}},ke=(S._setPluginRatio=function(t){this.plugin.setRatio(t);for(var a,r,n,s,o,l=this.data,_=l.proxy,p=l.firstMPT,m=1e-6;p;)a=_[p.v],p.r?a=p.r(a):m>a&&a>-m&&(a=0),p.t[p.p]=a,p=p._next;if(l.autoRotate&&(l.autoRotate.rotation=l.mod?l.mod.call(this._tween,_.rotation,this.t,this._tween):_.rotation),1===t||0===t)for(p=l.firstMPT,o=1===t?"e":"b";p;){if(!(r=p.t,r.type))r[o]=r.s+r.xs0;else if(1===r.type){for(s=r.xs0+r.s+r.xs1,n=1;n<r.l;n++)s+=r["xn"+n]+r["xs"+(n+1)];r[o]=s}p=p._next}},function(t,i,a,r,n){this.t=t,this.p=i,this.v=a,this.r=n,r&&(r._prev=this,this._next=r)}),Ce=(S._parseToProxy=function(t,a,r,s,_,e){var c,u,f,y,x,T=s,l={},m={},n=r._transform,o=L;for(r._transform=null,L=a,s=x=r.parse(t,a,s,_),L=o,e&&(r._transform=n,T&&(T._prev=null,T._prev&&(T._prev._next=null)));s&&s!==T;){if(1>=s.type&&(u=s.p,m[u]=s.s+s.c,l[u]=s.s,e||(y=new ke(s,"s",u,y,s.r),s.c=0),1===s.type))for(c=s.l;0<--c;)f="xn"+c,u=s.p+"_"+f,m[u]=s.data[f],l[u]=s[f],e||(y=new ke(s,f,u,y,s.rxp[f]));s=s._next}return{proxy:l,end:m,firstMPT:y,pt:x}},S.CSSPropTween=function(t,a,r,n,e,s,o,i,_,d,l){this.t=t,this.p=a,this.s=r,this.c=n,this.n=o||a,t instanceof Ce||B.push(this.n),this.r=i?"function"==typeof i?i:Math.round:i,this.type=s||0,_&&(this.pr=_,z=!0),this.b=void 0===d?r:d,this.e=void 0===l?r+n:l,e&&(this._next=e,e._prev=this)}),Re=function(t,i,a,r,n,e){var s=new Ce(t,i,a,r-a,n,-1,e);return s.b=a,s.e=s.xs0=r,s},Ae=te.parseComplex=function(t,a,r,_,g,e,f,T,i,b){r=r||e||"","function"==typeof _&&(_=_(ne,re)),f=new Ce(t,a,0,0,f,b?2:1,null,!1,T,r,_),_+="",g&&we.test(_+r)&&(_=[r,_],te.colorStringFilter(_),r=_[0],_=_[1]);var l,P,O,S,k,L,j,X,I,Y,N,M,q,U=r.split(", ").join(",").split(" "),V=_.split(", ").join(",").split(" "),W=U.length,Q=!1!==H;for((-1!==_.indexOf(",")||-1!==r.indexOf(","))&&(-1!==(_+r).indexOf("rgb")||-1!==(_+r).indexOf("hsl")?(U=U.join(" ").replace(le,", ").split(" "),V=V.join(" ").replace(le,", ").split(" ")):(U=U.join(" ").split(",").join(", ").split(" "),V=V.join(" ").split(",").join(", ").split(" ")),W=U.length),W!==V.length&&(U=(e||"").split(" "),W=U.length),f.plugin=i,f.setRatio=b,we.lastIndex=0,l=0;W>l;l++)if(S=U[l],k=V[l]+"",X=parseFloat(S),X||0===X)f.appendXtra("",X,he(k,X),k.replace(s,""),!!(Q&&-1!==k.indexOf("px"))&&Math.round,!0);else if(g&&we.test(S))M=k.indexOf(")")+1,M=")"+(M?k.substr(M):""),q=-1!==k.indexOf("hsl")&&R,Y=k,S=be(S,q),k=be(k,q),I=6<S.length+k.length,I&&!R&&0===k[3]?(f["xs"+f.l]+=f.l?" transparent":"transparent",f.e=f.e.split(V[l]).join("transparent")):(R||(I=!1),q?f.appendXtra(Y.substr(0,Y.indexOf("hsl"))+(I?"hsla(":"hsl("),S[0],he(k[0],S[0]),",",!1,!0).appendXtra("",S[1],he(k[1],S[1]),"%,",!1).appendXtra("",S[2],he(k[2],S[2]),I?"%,":"%"+M,!1):f.appendXtra(Y.substr(0,Y.indexOf("rgb"))+(I?"rgba(":"rgb("),S[0],k[0]-S[0],",",Math.round,!0).appendXtra("",S[1],k[1]-S[1],",",Math.round).appendXtra("",S[2],k[2]-S[2],I?",":M,Math.round),I&&(S=4>S.length?1:S[3],f.appendXtra("",S,(4>k.length?1:k[3])-S,M,!1))),we.lastIndex=0;else if(L=S.match(se)){if(j=k.match(s),!j||j.length!==L.length)return f;for(O=0,P=0;P<L.length;P++)N=L[P],Y=S.indexOf(N,O),f.appendXtra(S.substr(O,Y-O),+N,he(j[P],N),"",!!(Q&&"px"===S.substr(Y+N.length,2))&&Math.round,0===P),O=Y+N.length;f["xs"+f.l]+=S.substr(O)}else f["xs"+f.l]+=f.l||f["xs"+f.l]?" "+k:k;if(-1!==_.indexOf("=")&&f.data){for(M=f.xs0+f.data.s,l=1;l<f.l;l++)M+=f["xs"+l]+f.data["xn"+l];f.e=M+f["xs"+l]}return f.l||(f.type=-1,f.xs0=f.e),f.xfirst||f},De=9;for(i=Ce.prototype,i.l=i.pr=0;0<--De;)i["xn"+De]=0,i["xs"+De]="";i.xs0="",i._next=i._prev=i.xfirst=i.data=i.plugin=i.setRatio=i.rxp=null,i.appendXtra=function(t,i,a,r,n,e){var s=this,o=s.l;return s["xs"+o]+=e&&(o||s["xs"+o])?" "+t:t||"",a||0===o||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=r||"",0<o?(s.data["xn"+o]=i+a,s.rxp["xn"+o]=n,s["xn"+o]=i,s.plugin||(s.xfirst=new Ce(s,"xn"+o,i,a,s.xfirst||s,0,s.n,n,s.pr),s.xfirst.xs0=0),s):(s.data={s:i+a},s.rxp={},s.s=i,s.c=a,s.r=n,s)):(s["xs"+o]+=i+(r||""),s)};var ze=function(e,t){t=t||{},this.p=t.prefix?V(e)||e:e,G[e]=G[this.p]=this,this.format=t.formatter||Oe(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.allowFunc=t.allowFunc,this.pr=t.priority||0},Ee=S._registerComplexSpecialProp=function(t,i,a){"object"!=typeof i&&(i={parser:a});var r,n,s=t.split(","),o=i.defaultValue;for(a=a||[o],r=0;r<s.length;r++)i.prefix=0===r&&i.prefix,i.defaultValue=a[r]||o,n=new ze(s[r],i)},Le=S._registerPluginProp=function(e){if(!G[e]){var t=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";Ee(e,{parser:function(i,a,r,n,e,s,o){var l=A.com.greensock.plugins[t];return l?(l._cssRegister(),G[r].parse(i,a,r,n,e,s,o)):(M("Error: "+t+" js file not loaded."),e)}})}};i=ze.prototype,i.parseComplex=function(t,a,r,n,s,e){var o,_,d,p,u,f,y=this.keyword;if(this.multi&&(le.test(r)||le.test(a)?(_=a.replace(le,"|").split("|"),d=r.replace(le,"|").split("|")):y&&(_=[a],d=[r])),d){for(p=d.length>_.length?d.length:_.length,o=0;p>o;o++)a=_[o]=_[o]||this.dflt,r=d[o]=d[o]||this.dflt,y&&(u=a.indexOf(y),f=r.indexOf(y),u!==f&&(-1===f?_[o]=_[o].split(y).join(""):-1===u&&(_[o]+=" "+y)));a=_.join(", "),r=d.join(", ")}return Ae(t,this.p,a,r,this.clrs,this.dflt,n,this.pr,s,e)},i.parse=function(e,t,i,a,r,n){return this.parseComplex(e.style,this.format($(e,this.p,I,!1,this.dflt)),this.format(t),r,n)},te.registerSpecialProp=function(e,t,i){Ee(e,{parser:function(r,a,n,e,s,o){var l=new Ce(r,n,0,0,s,2,n,!1,i);return l.plugin=o,l.setRatio=t(r,a,e._tween,n),l},priority:i})},te.useSVGTransformAttr=!0;var je,Xe=["scaleX","scaleY","scaleZ","x","y","z","skewX","skewY","rotation","rotationX","rotationY","perspective","xPercent","yPercent"],Ie=V("transform"),Be=X+"transform",Ye=V("transformOrigin"),Fe=null!==V("perspective"),Ne=S.Transform=function(){this.perspective=parseFloat(te.defaultTransformPerspective)||0,this.force3D=!!(!1!==te.defaultForce3D&&Fe)&&(te.defaultForce3D||"auto")},Me=_gsScope.SVGElement,qe=function(t,i,a){var r,n=O.createElementNS(LS_nsProtocol+"www.w3.org/2000/svg",t);for(r in a)n.setAttributeNS(null,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),a[r]);return i.appendChild(n),n},Ue=O.documentElement||{},Ve=function(){var e,t,i,r=ae||/Android/i.test(T)&&!_gsScope.chrome;return O.createElementNS&&Ue.appendChild&&!r&&(e=qe("svg",Ue),t=qe("rect",e,{width:100,height:50,x:100}),i=t.getBoundingClientRect().width,t.style[Ye]="50% 50%",t.style[Ie]="scaleX(0.5)",r=i===t.getBoundingClientRect().width&&!(ie&&Fe),Ue.removeChild(e)),r}(),Ge=function(_,a,g,c,d,e){var f,y,x,T,P,O,S,C,R,A,D,z,E,L,X=_._gsTransform,I=$e(_,!0);X&&(E=X.xOrigin,L=X.yOrigin),(!c||2>(f=c.split(" ")).length)&&(S=_.getBBox(),0===S.x&&0===S.y&&0===S.width+S.height&&(S={x:parseFloat(_.hasAttribute("x")?_.getAttribute("x"):_.hasAttribute("cx")?_.getAttribute("cx"):0)||0,y:parseFloat(_.hasAttribute("y")?_.getAttribute("y"):_.hasAttribute("cy")?_.getAttribute("cy"):0)||0,width:0,height:0}),a=fe(a).split(" "),f=[(-1===a[0].indexOf("%")?parseFloat(a[0]):parseFloat(a[0])/100*S.width)+S.x,(-1===a[1].indexOf("%")?parseFloat(a[1]):parseFloat(a[1])/100*S.height)+S.y]),g.xOrigin=T=parseFloat(f[0]),g.yOrigin=P=parseFloat(f[1]),c&&I!==Ze&&(O=I[0],S=I[1],C=I[2],R=I[3],A=I[4],D=I[5],z=O*R-S*C,z&&(y=T*(R/z)+P*(-C/z)+(C*D-R*A)/z,x=T*(-S/z)+P*(O/z)-(O*D-S*A)/z,T=g.xOrigin=f[0]=y,P=g.yOrigin=f[1]=x)),X&&(e&&(g.xOffset=X.xOffset,g.yOffset=X.yOffset,X=g),d||!1!==d&&!1!==te.defaultSmoothOrigin?(y=T-E,x=P-L,X.xOffset+=y*I[0]+x*I[2]-y,X.yOffset+=y*I[1]+x*I[3]-x):X.xOffset=X.yOffset=0),e||_.setAttribute("data-svg-origin",f.join(" "))},We=function(t){var i,a=P("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||LS_nsProtocol+"www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,e=this.style.cssText;if(Ue.appendChild(a),a.appendChild(this),this.style.display="block",t)try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=We}catch(e){}else this._originalGetBBox&&(i=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),Ue.removeChild(a),this.style.cssText=e,i},He=function(e){try{return e.getBBox()}catch(t){return We.call(e,!0)}},Qe=function(e){return Me&&e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&He(e)},Ze=[1,0,0,1,0,0],$e=function(t,a){var r,n,s,o,_,p,m,u=t._gsTransform||new Ne,y=t.style;if(Ie?n=$(t,Be,null,!0):t.currentStyle&&(n=t.currentStyle.filter.match(/(M11|M12|M21|M22)=[\d\-\.e]+/gi),n=n&&4===n.length?[n[0].substr(4),+n[2].substr(4),+n[1].substr(4),n[3].substr(4),u.x||0,u.y||0].join(","):""),r=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,Ie&&r&&!t.offsetParent&&t!==Ue&&(o=y.display,y.display="block",m=t.parentNode,m&&t.offsetParent||(_=1,p=t.nextSibling,Ue.appendChild(t)),n=$(t,Be,null,!0),r=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,o?y.display=o:it(y,"display"),_&&(p?m.insertBefore(t,p):m?m.appendChild(t):Ue.removeChild(t))),(u.svg||t.getCTM&&Qe(t))&&(r&&-1!==(y[Ie]+"").indexOf("matrix")&&(n=y[Ie],r=0),s=t.getAttribute("transform"),r&&s&&(s=t.transform.baseVal.consolidate().matrix,n="matrix("+s.a+","+s.b+","+s.c+","+s.d+","+s.e+","+s.f+")",r=0)),r)return Ze;for(s=(n||"").match(se)||[],De=s.length;-1<--De;)o=+s[De],s[De]=(_=o-(o|=0))?(0|_*100000+(0>_?-.5:.5))/100000+o:o;return a&&6<s.length?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},Ke=S.getTransform=function(_,a,p,d){if(_._gsTransform&&p&&!d)return _._gsTransform;var e,c,g,T,b,X,Y=p?_._gsTransform||new Ne:new Ne,m=0>Y.scaleX,n=2e-5,o=Fe?parseFloat($(_,Ye,a,!1,"0 0 0").split(" ")[2])||Y.zOrigin||0:0,M=parseFloat(te.defaultTransformPerspective)||0;if(Y.svg=_.getCTM&&Qe(_),Y.svg&&(Ge(_,$(_,Ye,a,!1,"50% 50%")+"",Y,_.getAttribute("data-svg-origin")),je=te.useSVGTransformAttr||Ve),e=$e(_),e!==Ze){if(16===e.length){var r,q,U,V,W,Z=e[0],ie=e[1],ae=e[2],re=e[3],A=e[4],ne=e[5],se=e[6],oe=e[7],E=e[8],le=e[9],_e=e[10],pe=e[12],ce=e[13],me=e[14],ue=e[11],ge=Math.atan2(se,_e);Y.zOrigin&&(me=-Y.zOrigin,pe=E*me-e[12],ce=le*me-e[13],me=_e*me+Y.zOrigin-e[14]),Y.rotationX=ge*de,ge&&(V=Math.cos(-ge),W=Math.sin(-ge),r=A*V+E*W,q=ne*V+le*W,U=se*V+_e*W,E=A*-W+E*V,le=ne*-W+le*V,_e=se*-W+_e*V,ue=oe*-W+ue*V,A=r,ne=q,se=U),ge=Math.atan2(-ae,_e),Y.rotationY=ge*de,ge&&(V=Math.cos(-ge),W=Math.sin(-ge),r=Z*V-E*W,q=ie*V-le*W,U=ae*V-_e*W,le=ie*W+le*V,_e=ae*W+_e*V,ue=re*W+ue*V,Z=r,ie=q,ae=U),ge=Math.atan2(ie,Z),Y.rotation=ge*de,ge&&(V=Math.cos(ge),W=Math.sin(ge),r=Z*V+ie*W,q=A*V+ne*W,U=E*V+le*W,ie=ie*V-Z*W,ne=ne*V-A*W,le=le*V-E*W,Z=r,A=q,E=U),Y.rotationX&&359.9<Math.abs(Y.rotationX)+Math.abs(Y.rotation)&&(Y.rotationX=Y.rotation=0,Y.rotationY=180-Y.rotationY),ge=Math.atan2(A,ne),Y.scaleX=(0|100000*Math.sqrt(Z*Z+ie*ie+ae*ae)+.5)/100000,Y.scaleY=(0|100000*Math.sqrt(ne*ne+se*se)+.5)/100000,Y.scaleZ=(0|100000*Math.sqrt(E*E+le*le+_e*_e)+.5)/100000,Z/=Y.scaleX,A/=Y.scaleY,ie/=Y.scaleX,ne/=Y.scaleY,Math.abs(ge)>n?(Y.skewX=ge*de,A=0,"simple"!==Y.skewType&&(Y.scaleY*=1/Math.cos(ge))):Y.skewX=0,Y.perspective=ue?1/(0>ue?-ue:ue):0,Y.x=pe,Y.y=ce,Y.z=me,Y.svg&&(Y.x-=Y.xOrigin-(Y.xOrigin*Z-Y.yOrigin*A),Y.y-=Y.yOrigin-(Y.yOrigin*ie-Y.xOrigin*ne))}else if(!Fe||d||!e.length||Y.x!==e[4]||Y.y!==e[5]||!Y.rotationX&&!Y.rotationY){var fe=6<=e.length,O=fe?e[0]:1,P=e[1]||0,Q=e[2]||0,R=fe?e[3]:1;Y.x=e[4]||0,Y.y=e[5]||0,g=Math.sqrt(O*O+P*P),T=Math.sqrt(R*R+Q*Q),b=O||P?Math.atan2(P,O)*de:Y.rotation||0,X=Q||R?Math.atan2(Q,R)*de+b:Y.skewX||0,Y.scaleX=g,Y.scaleY=T,Y.rotation=b,Y.skewX=X,Fe&&(Y.rotationX=Y.rotationY=Y.z=0,Y.perspective=M,Y.scaleZ=1),Y.svg&&(Y.x-=Y.xOrigin-(Y.xOrigin*O+Y.yOrigin*Q),Y.y-=Y.yOrigin-(Y.xOrigin*P+Y.yOrigin*R))}for(c in 90<Math.abs(Y.skewX)&&270>Math.abs(Y.skewX)&&(m?(Y.scaleX*=-1,Y.skewX+=0>=Y.rotation?180:-180,Y.rotation+=0>=Y.rotation?180:-180):(Y.scaleY*=-1,Y.skewX+=0>=Y.skewX?180:-180)),Y.zOrigin=o,Y)Y[c]<n&&Y[c]>-n&&(Y[c]=0)}return p&&(_._gsTransform=Y,Y.svg&&(je&&_.style[Ie]?ee.delayedCall(.001,function(){it(_.style,Ie)}):!je&&_.getAttribute("transform")&&ee.delayedCall(.001,function(){_.removeAttribute("transform")}))),Y},Je=function(_){var a,p,g=this.data,d=-g.rotation*_e,e=d+g.skewX*_e,f=(0|Math.cos(d)*g.scaleX*100000)/100000,h=(0|Math.sin(d)*g.scaleX*100000)/100000,y=(0|Math.sin(e)*-g.scaleY*100000)/100000,T=(0|Math.cos(e)*g.scaleY*100000)/100000,P=this.t.style,l=this.t.currentStyle;if(l){p=h,h=-y,y=-p,a=l.filter,P.filter="";var m,O,S=this.t.offsetWidth,k=this.t.offsetHeight,r="absolute"!==l.position,s="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+h+", M21="+y+", M22="+T,C=g.x+S*g.xPercent/100,R=g.y+k*g.yPercent/100;if(null!=g.ox&&(m=(g.oxp?.01*(S*g.ox):g.ox)-S/2,O=(g.oyp?.01*(k*g.oy):g.oy)-k/2,C+=m-(m*f+O*h),R+=O-(m*y+O*T)),r?(m=S/2,O=k/2,s+=", Dx="+(m-(m*f+O*h)+C)+", Dy="+(O-(m*y+O*T)+R)+")"):s+=", sizingMethod='auto expand')",P.filter=-1===a.indexOf("DXImageTransform.Microsoft.Matrix(")?s+" "+a:a.replace(/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,s),(0===_||1===_)&&1===f&&0===h&&0===y&&1===T&&(r&&-1===s.indexOf("Dx=0, Dy=0")||x.test(a)&&100!==parseFloat(RegExp.$1)||-1===a.indexOf(a.indexOf("Alpha"))&&P.removeAttribute("filter")),!r){var D,E,L,X=8>ae?1:-1;for(m=g.ieOffsetX||0,O=g.ieOffsetY||0,g.ieOffsetX=Math.round((S-((0>f?-f:f)*S+(0>h?-h:h)*k))/2+C),g.ieOffsetY=Math.round((k-((0>T?-T:T)*k+(0>y?-y:y)*S))/2+R),De=0;4>De;De++)E=ue[De],D=l[E],p=-1===D.indexOf("px")?Q(this.t,E,parseFloat(D),D.replace(oe,""))||0:parseFloat(D),L=p===g[E]?2>De?m-g.ieOffsetX:O-g.ieOffsetY:2>De?-g.ieOffsetX:-g.ieOffsetY,P[E]=(g[E]=Math.round(p-L*(0===De||2===De?1:X)))+"px"}}},et=S.set3DTransformRatio=S.setTransformRatio=function(n){var a,_,T,S,R,L,X,Y,U,V,W,Q,Z,$,ee,te,ae,re,ne,se,oe,le,de,pe=this.data,z=this.t.style,A=pe.rotation,ce=pe.rotationX,C=pe.rotationY,D=pe.scaleX,me=pe.scaleY,ue=pe.scaleZ,ge=pe.x,fe=pe.y,he=pe.z,ye=pe.svg,K=pe.perspective,xe=pe.force3D,N=pe.skewY,O=pe.skewX;if(N&&(O+=N,A+=N),((1===n||0===n)&&"auto"===xe&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!xe)&&!he&&!K&&!C&&!ce&&1===ue||je&&ye||!Fe)return void(A||O||ye?(A*=_e,le=O*_e,de=1e5,_=Math.cos(A)*D,R=Math.sin(A)*D,T=Math.sin(A-le)*-me,L=Math.cos(A-le)*me,le&&"simple"===pe.skewType&&(a=Math.tan(le-N*_e),a=Math.sqrt(1+a*a),T*=a,L*=a,N&&(a=Math.tan(N*_e),a=Math.sqrt(1+a*a),_*=a,R*=a)),ye&&(ge+=pe.xOrigin-(pe.xOrigin*_+pe.yOrigin*T)+pe.xOffset,fe+=pe.yOrigin-(pe.xOrigin*R+pe.yOrigin*L)+pe.yOffset,je&&(pe.xPercent||pe.yPercent)&&(ee=this.t.getBBox(),ge+=.01*pe.xPercent*ee.width,fe+=.01*pe.yPercent*ee.height),ee=1e-6,ee>ge&&ge>-ee&&(ge=0),ee>fe&&fe>-ee&&(fe=0)),ne=(0|_*de)/de+","+(0|R*de)/de+","+(0|T*de)/de+","+(0|L*de)/de+","+ge+","+fe+")",ye&&je?this.t.setAttribute("transform","matrix("+ne):z[Ie]=(pe.xPercent||pe.yPercent?"translate("+pe.xPercent+"%,"+pe.yPercent+"%) matrix(":"matrix(")+ne):z[Ie]=(pe.xPercent||pe.yPercent?"translate("+pe.xPercent+"%,"+pe.yPercent+"%) matrix(":"matrix(")+D+",0,0,"+me+","+ge+","+fe+")");if(ie&&(ee=1e-4,ee>D&&D>-ee&&(D=ue=2e-5),ee>me&&me>-ee&&(me=ue=2e-5),!K||pe.z||pe.rotationX||pe.rotationY||(K=0)),A||O)A*=_e,te=_=Math.cos(A),ae=R=Math.sin(A),O&&(A-=O*_e,te=Math.cos(A),ae=Math.sin(A),"simple"===pe.skewType&&(a=Math.tan((O-N)*_e),a=Math.sqrt(1+a*a),te*=a,ae*=a,pe.skewY&&(a=Math.tan(N*_e),a=Math.sqrt(1+a*a),_*=a,R*=a))),T=-ae,L=te;else{if(!(C||ce||1!==ue||K||ye))return void(z[Ie]=(pe.xPercent||pe.yPercent?"translate("+pe.xPercent+"%,"+pe.yPercent+"%) translate3d(":"translate3d(")+ge+"px,"+fe+"px,"+he+"px)"+(1!==D||1!==me?" scale("+D+","+me+")":""));_=L=1,T=R=0}V=1,S=X=Y=U=W=Q=0,Z=K?-1/K:0,$=pe.zOrigin,ee=1e-6,se=",",oe="0",A=C*_e,A&&(te=Math.cos(A),ae=Math.sin(A),Y=-ae,W=Z*-ae,S=_*ae,X=R*ae,V=te,Z*=te,_*=te,R*=te),A=ce*_e,A&&(te=Math.cos(A),ae=Math.sin(A),a=T*te+S*ae,re=L*te+X*ae,U=V*ae,Q=Z*ae,S=T*-ae+S*te,X=L*-ae+X*te,V*=te,Z*=te,T=a,L=re),1!==ue&&(S*=ue,X*=ue,V*=ue,Z*=ue),1!==me&&(T*=me,L*=me,U*=me,Q*=me),1!==D&&(_*=D,R*=D,Y*=D,W*=D),($||ye)&&($&&(ge+=S*-$,fe+=X*-$,he+=V*-$+$),ye&&(ge+=pe.xOrigin-(pe.xOrigin*_+pe.yOrigin*T)+pe.xOffset,fe+=pe.yOrigin-(pe.xOrigin*R+pe.yOrigin*L)+pe.yOffset),ee>ge&&ge>-ee&&(ge=oe),ee>fe&&fe>-ee&&(fe=oe),ee>he&&he>-ee&&(he=0)),ne=pe.xPercent||pe.yPercent?"translate("+pe.xPercent+"%,"+pe.yPercent+"%) matrix3d(":"matrix3d(",ne+=(ee>_&&_>-ee?oe:_)+se+(ee>R&&R>-ee?oe:R)+se+(ee>Y&&Y>-ee?oe:Y),ne+=se+(ee>W&&W>-ee?oe:W)+se+(ee>T&&T>-ee?oe:T)+se+(ee>L&&L>-ee?oe:L),ce||C||1!==ue?(ne+=se+(ee>U&&U>-ee?oe:U)+se+(ee>Q&&Q>-ee?oe:Q)+se+(ee>S&&S>-ee?oe:S),ne+=se+(ee>X&&X>-ee?oe:X)+se+(ee>V&&V>-ee?oe:V)+se+(ee>Z&&Z>-ee?oe:Z)+se):ne+=",0,0,0,0,1,0,",ne+=ge+se+fe+se+he+se+(K?1+-he/K:1)+")",z[Ie]=ne};i=Ne.prototype,i.x=i.y=i.z=i.skewX=i.skewY=i.rotation=i.rotationX=i.rotationY=i.zOrigin=i.xPercent=i.yPercent=i.xOffset=i.yOffset=0,i.scaleX=i.scaleY=i.scaleZ=1,Ee("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(e,a,r,_,d,c,g){if(_._lastParsedTransform===g)return d;_._lastParsedTransform=g;var i=g.scale&&"function"==typeof g.scale?g.scale:0;i&&(g.scale=i(ne,e));var h,T,b,P,S,R,E,j,X,B=e._gsTransform,v=e.style,w=1e-6,x=Xe.length,Y=g,z={},A=Ke(e,I,!0,Y.parseTransform),C=Y.transform&&("function"==typeof Y.transform?Y.transform(ne,re):Y.transform);if(A.skewType=Y.skewType||A.skewType||te.defaultSkewType,_._transform=A,"rotationZ"in Y&&(Y.rotation=Y.rotationZ),C&&"string"==typeof C&&Ie)T=F.style,T[Ie]=C,T.display="block",T.position="absolute",-1!==C.indexOf("%")&&(T.width=$(e,"width"),T.height=$(e,"height")),O.body.appendChild(F),h=Ke(F,null,!1),"simple"===A.skewType&&(h.scaleY*=Math.cos(h.skewX*_e)),A.svg&&(R=A.xOrigin,E=A.yOrigin,h.x-=A.xOffset,h.y-=A.yOffset,(Y.transformOrigin||Y.svgOrigin)&&(C={},Ge(e,fe(Y.transformOrigin),C,Y.svgOrigin,Y.smoothOrigin,!0),R=C.xOrigin,E=C.yOrigin,h.x-=C.xOffset-A.xOffset,h.y-=C.yOffset-A.yOffset),(R||E)&&(j=$e(F,!0),h.x-=R-(R*j[0]+E*j[2]),h.y-=E-(R*j[1]+E*j[3]))),O.body.removeChild(F),h.perspective||(h.perspective=A.perspective),null!=Y.xPercent&&(h.xPercent=ye(Y.xPercent,A.xPercent)),null!=Y.yPercent&&(h.yPercent=ye(Y.yPercent,A.yPercent));else if("object"==typeof Y){if(h={scaleX:ye(null==Y.scaleX?Y.scale:Y.scaleX,A.scaleX),scaleY:ye(null==Y.scaleY?Y.scale:Y.scaleY,A.scaleY),scaleZ:ye(Y.scaleZ,A.scaleZ),x:ye(Y.x,A.x),y:ye(Y.y,A.y),z:ye(Y.z,A.z),xPercent:ye(Y.xPercent,A.xPercent),yPercent:ye(Y.yPercent,A.yPercent),perspective:ye(Y.transformPerspective,A.perspective)},S=Y.directionalRotation,null!=S)if("object"==typeof S)for(T in S)Y[T]=S[T];else Y.rotation=S;"string"==typeof Y.x&&-1!==Y.x.indexOf("%")&&(h.x=0,h.xPercent=ye(Y.x,A.xPercent)),"string"==typeof Y.y&&-1!==Y.y.indexOf("%")&&(h.y=0,h.yPercent=ye(Y.y,A.yPercent)),h.rotation=xe("rotation"in Y?Y.rotation:"shortRotation"in Y?Y.shortRotation+"_short":A.rotation,A.rotation,"rotation",z),Fe&&(h.rotationX=xe("rotationX"in Y?Y.rotationX:"shortRotationX"in Y?Y.shortRotationX+"_short":A.rotationX||0,A.rotationX,"rotationX",z),h.rotationY=xe("rotationY"in Y?Y.rotationY:"shortRotationY"in Y?Y.shortRotationY+"_short":A.rotationY||0,A.rotationY,"rotationY",z)),h.skewX=xe(Y.skewX,A.skewX),h.skewY=xe(Y.skewY,A.skewY)}for(Fe&&null!=Y.force3D&&(A.force3D=Y.force3D,P=!0),b=A.force3D||A.z||A.rotationX||A.rotationY||h.z||h.rotationX||h.rotationY||h.perspective,b||null==Y.scale||(h.scaleZ=1);-1<--x;)X=Xe[x],C=h[X]-A[X],(C>w||-w>C||null!=Y[X]||null!=L[X])&&(P=!0,d=new Ce(A,X,A[X],C,d),X in z&&(d.e=z[X]),d.xs0=0,d.plugin=c,_._overwriteProps.push(d.n));return C="function"==typeof Y.transformOrigin?Y.transformOrigin(ne,re):Y.transformOrigin,A.svg&&(C||Y.svgOrigin)&&(R=A.xOffset,E=A.yOffset,Ge(e,fe(C),h,Y.svgOrigin,Y.smoothOrigin),d=Re(A,"xOrigin",(B?A:h).xOrigin,h.xOrigin,d,"transformOrigin"),d=Re(A,"yOrigin",(B?A:h).yOrigin,h.yOrigin,d,"transformOrigin"),(R!==A.xOffset||E!==A.yOffset)&&(d=Re(A,"xOffset",B?R:A.xOffset,A.xOffset,d,"transformOrigin"),d=Re(A,"yOffset",B?E:A.yOffset,A.yOffset,d,"transformOrigin")),C="0px 0px"),(C||Fe&&b&&A.zOrigin)&&(Ie?(P=!0,X=Ye,C||(C=($(e,X,I,!1,"50% 50%")+"").split(" "),C=C[0]+" "+C[1]+" "+A.zOrigin+"px"),C+="",d=new Ce(v,X,0,0,d,-1,"transformOrigin"),d.b=v[X],d.plugin=c,Fe?(T=A.zOrigin,C=C.split(" "),A.zOrigin=(2<C.length?parseFloat(C[2]):T)||0,d.xs0=d.e=C[0]+" "+(C[1]||"50%")+" 0px",d=new Ce(A,"zOrigin",0,0,d,-1,d.n),d.b=T,d.xs0=d.e=A.zOrigin):d.xs0=d.e=C):fe(C+"",A)),P&&(_._transformType=A.svg&&je||!b&&3!==this._transformType?2:3),i&&(g.scale=i),d},allowFunc:!0,prefix:!0}),Ee("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ee("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:Oe("inset(0% 0% 0% 0%)",!1,!0)}),Ee("borderRadius",{defaultValue:"0px",parser:function(e,a,_,d,c){a=this.format(a);var f,h,T,P,O,S,C,R,A,D,L,X,B,Y,F,N,M=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],y=e.style;for(A=parseFloat(e.offsetWidth),D=parseFloat(e.offsetHeight),f=a.split(" "),h=0;h<M.length;h++)this.p.indexOf("border")&&(M[h]=V(M[h])),O=P=$(e,M[h],I,!1,"0px"),-1!==O.indexOf(" ")&&(P=O.split(" "),O=P[0],P=P[1]),S=T=f[h],C=parseFloat(O),X=O.substr((C+"").length),B="="===S.charAt(1),B?(R=parseInt(S.charAt(0)+"1",10),S=S.substr(2),R*=parseFloat(S),L=S.substr((R+"").length-(0>R?1:0))||""):(R=parseFloat(S),L=S.substr((R+"").length)),""===L&&(L=E[_]||X),L!==X&&(Y=Q(e,"borderLeft",C,X),F=Q(e,"borderTop",C,X),"%"===L?(O=100*(Y/A)+"%",P=100*(F/D)+"%"):"em"===L?(N=Q(e,"borderLeft",1,"em"),O=Y/N+"em",P=F/N+"em"):(O=Y+"px",P=F+"px"),B&&(S=parseFloat(O)+R+L,T=parseFloat(P)+R+L)),c=Ae(y,M[h],O+" "+P,S+" "+T,!1,"0px",c);return c},prefix:!0,formatter:Oe("0px 0px 0px 0px",!1,!0)}),Ee("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(e,t,i,a,r){return Ae(e.style,i,this.format($(e,i,I,!1,"0px 0px")),this.format(t),!1,"0px",r)},prefix:!0,formatter:Oe("0px 0px",!1,!0)}),Ee("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,a,n,s,d){var p,c,u,g,f,y,x=I||_(e,null),o=this.format((x?ae?x.getPropertyValue("background-position-x")+" "+x.getPropertyValue("background-position-y"):x.getPropertyValue("background-position"):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),T=this.format(t);if(-1!==o.indexOf("%")!=(-1!==T.indexOf("%"))&&2>T.split(",").length&&(y=$(e,"backgroundImage").replace(/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,""),y&&"none"!==y)){for(p=o.split(" "),c=T.split(" "),C.setAttribute("src",y),u=2;-1<--u;)o=p[u],g=-1!==o.indexOf("%"),g!==(-1!==c[u].indexOf("%"))&&(f=0===u?e.offsetWidth-C.width:e.offsetHeight-C.height,p[u]=g?parseFloat(o)/100*f+"px":100*(parseFloat(o)/f)+"%");o=p.join(" ")}return this.parseComplex(e.style,o,T,s,d)},formatter:fe}),Ee("backgroundSize",{defaultValue:"0 0",formatter:function(e){return e+="","co"===e.substr(0,2)?e:fe(-1===e.indexOf(" ")?e+" "+e:e)}}),Ee("perspective",{defaultValue:"0px",prefix:!0}),Ee("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ee("transformStyle",{prefix:!0}),Ee("backfaceVisibility",{prefix:!0}),Ee("userSelect",{prefix:!0}),Ee("margin",{parser:Se("marginTop,marginRight,marginBottom,marginLeft")}),Ee("padding",{parser:Se("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ee("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,a,r,n,s){var o,l,_;return 9>ae?(l=e.currentStyle,_=8>ae?" ":",",o="rect("+l.clipTop+_+l.clipRight+_+l.clipBottom+_+l.clipLeft+")",t=this.format(t).split(",").join(_)):(o=this.format($(e,this.p,I,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,o,t,n,s)}}),Ee("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ee("autoRound,strictUnits",{parser:function(t,i,a,r,n){return n}}),Ee("border",{defaultValue:"0px solid #000",parser:function(e,t,a,r,n,s){var o=$(e,"borderTopWidth",I,!1,"0px"),l=this.format(t).split(" "),i=l[0].replace(oe,"");return"px"!==i&&(o=parseFloat(o)/Q(e,"borderTopWidth",1,i)+i),this.parseComplex(e.style,this.format(o+" "+$(e,"borderTopStyle",I,!1,"solid")+" "+$(e,"borderTopColor",I,!1,"#000")),l.join(" "),n,s)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(we)||["#000"])[0]}}),Ee("borderWidth",{parser:Se("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ee("float,cssFloat,styleFloat",{parser:function(t,i,a,r,n){var e=t.style,s="cssFloat"in e?"cssFloat":"styleFloat";return new Ce(e,s,0,0,n,-1,a,!1,0,e[s],i)}});var tt=function(t){var i,a=this.t,r=a.filter||$(this.data,"filter")||"",n=0|this.s+this.c*t;100==n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(a.removeAttribute("filter"),i=!$(this.data,"filter")):(a.filter=r.replace(/alpha\(opacity *=.+?\)/i,""),i=!0)),i||(this.xn1&&(a.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(a.filter=r+" alpha(opacity="+n+")"):a.filter=r.replace(x,"opacity="+n))};Ee("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,a,r,n,s){var o=parseFloat($(e,"opacity",I,!1,"1")),l=e.style,i="autoAlpha"===a;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+o),i&&1===o&&"hidden"===$(e,"visibility",I)&&0!==t&&(o=0),R?n=new Ce(l,"opacity",o,t-o,n):(n=new Ce(l,"opacity",100*o,100*(t-o),n),n.xn1=i?1:0,l.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=e,n.plugin=s,n.setRatio=tt),i&&(n=new Ce(l,"visibility",0,0,n,-1,null,!1,0,0===o?"hidden":"inherit",0===t?"hidden":"inherit"),n.xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(a)),n}});var it=function(e,t){t&&(e.removeProperty?(("ms"===t.substr(0,2)||"webkit"===t.substr(0,6))&&(t="-"+t),e.removeProperty(t.replace(y,"-$1").toLowerCase())):e.removeAttribute(t))},at=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:it(i,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ee("className",{parser:function(e,t,a,r,s,_,d){var i,c,u,f,h,y=e.getAttribute("class")||"",o=e.style.cssText;if(s=r._classNamePT=new Ce(e,a,0,0,s,2),s.setRatio=at,s.pr=-11,z=!0,s.b=y,c=pe(e,I),u=e._gsClassPT){for(f={},h=u.data;h;)f[h.p]=1,h=h._next;u.setRatio(1)}return e._gsClassPT=s,s.e="="===t.charAt(1)?y.replace(new RegExp("(?:\\s|^)"+t.substr(2)+"(?![\\w-])"),"")+("+"===t.charAt(0)?" "+t.substr(2):""):t,e.setAttribute("class",s.e),i=ce(e,c,pe(e),d,f),e.setAttribute("class",y),s.data=i.firstMPT,e.style.cssText!==o&&(e.style.cssText=o),s=s.xfirst=r.parse(e,i.difs,s,_)}});var rt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var i,a,r,n,s,o=this.t.style,l=G.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(i=this.e.split(" ").join("").split(","),r=i.length;-1<--r;)a=i[r],G[a]&&(G[a].parse===l?n=!0:a="transformOrigin"===a?Ye:G[a].p),it(o,a);n&&(it(o,Ie),s=this.t._gsTransform,s&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ee("clearProps",{parser:function(t,i,a,r,e){return e=new Ce(t,a,0,0,e,2),e.setRatio=rt,e.e=i,e.pr=-10,e.data=r._tween,z=!0,e}}),i=["bezier","throwProps","physicsProps","physics2D"],De=i.length;De--;)Le(i[De]);i=te.prototype,i._firstPT=i._lastParsedTransform=i._transform=null,i._onInitTween=function(e,i,a,r){if(!e.nodeType)return!1;this._target=re=e,this._tween=a,this._vars=i,ne=r,H=i.autoRound,z=!1,E=i.suffixMap||te.suffixMap,I=_(e,""),B=this._overwriteProps;var o,l,d,c,m,f,T,P,O,S=e.style;if(g&&""===S.zIndex&&(o=$(e,"zIndex",I),("auto"===o||""===o)&&this._addLazySet(S,"zIndex",0)),"string"==typeof i&&(c=S.cssText,o=pe(e,I),S.cssText=c+";"+i,o=ce(e,o,pe(e)).difs,!R&&/opacity:([^;]*)/i.test(i)&&(o.opacity=parseFloat(RegExp.$1)),i=o,S.cssText=c),this._firstPT=i.className?l=G.className.parse(e,i.className,"className",this,null,null,i):l=this.parse(e,i,null),this._transformType){for(O=3===this._transformType,Ie?h&&(g=!0,""===S.zIndex&&(T=$(e,"zIndex",I),("auto"===T||""===T)&&this._addLazySet(S,"zIndex",0)),K&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(O?"visible":"hidden"))):S.zoom=1,d=l;d&&d._next;)d=d._next;P=new Ce(e,"transform",0,0,null,2),this._linkCSSP(P,null,d),P.setRatio=Ie?et:Je,P.data=this._transform||Ke(e,I,!0),P.tween=a,P.pr=-1,B.pop()}if(z){for(;l;){for(f=l._next,d=c;d&&d.pr>l.pr;)d=d._next;(l._prev=d?d._prev:m)?l._prev._next=l:c=l,(l._next=d)?d._prev=l:m=l,l=f}this._firstPT=c}return!0},i.parse=function(e,i,a,r){var d,f,y,x,T,v,b,P,w,O,S=e.style;for(d in i){if(v=i[d],f=G[d],"function"!=typeof v||f&&f.allowFunc||(v=v(ne,re)),f)a=f.parse(e,v,d,this,a,r,i);else{if("--"===d.substr(0,2)){this._tween._propLookup[d]=this._addTween.call(this._tween,e.style,"setProperty",_(e).getPropertyValue(d)+"",v+"",d,!1,d);continue}T=$(e,d,I)+"",w="string"==typeof v,"color"===d||"fill"===d||"stroke"===d||-1!==d.indexOf("Color")||w&&/^(rgb|hsl)/.test(v)?(w||(v=be(v),v=(3<v.length?"rgba(":"rgb(")+v.join(",")+")"),a=Ae(S,d,T,v,!0,"transparent",a,0,r)):w&&/[\s,\(]/i.test(v)?a=Ae(S,d,T,v,!0,null,a,0,r):(y=parseFloat(T),b=y||0===y?T.substr((y+"").length):"",(""===T||"auto"===T)&&("width"===d||"height"===d?(y=ge(e,d,I),b="px"):"left"===d||"top"===d?(y=J(e,d,I),b="px"):(y="opacity"===d?1:0,b="")),O=w&&"="===v.charAt(1),O?(x=parseInt(v.charAt(0)+"1",10),v=v.substr(2),x*=parseFloat(v),P=v.replace(oe,"")):(x=parseFloat(v),P=w?v.replace(oe,""):""),""===P&&(P=d in E?E[d]:b),v=x||0===x?(O?x+y:x)+P:i[d],b!==P&&(""!==P||"lineHeight"===d)&&(x||0===x)&&y&&(y=Q(e,d,y,b),"%"===P?(y/=Q(e,d,100,"%")/100,!0!==i.strictUnits&&(T=y+"%")):"em"===P||"rem"===P||"vw"===P||"vh"===P?y/=Q(e,d,1,P):"px"!==P&&(x=Q(e,d,x,P),P="px"),O&&(x||0===x)&&(v=x+y+P)),O&&(x+=y),(y||0===y)&&(x||0===x)?(a=new Ce(S,d,y,x-y,a,0,d,!1!==H&&("px"===P||"zIndex"===d),0,T,v),a.xs0=P):void 0!==S[d]&&(v||"NaN"!=v+""&&null!=v)?(a=new Ce(S,d,x||y||0,0,a,-1,d,!1,0,T,v),a.xs0="none"!==v||"display"!==d&&-1===d.indexOf("Style")?v:T):M("invalid "+d+" tween value: "+i[d]))}r&&a&&!a.plugin&&(a.plugin=r)}return a},i.setRatio=function(t){var i,a,r,n=this._firstPT,s=1e-6;if(!(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time))for(;n;){if(!(2!==n.type))n.setRatio(t);else if(!(n.r&&-1!==n.type))n.t[n.p]=n.e;else if(!(i=n.r(n.s+n.c),n.type))n.t[n.p]=i+n.xs0;else if(1===n.type){for(r=n.l,a=n.xs0+i+n.xs1,r=1;r<n.l;r++)a+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=a}n=n._next}else if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(!(i=n.c*t+n.s,n.r?i=n.r(i):s>i&&i>-s&&(i=0),n.type))n.t[n.p]=i+n.xs0;else if(!(1===n.type))-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else if(r=n.l,2===r)n.t[n.p]=n.xs0+i+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+i+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+i+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+i+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(a=n.xs0+i+n.xs1,r=1;r<n.l;r++)a+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=a}n=n._next}else for(;n;)2===n.type?n.setRatio(t):n.t[n.p]=n.b,n=n._next},i._enableTransforms=function(e){this._transform=this._transform||Ke(this._target,I,!0),this._transformType=this._transform.svg&&je||!e&&3!==this._transformType?2:3};var nt=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};i._addLazySet=function(e,t,i){var a=this._firstPT=new Ce(e,t,0,0,this._firstPT,2);a.e=i,a.setRatio=nt,a.data=this},i._linkCSSP=function(e,t,i,a){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,a=!0),i?i._next=e:a||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=i),e},i._mod=function(e){for(var t=this._firstPT;t;)"function"==typeof e[t.p]&&(t.r=e[t.p]),t=t._next},i._kill=function(t){var i,a,r,n=t;if(t.autoAlpha||t.alpha){for(a in n={},t)n[a]=t[a];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(t.className&&(i=this._classNamePT)&&(r=i.xfirst,r&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==a&&i.plugin._kill&&(i.plugin._kill(t),a=i.plugin),i=i._next;return v.prototype._kill.call(this,n)};var st=function(t,i,a){var r,n,s,o;if(t.slice)for(n=t.length;-1<--n;)st(t[n],i,a);else for(r=t.childNodes,n=r.length;-1<--n;)s=r[n],o=s.type,s.style&&(i.push(pe(s)),a&&a.push(s)),(1===o||9===o||11===o)&&s.childNodes.length&&st(s,i,a)};return te.cascadeTo=function(t,r,s){var o,_,d,p,c=ee.to(t,r,s),i=[c],u=[],y=[],l=[],m=ee._internals.reservedProps;for(t=c._targets||c.target,st(t,u,l),c.render(r,!0,!0),st(t,y),c.render(0,!0,!0),c._enabled(!0),o=l.length;-1<--o;)if(_=ce(l[o],u[o],y[o]),_.firstMPT){for(d in _=_.difs,s)m[d]&&(_[d]=s[d]);for(d in p={},_)p[d]=u[o][d];i.push(ee.fromTo(l[o],r,p,_))}return i},v.activate([te]),te},!0),function(){var e=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(e,t,i){return this._tween=i,!0}}),t=function(e){var t=1>e?Math.pow(10,(e+"").length-2):1;return function(i){return(0|Math.round(i/e)*e*t)/t}},r=function(e,t){for(;e;)e.f||e.blob||(e.m=t||Math.round),e=e._next},i=e.prototype;i._onInitAllProps=function(){var n,s,o,l,_=this._tween,p=_.vars.roundProps,c={},i=_._propLookup.roundProps;if("object"!=typeof p||p.push)for("string"==typeof p&&(p=p.split(",")),o=p.length;-1<--o;)c[p[o]]=Math.round;else for(l in p)c[l]=t(p[l]);for(l in c)for(n=_._firstPT;n;)s=n._next,n.pg?n.t._mod(c):n.n===l&&(2===n.f&&n.t?r(n.t._firstPT,c[l]):(this._add(n.t,l,n.s,n.c,c[l]),s&&(s._prev=n._prev),n._prev?n._prev._next=s:_._firstPT===n&&(_._firstPT=s),n._next=n._prev=null,_._propLookup[l]=i)),n=s;return!1},i._add=function(t,i,a,r,n){this._addTween(t,i,a,a+r,i,n||Math.round),this._overwriteProps.push(i)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,i,a,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in i)s=i[n],"function"==typeof s&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,a,r,n){"object"!=typeof a&&(a={rotation:a}),this.finals={};var s,o,_,d,p,c,m=!0===a.useRadians?2*Math.PI:360,u=1e-6;for(s in a)"useRadians"!==s&&(d=a[s],"function"==typeof d&&(d=d(n,t)),c=(d+"").split("_"),o=c[0],_=parseFloat("function"==typeof t[s]?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():t[s]),d=this.finals[s]="string"==typeof o&&"="===o.charAt(1)?_+parseInt(o.charAt(0)+"1",10)*+o.substr(2):+o||0,p=d-_,c.length&&(o=c.join("_"),-1!==o.indexOf("short")&&(p%=m,p!==p%(m/2)&&(p=0>p?p+m:p-m)),-1!==o.indexOf("_cw")&&0>p?p=(p+9999999999*m)%m-(0|p/m)*m:-1!==o.indexOf("ccw")&&0<p&&(p=(p-9999999999*m)%m-(0|p/m)*m)),(p>u||-u>p)&&(this._addTween(t,s,_,_+p,s),this._overwriteProps.push(s)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var s,_,u,a,y=_gsScope.GreenSockGlobals||_gsScope,f=y.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,x=function(a,r){var n=i("easing."+a,function(){},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=r,n},T=t.register||function(){},l=function(e,t,a,r){var n=i("easing."+e,{easeOut:new t,easeIn:new a,easeInOut:new r},!0);return T(n,e),n},v=function(e,t,i){this.t=e,this.v=t,i&&(this.next=i,i.prev=this,this.c=i.v-t,this.gap=i.t-e)},n=function(a,r){var n=i("easing."+a,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=r,s.config=function(e){return new n(e)},n},o=l("Back",n("BackOut",function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1}),n("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),n("BackInOut",function(e){return 1>(e*=2)?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),p=i("easing.SlowMo",function(e,t,i){t=t||0===t?t:.7,null==e?e=.7:1<e&&(e=1),this._p=1===e?0:t,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),m=p.prototype=new t;return m.constructor=p,m.getRatio=function(e){var t=e+(.5-e)*this._p;return e<this._p1?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1===e?0:1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},p.ease=new p(.7,.7),m.config=p.config=function(e,t,i){return new p(e,t,i)},s=i("easing.SteppedEase",function(e,t){e=e||1,this._p1=1/e,this._p2=e+(t?0:1),this._p3=t?1:0},!0),m=s.prototype=new t,m.constructor=s,m.getRatio=function(e){return 0>e?e=0:1<=e&&(e=.999999999),((0|this._p2*e)+this._p3)*this._p1},m.config=s.config=function(e,t){return new s(e,t)},_=i("easing.ExpoScaleEase",function(e,t,i){this._p1=Math.log(t/e),this._p2=t-e,this._p3=e,this._ease=i},!0),m=_.prototype=new t,m.constructor=_,m.getRatio=function(e){return this._ease&&(e=this._ease.getRatio(e)),(this._p3*Math.exp(this._p1*e)-this._p3)/this._p2},m.config=_.config=function(e,t,i){return new _(e,t,i)},u=i("easing.RoughEase",function(a){a=a||{};for(var n,s,_,u,y,x,T=a.taper||"none",i=[],P=0,w=0|(a.points||20),l=w,O=!1!==a.randomize,o=!0===a.clamp,p=a.template instanceof t?a.template:null,S="number"==typeof a.strength?.4*a.strength:.4;-1<--l;)n=O?Math.random():1/w*l,s=p?p.getRatio(n):n,"none"===T?_=S:"out"===T?(u=1-n,_=u*u*S):"in"===T?_=n*n*S:.5>n?(u=2*n,_=.5*(u*u)*S):(u=2*(1-n),_=.5*(u*u)*S),O?s+=Math.random()*_-.5*_:l%2?s+=.5*_:s-=.5*_,o&&(1<s?s=1:0>s&&(s=0)),i[P++]={x:n,y:s};for(i.sort(function(e,t){return e.x-t.x}),x=new v(1,1,null),l=w;-1<--l;)y=i[l],x=new v(y.x,y.y,x);this._prev=new v(0,0,0===x.t?x.next:x)},!0),m=u.prototype=new t,m.constructor=u,m.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return this._prev=t,t.v+(e-t.t)/t.gap*t.c},m.config=function(e){return new u(e)},u.ease=new u,l("Bounce",x("BounceOut",function(e){return 1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),x("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:2/2.75>e?1-(7.5625*(e-=1.5/2.75)*e+.75):2.5/2.75>e?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),x("BounceInOut",function(e){var t=.5>e;return e=t?1-2*e:2*e-1,e=1/2.75>e?7.5625*e*e:2/2.75>e?7.5625*(e-=1.5/2.75)*e+.75:2.5/2.75>e?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),l("Circ",x("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),x("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),x("CircInOut",function(e){return 1>(e*=2)?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),a=function(a,r,n){var s=i("easing."+a,function(e,t){this._p1=1<=e?e:1,this._p2=(t||n)/(1>e?e:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),e=s.prototype=new t;return e.constructor=s,e.getRatio=r,e.config=function(e,t){return new s(e,t)},s},l("Elastic",a("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),a("ElasticIn",function(e){return-(this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2))},.3),a("ElasticInOut",function(e){return 1>(e*=2)?-.5*(this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)):.5*(this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2))+1},.45)),l("Expo",x("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),x("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),x("ExpoInOut",function(e){return 1>(e*=2)?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),l("Sine",x("SineOut",function(e){return Math.sin(e*h)}),x("SineIn",function(e){return-Math.cos(e*h)+1}),x("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),i("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),T(y.SlowMo,"SlowMo","ease,"),T(u,"RoughEase","ease,"),T(s,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(N,a){"use strict";var b={},ee=N.document,te=N.GreenSockGlobals=N.GreenSockGlobals||N,e=te[a];if(e)return"undefined"!=typeof module&&module.exports&&(module.exports=e),e;var c,f,ie,ae,re,ne=function(e){var t,i=e.split("."),a=te;for(t=0;t<i.length;t++)a[i[t]]=a=a[i[t]]||{};return a},l=ne("com.greensock"),se=1e-8,n=function(e){var t,i=[],a=e.length;for(t=0;t!==a;i.push(e[t++]));return i},oe=function(){},o=function(){var e=Object.prototype.toString,t=e.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&e.call(i)===t)}}(),m={},r=function(e,t,s,l){this.sc=m[e]?m[e].sc:[],m[e]=this,this.gsClass=null,this.func=s;var _=[];this.check=function(i){for(var d,c,u,g,f=t.length,h=f;-1<--f;)(d=m[t[f]]||new r(t[f],[])).gsClass?(_[f]=d.gsClass,h--):i&&d.sc.push(this);if(0===h&&s){if(c=("com.greensock."+e).split("."),u=c.pop(),g=ne(c.join("."))[u]=this.gsClass=s.apply(s,_),l)if(!(te[u]=b[u]=g,"undefined"!=typeof module&&module.exports))"function"==typeof define&&define.amd&&define((N.GreenSockAMDPath?N.GreenSockAMDPath+"/":"")+e.split(".").pop(),[],function(){return g});else if(e===a)for(f in module.exports=b[a]=g,b)g[f]=b[f];else b[a]&&(b[a][u]=g);for(f=0;f<this.sc.length;f++)this.sc[f].check()}},this.check(!0)},s=N._gsDefine=function(e,t,i,a){return new r(e,t,i,a)},t=l._class=function(e,t,i){return t=t||function(){},s(e,[],function(){return t},i),t};s.globals=te;var p=[0,0,1,1],u=t("easing.Ease",function(e,t,i,a){this._func=e,this._type=i||0,this._power=a||0,this._params=t?p.concat(t):p},!0),v=u.map={},x=u.register=function(r,a,n,s){for(var o,_,d,p,c=a.split(","),i=c.length,m=(n||"easeIn,easeOut,easeInOut").split(",");-1<--i;)for(_=c[i],o=s?t("easing."+_,null,!0):l.easing[_]||{},d=m.length;-1<--d;)p=m[d],v[_+"."+p]=v[p+_]=o[p]=r.getRatio?r:r[p]||new r};for(ie=u.prototype,ie._calcEnd=!1,ie.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,a=1===t?1-e:2===t?e:.5>e?2*e:2*(1-e);return 1===i?a*=a:2===i?a*=a*a:3===i?a*=a*a*a:4===i&&(a*=a*a*a*a),1===t?1-a:2===t?a:.5>e?a/2:1-a/2},c=["Linear","Quad","Cubic","Quart","Quint,Strong"],f=c.length;-1<--f;)ie=c[f]+",Power"+f,x(new u(null,null,1,f),ie,"easeOut",!0),x(new u(null,null,2,f),ie,"easeIn"+(0===f?",easeNone":"")),x(new u(null,null,3,f),ie,"easeInOut");v.linear=l.easing.Linear.easeIn,v.swing=l.easing.Quad.easeInOut;var y=t("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});ie=y.prototype,ie.addEventListener=function(t,a,r,n,s){s=s||0;var o,l,_=this._listeners[t],d=0;for(this!==ae||re||ae.wake(),null==_&&(this._listeners[t]=_=[]),l=_.length;-1<--l;)o=_[l],o.c===a&&o.s===r?_.splice(l,1):0===d&&o.pr<s&&(d=l+1);_.splice(d,0,{c:a,s:r,up:n,pr:s})},ie.removeEventListener=function(e,t){var i,a=this._listeners[e];if(a)for(i=a.length;-1<--i;)if(a[i].c===t)return void a.splice(i,1)},ie.dispatchEvent=function(t){var i,a,r,n=this._listeners[t];if(n)for(i=n.length,1<i&&(n=n.slice(0)),a=this._eventTarget;-1<--i;)r=n[i],r&&(r.up?r.c.call(r.s||a,{type:t,target:a}):r.c.call(r.s||a))};var w=N.requestAnimationFrame,z=N.cancelAnimationFrame,le=Date.now||function(){return new Date().getTime()},C=le();for(c=["ms","moz","webkit","o"],f=c.length;-1<--f&&!w;)w=N[c[f]+"RequestAnimationFrame"],z=N[c[f]+"CancelAnimationFrame"]||N[c[f]+"CancelRequestAnimationFrame"];t("Ticker",function(t,a){var r,n,_,p,u,x=this,i=le(),d=!!(!1!==a&&w)&&"auto",T=500,v=33,P=function(e){var t,a,s=le()-C;s>T&&(i+=s-v),C+=s,x.time=(C-i)/1e3,t=x.time-u,(!r||0<t||!0===e)&&(x.frame++,u+=t+(t>=p?.004:p-t),a=!0),!0!==e&&(_=n(P)),a&&x.dispatchEvent("tick")};y.call(x),x.time=x.frame=0,x.tick=function(){P(!0)},x.lagSmoothing=function(e,t){return arguments.length?(T=e||100000000,void(v=Math.min(t,T,0))):100000000>T},x.sleep=function(){null!=_&&(d&&z?z(_):clearTimeout(_),n=oe,_=null,x===ae&&(re=!1))},x.wake=function(e){null===_?e?i+=-C+(C=le()):10<x.frame&&(C=le()-T+5):x.sleep(),n=0===r?oe:d&&w?w:function(e){return setTimeout(e,0|1e3*(u-x.time)+1)},x===ae&&(re=!0),P(2)},x.fps=function(e){return arguments.length?(r=e,p=1/(r||60),u=this.time+p,void x.wake()):r},x.useRAF=function(e){return arguments.length?(x.sleep(),d=e,void x.fps(r)):d},x.fps(t),setTimeout(function(){"auto"===d&&5>x.frame&&"hidden"!==(ee||{}).visibilityState&&x.useRAF(!1)},1500)}),ie=l.Ticker.prototype=new l.events.EventDispatcher,ie.constructor=l.Ticker;var q=t("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=+t.delay||0,this._timeScale=1,this._active=!!t.immediateRender,this.data=t.data,this._reversed=!!t.reversed,Y){re||ae.wake();var i=this.vars.useFrames?X:Y;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});ae=q.ticker=new l.Ticker,ie=q.prototype,ie._dirty=ie._gc=ie._initted=ie._paused=!1,ie._totalTime=ie._time=0,ie._rawPrevTime=-1,ie._next=ie._last=ie._onUpdate=ie._timeline=ie.timeline=null,ie._paused=!1;var E=function(){re&&2e3<le()-C&&("hidden"!==(ee||{}).visibilityState||!ae.lagSmoothing())&&ae.wake();var e=setTimeout(E,2e3);e.unref&&e.unref()};E(),ie.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},ie.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},ie.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},ie.seek=function(e,t){return this.totalTime(+e,!1!==t)},ie.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},ie.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},ie.render=function(){},ie.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},ie.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime(!0))>=i&&e<i+this.totalDuration()/this._timeScale-se},ie._enabled=function(e,t){return re||ae.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},ie._kill=function(){return this._enabled(!1,!1)},ie.kill=function(e,t){return this._kill(e,t),this},ie._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},ie._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();-1<--t;)"{self}"===e[t]&&(i[t]=this);return i},ie._callback=function(t){var i=this.vars,a=i[t],r=i[t+"Params"],n=i[t+"Scope"]||i.callbackScope||this,e=r?r.length:0;0===e?a.call(n):1===e?a.call(n,r[0]):2===e?a.call(n,r[0],r[1]):a.apply(n,r)},ie.eventCallback=function(t,i,a,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==i?delete n[t]:(n[t]=i,n[t+"Params"]=o(a)&&-1!==a.join("").indexOf("{self}")?this._swapSelfInParams(a):a,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=i)}return this},ie.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},ie.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},ie.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},ie.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},ie.totalTime=function(t,i,r){if(re||ae.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!r&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(t>n&&!r&&(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)&&(J.length&&pe(),this.render(t,i,!1),J.length&&pe())}return this},ie.progress=ie.totalProgress=function(e,t){var i=this.duration();return arguments.length?this.totalTime(i*e,t):i?this._time/i:this.ratio},ie.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},ie.endTime=function(e){return this._startTime+(0==e?this.duration():this.totalDuration())/this._timeScale},ie.timeScale=function(e){if(!arguments.length)return this._timeScale;var t,i;for(e=e||se,this._timeline&&this._timeline.smoothChildTiming&&(t=this._pauseTime,i=t||0===t?t:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/e),this._timeScale=e,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},ie.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},ie.paused=function(e){if(!arguments.length)return this._paused;var t,i,a=this._timeline;return e!=this._paused&&a&&(re||e||ae.wake(),t=a.rawTime(),i=t-this._pauseTime,!e&&a.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=e?t:null,this._paused=e,this._active=this.isActive(),!e&&0!==i&&this._initted&&this.duration()&&(t=a.smoothChildTiming?this._totalTime:(t-this._startTime)/this._timeScale,this.render(t,t===this._totalTime,!0))),this._gc&&!e&&this._enabled(!0,!1),this};var F=t("core.SimpleTimeline",function(e){q.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});ie=F.prototype=new q,ie.constructor=F,ie.kill()._gc=!1,ie._first=ie._last=ie._recent=null,ie._sortChildren=!1,ie.add=ie.insert=function(t,i){var a,r;if(t._startTime=+(i||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),a=this._last,this._sortChildren)for(r=t._startTime;a&&a._startTime>r;)a=a._prev;return a?(t._next=a._next,a._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=a,this._recent=t,this._timeline&&this._uncache(!0),this},ie._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},ie.render=function(t,i,a){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,i,a):n.render((t-n._startTime)*n._timeScale,i,a)),n=r},ie.rawTime=function(){return re||ae.wake(),this._totalTime};var G=t("TweenLite",function(t,a,r){if(q.call(this,a,r),this.render=G.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t?G.selector(t)||t:t;var s,l,d,p=t.jquery||t.length&&t!==N&&t[0]&&(t[0]===N||t[0].nodeType&&t[0].style&&!t.nodeType),c=this.vars.overwrite;if(this._overwrite=c=null==c?W[G.defaultOverwrite]:"number"==typeof c?c>>0:W[c],(p||t instanceof Array||t.push&&o(t))&&"number"!=typeof t[0])for(this._targets=d=n(t),this._propLookup=[],this._siblings=[],s=0;s<d.length;s++)l=d[s],l?"string"==typeof l?(l=d[s--]=G.selector(l),"string"==typeof l&&d.splice(s+1,1)):l.length&&l!==N&&l[0]&&(l[0]===N||l[0].nodeType&&l[0].style&&!l.nodeType)?(d.splice(s--,1),this._targets=d=d.concat(n(l))):(this._siblings[s]=_(l,this,!1),1===c&&1<this._siblings[s].length&&me(l,this,null,1,this._siblings[s])):d.splice(s--,1);else this._propLookup={},this._siblings=_(t,this,!1),1===c&&1<this._siblings.length&&me(t,this,null,1,this._siblings);(this.vars.immediateRender||0===a&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-se,this.render(Math.min(0,-this._delay)))},!0),H=function(e){return e&&e.length&&e!==N&&e[0]&&(e[0]===N||e[0].nodeType&&e[0].style&&!e.nodeType)},I=function(e,t){var i,a={};for(i in e)de[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!S[i]||S[i]&&S[i]._autoCSS)||(a[i]=e[i],delete e[i]);e.css=a};ie=G.prototype=new q,ie.constructor=G,ie.kill()._gc=!1,ie.ratio=0,ie._firstPT=ie._targets=ie._overwrittenProps=ie._startAt=null,ie._notifyPluginsOfEnabled=ie._lazy=!1,G.version="2.1.3",G.defaultEase=ie._ease=new u(null,null,1,1),G.defaultOverwrite="auto",G.ticker=ae,G.autoSleep=120,G.lagSmoothing=function(e,t){ae.lagSmoothing(e,t)},G.selector=N.$||N.jQuery||function(e){var t=N.$||N.jQuery;return t?(G.selector=t,t(e)):(ee||(ee=N.document),ee?ee.querySelectorAll?ee.querySelectorAll(e):ee.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var J=[],K={},_e=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,M=function(e){for(var t,i=this._firstPT,a=1e-6;i;)t=i.blob?1===e&&null!=this.end?this.end:e?this.join(""):this.start:i.c*e+i.s,i.m?t=i.m.call(this._tween,t,this._target||i.t,this._tween):a>t&&t>-a&&!i.blob&&(t=0),i.f?i.fp?i.t[i.p](i.fp,t):i.t[i.p](t):i.t[i.p]=t,i=i._next},O=function(e){return(0|1e3*e)/1e3+""},P=function(t,r,s,_){var d,p,c,u,y,x,T,v=[],l=0,P="",w=0;for(v.start=t,v.end=r,t=v[0]=t+"",r=v[1]=r+"",s&&(s(v),t=v[0],r=v[1]),v.length=0,d=t.match(_e)||[],p=r.match(_e)||[],_&&(_._next=null,_.blob=1,v._firstPT=v._applyPT=_),y=p.length,u=0;y>u;u++)T=p[u],x=r.substr(l,r.indexOf(T,l)-l),P+=x||!u?x:",",l+=x.length,w?w=(w+1)%5:"rgba("===x.substr(-5)&&(w=1),T===d[u]||d.length<=u?P+=T:(P&&(v.push(P),P=""),c=parseFloat(d[u]),v.push(c),v._firstPT={_next:v._firstPT,t:v,p:v.length-1,s:c,c:("="===T.charAt(1)?parseInt(T.charAt(0)+"1",10)*parseFloat(T.substr(2)):parseFloat(T)-c)||0,f:0,m:w&&4>w?Math.round:O}),l+=T.length;return P+=r.substr(l),P&&v.push(P),v.setRatio=M,/[\+-]=-?[\.\d]/.test(r)&&(v.end=null),v},Q=function(t,a,r,s,_,e,p,c,u){"function"==typeof s&&(s=s(u||0,t));var i,g=typeof t[a],f="function"==g?a.indexOf("set")||"function"!=typeof t["get"+a.substr(3)]?a:"get"+a.substr(3):"",l="get"===r?f?p?t[f](p):t[f]():t[a]:r,m="string"==typeof s&&"="===s.charAt(1),n={t:t,p:a,s:l,f:"function"==g,pg:0,n:_||a,m:e?"function"==typeof e?e:Math.round:0,pr:0,c:m?parseInt(s.charAt(0)+"1",10)*parseFloat(s.substr(2)):parseFloat(s)-l||0};return("number"!=typeof l||"number"!=typeof s&&!m)&&(p||isNaN(l)||!m&&isNaN(s)||"boolean"==typeof l||"boolean"==typeof s?(n.fp=p,i=P(l,m?parseFloat(n.s)+n.c+(n.s+"").replace(/[0-9\-\.]/g,""):s,c||G.defaultStringFilter,n),n={t:i,p:"setRatio",s:0,c:1,f:2,pg:0,n:_||a,pr:0,m:0}):(n.s=parseFloat(l),m||(n.c=parseFloat(s)-n.s||0))),n.c?((n._next=this._firstPT)&&(n._next._prev=n),this._firstPT=n,n):void 0},R=G._internals={isArray:o,isSelector:H,lazyTweens:J,blobDif:P},S=G._plugins={},T=R.tweenLookup={},U=0,de=R.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,stagger:1},W={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},X=q._rootFramesTimeline=new F,Y=q._rootTimeline=new F,Z=30,pe=R.lazyRender=function(){var e,t,i=J.length;for(K={},e=0;i>e;e++)t=J[e],t&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);J.length=0};Y._startTime=ae.time,X._startTime=ae.frame,Y._active=X._active=!0,setTimeout(pe,1),q._updateRoot=G.render=function(){var e,t,i;if(J.length&&pe(),Y.render((ae.time-Y._startTime)*Y._timeScale,!1,!1),X.render((ae.frame-X._startTime)*X._timeScale,!1,!1),J.length&&pe(),ae.frame>=Z){for(i in Z=ae.frame+(parseInt(G.autoSleep,10)||120),T){for(t=T[i].tweens,e=t.length;-1<--e;)t[e]._gc&&t.splice(e,1);0===t.length&&delete T[i]}if(i=Y._first,(!i||i._paused)&&G.autoSleep&&!X._first&&1===ae._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||ae.sleep()}}},ae.addEventListener("tick",q._updateRoot);var _=function(t,i,a){var r,n,s=t._gsTweenID;if(T[s||(t._gsTweenID=s="t"+U++)]||(T[s]={target:t,tweens:[]}),i&&(r=T[s].tweens,r[n=r.length]=i,a))for(;-1<--n;)r[n]===i&&r.splice(n,1);return T[s].tweens},ce=function(t,i,a,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,i,a,r)),o=G.onOverwrite,o&&(s=o(t,i,a,r)),!1!==n&&!1!==s},me=function(t,a,r,n,s){var e,_,d,p;if(1===n||4<=n){for(p=s.length,e=0;p>e;e++)if((d=s[e])!==a)d._gc||d._kill(null,t,a)&&(_=!0);else if(5===n)break;return _}var c,u=a._startTime+se,y=[],l=0,x=0===a._duration;for(e=s.length;-1<--e;)(d=s[e])===a||d._gc||d._paused||(d._timeline===a._timeline?d._startTime<=u&&d._startTime+d.totalDuration()/d._timeScale>u&&((x||!d._initted)&&u-d._startTime<=2*se||(y[l++]=d)):(c=c||ue(a,0,x),0===ue(d,c,x)&&(y[l++]=d)));for(e=l;-1<--e;)if(d=y[e],p=d._firstPT,2===n&&d._kill(r,t,a)&&(_=!0),2!==n||!d._firstPT&&d._initted&&p){if(2!==n&&!ce(d,a))continue;d._enabled(!1,!1)&&(_=!0)}return _},ue=function(t,i,a){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return s/=n,s>i?s-i:a&&s===i||!t._initted&&2*se>s-i?se:(s+=t.totalDuration()/t._timeScale/n)>i+se?0:s-i-se};ie._init=function(){var t,r,n,s,o,_,p=this.vars,m=this._overwrittenProps,g=this._duration,i=!!p.immediateRender,h=p.ease,y=this._startAt;if(p.startAt){for(s in y&&(y.render(-1,!0),y.kill()),o={},p.startAt)o[s]=p.startAt[s];if(o.data="isStart",o.overwrite=!1,o.immediateRender=!0,o.lazy=i&&!1!==p.lazy,o.startAt=o.delay=null,o.onUpdate=p.onUpdate,o.onUpdateParams=p.onUpdateParams,o.onUpdateScope=p.onUpdateScope||p.callbackScope||this,this._startAt=G.to(this.target||{},0,o),i)if(0<this._time)this._startAt=null;else if(0!==g)return}else if(p.runBackwards&&0!==g)if(y)y.render(-1,!0),y.kill(),this._startAt=null;else{for(s in 0!==this._time&&(i=!1),n={},p)de[s]&&"autoCSS"!==s||(n[s]=p[s]);if(n.overwrite=0,n.data="isFromStart",n.lazy=i&&!1!==p.lazy,n.immediateRender=i,this._startAt=G.to(this.target,0,n),!i)this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null);else if(0===this._time)return}if(this._ease=h=h?h instanceof u?h:"function"==typeof h?new u(h,p.easeParams):v[h]||G.defaultEase:G.defaultEase,p.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,p.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(_=this._targets.length,t=0;_>t;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],m?m[t]:null,t)&&(r=!0);else r=this._initProps(this.target,this._propLookup,this._siblings,m,0);if(r&&G._onPluginEvent("_onInitAllProps",this),m&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),p.runBackwards)for(n=this._firstPT;n;)n.s+=n.c,n.c=-n.c,n=n._next;this._onUpdate=p.onUpdate,this._initted=!0},ie._initProps=function(t,a,r,n,e){var s,_,d,p,c,m;if(null==t)return!1;for(s in K[t._gsTweenID]&&pe(),this.vars.css||t.style&&t!==N&&t.nodeType&&S.css&&!1!==this.vars.autoCSS&&I(this.vars,t),this.vars)if(m=this.vars[s],de[s])m&&(m instanceof Array||m.push&&o(m))&&-1!==m.join("").indexOf("{self}")&&(this.vars[s]=m=this._swapSelfInParams(m,this));else if(S[s]&&(p=new S[s])._onInitTween(t,this.vars[s],this,e)){for(this._firstPT=c={_next:this._firstPT,t:p,p:"setRatio",s:0,c:1,f:1,n:s,pg:1,pr:p._priority,m:0},_=p._overwriteProps.length;-1<--_;)a[p._overwriteProps[_]]=this._firstPT;(p._priority||p._onInitAllProps)&&(d=!0),(p._onDisable||p._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else a[s]=Q.call(this,t,s,"get",m,s,0,null,this.vars.stringFilter,e);return n&&this._kill(n,t)?this._initProps(t,a,r,n,e):1<this._overwrite&&this._firstPT&&1<r.length&&me(t,this,a,this._overwrite,r)?(this._kill(a,t),this._initProps(t,a,r,n,e)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(K[t._gsTweenID]=!0),d)},ie.render=function(t,r,n){var s,_,p,u,y=this,h=y._time,i=y._duration,x=y._rawPrevTime;if(t>=i-se&&0<=t)y._totalTime=y._time=i,y.ratio=y._ease._calcEnd?y._ease.getRatio(1):1,y._reversed||(s=!0,_="onComplete",n=n||y._timeline.autoRemoveChildren),0===i&&(y._initted||!y.vars.lazy||n)&&(y._startTime===y._timeline._duration&&(t=0),(0>x||0>=t&&t>=-se||x===se&&"isPause"!==y.data)&&x!==t&&(n=!0,x>se&&(_="onReverseComplete")),y._rawPrevTime=u=!r||t||x===t?t:se);else if(se>t)y._totalTime=y._time=0,y.ratio=y._ease._calcEnd?y._ease.getRatio(0):0,(0!==h||0===i&&0<x)&&(_="onReverseComplete",s=y._reversed),t>-se?t=0:0>t&&(y._active=!1,0===i&&(y._initted||!y.vars.lazy||n)&&(0<=x&&(x!==se||"isPause"!==y.data)&&(n=!0),y._rawPrevTime=u=!r||t||x===t?t:se)),(!y._initted||y._startAt&&y._startAt.progress())&&(n=!0);else if(y._totalTime=y._time=t,y._easeType){var T=t/i,v=y._easeType,m=y._easePower;(1===v||3===v&&.5<=T)&&(T=1-T),3===v&&(T*=2),1===m?T*=T:2===m?T*=T*T:3===m?T*=T*T*T:4===m&&(T*=T*T*T*T),y.ratio=1===v?1-T:2===v?T:.5>t/i?T/2:1-T/2}else y.ratio=y._ease.getRatio(t/i);if(y._time!==h||n){if(!y._initted){if(y._init(),!y._initted||y._gc)return;if(!n&&y._firstPT&&(!1!==y.vars.lazy&&y._duration||y.vars.lazy&&!y._duration))return y._time=y._totalTime=h,y._rawPrevTime=x,J.push(y),void(y._lazy=[t,r]);y._time&&!s?y.ratio=y._ease.getRatio(y._time/i):s&&y._ease._calcEnd&&(y.ratio=y._ease.getRatio(0===y._time?0:1))}for(!1!==y._lazy&&(y._lazy=!1),y._active||!y._paused&&y._time!==h&&0<=t&&(y._active=!0),0===h&&(y._startAt&&(0<=t?y._startAt.render(t,!0,n):_||(_="_dummyGS")),y.vars.onStart&&(0!==y._time||0===i)&&(r||y._callback("onStart"))),p=y._firstPT;p;)p.f?p.t[p.p](p.c*y.ratio+p.s):p.t[p.p]=p.c*y.ratio+p.s,p=p._next;y._onUpdate&&(0>t&&y._startAt&&-1e-4!==t&&y._startAt.render(t,!0,n),r||(y._time!==h||s||n)&&y._callback("onUpdate")),_&&(!y._gc||n)&&(0>t&&y._startAt&&!y._onUpdate&&-1e-4!==t&&y._startAt.render(t,!0,n),s&&(y._timeline.autoRemoveChildren&&y._enabled(!1,!1),y._active=!1),!r&&y.vars[_]&&y._callback(_),0===i&&y._rawPrevTime===se&&u!==se&&(y._rawPrevTime=0))}},ie._kill=function(t,r,s){if("all"===t&&(t=null),null==t&&(null==r||r===this.target))return this._lazy=!1,this._enabled(!1,!1);r="string"==typeof r?G.selector(r)||r:r||this._targets||this.target;var _,p,c,u,y,x,T,v,P,w=s&&this._time&&s._startTime===this._startTime&&this._timeline===s._timeline,m=this._firstPT;if((o(r)||H(r))&&"number"!=typeof r[0])for(_=r.length;-1<--_;)this._kill(t,r[_],s)&&(x=!0);else{if(this._targets){for(_=this._targets.length;-1<--_;)if(r===this._targets[_]){y=this._propLookup[_]||{},this._overwrittenProps=this._overwrittenProps||[],p=this._overwrittenProps[_]=t?this._overwrittenProps[_]||{}:"all";break}}else{if(r!==this.target)return!1;y=this._propLookup,p=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(y){if(T=t||y,v=t!==p&&"all"!==p&&t!==y&&("object"!=typeof t||!t._tempKill),s&&(G.onOverwrite||this.vars.onOverwrite)){for(c in T)y[c]&&(P||(P=[]),P.push(c));if((P||!t)&&!ce(this,s,r,P))return!1}for(c in T)(u=y[c])&&(w&&(u.f?u.t[u.p](u.s):u.t[u.p]=u.s,x=!0),u.pg&&u.t._kill(T)&&(x=!0),u.pg&&0!==u.t._overwriteProps.length||(u._prev?u._prev._next=u._next:u===this._firstPT&&(this._firstPT=u._next),u._next&&(u._next._prev=u._prev),u._next=u._prev=null),delete y[c]),v&&(p[c]=1);!this._firstPT&&this._initted&&m&&this._enabled(!1,!1)}}return x},ie.invalidate=function(){this._notifyPluginsOfEnabled&&G._onPluginEvent("_onDisable",this);var e=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],q.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-se,this.render(e,!1,!1!==this.vars.lazy)),this},ie._enabled=function(e,t){if(re||ae.wake(),e&&this._gc){var i,a=this._targets;if(a)for(i=a.length;-1<--i;)this._siblings[i]=_(a[i],this,!0);else this._siblings=_(this.target,this,!0)}return q.prototype._enabled.call(this,e,t),!!(this._notifyPluginsOfEnabled&&this._firstPT)&&G._onPluginEvent(e?"_onEnable":"_onDisable",this)},G.to=function(e,t,i){return new G(e,t,i)},G.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new G(e,t,i)},G.fromTo=function(e,t,i,a){return a.startAt=i,a.immediateRender=0!=a.immediateRender&&0!=i.immediateRender,new G(e,t,a)},G.delayedCall=function(t,i,a,r,n){return new G(i,0,{delay:t,onComplete:i,onCompleteParams:a,callbackScope:r,onReverseComplete:i,onReverseCompleteParams:a,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},G.set=function(e,t){return new G(e,0,t)},G.getTweensOf=function(t,i){if(null==t)return[];t="string"==typeof t?G.selector(t)||t:t;var r,n,s,l;if((o(t)||H(t))&&"number"!=typeof t[0]){for(r=t.length,n=[];-1<--r;)n=n.concat(G.getTweensOf(t[r],i));for(r=n.length;-1<--r;)for(l=n[r],s=r;-1<--s;)l===n[s]&&n.splice(r,1)}else if(t._gsTweenID)for(n=_(t).concat(),r=n.length;-1<--r;)(n[r]._gc||i&&!n[r].isActive())&&n.splice(r,1);return n||[]},G.killTweensOf=G.killDelayedCallsTo=function(t,i,a){"object"==typeof i&&(a=i,i=!1);for(var r=G.getTweensOf(t,i),n=r.length;-1<--n;)r[n]._kill(a,t)};var ge=t("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=ge.prototype},!0);if(ie=ge.prototype,ge.version="1.19.0",ge.API=2,ie._firstPT=null,ie._addTween=Q,ie.setRatio=M,ie._kill=function(e){var t,i=this._overwriteProps,a=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;-1<--t;)null!=e[i[t]]&&i.splice(t,1);for(;a;)null!=e[a.n]&&(a._next&&(a._next._prev=a._prev),a._prev?(a._prev._next=a._next,a._prev=null):this._firstPT===a&&(this._firstPT=a._next)),a=a._next;return!1},ie._mod=ie._roundProps=function(e){for(var t,i=this._firstPT;i;)t=e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")],t&&"function"==typeof t&&(2===i.f?i.t._applyPT.m=t:i.m=t),i=i._next},G._onPluginEvent=function(t,i){var a,r,n,s,o,l=i._firstPT;if("_onInitAllProps"===t){for(;l;){for(o=l._next,r=n;r&&r.pr>l.pr;)r=r._next;(l._prev=r?r._prev:s)?l._prev._next=l:n=l,(l._next=r)?r._prev=l:s=l,l=o}l=i._firstPT=n}for(;l;)l.pg&&"function"==typeof l.t[t]&&l.t[t]()&&(a=!0),l=l._next;return a},ge.activate=function(e){for(var t=e.length;-1<--t;)e[t].API===ge.API&&(S[new e[t]()._propName]=e[t]);return!0},s.plugin=function(i){if(!(i&&i.propName&&i.init&&i.API))throw"illegal plugin definition.";var a,r=i.propName,n=i.priority||0,s=i.overwriteProps,e={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=t("plugins."+r.charAt(0).toUpperCase()+r.substr(1)+"Plugin",function(){ge.call(this,r,n),this._overwriteProps=s||[]},!0===i.global),l=o.prototype=new ge(r);for(a in l.constructor=o,o.API=i.API,e)"function"==typeof i[a]&&(l[e[a]]=i[a]);return o.version=i.version,ge.activate([o]),o},c=N._gsQueue){for(f=0;f<c.length;f++)c[f]();for(ie in m)m[ie].func||N.console.log("GSAP encountered missing dependency: "+ie)}re=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),!function(e,t){"function"==typeof define&&define.amd?define(t):"undefined"==typeof exports?t():module.exports=t()}(this,function(){("undefined"==typeof LS_GSAP?window:LS_GSAP).SplitType=function(_,m,T){function c(e){return null!==e&&"object"==typeof e}function r(e){return c(e)&&"number"==typeof e.length&&0<e.length}function s(e){return c(e)&&"[object Object]"===Object.prototype.toString.call(e)}function t(e){return c(e)&&/^(1|3|11)$/.test(e.nodeType)}function u(e){return"string"==typeof e}function v(t,a,n){for(var o=Object(t),l=r(o)?o:s(o)?i(o):[o],e=parseInt(l.length)||0,_=0;_<e;_++)a.call(n,l[_],_,o)}function d(e,t){return e=Object(e),t=Object(t),Object.getOwnPropertyNames(e).reduce(function(i,a){return h(i,a,l(t,a)||l(e,a))},{})}function P(t,a,r){var n,s={};return c(t)&&(n=t[S]||(t[S]=++f),s=e[n]||(e[n]={})),r===T?a===T?s:s[a]:a===T?void 0:(s[a]=r,r)}function y(t){var i=t&&t[S];i&&(delete t[i],delete e[i])}function w(i,r){var n=m.createElement(i);return r===T?n:(v(r,function(e){var i=r[e];null!==i&&("textContent"===e?n.textContent=i:"innerHTML"===e?n.innerHTML=i:"children"===e?v(i,function(e){t(e)&&n.appendChild(e)}):n.setAttribute(e,i))}),n)}function x(i){var n,s,o,l,_,p,y,x=[];if(u(i)&&(n=i.trim(),s="#"===n[0]&&!/[^\w]/.test(o=n.slice(1)),i=s?m.getElementById(o):m.querySelectorAll(n)),n||t(i))return t(i)?[i]:C.call(i);if(r(i))for(p=0,l=i.length;p<l;p++)if(r(i[p]))for(y=0,_=i[p].length;y<_;y++)t(i[p][y])&&x.push(i[p][y]);else t(i[p])&&x.push(i[p]);return x}function b(i){var o,p,h,y,T,O=this.settings,c=O.tagName,d="B"+1*new Date+"R",e=O.split,g=-1!==e.indexOf("lines"),S=-1!==e.indexOf("words"),k=-1!==e.indexOf("chars"),l="absolute"===O.position||!0===O.absolute,m=w("div"),b=[],A=[],j=[];if(T=g?w("div"):a(),m.innerHTML=i.innerHTML.replace(/<br\s*\/?>/g," "+d+" "),o=m.textContent.replace(/\s+/g," ").trim(),A=o.split(" ").map(function(e){if(e===d)return T.appendChild(w("br")),null;if(k){var t=e.split("").map(function(e){return y=w(c,{class:O.charClass+" "+O.splitClass,style:"display: inline-block;",textContent:e})});R.apply(j,t)}return S||g?(h=w(c,{class:O.wordClass+" "+O.splitClass,style:"display: inline-block; position:"+(S?"relative":"static;"),children:k?t:null,textContent:k?null:e}),T.appendChild(h)):v(t,function(e){T.appendChild(e)}),T.appendChild(n(" ")),h},this).filter(function(e){return e}),i.innerHTML="",i.appendChild(T),R.apply(this.words,A),R.apply(this.chars,j),l||g){var s,X,Y,N,M,U,V,W,Q,Z,$,ee=[];V=P(i).nodes=i.getElementsByTagName(c),W=i.parentElement,Q=i.nextElementSibling,Z=_.getComputedStyle(i),$=Z.textAlign,l&&(N={left:T.offsetLeft,top:T.offsetTop,width:T.offsetWidth},U=i.offsetWidth,M=i.offsetHeight,P(i).cssWidth=i.style.width,P(i).cssHeight=i.style.height),v(V,function(e){if(e!==T){var t,i=e.parentElement===T;g&&i&&(t=P(e).top=e.offsetTop,t!==X&&(X=t,ee.push(s=[])),s.push(e)),l&&(P(e).top=t||e.offsetTop,P(e).left=e.offsetLeft,P(e).width=e.offsetWidth,P(e).height=Y||(Y=e.offsetHeight))}}),W.removeChild(i),g&&(T=a(),b=ee.map(function(e){return T.appendChild(p=w(c,{class:O.lineClass+" "+O.splitClass,style:"display: block; text-align:"+$+"; width: 100%;"})),l&&(P(p).type="line",P(p).top=P(e[0]).top,P(p).height=Y),v(e,function(e){S?p.appendChild(e):k?C.call(e.children).forEach(function(e){p.appendChild(e)}):p.appendChild(n(e.textContent)),p.appendChild(n(" "))}),p}),i.replaceChild(T,i.firstChild),R.apply(this.lines,b)),l&&(i.style.width=i.style.width||U+"px",i.style.height=M+"px",v(V,function(e){var t="line"===P(e).type,i=!t&&"line"===P(e.parentElement).type;e.style.top=i?0:P(e).top+"px",e.style.left=t?N.left+"px":(i?P(e).left-N.left:P(e).left)+"px",e.style.height=P(e).height+"px",e.style.width=t?N.width+"px":P(e).width+"px",e.style.position="absolute"})),Q?W.insertBefore(i,Q):W.appendChild(i)}}function O(e,t){return this instanceof O?(this.isSplit=!1,this.settings=d(o,t),this.elements=x(e),void(this.elements.length&&(this.originals=this.elements.map(function(e){return P(e).html=P(e).html||e.innerHTML}),this.split()))):new O(e,t)}if(m.addEventListener&&Function.prototype.bind){var S="splitType"+1*new Date,e={},f=0,R=Array.prototype.push,C=Array.prototype.slice,i=Object.keys,h=(Object.prototype.hasOwnProperty,Object.defineProperty),l=(Object.defineProperties,Object.getOwnPropertyDescriptor),a=m.createDocumentFragment.bind(m),n=m.createTextNode.bind(m),o={splitClass:"",lineClass:"ls-ln",wordClass:"ls-wd",charClass:"ls-ch",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"ls-tb",DEBUG:!1};return h(O,"defaults",{get:function(){return o},set:function(e){o=d(o,e)}}),O.prototype.split=function(e){this.revert(),this.lines=[],this.words=[],this.chars=[],e!==T&&(this.settings=d(this.settings,e)),v(this.elements,function(e){b.call(this,e),P(e).isSplit=!0},this),this.isSplit=!0,v(this.elements,function(e){for(var t=P(e).nodes||[],i=0,a=t.length;i<a;i++)y(t[i])})},O.prototype.revert=function(){this.isSplit&&(this.lines=this.words=this.chars=null),v(this.elements,function(e){P(e).isSplit&&P(e).html&&(e.innerHTML=P(e).html,e.style.height=P(e).cssHeight||"",e.style.width=P(e).cssWidth||"",this.isSplit=!1)},this)},O}}(window,document)}),"object"==typeof LS_Meta&&LS_Meta.fixGSAP&&(window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine,window.GreenSockGlobals=LS_oldGS,window._gsQueue=LS_oldGSQueue,window._gsDefine=LS_oldGSDefine);window._layerSlider={globals:{youTubeIsReady:!1,vimeoIsReady:!1},GSAP:"undefined"!=typeof LS_GSAP&&LS_GSAP,pluginsLoaded:[],pluginsNotLoaded:[],pluginsBeingLoaded:[],plugins:{},slidersList:{},closePopupsOnEsc:{},currentScript:document.currentScript,lsScript:jQuery("script[src*=\"layerslider.kreaturamedia.jquery.js\"]")[0],scriptPath:"",pluginsPath:!1,showNotice:function(e,t,i,a){var r,n,s,o=jQuery(e),l="ls-issue-"+t;"jquery"===t?(s="Multiple jQuery issue",n="It looks like that another plugin or your theme loads an extra copy of the jQuery library causing problems for LayerSlider to show your sliders. Please navigate from your WordPress admin sidebar to LayerSlider -> Options -> Advanced and enable the \"Include scripts in the footer\" option."):"oldjquery"===t?(s="Old jQuery issue",n="It looks like you are using an old version ("+i+") of the jQuery library. LayerSlider requires at least version "+a+" or newer. Please update jQuery to 1.10.x or higher. Important: Please do not use the jQuery Updater plugin on WordPress as it can cause issues in certain cases."):void 0;o.each(function(){r=jQuery(this),r.hasClass(l)||(r.addClass(l),jQuery("<div class=\"ls-slider-notification\"><i class=\"ls-slider-notification-logo\">!</i><strong>LayerSlider: "+s+"</strong><span>"+n+"</span></div>").insertBefore(r))})},removeSlider:function(e){this.slidersList[e]=null,delete this.slidersList[e]},checkVersions:function(e,t){for(var a=e.split("."),r=t.split("."),n=0;n<a.length;++n){if(r.length==n)return!1;if(parseInt(a[n])==parseInt(r[n]))continue;else return!(parseInt(a[n])>parseInt(r[n]))}return!(a.length!=r.length)||!0}},Number.prototype.indexOf=function(e){return(""+this).indexOf(e)};
;!function(ae){"use strict";window._layerSliders={},window._lsData={$overflowWrapper:ae("body").length?ae("body"):ae("html"),isMobile:!!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|webOS|Windows Phone|IEMobile|mobi|opera mini|nexus 7)/i)||navigator.maxTouchPoints&&2<navigator.maxTouchPoints&&/Macintosh/.test(navigator.userAgent),supportOrientation:!!window.DeviceOrientationEvent,screen:{},document:{},viewport:{},scroll:{direction:"down"},resize:{},getScreenSize:function(){window._lsData.screen={width:screen.width,height:screen.height,ratio:screen.width/screen.height}},slide:{keys:{slidedelay:["data","duration"],duration:["data","duration"],timeshift:["data","timeShift"],transition2d:["data","transition2d"],transition3d:["data","transition3d"],transitionorigami:["data","transitionorigami"],customtransition2d:["data","customtransition2d"],customtransition3d:["data","customtransition3d"],transitionduration:["data","transitionDuration"],backgroundsize:["data","backgroundSize"],bgsize:["data","backgroundSize"],backgroundposition:["data","backgroundPosition"],bgposition:["data","backgroundPosition"],backgroundcolor:["data","backgroundColor"],bgcolor:["data","backgroundColor"],thumbnail:["data","thumbnail"],deeplink:["data","deeplink"],overflow:["data","overflow"],kenburnspan:["kenBurns","pan"],kenburnszoom:["kenBurns","zoom"],kenburnsrotation:["kenBurns","rotation"],kenburnsrotate:["kenBurns","rotation"],kenburnsscale:["kenBurns","scale"],filterfrom:["filter","from"],filterto:["filter","to"],parallaxtype:["parallax","type"],parallaxevent:["parallax","event"],parallaxaxis:["parallax","axis"],parallaxdistance:["parallax","distance"],parallaxrotate:["parallax","rotation"],parallaxtransformorigin:["parallax","transformOrigin"],parallaxtransformperspective:["parallax","transformPerspective"],parallaxskewx:["parallax","skewX"],parallaxskewy:["parallax","skewY"],parallaxscalex:["parallax","scaleX"],parallaxscaley:["parallax","scaleY"],parallaxdurationenter:["parallax","durationEnter"],parallaxdurationmove:["parallax","durationMove"],parallaxdurationleave:["parallax","durationLeave"],parallaxorigin:["parallax","origin"],parallaxcount:["parallax","count"],parallaxpath:["parallax","path"],parallaxdirection:["parallax","direction"],parallaxstartat:["parallax","startAt"],parallaxpathduration:["parallax","pathDuration"],parallaxrandomcount:["parallax","randomCount"],parallaxoffsetx:["parallax","randomX"],parallaxoffsety:["parallax","randomY"],parallaxrandomstartat:["parallax","randomStartAt"],parallaxrandomduration:["parallax","randomDuration"],parallaxrandomwait:["parallax","randomWait"],parallaxeasing:["parallax","ease"],globalhover:["data","globalhover"]}},layer:{keys:{keyframe:["is"],responsive:["is"],pinned:["is"],position:["settings"],static:["settings"],minresponsiveratio:["settings"],maxresponsiveratio:["settings"],usesliderratio:["settings"],trmask:["settings"],smartbgease:["settings"],minfontsize:["styleSettings"],minmobilefontsize:["styleSettings"],overlay:["styleSettings"],pointerevents:["styleSettings"],smartbg:["styleSettings"],autoplay:["mediaSettings"],controls:["mediaSettings"],showinfo:["mediaSettings"],thumbnail:["poster","mediaSettings"],poster:["mediaSettings"],volume:["mediaSettings"],muted:["mediaSettings"],loopmedia:["loop","mediaSettings"],backgroundvideo:["backgroundVideo","mediaSettings"],fadein:["opacity","inLayerFromCSS"],opacityin:["opacity","inLayerFromCSS"],rotatein:["rotation","inLayerFromCSS"],rotatexin:["rotationX","inLayerFromCSS"],rotateyin:["rotationY","inLayerFromCSS"],rotationin:["rotation","inLayerFromCSS"],rotationxin:["rotationX","inLayerFromCSS"],rotationyin:["rotationY","inLayerFromCSS"],scalein:["scale","inLayerFromCSS"],scalexin:["scaleX","inLayerFromCSS"],scaleyin:["scaleY","inLayerFromCSS"],skewxin:["skewX","inLayerFromCSS"],skewyin:["skewY","inLayerFromCSS"],bgcolorin:["backgroundColor","inLayerStyleFromCSS"],colorin:["color","inLayerStyleFromCSS"],radiusin:["borderRadius","inLayerStyleShouldBeConvertedFrom"],widthin:["width","inLayerStyleShouldBeConvertedFrom"],heightin:["height","inLayerStyleShouldBeConvertedFrom"],filterin:["filter","inLayerStyleShouldBeConvertedFrom"],clipin:["clipPath","inClipFromCSS"],zindexin:["zIndex","in"],rotate:["rotation","inLayerToCSS"],rotatex:["rotationX","inLayerToCSS"],rotatey:["rotationY","inLayerToCSS"],rotation:["rotation","inLayerToCSS"],rotationx:["rotationX","inLayerToCSS"],rotationy:["rotationY","inLayerToCSS"],scale:["scale","inLayerToCSS"],scalex:["scaleX","inLayerToCSS"],scaley:["scaleY","inLayerToCSS"],skewx:["skewX","inLayerToCSS"],skewy:["skewY","inLayerToCSS"],transformoriginin:["transformOrigin","inLayerShouldBeConverted"],offsetxin:["x","inLayerShouldBeConverted"],offsetyin:["y","inLayerShouldBeConverted"],delayin:["startAt","in"],startatin:["startAt","in"],startatfirst:["startAtFirst","in"],instartat:["startAt","in"],durationin:["duration","in"],easein:["ease","in"],easingin:["ease","in"],transitionin:["enabled","in"],transformmirrorin:["mirror","in"],skipviewport:["skipViewport","settings"],textfadein:["opacity","textInNodesFrom"],textopacityin:["opacity","textInNodesFrom"],textrotatein:["rotation","textInNodesFrom"],textrotatexin:["rotationX","textInNodesFrom"],textrotateyin:["rotationY","textInNodesFrom"],textrotationin:["rotation","textInNodesFrom"],textrotationxin:["rotationX","textInNodesFrom"],textrotationyin:["rotationY","textInNodesFrom"],textscalein:["scale","textInNodesFrom"],textscalexin:["scaleX","textInNodesFrom"],textscaleyin:["scaleY","textInNodesFrom"],textskewxin:["skewX","textInNodesFrom"],textskewyin:["skewY","textInNodesFrom"],textcolorin:["color","textInNodesFrom"],textclipin:["clipPath","textInNodesFrom"],textoverflowin:["overflow","textInLayerStyle"],texteasein:["ease","textInNodesTo"],texteasingin:["ease","textInNodesTo"],texttransformoriginin:["transformOrigin","textInShouldBeConverted"],textoffsetxin:["x","textInShouldBeConverted"],textoffsetyin:["y","textInShouldBeConverted"],texttypein:["type","textIn"],textshiftin:["shiftNodes","textIn"],textdelayin:["startAt","textIn"],textstartatin:["startAt","textIn"],textinstartat:["startAt","textIn"],textdurationin:["duration","textIn"],texttransitionin:["enabled","textIn"],texttransformmirrorin:["mirror","textIn"],fadeout:["opacity","outLayerToCSS"],opacityout:["opacity","outLayerToCSS"],rotateout:["rotation","outLayerToCSS"],rotatexout:["rotationX","outLayerToCSS"],rotateyout:["rotationY","outLayerToCSS"],rotationout:["rotation","outLayerToCSS"],rotationxout:["rotationX","outLayerToCSS"],rotationyout:["rotationY","outLayerToCSS"],scaleout:["scale","outLayerToCSS"],scalexout:["scaleX","outLayerToCSS"],scaleyout:["scaleY","outLayerToCSS"],skewxout:["skewX","outLayerToCSS"],skewyout:["skewY","outLayerToCSS"],bgcolorout:["backgroundColor","outLayerStyleToCSS"],colorout:["color","outLayerStyleToCSS"],radiusout:["borderRadius","outLayerStyleShouldBeConvertedTo"],widthout:["width","outLayerStyleShouldBeConvertedTo"],heightout:["height","outLayerStyleShouldBeConvertedTo"],filterout:["filter","outLayerStyleShouldBeConvertedTo"],clipout:["clipPath","outClipToCSS"],zindexout:["zIndex","out"],transformoriginout:["transformOrigin","outLayerShouldBeConverted"],offsetxout:["x","outLayerShouldBeConverted"],offsetyout:["y","outLayerShouldBeConverted"],showuntil:["showUntil","out"],startatout:["startAt","out"],outstartat:["startAt","out"],durationout:["duration","out"],easeout:["ease","out"],easingout:["ease","out"],transitionout:["enabled","out"],transformmirrorout:["mirror","out"],textfadeout:["opacity","textOutNodesTo"],textopacityout:["opacity","textOutNodesTo"],textrotateout:["rotation","textOutNodesTo"],textrotatexout:["rotationX","textOutNodesTo"],textrotateyout:["rotationY","textOutNodesTo"],textrotationout:["rotation","textOutNodesTo"],textrotationxout:["rotationX","textOutNodesTo"],textrotationyout:["rotationY","textOutNodesTo"],textscaleout:["scale","textOutNodesTo"],textscalexout:["scaleX","textOutNodesTo"],textscaleyout:["scaleY","textOutNodesTo"],textskewxout:["skewX","textOutNodesTo"],textskewyout:["skewY","textOutNodesTo"],textcolorout:["color","textOutNodesTo"],textclipout:["clipPath","textOutNodesTo"],texteaseout:["ease","textOutNodesTo"],texteasingout:["ease","textOutNodesTo"],texttransformoriginout:["transformOrigin","textOutShouldBeConverted"],textoffsetxout:["x","textOutShouldBeConverted"],textoffsetyout:["y","textOutShouldBeConverted"],textoverflowout:["overflow","textOutLayerStyle"],texttypeout:["type","textOut"],textshiftout:["shiftNodes","textOut"],textdelayout:["startAt","textOut"],textstartatout:["startAt","textOut"],textoutstartat:["startAt","textOut"],textdurationout:["duration","textOut"],texttransitionout:["enabled","textOut"],texttransformmirrorout:["mirror","textOut"],loopopacity:["opacity","loopLayerShouldBeConverted"],looprotate:["rotation","loopLayerShouldBeConverted"],looprotatex:["rotationX","loopLayerShouldBeConverted"],looprotatey:["rotationY","loopLayerShouldBeConverted"],looprotation:["rotation","loopLayerShouldBeConverted"],looprotationx:["rotationX","loopLayerShouldBeConverted"],looprotationy:["rotationY","loopLayerShouldBeConverted"],loopscale:["scale","loopLayerShouldBeConverted"],loopscalex:["scaleX","loopLayerShouldBeConverted"],loopscaley:["scaleY","loopLayerShouldBeConverted"],loopskewx:["skewX","loopLayerShouldBeConverted"],loopskewy:["skewY","loopLayerShouldBeConverted"],looptransformorigin:["transformOrigin","loopLayerShouldBeConverted"],loopoffsetx:["x","loopLayerShouldBeConverted"],loopoffsety:["y","loopLayerShouldBeConverted"],loopfilter:["filter","loopLayerShouldBeConverted"],loopclip:["clipPath","loopClipToCSS"],loopdelay:["startAt","loop"],loopstartat:["startAt","loop"],loopduration:["duration","loopTimingsShouldBeConverted"],loopcount:["count","loop"],looptweendelay:["tweenDelay","loopTimingsShouldBeConverted"],looprepeatdelay:["repeatDelay","loopTimingsShouldBeConverted"],loopyoyo:["yoyo","loop"],loopyoyodelay:["yoyoDelay","loopTimingsShouldBeConverted"],loopease:["ease","loop"],loopeasing:["ease","loop"],loopresume:["resume","loop"],loop:["enabled","loop"],hoveropacity:["opacity","hoverToCSS"],hoverrotate:["rotation","hoverToCSS"],hoverrotatex:["rotationX","hoverToCSS"],hoverrotatey:["rotationY","hoverToCSS"],hoverrotation:["rotation","hoverToCSS"],hoverrotationx:["rotationX","hoverToCSS"],hoverrotationy:["rotationY","hoverToCSS"],hoverscale:["scale","hoverToCSS"],hoverscalex:["scaleX","hoverToCSS"],hoverscaley:["scaleY","hoverToCSS"],hoverskewx:["skewX","hoverToCSS"],hoverskewy:["skewY","hoverToCSS"],hoverbgcolor:["backgroundColor","hoverToCSS"],hovercolor:["color","hoverToCSS"],hoverease:["easeIn","hover"],hovereasing:["easeIn","hover"],hovereasein:["easeIn","hover"],hovereasingin:["easeIn","hover"],hovereaseout:["easeOut","hover"],hovereasingout:["easeOut","hover"],hoverduration:["durationIn","hover"],hoverdurationin:["durationIn","hover"],hoverdurationout:["durationOut","hover"],hoveralwaysontop:["alwaysOnTop","hover"],hoveroffsetx:["x","hoverShouldBeConverted"],hoveroffsety:["y","hoverShouldBeConverted"],hoverfilter:["filter","hoverShouldBeConverted"],hoverborderradius:["borderRadius","hoverShouldBeConverted"],hoverradius:["borderRadius","hoverShouldBeConverted"],hovertransformorigin:["transformOrigin","hoverShouldBeConverted"],hoverskipglobal:["skipGlobal","hover"],hover:["enabled","hover"],kenburnspan:["pan","kenBurns"],kenburnszoom:["zoom","kenBurns"],kenburnsrotation:["rotation","kenBurns"],kenburnsrotate:["rotation","kenBurns"],kenburnsscale:["scale","kenBurns"],parallaxreset:["reset","parallax"],parallaxlevel:["level","parallax"],parallaxtype:["type","parallax"],parallaxevent:["event","parallax"],parallaxaxis:["axis","parallax"],parallaxdistance:["distance","parallax"],parallaxrotate:["rotation","parallax"],parallaxtransformorigin:["transformOrigin","parallax"],parallaxskewx:["skewX","parallax"],parallaxskewy:["skewY","parallax"],parallaxscalex:["scaleX","parallax"],parallaxscaley:["scaleY","parallax"],parallaxdurationenter:["durationEnter","parallax"],parallaxdurationmove:["durationMove","parallax"],parallaxdurationleave:["durationLeave","parallax"],parallaxorigin:["origin","parallax"],parallaxcount:["count","parallax"],parallaxpath:["path","parallax"],parallaxdirection:["direction","parallax"],parallaxstartat:["startAt","parallax"],parallaxpathduration:["pathDuration","parallax"],parallaxrandomcount:["randomCount","parallax"],parallaxoffsetx:["randomX","parallax"],parallaxoffsety:["randomY","parallax"],parallaxrandomstartat:["randomStartAt","parallax"],parallaxrandomduration:["randomDuration","parallax"],parallaxrandomwait:["randomWait","parallax"],parallaxeasing:["ease","parallax"],parallax:["enabled","parallax"],scroll:["enabled","scroll"],scrollduration:["duration","scroll"],scrolldurationrev:["durationRev","scroll"],scrollease:["ease","scroll"],scrolleaserev:["easeRev","scroll"],scrollcenter:["center","scroll"],scrollopacity:["opacity","scroll"],scrollopacitymin:["opacitymin","scroll"],scrollopacitymax:["opacitymax","scroll"],scrollopacityyoyo:["opacityyoyo","scroll"],scrollopacityinvert:["opacityinvert","scroll"],scrollrotate:["rotation","scroll"],scrollrotatemin:["rotationmin","scroll"],scrollrotatemax:["rotationmax","scroll"],scrollrotateyoyo:["rotationyoyo","scroll"],scrollrotatex:["rotationX","scroll"],scrollrotatexmin:["rotationXmin","scroll"],scrollrotatexmax:["rotationXmax","scroll"],scrollrotatexyoyo:["rotationXyoyo","scroll"],scrollrotatey:["rotationY","scroll"],scrollrotateymin:["rotationYmin","scroll"],scrollrotateymax:["rotationYmax","scroll"],scrollrotateyyoyo:["rotationYyoyo","scroll"],scrollrotation:["rotation","scroll"],scrollrotationmin:["rotationmin","scroll"],scrollrotationmax:["rotationmax","scroll"],scrollrotationyoyo:["rotationyoyo","scroll"],scrollrotationx:["rotationX","scroll"],scrollrotationxmin:["rotationXmin","scroll"],scrollrotationxmax:["rotationXmax","scroll"],scrollrotationxyoyo:["rotationXyoyo","scroll"],scrollrotationy:["rotationY","scroll"],scrollrotationymin:["rotationYmin","scroll"],scrollrotationymax:["rotationYmax","scroll"],scrollrotationyyoyo:["rotationYyoyo","scroll"],scrollscalex:["scaleX","scroll"],scrollscalexmin:["scaleXmin","scroll"],scrollscalexmax:["scaleXmax","scroll"],scrollscalexyoyo:["scaleXyoyo","scroll"],scrollscaley:["scaleY","scroll"],scrollscaleymin:["scaleYmin","scroll"],scrollscaleymax:["scaleYmax","scroll"],scrollscaleyyoyo:["scaleYyoyo","scroll"],scrollskewx:["skewX","scroll"],scrollskewxmin:["skewXmin","scroll"],scrollskewxmax:["skewXmax","scroll"],scrollskewxyoyo:["skewXyoyo","scroll"],scrollskewy:["skewY","scroll"],scrollskewymin:["skewYmin","scroll"],scrollskewymax:["skewYmax","scroll"],scrollskewyyoyo:["skewYyoyo","scroll"],scrolloffsetx:["x","scroll"],scrolloffsetxmin:["xmin","scroll"],scrolloffsetxmax:["xmax","scroll"],scrolloffsetxyoyo:["xyoyo","scroll"],scrolloffsetxresponsive:["xresponsive","scroll"],scrolloffsety:["y","scroll"],scrolloffsetymin:["ymin","scroll"],scrolloffsetymax:["ymax","scroll"],scrolloffsetyyoyo:["yyoyo","scroll"],scrolloffsetyresponsive:["yresponsive","scroll"],scrolltransformorigin:["transformOrigin","scrollShouldBeConverted"],scrolltransformoriginalt:["transformOriginAlt","scrollShouldBeConverted"],scrollgetposition:["getPosition","scroll"],transformperspective:["layer","transformPerspective"],transformperspectivein:["layer","transformPerspective"],transformperspectiveout:["layer","transformPerspective"],texttransformperspective:["text","transformPerspective"],texttransformperspectivein:["text","transformPerspective"],texttransformperspectiveout:["text","transformPerspective"],looptransformperspective:["loop","transformPerspective"],hovertransformperspective:["hover","transformPerspective"],parallaxtransformperspective:["parallax","transformPerspective"],scrolltransformperspective:["scroll","transformPerspective"]}}},ae(window).on("resize.lsGlobal",function(){window._lsData.documentIsAccessible&&(window._lsData.document={width:document.body.scrollWidth,height:document.body.scrollHeight},window._lsData.viewport={lastWidth:window._lsData.viewport.width||0,lastHeight:window._lsData.viewport.height||0,width:ae(window).width(),height:ae(window).height()},ae(window).trigger("scroll.lsGlobal"),window._lsData.resize.timeout&&clearTimeout(window._lsData.resize.timeout),window._lsData.resize.once?window._lsData.resize.once=!1:window._lsData.resize.timeout=setTimeout(function(){window._lsData.resize.once=!0,ae(window).trigger("resize.lsGlobal")},100))}),ae(window).on("scroll.lsGlobal",function(){window._lsData.documentIsAccessible&&(window._lsData.scroll.left=window.pageXOffset,window._lsData.scroll.top=window.pageYOffset,window._lsData.scroll.leftMax=window._lsData.document.width-window._lsData.viewport.width,window._lsData.scroll.topMax=window._lsData.document.height-window._lsData.viewport.height)}),ae(document).on("wheel.lsGlobal ",function(e){0!==Math.abs(e.originalEvent.deltaY)&&(window._lsData.scroll.direction=e.originalEvent.deltaY<0?"up":"down")}),ae(document).on("touchstart.lsGlobal ",function(e){window._lsData.ts=e.originalEvent.touches[0].clientY}),ae(document).on("touchend.lsGlobal ",function(e){e=e.originalEvent.changedTouches[0].clientY;window._lsData.ts>e+5?window._lsData.scroll.direction="down":window._lsData.ts<e-5&&(window._lsData.scroll.direction="up")}),ae.fn.layerSlider=function(i,a,s,r){window._lsData.documentIsAccessible=!0,i=i||{};var t,e="1.8.0",o=ae.fn.jquery;if(window._layerSlider.checkVersions(e,o,e))return(typeof i).match("object|undefined")?this.each(function(e){t="LS"+Math.random().toString(36).substr(2,9),ae(this).data("lsSliderUID")||(window._layerSliders[t]=new n(this,ae(this),i,t))}):"data"===i?window._layerSliders[this.data("lsSliderUID")]:"eventData"===i?window._layerSliders[this.data("lsSliderUID")].api.eventData():"defaultInitOptions"===i?window._layerSliders[this.data("lsSliderUID")].defaults.init.options||!1:"userInitOptions"===i?window._layerSliders[this.data("lsSliderUID")].userInitOptions||!1:"sliderInitOptions"===i?window._layerSliders[this.data("lsSliderUID")].o||!1:"originalMarkup"===i?window._layerSliders[this.data("lsSliderUID")].originalMarkup||!1:this.each(function(e){var t=window._layerSliders[ae(this).data("lsSliderUID")];t&&t.api.methods(i,a,s,r),t=null});window._layerSlider.showNotice(this,"oldjquery",o,e)};var n=function(L,_,i,$){_.data("lsSliderUID",$).attr("data-layerslider-uid",$);var ee=this,te=ee.gsap=window._layerSlider.GSAP||window,M=ae(window),ie=window._lsData;ee.defaults={init:{staggerSplitChar:"|",rangeSplitChar:"..",randomSplitChar:"|",openingBracket:"[",closingBracket:"]",dataKey:"_LS",controls:["#playmedia","#pausemedia","#unmute","#unmutemedia","#start","#stop","#prev","#next","#replay","#reverse","#reverse-replay","#reversereplay"],options:{silentMode:!1,getData:!1,destroyAfter:!0,type:"responsive",fullSizeMode:"normal",fitScreenWidth:!0,calculateOffsetFrom:!1,preventSliderClip:!0,allowFullscreen:!1,performanceMode:!0,performanceModeThreshold:"20sh",responsiveUnder:-1,layersContainerWidth:-1,layersContainerHeight:-1,maxRatio:-1,insertMethod:"prependTo",insertSelector:null,clipSlideTransition:!1,slideBGSize:"cover",slideBGPosition:"50% 50%",preferBlendMode:!1,scene:!1,sceneHeight:2,sceneSpeed:100,sceneDuration:null,smoothScrollDuration:1e3,stickTo:"center",autoStart:!0,startInViewport:!0,playByScroll:!1,playByScrollSpeed:1,playByScrollStart:!1,playByScrollSkipSlideBreaks:!1,pauseOnHover:!1,pauseLayers:!1,firstSlide:1,sliderFadeInDuration:0,animateFirstSlide:!1,firstSlideDuration:!1,firstSlideTimeShift:!1,cycles:-1,forceCycles:!0,twoWaySlideshow:!1,shuffleSlideshow:!1,forceLayersOutDuration:750,slideDuration:!1,slideDurationWithoutLayers:3e3,slideTransitionDuration:!1,slideTimeShift:0,skin:"v6",skinsPath:"/layerslider/skins/",globalBGColor:"transparent",globalBGImage:!1,globalBGRepeat:"no-repeat",globalBGAttachment:"scroll",globalBGSize:"auto",globalBGPosition:"50% 50%",marginTop:!1,marginBottom:!1,navPrevNext:!0,navStartStop:!0,navButtons:!0,keybNav:!0,touchNav:!0,hoverPrevNext:!0,hoverBottomNav:!1,showBarTimer:!1,showCircleTimer:!0,showSlideBarTimer:!1,thumbnailNavigation:"hover",tnFillMode:"contain",tnContainerWidth:"60%",tnWidth:100,tnHeight:60,tnActiveOpacity:35,tnInactiveOpacity:100,scrollModifier:0,autoPlayVideos:!0,autoPauseSlideshow:"auto",youtubePreview:"maxresdefault.jpg",rememberUnmuteState:!0,parallaxCenterDegree:40,parallaxSensitivity:10,parallaxCenterLayers:"center",parallaxScrollReverse:!1,scrollCenterLayers:"center",yourLogo:!1,yourLogoStyle:"left: -10px; top: -10px;",yourLogoLink:!1,yourLogoTarget:"_self",optimizeForMobile:!0,hideOnMobile:!1,hideUnder:-1,hideOver:-1,slideOnSwipe:!0,allowRestartOnResize:!1,fixFloatedContainers:!1,useSrcset:!0,hashChange:!1,refreshWaypoint:!0,staticImage:""}},slider:{errorText:"LayerSlider (UID: "+$+") error:"},slide:{keys:window._lsData.slide.keys,options:{$link:!1,index:-1,data:{duration:-1,timeShift:0,calculatedTimeShift:0},parallax:{type:"2d",event:"cursor",x:!0,y:!0,distance:10,rotation:10,transformOrigin:"slidercenter slidermiddle 0",transformPerspective:500,skewX:0,skewY:0,scaleX:0,scaleY:0,durationEnter:1.5,durationMove:1.5,durationLeave:1.2,origin:"slidercenter slidermiddle",count:-1,path:"circle",direction:"forward",startAt:"slidestart",pathDuration:3,randomCount:-1,randomX:"[-35sw..35sw]",randomY:"[-35sh..35sh]",randomStartAt:"slidestart",randomDuration:3,randomWait:0,ease:"easeInOutSine"},kenBurns:{scale:1.2},filter:{},lottie:{count:0,loaded:0}},registerPluginDefaults:function(e,t,i){ee.defaults.slide.options.plugins||(ee.defaults.slide.options.plugins={}),ee.defaults.slide.options.plugins[e]=t}},layer:{keys:window._lsData.layer.keys,splitTypeKeys:["chars_asc","chars_desc","chars_rand","chars_center","chars_edge","words_asc","words_desc","words_rand","words_center","words_edge","lines_asc","lines_desc","lines_rand","lines_center","lines_edge"],timelineHierarchy:{slidestart:[0],transitioninstart:[1],transitioninend:[2],textinstart:[3,[1,2,6,7,8]],textinend:[4],allinend:[5],loopstart:[6,[1,2,3,4,5]],loopend:[7],autoparallaxstart:[6.5,[0,1,2,3,4,5,6,7]],autoparallaxend:[7.5],transitioninandloopend:[8],textinandloopend:[9],allinandloopend:[10],textoutstart:[11,[2,3,4,5,6,7,8,9,10]],textoutend:[12],textoutandloopend:[13],transitionoutstart:[14,[2,3,4,5,6,7,8,9,10,11,12,13]],transitionoutend:[15],alloutend:[16],alloutandloopend:[17]},properties:{filter:function(){return{blur:0,brightness:100,contrast:100,grayscale:0,"hue-rotate":0,invert:0,saturate:100,sepia:0}}},options:function(e,t){var i=e.data("countdown")||{},a=e.data("counter")||{},t={is:{slideBackground:!!e.is("img.ls-bg"),backgroundVideo:!!e.is(".ls-bg-video"),imageLayer:!!e.is("img.ls-layer, picture.ls-layer"),countdown:!(!i.date||!i.component),counter:!!a.type,layerGroup:!!e.is(".ls-layer-group"),insideLayerGroup:!!e.data("$layerGroup"),mediaLayer:!1,textLayer:!1,lottie:!!e.is(".ls-lottie-layer"),responsive:!0,onSlide:t},should:{},elements:{},settings:{position:"relative",slideIn:t,slideOut:t},styleSettings:{minfontsize:0,minmobilefontsize:0},mediaSettings:{backgroundVideo:!1},timeline:{slidestart:0,transitioninstart:0,transitioninend:0,textinstart:0,textinend:0,allinend:function(e){return Math.max(this.transitioninend,this.textinend)},loopstart:0,loopend:0,autoparallaxstart:0,autoparallaxend:0,transitioninandloopend:function(e){return 0===this.loopend&&e.loop.enabled&&("number"==typeof e.loop.startAt||-1!==e.loop.startAt.indexOf("textinstart")&&-1!==e.loop.startAt.indexOf("textinend")&&-1!==e.loop.startAt.indexOf("allinend"))?(this.loopstart=ee.transitions.layers.timeline.getTiming(e,e.loop.startAt,"loopstart"),this.loopend=-1!==e.loop.count&&e.timeline.loopstart+e.timelines._loop.duration()):ee.debugMode&&ee.debug.add("warn","layerTransition.infinite",e.self[0].tagName+"."+e.self.attr("class")+" [ "+e.self.html().substr(0,30)+"... ]"),Math.max(this.transitioninend,this.loopend,this.autoparallaxend)},textinandloopend:function(e){return Math.max(this.textinend,this.loopend,this.autoparallaxend)},allinandloopend:function(e){return Math.max(this.allinend(),this.loopend,this.autoparallaxend)},textoutstart:0,textoutend:0,textoutandloopend:function(e){return Math.max(this.textoutend,this.loopend,this.autoparallaxend)},transitionoutstart:function(e){return Math.max(this.allinandloopend(),this.textoutend,this.autoparallaxend)},transitionoutend:0,alloutend:function(e){return Math.max(this.transitionoutend,this.textoutend,this.allinend())},alloutandloopend:function(e){return Math.max(this.transitionoutend,this.textoutandloopend(),this.allinend())},staticfrom:!1,staticto:!1},transitionProperties:{in:{enabled:!0,layerFrom:{autoCSS:!1,immediateRender:!1,css:{opacity:0}},layerTo:{autoCSS:!1,onStart:function(){ee.transitions.layers.in.onStart(e)},onComplete:function(){ee.transitions.layers.in.onComplete(e)},css:{display:"block",opacity:1,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0,x:0,y:0}},layerStyleFrom:{autoCSS:!1,immediateRender:!1,css:{}},layerStyleTo:{autoCSS:!1,css:{}},clipFrom:{autoCSS:!1,immediateRender:!1,css:{}},layerShouldBeConverted:{transformOrigin:"50% 50% 0",x:0,y:0},layerStyleShouldBeConvertedFrom:{},layerStyleShouldBeConvertedTo:{},startAt:0,duration:1,ease:"easeInOutQuint"},textIn:{enabled:null,nodesFrom:{cycle:{},random:{},opacity:0},nodesTo:{ease:"easeInOutQuint",css:{opacity:1,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0,x:0,y:0}},shouldBeConverted:{cycle:{},random:{},transformOrigin:"50% 50% 0",x:0,y:0},layerStyle:{},split:"",shiftNodes:.05,startAt:"transitioninend",duration:1},out:{enabled:!0,layerFrom:{autoCSS:!1,immediateRender:!1,css:{}},layerTo:{autoCSS:!1,onStart:function(){ee.transitions.layers.out.onStart(e)},onComplete:function(){ee.transitions.layers.out.onComplete(e)},css:{opacity:0,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0}},layerStyleFrom:{autoCSS:!1,immediateRender:!1,css:{}},layerStyleTo:{autoCSS:!1,css:{}},clipTo:{autoCSS:!1,css:{}},layerShouldBeConverted:{x:0,y:0},layerStyleShouldBeConvertedFrom:{},layerStyleShouldBeConvertedTo:{},startAt:"slidechangeonly",duration:1,defaultDuration:1,ease:"easeInOutQuint"},textOut:{enabled:null,nodesFrom:{immediateRender:!1,cycle:{},opacity:1},nodesTo:{ease:"easeInOutQuint",immediateRender:!1,cycle:{},random:{},opacity:0},layerStyle:{},shouldBeConverted:{cycle:{},random:{},x:0,y:0},split:"",startAt:"allinandloopend",shiftNodes:.05,duration:1},loop:{enabled:null,initial:{autoCSS:!1,immediateRender:!1,css:{x:0,y:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0,opacity:1}},to:{autoCSS:!1,css:{}},clipTo:{autoCSS:!1,immediateRender:!1,css:{}},layerShouldBeConverted:{transformOrigin:"50% 50% 0",x:0,y:0},timingsShouldBeConverted:{yoyoDelay:0,tweenDelay:0,repeatDelay:0,duration:1e3},ease:"linear",startAt:"allinend",count:0},hover:{enabled:null,from:{autoCSS:!1,immediateRender:!1,css:{}},to:{autoCSS:!1,immediateRender:!1,css:{}},shouldBeConverted:{transformOrigin:"50% 50% 0"},alwaysOnTop:!0,easeIn:"easeOutQuart",durationIn:.5},parallax:{enabled:null,level:10},scroll:{enabled:null,shouldBeConverted:{transformOrigin:"50% 50% 0"},xresponsive:!0,yresponsive:!0},kenBurns:{scale:1.2},clip:{enabled:!1,default:{autoCSS:!1,immediateRender:!1,css:{clipPath:"polygon(0% 0%,100% 0%,100% 100%,0% 100%)"}},style:{autoCSS:!1,immediateRender:!1,css:{clipPath:"polygon(0% 0%,100% 0%,100% 100%,0% 100%)"}},none:{autoCSS:!1,immediateRender:!1,css:{clipPath:"polygon(-9999% -9999%,9999% -9999%,9999% 9999%,-9999% 9999%)"}}},filter:{values:{style:{},in:{},out:{},loop:{},hover:{},afterIn:{},afterLoop:{},bgFrom:{},bgTo:{}},transitions:{bg:null,in:null,out:null,loop:null,hover:null}},init:{wrapper:{autoCSS:!1,immediateRender:!1,css:{display:"block"}}},transformPerspective:{layer:500,text:500,loop:500,hover:500},reset:{wrapperOnTimelineEnd:{autoCSS:!1,css:{opacity:1,display:"none"}},wrapperOnSlideChange:{autoCSS:!1,css:{x:0,y:0,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0,opacity:1,display:"none"}},altWrapperOnSlideChange:{autoCSS:!1,css:{x:0,y:0,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0,opacity:1}}}}};return{is:t.is,should:t.should,elements:t.elements,settings:t.settings,styleSettings:t.styleSettings,mediaSettings:t.mediaSettings,mediaProperties:t.mediaProperties,timeline:t.timeline,in:t.transitionProperties.in,inLayerFrom:t.transitionProperties.in.layerFrom,inLayerFromCSS:t.transitionProperties.in.layerFrom.css,inLayerStyleFrom:t.transitionProperties.in.layerStyleFrom,inLayerStyleFromCSS:t.transitionProperties.in.layerStyleFrom.css,inClipFrom:t.transitionProperties.in.clipFrom,inClipFromCSS:t.transitionProperties.in.clipFrom.css,inLayerTo:t.transitionProperties.in.layerTo,inLayerToCSS:t.transitionProperties.in.layerTo.css,inLayerStyleTo:t.transitionProperties.in.layerStyleTo,inLayerStyleToCSS:t.transitionProperties.in.layerStyleTo.css,inClipTo:t.transitionProperties.clip.style,inClipToCSS:t.transitionProperties.clip.style.css,inLayerShouldBeConverted:t.transitionProperties.in.layerShouldBeConverted,inLayerStyleShouldBeConvertedFrom:t.transitionProperties.in.layerStyleShouldBeConvertedFrom,inLayerStyleShouldBeConvertedTo:t.transitionProperties.in.layerStyleShouldBeConvertedTo,textIn:t.transitionProperties.textIn,textInLayerStyle:t.transitionProperties.textIn.layerStyle,textInNodesFrom:t.transitionProperties.textIn.nodesFrom,textInNodesTo:t.transitionProperties.textIn.nodesTo,textInNodesToCSS:t.transitionProperties.textIn.nodesTo.css,textInShouldBeConverted:t.transitionProperties.textIn.shouldBeConverted,out:t.transitionProperties.out,outLayerFrom:t.transitionProperties.out.layerFrom,outLayerFromCSS:t.transitionProperties.out.layerFrom.css,outLayerStyleFrom:t.transitionProperties.out.layerStyleFrom,outLayerStyleFromCSS:t.transitionProperties.out.layerStyleFrom.css,outClipFrom:t.transitionProperties.clip.style,outClipFromCSS:t.transitionProperties.clip.style.css,outLayerTo:t.transitionProperties.out.layerTo,outLayerToCSS:t.transitionProperties.out.layerTo.css,outLayerStyleTo:t.transitionProperties.out.layerStyleTo,outLayerStyleToCSS:t.transitionProperties.out.layerStyleTo.css,outClipTo:t.transitionProperties.out.clipTo,outClipToCSS:t.transitionProperties.out.clipTo.css,outLayerShouldBeConverted:t.transitionProperties.out.layerShouldBeConverted,outLayerStyleShouldBeConvertedFrom:t.transitionProperties.out.layerStyleShouldBeConvertedFrom,outLayerStyleShouldBeConvertedTo:t.transitionProperties.out.layerStyleShouldBeConvertedTo,textOut:t.transitionProperties.textOut,textOutLayerStyle:t.transitionProperties.textOut.layerStyle,textOutNodesFrom:t.transitionProperties.textOut.nodesFrom,textOutNodesTo:t.transitionProperties.textOut.nodesTo,textOutShouldBeConverted:t.transitionProperties.textOut.shouldBeConverted,loop:t.transitionProperties.loop,loopInitial:t.transitionProperties.loop.initial,loopInitialCSS:t.transitionProperties.loop.initial.css,loopClipFrom:t.transitionProperties.clip.style,loopClipFromCSS:t.transitionProperties.clip.style.css,loopTo:t.transitionProperties.loop.to,loopToCSS:t.transitionProperties.loop.to.css,loopClipTo:t.transitionProperties.loop.clipTo,loopClipToCSS:t.transitionProperties.loop.clipTo.css,loopLayerShouldBeConverted:t.transitionProperties.loop.layerShouldBeConverted,loopTimingsShouldBeConverted:t.transitionProperties.loop.timingsShouldBeConverted,hover:t.transitionProperties.hover,hoverFrom:t.transitionProperties.hover.from,hoverFromCSS:t.transitionProperties.hover.from.css,hoverTo:t.transitionProperties.hover.to,hoverToCSS:t.transitionProperties.hover.to.css,hoverShouldBeConverted:t.transitionProperties.hover.shouldBeConverted,parallax:t.transitionProperties.parallax,scroll:t.transitionProperties.scroll,scrollShouldBeConverted:t.transitionProperties.scroll.shouldBeConverted,kenBurns:t.transitionProperties.kenBurns,clip:t.transitionProperties.clip,filter:t.transitionProperties.filter,transformPerspective:t.transitionProperties.transformPerspective,init:t.transitionProperties.init,reset:t.transitionProperties.reset,countdownSettings:i,counterSettings:a,timelines:{},randomValues:{}}}}},ee.slides={count:0,first:{},last:{},prev:{},current:{},next:{},init:function(){if(!document.body.contains(L))return!1;for(var e=_.find("> .ls-layer, > .ls-slide"),t=0,i=ee.defaults.slide.keys,a=0,s=e.length;a<s;a++){var r=ae(e[a]),o=r[0].style,n=ae.extend(!0,{},ee.defaults.slide.options),l=!1;if(ee.slides.count++,r.removeClass("ls-layer").addClass("ls-slide").css({width:ee.slider.initial.originalWidth,height:ee.slider.initial.originalHeight}).appendTo(ee.slider.$hiddenWrapper),r.data("ls"))for(var d=r.data("ls").split(";"),c=0;c<d.length;c++){var p,u,m=d[c].split(":");m[0]=ae.trim(m[0].toLowerCase()),m[1]=ae.trim(m[1]),-1==["thumbnail"].indexOf(m[0])&&(m[1]=m[1].toLowerCase()),""!==m[0]&&(void 0!==i[m[0]]?(p=void 0===i[m[0]][1]?m[0]:i[m[0]][1],u=ee.functions.convert.properties(m[1]),p.match(/(duration|delay|wait|timeshift)/i)&&ae.isNumeric(u)&&(u/=1e3),n[i[m[0]][0]]||(n[i[m[0]][0]]={}),n[i[m[0]][0]][p]=u):n.data[m[0]]=m[1])}if(n.plugins&&!ae.isEmptyObject(n.plugins))for(var h in n.plugins)if(r.data("ls-plugin-"+h)){var f,g=r.data("ls-plugin-"+h).toLowerCase().split(";"),y={};for(f in n.plugins[h])y[f.toLowerCase()]=f;for(var v=0;v<g.length;v++){var x,S=g[v].split(":");S[0]=ae.trim(S[0]),""!==S[0]&&(x=ee.functions.convert.properties(ae.trim(S[1])),-1===S[0].indexOf("duration")&&-1===S[0].indexOf("delay")||(x/=1e3),y[S[0]]?n.plugins[h][y[S[0]]]=x:n.plugins[h][S[0]]=x)}}else delete n.plugins[h];r.children("a.ls-link").length&&(n.data.$link=r.children("a.ls-link").first().css({zIndex:5}).attr("data-ls-slide-link",t+1).appendTo(ee.slider.$layersWrapper),ee.layers.set.smartLinks(n.data.$link)),n.data.$backgroundVideo=r.children('[data-ls*="backgroundvideo"]').first(),n.data.$backgroundVideo.find("iframe, video, audio").length||(n.data.$backgroundVideo=ae()),n.data.$backgroundVideo.length&&(null!==n.data.$backgroundVideo.attr("data-ls").split("backgroundvideo")[1].split(";")[0].match(/(true|enabled|on|1)/i)?(n.data.$backgroundVideo.addClass("ls-bg-video").css({width:"auto",height:"auto"}).children("video, audio, iframe").css({width:"100%",height:"100%"}),n.data.$backgroundVideo.append(ae('<div class="ls-bg-video-overlay"></div>'))):n.data.$backgroundVideo=!1),r.find("> .ls-bg").length&&(n.data.$background=r.find("> .ls-bg").first()),n.data.thumbnail||(r.find("> .ls-tn").length?l=r.find("> .ls-tn").first():r.find("> .ls-bg").length&&(l=r.find("> .ls-bg").first()),l?(n.data.thumbnail=ee.functions.getURL(l),n.data.tnAlt=ee.functions.getALT(l)):n.data.thumbnail=ee.o.skinsPath+ee.o.skin+"/nothumb.png"),(n.data.customtransition2d||n.data.customtransition3d)&&"undefined"==typeof layerSliderCustomTransitions&&(delete n.data.customtransition2d,delete n.data.customtransition3d,ee.debugMode&&ee.debug.add("warn","sliderInit.customTransitions",t+1)),"visible"===o.overflow&&(n.data.overflow="visible"),n.data.$background||!n.data.backgroundColor||n.data.$backgroundVideo&&n.data.$backgroundVideo.length||(n.data.$background=ae("<img>").addClass("ls-bg").attr("src","data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==").appendTo(r)),n.data.backgroundColor&&-1!==n.data.backgroundColor.indexOf("gradient")?n.data.backgroundGradient=n.data.backgroundColor:n.data.backgroundColor||(n.data.backgroundColor=""===r[0].style.backgroundColor?"transparent":r[0].style.backgroundColor),ee.o.silentMode&&(n.data.transitionDuration=0),ee.slides[++t]={data:ae.extend(!0,{},ee.defaults.slide.options.data,n.data),parallax:n.parallax,scroll:n.scroll,kenBurns:n.kenBurns,filter:n.filter,lottie:n.lottie,index:t,$layers:ae(),plugins:n.plugins,effectLayers:r.find("[data-ls-effects]")},ee.slider.thumbnails.push(n.data.thumbnail),ee.plugins.callFunctions("initSlide",{slideElement:r,slideIndex:t,slideSettings:n}),ee.layers.init(r,t)}ee.debugMode&&ee.debug.groupEnd("sliderInit.style")},set:{slideIndexes:function(){var e=ee.slides;e.prev.index=e.current.index,e.current.index=e.next.index,e.next.index=ee.slideshow.get.slideInSequence(ee.slideshow.direction),e.set.slidesData(),ee.slider.set.attributes(),ee.slides.indexesCreated=!0},nextSlideIndex:function(e){var t=ee.slides;t.next.index=e,t.set.slidesData()},slidesData:function(){var e=ee.slides;e.prev=-1!==e.prev.index?ae.extend(!0,{},e[e.prev.index]):{},e.current=-1!==e.current.index?ae.extend(!0,{},e[e.current.index]):{},e.next=-1!==e.next.index?ae.extend(!0,{},e[e.next.index]):{}},firstSlide:function(){var e,t=ee.slides;t.first.index="random"===ee.o.firstSlide?ee.o.firstSlide:Math.max(ee.functions.convert.properties(ee.o.firstSlide,!0),1),ee.o.shuffleSlideshow&&2<ee.slides.count?ee.o.twoWaySlideshow=!1:ee.o.shuffleSlideshow=!1,t.first.index="random"==t.first.index?Math.floor(Math.random()*ee.slides.count+1):t.first.index,!document.location.hash||(e=ee.slides.deeplink(document.location.hash,!0))&&(ee.slides.first.index=e),t.first.index=t.first.index<1||t.first.index>ee.slides.count?1:t.first.index,ee.o.shuffleSlideshow&&"random"!=ee.o.firstSlide&&(t.first.index=ee.o.firstSlide),t[t.first.index]&&t[t.first.index].data&&(t.first.data=ae.extend(!0,{},t[t.first.index].data)),ee.o.playByScroll&&ee.slideshow.set.normalizedSequence(),ee.debugMode&&ee.debug.options.firstSlide&&(t.first.index=ee.debug.options.firstSlide)},actions:function(e,t){}},get:{deeplink:function(e){return e&&ee.slides[e]&&ee.slides[e].data&&ee.slides[e].data.deeplink?ee.slides[e].data.deeplink:null}},deeplink:function(e,t){for(var i=!1,a=1;a<ee.slides.count+1;a++)if(ee.slides[a].data.deeplink==e.substring(1)){if(i=a,t)return i;ee.slideshow.changeTo(i,!0,!0)}if(!i&&t)return!1},slide:[]},ee.countdown={calculateDate:function(e){var t,i=ee.countdown.calculateDistance(e.date,e.repeat);switch(e.component){case"days":t=Math.floor(i/864e5);break;case"hours":t=Math.floor(i%864e5/36e5);break;case"minutes":t=Math.floor(i%36e5/6e4);break;case"seconds":t=Math.floor(i%6e4/1e3)}return t=Math.max(0,t||0),e.leadingZeros&&(t=t.toString().padStart(2,"0")),t},calculateDistance:function(e,t){var i=new Date(e),a=new Date;if(a<=i)return i.getTime()-a.getTime();switch(t){case"daily":var s=Math.ceil((a-i)/864e5);i.setDate(i.getDate()+s);break;case"weekly":s=Math.ceil((a-i)/6048e5);i.setDate(i.getDate()+7*s);break;case"monthly":var r=12*(a.getFullYear()-i.getFullYear())+a.getMonth()-i.getMonth();i.getDate()>a.getDate()&&r--,i.setMonth(i.getMonth()+r+1);break;case"yearly":r=a.getFullYear()-i.getFullYear();(i.getMonth()>a.getMonth()||i.getMonth()===a.getMonth()&&i.getDate()>a.getDate())&&r--,i.setFullYear(i.getFullYear()+r+1)}return i.getTime()-a.getTime()},startInterval:function(e,t){ee.countdown.setLayerTimer(e,t),ee.countdown.stopInterval(t),t.interval=setInterval(function(){ee.countdown.setLayerTimer(e,t)},1e3)},setLayerTimer:function(e,t){e.text(this.calculateDate(t))},stopInterval:function(e){e.interval&&clearInterval(e.interval)}},ee.counter={start:function(t,i){this.stop(i);var e=parseFloat(i.start),a=parseFloat(i.end),s=a<e?e:a,r=e<a?e:a,o=parseFloat(i.duration)||2e3,n=i.ease||"easeOutSine",l=parseFloat(i.step)||1,d=parseFloat(i.stepDelay)||50,c=Math.max(parseInt(e).toString().length,parseInt(a).toString().length);i.maxLength=c,"step"===i.type&&(n="linear",o=Math.abs(e-a)/l*d),isNaN(e)||isNaN(a)||(i.animationTween=te.TweenMax.to({value:e},o/1e3,{value:a,ease:n,onUpdate:function(){var e=this.target.value;"step"===i.type&&(e=Math.round(e/l)*l,e=Math.max(e,r),e=Math.min(e,s)),t.text(ee.counter.applyNumberFormat(i,e))},onComplete:function(){t.text(ee.counter.applyNumberFormat(i,a))}}))},applyNumberFormat:function(e,t){var i=e.dp,a=e.ds,s=e.ts;if(!ae.isNumeric(t))return t;var i=parseFloat(t).toFixed(i).split("."),r=i[0],i=i[1];if(e.lz)for(;r.length<e.maxLength;0)r="0"+r;return r=r.replace(/\B(?=(\d{3})+(?!\d))/g,s),i?r+a+i:r},stop:function(e){e.animationTween&&(e.animationTween.kill(),e.animationTween=null)},setFormat:function(e,t){}},ee.layers={$all:ae(),getStyle:function(e,t){return-1!=e.indexOf("em")?e:(-1!=e.indexOf("%")?parseFloat(e)*t:parseFloat(e)||0).toString()},toNum:function(e,t){return t=parseFloat(t),-1!=e.indexOf("em")?parseFloat(e)*t:parseFloat(e)},init:function(e,t){if(!document.body.contains(L))return!1;e.find("noscript").remove();for(var i,a=e.find(".ls-bg, .ls-l, .ls-layer, .ls-lg, .ls-layer-group"),s=0,r=a.length;s<r;s++){var o=ae(a[s]),n=o[0],l=o.children();if(ee.plugins.callFunctions("initLayerStart",{slideElement:e,$layer:o,slideIndex:t}),o.data("slideIndex",t),o.hasClass("ls-l"))o.removeClass("ls-l").addClass("ls-layer");else if(o.hasClass("ls-lg"))o.removeClass("ls-lg").addClass("ls-layer-group");else if(!o.is(".ls-bg, .ls-layer, .ls-layer-group")){o.remove();continue}o.is("a")&&1===l.length&&((n=(o=o.children().first())[0]).setAttribute("data-ls",n.parentNode.getAttribute("data-ls")),n.parentNode.removeAttribute("data-ls"),o.parent().removeClass("ls-layer"),o.addClass("ls-layer")),o.is(".ls-layer-group")&&o.children().data("$layerGroup",o);n=new ee.defaults.layer.options(o,t);o.data(ee.defaults.init.dataKey,n),-1!==o.attr("class").indexOf("ls-linkto-")&&this.set.linkTo(o),n.is.counter&&(n.counterSettings.ease=ee.functions.convert.easing(n.counterSettings.ease)),o.parent().is("a")?(o.parent().data("slideIndex")&&o.data("slideIndex",o.parent().data("slideIndex")),i=o.parent(),this.set.smartLinks(i)):i=o,i.attr("data-ls-actions")&&this.set.actions(i,JSON.parse(i.attr("data-ls-actions"))||{}),ee.plugins.callFunctions("initLayerEnd",{slideElement:e,$layer:o,layerData:n,slideIndex:t}),n.is.lottie&&ee.transitions.lottie.init(o,n),ee.slides[t].$layers=ee.slides[t].$layers.add(i)}},set:{mirrorTransitions:function(e){return e=e.split(" ")},actions:function(a,e){e.length;ae.each(e,function(e,t){var i=ae.extend(!0,{},t),t=i.trigger;a.on(t,function(e){setTimeout(function(e){ee.actions.do(e)},i.delay||0,i)})})},smartLinks:function(e){var a=e.attr("href"),t=e.attr("target"),i="";if(t&&-1!==t.indexOf("ls-scroll")){switch(a){case"pagetop":i="Scroll to page top";break;case"pagebottom":i="Scroll to page bottom";break;case"slidertop":i="Scroll to the top of the slider";break;case"":case"sliderbottom":i="Scroll to the bottom of the slider";break;default:i="Scroll to a specified location on the page"}ee.layers.set.ariaLabel(e,i),e.on("click."+$,function(e){e.preventDefault();var t,i=document.body.scrollHeight-ie.viewport.height;if(a)switch(a){case"pagetop":t=0;break;case"pagebottom":t=i;break;case"slidertop":t=ee.slider.offset.top;break;case"":case"sliderbottom":t=ee.slider.offset.top+ee.slider.height;break;default:t=ae(a).filter(":visible").last().length?ae(a).filter(":visible").last().offset().top:ee.slider.offset.top+ee.slider.height}t+=ee.o.scrollModifier,t=Math.min(t,i),t=Math.max(0,t),te.TweenMax.to("html, body",1,{scrollTop:t,ease:te.Quint.easeInOut})})}if(-1!==ee.defaults.init.controls.indexOf(a.toLowerCase())||a.match(/^\#[0-9]/)){var s=ae.trim(a.toLowerCase().split("#")[1]),r=parseInt(s);switch(s){case"playmedia":i="play active media elements on current slide";break;case"pausemedia":i="pause active media elements on current slide";break;case"prev":i="jump to the previous slide";break;case"next":i="jump to the next slide";break;case"start":i="start slideshow";break;case"stop":i="stop slideshow";break;case"replay":i="replay slide";break;case"reverse":i="reverse slide";break;case"reverse-replay":case"reversereplay":i="reverse, than replay slide";break;default:"number"==typeof r&&r==r&&(i="jump to slide "+r)}ee.layers.set.ariaLabel(e,i),e.on("click."+$,function(e){if(e.preventDefault(),-1!==["prev","next","last","first","start","stop"].indexOf(s))ee.navigation[s]("clicked");else if("number"==typeof r&&r==r)ee.slideshow.changeTo(r,!0,!0);else if(!ee.slider.state.changingSlides)switch(s){case"replay":ee.api.methods("replay");break;case"reverse":ee.api.methods("reverse");break;case"reverse-replay":case"reversereplay":ee.api.methods("reverse",!0);break;case"playmedia":ee.media.functions.playActiveMedia();break;case"pausemedia":ee.media.functions.pauseActiveMedia();break;case"unmute":case"unmutemedia":ee.media.unmute.multipleMediaElements()}})}},ariaLabel:function(e,t){e.attr("aria-label")||e.attr("aria-label",t)},linkTo:function(e){for(var t=e.attr("class").split(" "),i=1,a=0;a<t.length;a++)-1!=t[a].indexOf("ls-linkto-")&&(i=parseInt(t[a].split("ls-linkto-")[1]));e.data(ee.defaults.init.dataKey).settings.linkedToSlide=i,e.css({cursor:"pointer"}).on("click."+$,function(e){e.preventDefault(),_.layerSlider(ae(this).data(ee.defaults.init.dataKey).settings.linkedToSlide)})},wrappers:function(e,t,i){t.original;t.is.slideBackground||t.is.backgroundVideo?(t.elements.$bgWrapper=e.closest(".ls-bg-wrap"),t.elements.$bgOuterWrapper=e.closest(".ls-bg-outer")):(t.elements.$wrapper=e.closest(".ls-in-out"),t.elements.$wrapper.data(ee.defaults.init.dataKey,{}),t.settings.wrapperData=t.elements.$wrapper.data(ee.defaults.init.dataKey),t.elements.$clipWrapper=e.closest(".ls-clip"),t.elements.$clipWrapper.data(ee.defaults.init.dataKey,{}),t.settings.clipWrapperData=t.elements.$clipWrapper.data(ee.defaults.init.dataKey),t.elements.$loopWrapper=e.closest(".ls-loop"),t.elements.$loopWrapper.data(ee.defaults.init.dataKey,{}),t.settings.loopWrapperData=t.elements.$loopWrapper.data(ee.defaults.init.dataKey)),t.parallax.enabled&&(t.elements.$parallaxWrapper=e.closest(".ls-parallax"),t.elements.$parallaxWrapper.data(ee.defaults.init.dataKey,{parallax:{}}),t.settings.parallaxWrapperData=t.elements.$parallaxWrapper.data(ee.defaults.init.dataKey),ee.transitions.layers.parallax.addLayer(t.elements.$parallaxWrapper,t.settings.parallaxWrapperData.parallax,t,i)),t.scroll.enabled&&(t.elements.$scrollWrapper=e.closest(".ls-scroll"),t.elements.$scrollTransformWrapper=e.closest(".ls-scroll-transform"),t.elements.$scrollWrapper.data(ee.defaults.init.dataKey,{scroll:{}}),t.settings.scrollWrapperData=t.elements.$scrollWrapper.data(ee.defaults.init.dataKey),ee.transitions.layers.scroll.addLayer(t.elements.$scrollWrapper,t.settings.scrollWrapperData.scroll,t,i)),t.hover.enabled&&(!ee.slides[i].data.globalhover||t.hover.skipGlobal&&ee.slides[i].data.globalhover)&&ee.transitions.layers.hover.set(e,t),t.elements.$outerWrapper=e.closest(".ls-z"),t.elements.$outerStyleWrapper=t.elements.$outerWrapper.find("> .ls-wrapper"),t.settings.trmask&&t.elements.$outerStyleWrapper.css("overflow","hidden"),t.elements.$outerWrapper.attr("data-slide-index",i),t.elements.$innerWrapper=e.closest(".ls-wrapper").addClass("ls-inner-wrapper"),t.elements.$_innerWrappers=t.elements.$outerWrapper.find(".ls-wrapper"),t.elements.$_allWrappers=t.elements.$outerWrapper.add(t.elements.$_innerWrappers),t.elements.$_outerWrappers=t.elements.$outerWrapper.add(t.elements.$outerWrapper.find(".ls-wrapper:not(.ls-inner-wrapper)"))},singleLayer:function(e,t){var i=e.data(ee.defaults.init.dataKey);ee.plugins.callFunctions("wrapSingleLayerBeforeStyle",{$layer:e,layerData:i,slideIndex:t}),ee.layers.set.style(e),ee.plugins.callFunctions("wrapSingleLayerBeforeProperties",{$layer:e,layerData:i,slideIndex:t}),ee.layers.set.properties(e,t),ee.layers.set.dataAttribute("add",e,"hidden"),ee.plugins.callFunctions("wrapSingleLayerEnd",{$layer:e,layerData:i,slideIndex:t}),e.data("hasBeenSet",!0)},style:function(e){var t,i,a,s,r,o,n,l,d,c,p,u,m=e[0],h=e.data(ee.defaults.init.dataKey),f=m.style,g=ee.layers,y=null,v=null,x=null,S=null,w=0,b=0,T=!1,k=parseFloat(m.style.fontSize)||36,C=m.getBoundingClientRect(),O=!e.is("img, picture")&&window.LS_previewZoom||1,P=""!==f.paddingLeft?g.getStyle(f.paddingLeft,ee.slider.initial.percW):g.getStyle(e.css("padding-left"),ee.slider.initial.percW),I=""!==f.paddingRight?g.getStyle(f.paddingRight,ee.slider.initial.percW):g.getStyle(e.css("padding-right"),ee.slider.initial.percW),L=""!==f.paddingTop?g.getStyle(f.paddingTop,ee.slider.initial.percH):g.getStyle(e.css("padding-top"),ee.slider.initial.percH),_=""!==f.paddingBottom?g.getStyle(f.paddingBottom,ee.slider.initial.percH):g.getStyle(e.css("padding-bottom"),ee.slider.initial.percH),$=""!==f.marginLeft?g.getStyle(f.marginLeft,ee.slider.initial.percW):g.getStyle(e.css("margin-left"),ee.slider.initial.percW),M=""!==f.marginRight?g.getStyle(f.marginRight,ee.slider.initial.percW):g.getStyle(e.css("margin-right"),ee.slider.initial.percW),F=""!==f.marginTop?g.getStyle(f.marginTop,ee.slider.initial.percH):g.getStyle(e.css("margin-top"),ee.slider.initial.percH),B=""!==f.marginBottom?g.getStyle(f.marginBottom,ee.slider.initial.percH):g.getStyle(e.css("margin-bottom"),ee.slider.initial.percH);m.style.margin="0",n=""!==f.borderLeftWidth?g.getStyle(f.borderLeftWidth,ee.slider.initial.percW):g.getStyle(e.css("border-left-width"),ee.slider.initial.percW),d=""!==f.borderRightWidth?g.getStyle(f.borderRightWidth,ee.slider.initial.percW):g.getStyle(e.css("border-right-width"),ee.slider.initial.percW),l=""!==f.borderTopWidth?g.getStyle(f.borderTopWidth,ee.slider.initial.percH):g.getStyle(e.css("border-top-width"),ee.slider.initial.percH),c=""!==f.borderBottomWidth?g.getStyle(f.borderBottomWidth,ee.slider.initial.percH):g.getStyle(e.css("border-bottom-width"),ee.slider.initial.percH),1!==ee.media.properties.$allMediaLayers.filter(e).length&&!e.children("iframe").length||(p=(R=e.children()).attr("width")?R.attr("width"):R.width(),u=R.attr("height")?R.attr("height"):R.height(),300===parseInt(p)&&150===parseInt(u)&&(p=640,u=360),""!==m.style.width&&"auto"!==m.style.width||e.css("width",p),""!==m.style.height&&"auto"!==m.style.height||e.css("height",u),"100%"===f.width&&"100%"===f.height&&(f.left="50%",f.top="50%"),T=p/u,R.css({width:"100%",height:"100%"}));var W,D,A,z,R=h.attributes;e.is("img, picture")&&(z=(D=(W=e.is("img")?e:e.find("img")).data("preloadedWidth"))/(A=W.data("preloadedHeight")),(!f.width&&!f.height||"auto"===f.width&&"auto"===f.height)&&R&&(R.width&&R.height?(t=-1===R.width.indexOf("%")?parseInt(R.width):(w=parseInt(R.width),g.getStyle(R.width,ee.slider.initial.percW)),i=-1===R.height.indexOf("%")?parseInt(R.height):(b=parseInt(R.height),g.getStyle(R.height,ee.slider.initial.percH))):R.maxWidth&&(e[0].style.width=R.maxWidth+"px",t=R.maxWidth,i=e.height()))),W=C.width?C.width/O:(C.right-C.left)/O,O=C.height?C.height/O:(C.bottom-C.top)/O,t||(t=f.width,-1!==f.width.indexOf("%")&&(w=parseInt(f.width)),t=(t=""!==t&&"auto"!==t?g.getStyle(t,ee.slider.initial.percW):W-ee.layers.toNum(P,k)-ee.layers.toNum(I,k)-ee.layers.toNum(n,k)-ee.layers.toNum(d,k))||"auto"),i||(i=f.height,-1!==f.height.indexOf("%")&&(b=parseInt(f.height)),i=(i=""!==i&&"auto"!==i?g.getStyle(i,ee.slider.initial.percH):O-ee.layers.toNum(L,k)-ee.layers.toNum(_,k)-ee.layers.toNum(l,k)-ee.layers.toNum(c,k))||"auto"),0===parseInt(i)&&(e.addClass("ls-force-height-auto"),parseInt(m.getBoundingClientRect().height),e.removeClass("ls-force-height-auto")),T=T||("auto"!==t&&"auto"!==i?t/i:"auto"),!e.is("img, picture")||f.width||f.height||R&&(!R||R.width||R.height)||D===t&&A===i||(D!==t?i=(t=5<D?D:t)/(T=5<D?z:T):A!==i&&(t=(i=5<A?A:i)*(T=5<A?z:T))),parseFloat(e.css("opacity")),(A=f.clipPath||f.clip||!1)&&(h.clip.style.css.clipPath=A,h.clip.userDefined=!0,f.clip="",f.clipPath=""),z=f.webkitFilter||f.filter;var V,N,E,H;f.minWidth&&""!==f.minWidth&&(-1!==f.minWidth.indexOf("%")&&(a=parseInt(f.minWidth)),y=-1!==f.minWidth.indexOf("em")?f.minWidth:parseFloat(f.minWidth)),f.minHeight&&""!==f.minHeight&&(-1!==f.minHeight.indexOf("%")&&(s=parseInt(f.minHeight)),v=-1!==f.minHeight.indexOf("em")?f.minHeight:parseFloat(f.minHeight)),f.maxWidth&&""!==f.maxWidth&&(-1!==f.maxWidth.indexOf("%")&&(r=parseInt(f.maxWidth)),x=-1!==f.maxWidth.indexOf("em")?f.maxWidth:parseFloat(f.maxWidth)),f.maxHeight&&""!==f.maxHeight&&(-1!==f.maxHeight.indexOf("%")&&(o=parseInt(f.maxHeight)),S=-1!==f.maxHeight.indexOf("em")?f.maxHeight:parseFloat(f.maxHeight)),t="auto"===t?"auto":parseFloat(t),i="auto"===i?"auto":parseFloat(i),h.original={clip:A,left:f.left||"0",top:f.top||"0",width:t,height:i,minWidth:y,minHeight:v,maxWidth:x,maxHeight:S,sWidth:f.width,sHeight:f.height,percentWidth:w,percentHeight:b,percentMinWidth:a||null,percentMinHeight:s||null,percentMaxWidth:r||null,percentMaxHeight:o||null,backgroundImage:f.backgroundImage,backgroundSize:f.backgroundSize||"cover",backgroundRepeat:f.backgroundRepeat,backgroundPosition:f.backgroundPosition,ratio:T,paddingLeft:P,paddingTop:L,paddingRight:I,paddingBottom:_,marginLeft:$,marginRight:M,marginTop:F,marginBottom:B,borderLeftWidth:n,borderTopWidth:l,borderRightWidth:d,borderBottomWidth:c,borderRadius:(V=e,E=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],H="",(N=f).borderRadius&&(-1===N.borderRadius.indexOf("/")?ae.each(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],function(e,t){e=N[E[e]],t=V.css(t),t=ae.trim(void 0!==e&&e.length?e:t);-1==t.indexOf(" ")&&-1==t.indexOf("em")&&-1==t.indexOf("%")&&(t=parseInt(t)),H+=t+" "}):H=N.borderRadius),ae.trim(H)),fontSize:k,lineHeight:m.style.lineHeight,letterSpacing:m.style.letterSpacing,textStrokeWidth:m.style.textStrokeWidth||m.style.webkitTextStrokeWidth,color:e.css("color"),boxShadow:m.style.boxShadow,textShadow:m.style.textShadow,zIndex:parseInt(e.css("z-index"))||"auto",filter:z,backgroundColor:e.css("background-color"),dataLS:e.attr("data-ls")||"",styles:e.attr("style")||""},f.width&&"auto"!==f.width||(h.original.autoWidth=!0),f.height&&"auto"!==f.height||(h.original.autoHeight=!0),f.zIndex="auto",h.responsive={left:f.left?parseInt(f.left):0,top:f.top?parseInt(f.top):0,width:t,height:i},e.is("picture")&&e.css({width:h.original.width,height:h.original.height}),ee.plugins.callFunctions("setLayerStyleEnd",{$layer:e,layerData:h})},parseScaleProperties:function(e){for(var t=[{x:"scalexin",y:"scaleyin",s:"scalein"},{x:"textscalexin",y:"textscaleyin",s:"textscalein"},{x:"loopscalex",y:"loopscaley",s:"loopscale"},{x:"textscalexout",y:"textscaleyout",s:"textscaleout"},{x:"scalexout",y:"scaleyout",s:"scaleout"},{x:"hoverscalex",y:"hoverscaley",s:"hoverscale"}],i=0;i<t.length;i++){var a=t[i];e[a.x]&&e[a.y]&&e[a.x]===e[a.y]&&"="!==e[a.x]&&(e[a.s]=e[a.x],delete e[a.x],delete e[a.y])}return e},properties:function(e,t,i){t=t||e.data("slideIndex");var a=e.data(ee.defaults.init.dataKey);if(a.is.textLayer=!(e.is("img, picture")||a.is.mediaLayer||a.is.backgroundVideo),a.self=e,ee.plugins.callFunctions("setLayerPropertiesBeforeParsingDataLS",{$layer:e,layerData:a,slideIndex:t}),e.data("ls")){for(var s,r,o,n,l=ee.defaults.layer.keys,d=e.data("ls").split(";"),c={},p=0;p<d.length;p++)ae.trim(d[p])&&(s=d[p].indexOf(":"),r=d[p].substring(0,s).trim(),o=d[p].substring(s+1).trim(),r&&(c[r]=o));for(n in d=null,c=this.parseScaleProperties(c)){var u=null,m=null,h=null,f=null,g=!1,y=!1,v=!1,x=!1,S=!1;if(r=n.toLowerCase(),o=c[n],-1==["thumbnail","poster"].indexOf(r)&&(o=o.toLowerCase()),(r=r.replace("split","text")).match(/(duration|startat|shift|delay)/i)&&("string"==typeof o&&-1!==o.indexOf("ms")&&(o=o.replace(/ms/g,"")),S=!0),/^text/.test(r)&&(y=!0),/^loop/.test(r)&&(v=!0,-1!==o.indexOf(ee.defaults.init.staggerSplitChar)&&(x=!0)),void 0!==l[r]){if(u=l[r][0],f=o,"overlay"===r||x||(f=ee.functions.convert.properties(o,!1,u,e,a)),-1!==r.indexOf("mirror")&&(f=ee.layers.set.mirrorTransitions(o)),!o||!/random/.test(o)&&o.charAt(0)!==ee.defaults.init.openingBracket||/parallax/.test(r)||(g=!0),g&&(y||v||/offset/.test(r)||(f=ee.functions.convert.randomProperties(f,u,null,e,a)),a.should.update||(a.should.update=!0)),"number"==typeof f&&(u.match(/(duration|shift|delay|wait)/i)&&!v||-1!==u.toLowerCase().indexOf("startat"))&&(f/=1e3),r.match(/(fade)(.+)/))switch(f){case!0:f=0;break;case!1:f=1}void 0!==(h=l[r][1])?""!==f?"object"==typeof f&&-1==r.indexOf("mirror")?r.match(/(text)/)?h.match(/(converted)/i)?a[h][u]=f:a[h].cycle[u]=f:(m=ee.functions.convert.properties(ae.trim(f[0])),ee.debugMode&&ee.debug.add("warn","layerInit.prop1",[r,f,m]),"number"==typeof m&&S&&(m/=1e3),a[h][u]=m):y&&g?a[h].random[u]=f:a[h][u]=f:ee.debugMode&&ee.debug.add("warn","layerInit.prop2",r):a[u][r]=f}else"clip"===r?(a.original.clip=o,a.clip.style.css.clipPath=o):ee.debugMode&&ee.debug.add("warn","layerInit.prop4",r)}}if(ee.plugins.callFunctions("setLayerPropertiesAfterParsingDataLS",{$layer:e,layerData:a,slideIndex:t}),ee.browser.isOld&&(a.in.enabled=!0,a.textIn.enabled=!1,a.textOut.enabled=!1,a.textIn.type=null,a.textOut.type=null),a.in.enabled&&(a.inLayerTo.ease=a.inLayerStyleTo.ease=a.inClipTo.ease=ee.functions.convert.easing(a.in.ease)),void 0!==a.inLayerStyleShouldBeConvertedFrom.borderRadius&&(a.inLayerStyleShouldBeConvertedTo.borderRadius=a.original.borderRadius),void 0!==a.outLayerStyleShouldBeConvertedTo.borderRadius&&(a.outLayerStyleShouldBeConvertedFrom.borderRadius=a.original.borderRadius),a.inLayerStyleFromCSS.backgroundColor&&(a.inLayerStyleToCSS.backgroundColor=a.original.backgroundColor),a.outLayerStyleToCSS.backgroundColor&&(a.outLayerStyleFromCSS.backgroundColor=a.original.backgroundColor),a.inLayerStyleFromCSS.color&&(a.inLayerStyleToCSS.color=a.original.color),a.outLayerStyleToCSS.color&&(a.outLayerStyleFromCSS.color=a.original.color),void 0!==a.inLayerStyleShouldBeConvertedFrom.width&&(a.inLayerStyleShouldBeConvertedTo.width=a.original.width),void 0!==a.outLayerStyleShouldBeConvertedTo.width&&(a.outLayerStyleShouldBeConvertedFrom.width=a.original.width),void 0!==a.inLayerStyleShouldBeConvertedFrom.height&&(a.inLayerStyleShouldBeConvertedTo.height=a.original.height),void 0!==a.outLayerStyleShouldBeConvertedTo.height&&(a.outLayerStyleShouldBeConvertedFrom.height=a.original.height),void 0!==a.out.showUntil&&0!==a.out.showUntil&&(a.out.startAt="transitioninend + "+a.out.showUntil),-1!==a.out.startAt.indexOf("slidechangeonly")&&"slidechangeonly"!==a.out.startAt&&(a.out.startAt="slidechangeonly"),a.out.enabled&&(a.outLayerTo.ease=a.outLayerStyleTo.ease=a.outClipTo.ease=ee.functions.convert.easing(a.out.ease)),ae.isNumeric(a.loop.count)&&(0<a.loop.count||-1===a.loop.count)&&!1!==a.loop.enabled?(a.loop.enabled=!0,a.loopTo.ease=a.loopClipTo.ease=ee.functions.convert.easing(a.loop.ease)):a.loop.enabled=!1,(!ae.isEmptyObject(a.hoverToCSS)||a.hoverShouldBeConverted.x||a.hoverShouldBeConverted.y||a.hoverShouldBeConverted.borderRadius||a.hoverShouldBeConverted.filter)&&!1!==a.hover.enabled?(a.hover.enabled=!0,a.hover.easeOut||(a.hover.easeOut=a.hover.easeIn),a.hover.easeIn=ee.functions.convert.easing(a.hover.easeIn),a.hover.easeOut=ee.functions.convert.easing(a.hover.easeOut,!0),a.hover.durationOut||(a.hover.durationOut=a.hover.durationIn),te.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:a.hoverShouldBeConverted.transformPerspective}})):a.hover.enabled=!1,a.hover.skipGlobal&&e.attr("data-ls-skipglobalhover",""),"level"in a.parallax&&ae.isNumeric(a.parallax.level)&&a.parallax.enabled?("cursor"!==a.parallax.event&&a.parallax.event||!a.parallax.reset||e.attr("data-ls-parallax-reset",""),a.parallax.enabled=!0):a.parallax.enabled=!1,a.is.slideBackground){var w={scale:1,rotation:0};if(ee.slides[t].kenBurns.zoom&&(a.kenBurns=ee.slides[t].kenBurns),a.kenBurns.zoom){switch(a.kenBurns.from={},a.kenBurns.to={},a.kenBurns.zoom){case"out":a.kenBurns.from.scale=a.kenBurns.scale||1,a.kenBurns.from.rotation=a.kenBurns.rotation||0,a.kenBurns.to=w;break;case"in":a.kenBurns.from=w,a.kenBurns.to.scale=a.kenBurns.scale||1,a.kenBurns.to.rotation=a.kenBurns.rotation||0}delete a.kenBurns.scale,delete a.kenBurns.rotation}else a.kenBurns.from=w,a.kenBurns.to=w;ae.isEmptyObject(ee.slides[t].filter)||(ee.slides[t].filter.from&&(a.filter.values.bgFrom=ee.transitions.layers.filters.convert(ee.slides[t].filter.from)),ee.slides[t].filter.to&&(a.filter.values.bgTo=ee.transitions.layers.filters.convert(ee.slides[t].filter.to)))}if(a.textIn.type&&-1===ee.defaults.layer.splitTypeKeys.indexOf(a.textIn.type)&&(ee.debugMode&&ee.debug.add("warn","layerInit.splitType3a",[e[0].tagName,a.textIn.type]),delete a.textIn.type,delete a.textIn.ns,a.textIn.enabled=!1),a.textOut.type&&-1===ee.defaults.layer.splitTypeKeys.indexOf(a.textOut.type)&&(ee.debugMode&&ee.debug.add("warn","layerInit.splitType3b",[e[0].tagName,a.textOut.type]),delete a.textOut.type,delete a.textOut.ns,a.textOut.enabled=!1),a.textIn.enabled&&!a.textIn.type&&(a.textIn.type="chars_asc"),a.textOut.enabled&&!a.textOut.type&&(a.textOut.type="chars_desc"),a.textIn.type||a.textOut.type){var b=0;if(a.is.textLayer?(a.inLayerToCSS.rotation||(a.inLayerToCSS.rotation=1e-6),a.textIn.type&&(a.textIn.enabled=!0,a.textInNodesTo.ease=ee.functions.convert.easing(a.textInNodesTo.ease),a.textIn.split=a.textIn.type.split("_")[0],e.children().length&&ee.debugMode&&(b=1)),a.textOut.type&&!ee.o.inLayerPreview&&(a.textOut.enabled=!0),a.textOut.enabled&&(a.textOutNodesTo.ease=ee.functions.convert.easing(a.textOutNodesTo.ease)),a.textOut.enabled&&a.textOut.type.split("_")[0]!==a.textIn.split&&(a.textIn.split+=", "+a.textOut.type.split("_")[0],e.children().length&&ee.debugMode&&(b=1)),-1!==a.textIn.split.indexOf("chars")&&-1===a.textIn.split.indexOf("words")&&(a.textIn.split+=", words"),-1!==a.textIn.split.indexOf("words")&&-1===a.textIn.split.indexOf("lines")&&(a.textIn.split+=", lines")):(delete a.textIn.type,delete a.textOut.type,delete a.textIn.ns,delete a.textOut.ns,ee.debugMode&&(b=2)),ee.debugMode&&0!==b&&t&&!i)switch(b){case 1:ee.debug.add("warn","layerInit.splitType1",[e.prop("nodeName"),t]);break;case 2:ee.debug.add("warn","layerInit.splitType2",[t,e.prop("nodeName")])}}if((a.inClipFromCSS.clipPath||a.outClipToCSS.clipPath||a.loopClipToCSS.clipPath||a.clip.style.css.clipPath!==a.clip.default.css.clipPath||a.clip.userDefined)&&(a.inClipFromCSS.clipPath?"="==a.inClipFromCSS.clipPath&&(a.inClipFromCSS.clipPath=a.clip.style.css.clipPath):a.inClipFromCSS.clipPath=a.clip.default.css.clipPath,a.outClipToCSS.clipPath?"="==a.outClipToCSS.clipPath&&(a.outClipToCSS.clipPath=a.clip.style.css.clipPath):a.outClipToCSS.clipPath=a.clip.default.css.clipPath,a.clip.enabled=!0),a.textOutNodesTo.clipPath&&!a.textInNodesFrom.clipPath&&(a.clip.textShouldReset=!0),a.textIn.enabled&&"textmask"===a.textInLayerStyle.overflow&&e.attr("data-ls-mask-text-in",""),a.textOut.enabled&&"textmask"===a.textOutLayerStyle.overflow&&e.attr("data-ls-mask-text-out",""),a.in.enabled&&a.inLayerToCSS.hasOwnProperty("scale")&&(delete a.inLayerToCSS.scaleX,delete a.inLayerToCSS.scaleY),a.out.enabled&&a.outLayerToCSS.hasOwnProperty("scale")&&(delete a.outLayerToCSS.scaleX,delete a.outLayerToCSS.scaleY),a.inLayerStyleShouldBeConvertedFrom.filter&&(a.filter.values.in=ee.transitions.layers.filters.convert(a.inLayerStyleShouldBeConvertedFrom.filter)),a.filter.values.style=ee.transitions.layers.filters.convert(a.original.filter),a.outLayerStyleShouldBeConvertedTo.filter&&(a.filter.values.out=ee.transitions.layers.filters.convert(a.outLayerStyleShouldBeConvertedTo.filter)),a.loopLayerShouldBeConverted.filter&&(a.filter.values.loop=ee.transitions.layers.filters.convert(a.loopLayerShouldBeConverted.filter)),a.hoverShouldBeConverted.filter&&(a.filter.values.hover=ee.transitions.layers.filters.convert(a.hoverShouldBeConverted.filter)),a.in.enabled||(a.in.duration=0),a.textIn.enabled||(a.textIn.duration=0),a.textOut.enabled||(a.textOut.duration=0),a.out.enabled||(a.out.duration=0),e.attr("data-ls-slidein",t),void 0!==a.settings.static&&"none"!==a.settings.static){var T=parseInt(a.settings.static);if(0!==T&&"forever"!==a.settings.static?(e.attr("data-ls-slideout",T),a.settings.slideOut=T):a.settings.slideOut=0,a.is.static=!0,e.attr("data-ls-static","1"),!a.staticSlides)if(a.staticSlides=[],0===a.settings.slideOut)for(T=1;T<=ee.slides.count;T++)a.staticSlides.push(T);else if(a.settings.slideIn<=a.settings.slideOut)for(T=a.settings.slideIn;T<=a.settings.slideOut;T++)a.staticSlides.push(T);else{for(T=a.settings.slideIn;T<=ee.slides.count;T++)a.staticSlides.push(T);for(T=1;T<=a.settings.slideOut;T++)a.staticSlides.push(T)}}else e.attr("data-ls-slideout",t);a.is.mediaLayer&&e.children("video, audio").length&&ee.media.html5.singleInit(e.children("video, audio").eq(0)),a.is.backgroundVideo&&a.styleSettings.overlay&&e.find(".ls-bg-video-overlay").css({backgroundImage:"url("+a.styleSettings.overlay+")"}),a.styleSettings.minfontsize&&(a.styleSettings.minfontsize=parseFloat(a.styleSettings.minfontsize)),a.styleSettings.minmobilefontsize&&(a.styleSettings.minmobilefontsize=parseFloat(a.styleSettings.minmobilefontsize)),ee.slider.isPopup&&(a.is.pinned=!1),a.is.pinned&&(ee.slider.hasPinnedLayers=!0,ee.slider.$layersWrapper.is(".ls-layers-clip")||ee.slider.$layersWrapper.addClass("ls-layers-clip"),!ie.isMobile&&!ee.browser.isSafari||ee.slider.$layersWrapper.is(".ls-m-layers-clip")||ee.slider.$layersWrapper.addClass("ls-m-layers-clip")),a.styleSettings.smartbg&&(e.attr("data-ls-smart-bg","").css("--bgs",a.original.backgroundSize),a.styleSettings.smartbg=a.styleSettings.smartbg.toString(),a.settings.smartbgease&&(a.settings.smartbgease=ee.functions.convert.easing(a.settings.smartbgease)),a.is.smartBG=!0)},dataAttribute:function(e,t,i){var a=t.add(t.closest(".ls-wrapper.ls-z"));ae.isArray(i)||(i=(i+"").split(" "));for(var s=0;s<i.length;s++)switch(e){case"remove":a.removeAttr("data-ls-"+i[s]);break;case"add":"active"===i[s]&&a.removeAttr("data-ls-hidden"),"hidden"===i[s]&&a.removeAttr("data-ls-active data-ls-animating-in data-ls-text-animating-in data-ls-animating-out data-ls-text-animating-out data-ls-static-in data-ls-static-out"),-1===i[s].indexOf("in")&&-1===i[s].indexOf("out")||(a.removeAttr("data-ls-active"),a.removeAttr("data-ls-hidden")),"active"===i[s]&&t.is("[data-ls-animating-in], [data-ls-text-animating-in]")||"hidden"===i[s]&&t.is("[data-ls-animating-out], [data-ls-text-animating-out]")||a.attr("data-ls-"+i[s],"")}}},get:function(e){var t=this.$all;if("string"==typeof e&&(e=e.split(",")),Array.isArray(e)&&e.length){for(var i=[],a=function(e){return-1!==i.indexOf(e)},s=0;s<e.length;s++)i.push(ae.trim(e[s]).toLowerCase());var r="",o=a("out")?"out":"in",n=':not(".ls-bg")',l=':not(".ls-bg-video")',d="";(a("bgvideo")||a("backgroundvideo"))&&(l=""),a("video")&&(d+=", > video"),a("audio")&&(d+=", > audio"),a("html5")&&(d+=", > video, > audio"),a("youtube")&&(d+=', > iframe[src*="youtube-nocookie.com"], > iframe[src*="youtube.com"], > iframe[src*="youtu.be"], > iframe[data-src*="youtube-nocookie.com"], > iframe[data-src*="youtube.com"], > iframe[data-src*="youtu.be"]'),a("vimeo")&&(d+=', > iframe[src*="player.vimeo"], > iframe[data-src*="player.vimeo"]'),","===d.charAt(0)&&(d=d.substring(2)),(a("img")||a("image"))&&(r="img"),(a("bg")||a("background")||a("bgonly"))&&(n=""),t=a("current")?t.filter(r+"[data-ls-slide"+o+'="'+ee.slides.current.index+'"]'+n+l):a("next")?t.filter(r+"[data-ls-slide"+o+'="'+ee.slides.next.index+'"]'+n+l):t.filter(r+n+l),a("notactive")&&(t=t.filter(".ls-bg, .ls-bg-video, :hidden")),a("clone")&&(t=t.filter(".ls-clone")),a("active")&&(t=t.filter(':visible:not(.ls-bg, .ls-bg-video), [data-ls-static="1"]:not([data-ls-hidden])')),a("notstatic")&&(t=t.filter(':not([data-ls-static="1"])')),a("static")&&(t=t.filter('[data-ls-static="1"]')),a("bgonly")&&(t=t.filter(".ls-bg")),a("countdown")&&(t=t.filter("[data-countdown]")),a("staticin")&&(t=t.filter("[data-ls-static-in]")),a("notstaticin")&&(t=t.filter(":not([data-ls-static-in])")),a("staticout")&&(t=t.filter("[data-ls-static-out]")),a("notstaticout")&&(t=t.filter(":not([data-ls-static-out])")),""!==d&&(t=t.find(d))}return t},update:{data:function(e,t,i){var a,s,r;switch(e instanceof jQuery||(e=ae(e)),i&&e.attr("data-ls",i).data("ls",i),a=(s=e.data(ee.defaults.init.dataKey)).is.onSlide,r=s.original,t){default:case"transitions":s.settings.timelineIsCalculated=!1,ee.layers.set.properties(e,a,!0);break;case"all":e.data(ee.defaults.init.dataKey,new ee.defaults.layer.options(e,a)),(s=e.data(ee.defaults.init.dataKey)).original=r,ee.layers.set.properties(e,a,!0),ee.layers.set.wrappers(e,s,a)}}},wrap:function(u,e){var t,m;ee.slides[u].wrapped||"wrapping"===ee.slides[u].wrapped||(ee.slides[u].wrapped="wrapping",t=e?25:0,e=ee.slides[u].$layers,0===(m=e.length)?ee.slides[u].wrapped=!0:e.each(function(c,p){ee.timeouts["slide-"+u+"-layer-"+c]=setTimeout(function(){delete ee.timeouts["slide-"+u+"-layer-"+c];var e=ae(p),t=e,i="",a=!1,s="";e.hasClass("ls-hide-phone")&&(s+=" ls-hide-on-phone"),e.hasClass("ls-hide-tablet")&&(s+=" ls-hide-on-tablet"),e.hasClass("ls-hide-desktop")&&(s+=" ls-hide-on-desktop"),e.removeClass("ls-hide-phone ls-hide-tablet ls-hide-desktop"),t.is("a")&&1===t.children().length&&(a=!0,e=t.find(".ls-layer"));var r,o,n,l=e.data(ee.defaults.init.dataKey);if(!l)return!0;d=e.data("$layerGroup")||ee.slider.$layersWrapper,l.is.backgroundVideo?d=ee.slider.$bgVideosWrapper:l.is.slideBackground&&(d=ee.slider.$slideBGWrapper),e.data("hasBeenSet")||ee.layers.set.singleLayer(e,u),l.textIn.split&&(n=new te.SplitType(e[0],{split:l.textIn.split}),l.textIn.type&&(l.textIn.ns=n[l.textIn.type.split("_")[0]]),l.textOut.type&&(l.textOut.ns=n[l.textOut.type.split("_")[0]]),-1!==e.css("background-clip").indexOf("text")&&(r=e.find(".ls-ch"),o=e.find(".ls-wd"),n=e.find(".ls-ln"),l.textIn.$nodesForBackgroundClip=r.length?r:o.length?o:n,r.length?e.addClass("ls-has-chars"):o.length?e.addClass("ls-has-words"):e.addClass("ls-has-lines"),l.textIn.$nodesForBackgroundClip.each(function(){var e=ae(this),t=ae.trim(e.text()),i=document.createTextNode(t),t=ae(i),i=ae('<div class="ls-textnode-bgclip-wrap"><div class="ls-textnode"></div></div>').css({backgroundColor:l.original.backgroundColor,backgroundImage:l.original.backgroundImage,backgroundSize:l.original.backgroundSize,backgroundRepeat:l.original.backgroundRepeat,backgroundPosition:l.original.backgroundPosition});e.css({verticalAlign:"top"}).text(""),t.clone().appendTo(e).wrap('<div class="ls-textnode-dummy"></div>'),t.appendTo(e).wrap(i)}))),i=l.is.slideBackground||l.is.backgroundVideo?'<div class="ls-wrapper ls-bg-outer"><div class="ls-wrapper ls-bg-wrap"></div></div>':(l.clip.enabled&&(i='<div class="ls-wrapper ls-clip"></div>'),l.loop.enabled&&(i='<div class="ls-wrapper ls-loop">'+i+"</div>"),l.scroll.enabled&&(i='<div class="ls-wrapper ls-scroll"><div class="ls-wrapper ls-scroll-transform">'+i+"</div></div>"),'<div class="ls-wrapper ls-in-out" style="">'+i+"</div>"),l.parallax.enabled&&(i='<div class="ls-wrapper ls-parallax">'+i+"</div>"),""!==(i='<div class="ls-wrapper ls-z'+(l.is.pinned?" ls-pinned":"")+'">'+i+"</div>")?e.appendTo(d).wrap(i):e.appendTo(d),!0===a&&t.addClass("ls-layer-link").appendTo(e.parent());var d={},a=e.css("mix-blend-mode");a&&"normal"!==a&&(d["mix-blend-mode"]=a,e.css("mix-blend-mode","normal")),l.original.customZIndex=1;a=parseInt(l.original.zIndex);l.is.backgroundVideo||l.is.slideBackground?d={zIndex:l.original.customZIndex}:(a=a||c+101,d.zIndex=a,l.original.customZIndex=a),ee.browser.isSafari&&(d.transform="translateZ(0)"),ee.layers.set.wrappers(e,l,u),l.elements.$outerWrapper.css(d).addClass(s),l.styleSettings.pointerevents&&l.elements.$innerWrapper.css("pointer-events","none"),l.is.slideBackground&&l.elements.$bgWrapper.css({backgroundColor:ee.slides[u].data.backgroundColor,backgroundImage:ee.slides[u].data.backgroundGradient}),ee.layers.$all=ee.layers.$all.add(e),e.attr("data-ls-layer-id",ee.layers.$all.length),ee.slides[u].$layers=ee.slides[u].$layers.not(t),c===m-1&&(_.children(".ls-slide").eq(u-1).empty(),ee.slides[u].wrapped=!0),ee.plugins.callFunctions("wrapLayerEnd",{$layer:e,layerData:l,slideIndex:u})},t*(c+1))}))}},ee.slideshow={direction:"next",nextLoop:0,firstStart:!0,forceFastChange:!1,sequence:{normal:[],randomized:[]},state:{changed:-1,running:!0,paused:!1,pausedByVideo:!1,pausedByHover:!1,pausedByLastCycle:!1},should:{change:!1,start:!1,stop:!1},isPaused:function(){return this.state.paused||this.state.pausedByVideo||this.state.pausedByHover||this.state.pausedByPerformance},init:function(){1==ee.slides.count&&ae.extend(ee.o,{autoStart:!1,navPrevNext:!1,navStartStop:!1,navButtons:!1,cycles:-1,forceLoopNum:!1,autoPauseSlideshow:!0,firstSlide:1,thumbnailNavigation:"disabled"}),ee.o.autoStart&&1!=ee.slides.count||ee.functions.setStates(this,{running:!1,paused:!0}),this.set.pauseOnHover(),this.set.sequences()},set:{pauseOnHover:function(){ee.o.pauseOnHover=!0===ee.o.pauseOnHover?"slideshowOnly":ee.o.pauseOnHover,!1!==ee.o.pauseOnHover&&_.on("mouseenter."+$,function(){ee.slider.state.inFullscreen||(ee.functions.setStates(ee.slideshow,{pausedByHover:!0}),"slideshowOnly"!==ee.o.pauseOnHover&&ee.transitions.layers.timeline.pause())}).on("mouseleave."+$,function(){var e=1;ee.timelines._layers&&ee.timelines._layers.duration()>ee.transitions.layers.timeline.totalDuration&&(e=ee.transitions.layers.timeline.totalDuration/ee.timelines._layers.duration()),ee.functions.setStates(ee.slideshow,{pausedByHover:!1}),ae("body").hasClass("ls-unselectable")||"slideshowOnly"===ee.o.pauseOnHover||ee.o.pauseLayers&&ee.slideshow.isPaused()||ee.transitions.layers.timeline.resume(),ee.timelines._layers&&ee.transitions.layers.timeline.state.finished&&ee.timelines._layers.progress()<e&&ee.functions.setStates(ee.transitions.layers.timeline,{finished:!1}),ee.slideshow.start()})},sequences:function(){for(var e=0;e<ee.slides.count;e++)ee.slideshow.sequence.normal[e]=e+1;ee.slideshow.sequence.randomized=ee.functions.shuffleArray(ae.merge([],ee.slideshow.sequence.normal))},normalizedSequence:function(){var e=ee.o.shuffleSlideshow?"randomized":"normal",t=ee.slideshow.sequence[e],i=ee.slideshow.sequence[e].length,a=t.indexOf(ee.slides.first.index);ee.slideshow.sequence.normalized=[];for(var s=a;s<i;s++)ee.slideshow.sequence.normalized.push(t[s]);for(var r=0;r<a;r++)ee.slideshow.sequence.normalized.push(t[r])},prevNext:function(e){switch("prev"!==e&&"first"!==e||!ee.o.twoWaySlideshow?ee.slideshow.direction="next":ee.slideshow.direction="prev",e){case"prev":ee.slideshow.changeTo(ee.slideshow.get.slideInSequence("prev"),!0);break;case"next":ee.slideshow.changeTo(ee.slideshow.get.slideInSequence("next"),!0);break;case"first":ee.slideshow.changeTo(1,!0);break;case"last":ee.slideshow.changeTo(ee.slides.count,!0)}}},get:{sequence:function(){var e="normal";return ee.o.playByScroll?e="normalized":ee.o.shuffleSlideshow&&(e="randomized"),e},slideInSequence:function(e){var t=ee.slideshow.sequence[this.sequence()],i=t.indexOf(ee.slides.current.index);switch(e){case"prev":return 0===i?t[t.length-1]:t[i-1];case"next":return i===t.length-1?t[0]:t[i+1];default:return t[e]}},indexOfSlideInSequence:function(e){return ee.slideshow.sequence[this.sequence()].indexOf(e)}},cycles:{set:function(){0<ee.o.cycles&&(ee.slideshow.curCycle=1,ee.slideshow.cycleSlideIndex=ee.slideshow.get.indexOfSlideInSequence(ee.slides.first.index))},check:function(e){if(ee.slideshow.get.indexOfSlideInSequence(e)===ee.slideshow.cycleSlideIndex)return++ee.slideshow.curCycle===ee.o.cycles+1}},start:function(e){!this.isPaused()&&ee.timelines._layers&&ee.transitions.layers.timeline.state.finished&&this.changeTo(ee.slides.next.index)},stop:function(){ee.functions.setStates(this,{running:!1,paused:!0})},changeTo:function(e,t,i){if(!document.body.contains(L))return!1;if(ee.slides.current.index===e&&!ee.slideshow.forceSlideChangeTo)return!1;if(ee.slideshow.forceSlideChangeTo=null,!this.firstStart&&ee.api.hasEvent("slideChangeWillStart")){var a=ee.api.triggerEvent("slideChangeWillStart",ee.api.eventData());if(!1===a)return;ae.isNumeric(a)&&(e=parseInt(a))}e>ee.slides.count||e<1?ee.debugMode&&(ee.debug.add("group","slideshow"),ee.debug.add("warn","slideshow.invalidSlideIndex",[e,ee.slides.count]),ee.debug.groupEnd()):ee.slider.isBusy()||ee.slideshow.state.pausedByVideo&&!t?!ee.slider.state.preloadingImages&&ee.slider.state.animatingSlides&&ee.timelines._slideTransition&&(ee.slideshow.forceSlideChangeTo=e,ee.slideshow.should.change=!0,ee.timelines._slideTransition.progress(1)):(ee.functions.setStates(ee.transitions.layers.timeline,{finished:!1}),ee.slideshow.should.change=!1,ee.debugMode&&ee.debug.add("group","slideshow"),t?(i&&(ee.navigation.direction=ee.slides.current.index>e?"prev":"next"),ee.o.twoWaySlideshow&&("prev"===ee.navigation.direction?ee.slideshow.direction="prev":ee.slideshow.direction="next"),ee.debugMode&&(ee.debug.add("log","slideshow.changedByUser",!1),ee.o.twoWaySlideshow&&ee.debug.add("log","slideshow.setdir",ee.slideshow.direction))):ee.navigation.direction=ee.slideshow.direction,ee.transitions.timers.reverse(),ee.gui.media.hideUnmute(),ee.slides.set.nextSlideIndex(e),ee.debugMode&&(ee.debug.add("log","slideshow.change",[ee.slides.current.index,ee.slides.next.index,ee.slideshow.direction,ee.navigation.direction]),ee.debug.groupEnd()),ee.functions.setStates(this,{pausedByVideo:!1,changed:++this.state.changed}),ee.functions.setStates(ee.slider,{changingSlides:!0}),ee.slider.state.animatingSlides&&ee.timelines._slideTransition&&ee.timelines.to([ee.timelines.slides[ee.slides.current.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),ee.preload.imagesOfSlide(ee.slides.next.index,function(){ee.transitions.start()}))},forceStop:function(){ee.navigation.stop(),ae.each(ee.timeouts,function(e,t){clearTimeout(ee.timeouts[e])}),ee.transitions.timers.stop(),ee.timelines._layers.stop(),ee.timelines._layersAlt.stop(),ee.functions.setStates(ee.transitions.layers.timeline,{stopped:!0,running:!1}),_.find("*").stop(!0,!1).dequeue()},restart:function(){_.find("*").stop(),ee.navigation.change(ee.slides.current.index,ee.slideshow.direction)}},ee.media={properties:{$allMediaLayers:ae(),playingInCurSlide:0,endedInCurSlide:0,userDidUnmute:!1},init:function(){ee.functions.setStates(ee.slider,{waitingForYouTube:!1,waitingForVimeo:!1}),ee.media.properties.allowToUnmute=!0,ee.media.youtube.init(),ee.media.vimeo.init(),ee.media.html5.init()},isPlayable:function(e,t){return!(e.is("[data-ls-animating-out], [data-ls-hidden]")&&!t.is.backgroundVideo)},get:function(e){var t,i=ee.media.properties.$allMediaLayers;return e&&(-1!==(e=e.toLowerCase()).indexOf("notbg")&&(i=i.not(".ls-bg-video")),-1!==e.indexOf("active")&&(i=i.filter("[data-ls-active], [data-ls-animating-in], [data-ls-text-animating-in]")),-1!==e.indexOf("notstatic")&&(i=i.not("[data-ls-static]")),t=i.find("video, audio, iframe"),-1!==e.indexOf("notplaying")?t=t.filter("[data-ls-not-playing]"):-1!==e.indexOf("playing")&&(t=t.filter("[data-ls-playing]")),-1!==e.indexOf("allowtounmute")&&(t=t.filter("[data-ls-allow-to-unmute]")),-1!==e.indexOf("mutedbybrowser")&&(t=t.filter("[data-ls-muted-by-browser]"))),t},set:{backgroundVideo:function(e,t){0===e.children(".ls-vpcontainer").length&&(e=ae("<div>").addClass("ls-vpcontainer").appendTo(e),t.mediaSettings.poster&&ae("<div>").appendTo(e).addClass("ls-videopreview").attr({style:"background-image: url("+t.mediaSettings.poster+")"}))},customPoster:function(e,t){return t.mediaSettings.poster||!1},dataAttribute:function(e,t){e.removeAttr("data-ls-playing data-ls-not-playing"),e.attr("data-ls-"+t,""),ee.media.functions.checkSlideshowWaiting()},mediaElements:function(e,t,i){var a=ae("<div>").addClass("ls-vpcontainer").appendTo(e);!("autoplay"in i.mediaSettings)&&ee.o.autoPlayVideos||i.mediaSettings.autoplay?"instant"===i.mediaSettings.autoplay?e.addClass("ls-instant-autoplay"):e.addClass("ls-autoplay"):ae("<div>").appendTo(a).addClass("ls-playvideo"),t.is("iframe")&&i.mediaProperties.poster&&ae("<div>").appendTo(a).addClass("ls-videopreview").attr({style:"background-image: url("+i.mediaProperties.poster+")"}),t.is("video, audio")&&i.mediaProperties.poster&&ae("<div>").appendTo(a).addClass("ls-videopreview").attr({style:"background-image: url("+i.mediaProperties.poster+")"})},properties:function(e,t,i){switch(i.is.mediaLayer=!0,i.mediaProperties.type){case"youtube":i.is.backgroundVideo?(i.mediaProperties.options=ae.extend(!0,{loop:1,playlist:i.mediaProperties.embedID,controls:0,autoplay:0,showinfo:!1,modestbranding:1,thumbnail:!1},ee.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions),ee.media.set.backgroundVideo(e,i)):(i.mediaProperties.options=ae.extend(!0,{},ee.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions,{autoplay:0}),ee.media.set.mediaElements(e,t,i));break;case"vimeo":i.is.backgroundVideo?(i.mediaProperties.options=ae.extend(!0,{loop:1,byline:0,portrait:0,title:0,fun:0},ee.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions),ee.media.set.backgroundVideo(e,i)):(i.mediaProperties.options=ae.extend(!0,{},ee.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions,{autoplay:0}),ee.media.set.mediaElements(e,t,i));break;case"html5":t.attr("autoplay")&&(t.removeAttr("autoplay"),e.attr("data-ls",e.attr("data-ls")+" autoplay: true;")),i.is.backgroundVideo?(t.removeAttr("controls"),t[0].muted=!0,t.attr("loop","")):"controls"in i.mediaSettings&&"auto"!==i.mediaSettings.controls&&(i.mediaSettings.controls?(t.attr("controls",""),t.removeAttr("nocontrols")):t.removeAttr("controls")),"volume"in i.mediaSettings&&(i.mediaSettings.volume<0?i.mediaSettings.volume=0:100<i.mediaSettings.volume&&(i.mediaSettings.volume=100),t[0].volume=i.mediaSettings.volume/100),"muted"in i.mediaSettings&&(i.mediaSettings.muted?t[0].muted=!0:t[0].muted=!1),"loop"in i.mediaSettings&&(i.mediaSettings.loop?t.attr("loop",""):t.removeAttr("loop")),i.is.backgroundVideo?ee.media.set.backgroundVideo(e,i):ee.media.set.mediaElements(e,t,i)}},thumbnail:function(e,t){switch(t){case"show":e.stop(!0,!0).fadeIn(ee.transitions.media.defaults.fadeIn);break;case"hide":e.stop(!0,!0).delay(ee.transitions.media.defaults.delay).fadeOut(ee.transitions.media.defaults.fadeOut)}}},events:{start:function(e,t,i){var a;ee.api.hasEvent("mediaDidStart")&&!i.mediaProperties.alreadyStarted&&ee.media.functions.allowedToPlay(e,i)&&((a=ee.api.eventData()).event.target=e[0],ee.api.triggerEvent("mediaDidStart",a),i.mediaProperties.alreadyStarted=!0)},stop:function(e,t,i){var a;ee.api.hasEvent("mediaDidStop")&&i.mediaProperties.alreadyStarted&&((a=ee.api.eventData()).event.target=e[0],ee.api.triggerEvent("mediaDidStop",a),i.mediaProperties.alreadyStarted=!1)}},unmute:{set:function(e,t,i){("youtube"!==t&&"vimeo"!==t||ee.media.properties.allowToUnmute)&&ee.gui.media.showUnmute(),e.attr("data-ls-allow-to-unmute",""),i&&e.attr("data-ls-muted-by-browser","")},multipleMediaElements:function(){var e=_.find("[data-ls-allow-to-unmute]");(ee.o.rememberUnmuteState?e:e.filter("[data-ls-playing], [data-ls-muted-by-browser]")).each(function(){ee.media.unmute.singleMediaElement(ae(this))}),ee.gui.media.hideUnmute(),ee.media.properties.userDidUnmute=!0},singleMediaElement:function(e){var t,i=e.closest(".ls-layer").data(ee.defaults.init.dataKey),a=!1;switch(i.mediaProperties.type){case"youtube":ee.media.properties.allowToUnmute&&(a=!0,i.mediaProperties.player.unMute());break;case"vimeo":ee.media.properties.allowToUnmute&&(a=!0,t=i.mediaSettings.volume?i.mediaSettings.volume/100:1,i.mediaProperties.player.setVolume(t));break;case"html5":a=!0,e[0].muted=!1}a&&e.removeAttr("data-ls-muted-by-browser data-ls-allow-to-unmute")}},functions:{allowedToPlay:function(e,t){e=e.closest(".ls-layer");return!!(ee.slides.current.index===parseInt(e.attr("data-ls-slidein"))||t.is.backgroundVideo&&ee.slides.next.index===parseInt(e.attr("data-ls-slidein"))||e.attr("data-ls-static")&&void 0!==e.attr("data-ls-active"))},playActiveMedia:function(e){var t,i;ee.media.get("notbg,active").each(function(){if(t=ae(this).closest(".ls-layer"),i=t.data(ee.defaults.init.dataKey),e){if(!i.mediaProperties.pausedByPerformance)return!0;i.mediaProperties.pausedByPerformance=!1}if(ee.media.isPlayable(t,i))if(i.mediaProperties.alreadyStarted)switch(i.mediaProperties.type){case"youtube":i.mediaProperties.player.playVideo();break;case"vimeo":i.mediaProperties.player.play();break;case"html5":i.mediaProperties.$media[0].play()}else ae(this).parent().find(".ls-vpcontainer").trigger("playMedia")})},stopSingleMedia:function(e,t){var i=t.mediaProperties.$media;ee.media[t.mediaProperties.type].stop(e,i,t,!0),ee.media.functions.mediaEnded(i,e,t,!0)},pauseActiveMedia:function(e){var t;ee.media.get("notbg,active,playing").each(function(){switch(t=ae(this).closest(".ls-layer").data(ee.defaults.init.dataKey),e&&(t.mediaProperties.pausedByPerformance=!0),t.mediaProperties.type){case"youtube":t.mediaProperties.player.pauseVideo();break;case"vimeo":t.mediaProperties.player.pause();break;case"html5":this.pause()}})},urlToObject:function(e){var a={},e=e.split("?")[1];return e&&e.split("#")[0].replace(/([^=&]+)=([^&]*)/g,function(e,t,i){a[decodeURIComponent(t)]=ae.isNumeric(decodeURIComponent(i))?parseInt(decodeURIComponent(i)):decodeURIComponent(i)}),a},checkSlideshowState:function(e,t){!t.is.static&&ee.o.autoPauseSlideshow&&(ee.functions.setStates(ee.slideshow,{pausedByVideo:!0}),"auto"==ee.o.autoPauseSlideshow&&ee.media.properties.playingInCurSlide++)},checkSlideshowWaiting:function(){var e=ee.media.properties.playingInCurSlide,t=ee.media.get("notbg,active,notstatic,notplaying"),i=t.length;i===e&&0<i&&ee.slideshow.state.pausedByVideo&&ee.o.autoPauseSlideshow&&!ee.timeouts.pausedVideos&&ee.slideshow.state.running?"hidden"!==document.visibilityState&&(ee.timeouts.pausedVideos=setTimeout(function(){ee.slideshow.state.running?t.each(function(){ee.media.functions.mediaEnded(ae(this),ae(this).closest(".ls-layer"),ae(this).closest(".ls-layer").data(ee.defaults.init.dataKey))}):ee.slideshow.state.pausedByVideo=!1},5e3)):ee.timeouts.pausedVideos&&(clearTimeout(ee.timeouts.pausedVideos),delete ee.timeouts.pausedVideos)},playIfAllowed:function(e){var t=e.data(ee.defaults.init.dataKey);t.is.mediaLayer&&(ie.isMobile&&(_.hasClass("ls-device-is-phone")&&t.elements.$outerWrapper.hasClass("ls-hide-on-phone")||_.hasClass("ls-device-is-tablet")&&t.elements.$outerWrapper.hasClass("ls-hide-on-tablet"))||("autoplay"in t.mediaSettings||!ee.o.autoPlayVideos)&&!t.mediaSettings.autoplay||e.find(".ls-vpcontainer").trigger("playMedia"))},stop:function(a,e){var a=void 0===a||a,t=!!e&&e.children("iframe, video, audio").first(),e=!!e&&e.data(ee.defaults.init.dataKey).mediaProperties.type;"youtube"!==e&&t||(t||ee.layers.get("current,out,youtube")).each(function(){var e=ae(this),t=e.closest(".ls-layer"),i=t.data(ee.defaults.init.dataKey);ee.media.youtube.stop(t,e,i,a)}),"vimeo"!==e&&t||(t||ee.layers.get("current,out,vimeo")).each(function(){var e=ae(this),t=e.closest(".ls-layer"),i=t.data(ee.defaults.init.dataKey);ee.media.vimeo.stop(t,e,i,a)}),"html5"!==e&&t||(t||ee.layers.get("current,out,html5")).each(function(){var e=ae(this),t=e.closest(".ls-layer"),i=t.data(ee.defaults.init.dataKey);ee.media.html5.stop(t,e,i,a)}),ee.media.properties.playingInCurSlide=Math.max(--ee.media.properties.playingInCurSlide,0),ee.media.properties.endedInCurSlide=Math.max(--ee.media.properties.endedInCurSlide,0)},mediaEnded:function(e,t,i,a){"auto"!=ee.o.autoPauseSlideshow||i.is.backgroundVideo||(i.is.static||ee.media.properties.endedInCurSlide++,ee.media.properties.endedInCurSlide===ee.media.properties.playingInCurSlide&&0!==ee.media.properties.playingInCurSlide&&(a||(ee.media.properties.playingInCurSlide=Math.max(--ee.media.properties.playingInCurSlide,0),ee.media.properties.endedInCurSlide=Math.max(--ee.media.properties.endedInCurSlide,0)),ee.functions.setStates(ee.slideshow,{pausedByVideo:!1}))),ee.media.set.dataAttribute(e,"not-playing"),ee.media.events.stop(e,t,i)},removeFromTimeline:function(e){ee.timelines._layers.kill(null,e.closest(".ls-in-out")[0]),ee.timelines._layersAlt.kill(null,e.closest(".ls-in-out")[0])}},youtube:{defaults:{autoplay:0,playsinline:1,wmode:"opaque",html5:1,enablejsapi:1,version:3,rel:0},init:function(){var f=0;this.$medias=ee.slider.$hiddenWrapper.find('iframe[src*="youtube-nocookie.com"], iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[data-src*="youtube-nocookie.com"], iframe[data-src*="youtube.com"], iframe[data-src*="youtu.be"]').each(function(){var e=ae(this).attr({id:"ls-youtube-"+ ++f,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),t=e.closest(".ls-layer");t.data("hasBeenSet")||ee.layers.set.singleLayer(t);var i,a,s,r,o,n,l,d,c=t.data(ee.defaults.init.dataKey),p=e.attr("src")||e.attr("data-src"),u=ee.media.functions.urlToObject(p),m=(p=p.split("?")[0].split("//")[1]).split("/"),h=m[m.length-1],m=ee.media.set.customPoster(t,c);c.mediaProperties={type:"youtube",$media:e,embedURL:p,embedID:h,embedOptions:u},m?(c.mediaProperties.poster=m,ee.media.set.properties(t,e,c)):(i=["default.jpg","mqdefault.jpg","hqdefault.jpg","sddefault.jpg","maxresdefault.jpg"],a="https://img.youtube.com/vi/"+p.split("embed/")[1].split("?")[0]+"/",s=a+ee.o.youtubePreview,o=r=0,n=function(){this.width>r&&(r=this.width,s=this.src),d()},l=function(){d()},d=function(){(o+=1)===i.length&&(c.mediaProperties.poster=s,ee.media.set.properties(t,e,c))},i.forEach(function(e){var t=new Image;t.addEventListener("error",l,!1),t.addEventListener("load",n,!1),t.src=a+e}))}),this.$medias.length&&(ee.media.properties.$allMediaLayers=ee.media.properties.$allMediaLayers.add(this.$medias.closest(".ls-layer")),ee.timeouts.loadYouTube=Math.floor(Date.now()/1e3),window.YT||ae("<script>").attr({src:"https://www.youtube.com/iframe_api",type:"text/javascript"}).appendTo("head"),window.onYouTubeIframeAPIReady=function(){window._layerSlider.globals.youTubeIsReady=!0},ee.intervals.isYouTubeReady=setInterval(function(){window.YT&&1===window.YT.loaded||window._layerSlider.globals.youTubeIsReady||3<Math.floor(Date.now()/1e3)-ee.timeouts.loadYouTube?(clearInterval(ee.intervals.isYouTubeReady),delete ee.intervals.isYouTubeReady,delete ee.timeouts.loadYouTube,ee.media.youtube.$medias.closest(".ls-layer").each(function(){var e=ae(this),t=e.find("iframe"),i=e.data(ee.defaults.init.dataKey);e.on("playMedia."+$+" click."+$,".ls-vpcontainer",function(){ee.media.set.thumbnail(ae(this),"hide"),ee.media.functions.checkSlideshowState(e,i),t.hide(),ee.media.youtube.play(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL),setTimeout(function(){t.show()},10)}).on("playBackgroundVideo."+$,function(){ee.media.youtube.play(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL),ee.layers.set.dataAttribute("add",e,"active")}).on("stopBackgroundVideo."+$,function(){ee.media.youtube.stop(e,i.mediaProperties.$media,i,!0),ee.layers.set.dataAttribute("add",e,"hidden")}).on("preloadBackgroundVideo."+$,function(){ee.media.youtube.createPlayer(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL,!0)})}),ee.functions.setStates(ee.slider,{waitingForYouTube:!1})):ee.functions.setStates(ee.slider,{waitingForYouTube:!0})},25))},createPlayer:function(t,i,a,s,r){a.mediaProperties.playerState="initializing","controls"in a.mediaSettings&&(a.mediaProperties.options.controls=a.mediaSettings.controls?1:0),"loop"in a.mediaSettings&&(a.mediaProperties.options.loop=a.mediaSettings.loop?1:0),"showinfo"in a.mediaSettings&&(a.mediaProperties.options.showinfo=a.mediaSettings.showinfo?1:0),a.mediaProperties.options.loop?a.mediaProperties.options.playlist=a.mediaProperties.embedID:delete a.mediaProperties.options.playlist,0===a.mediaProperties.options.showinfo&&(a.mediaProperties.options.modestbranding=1),i.attr("src","https://"+s+"?"+jQuery.param(a.mediaProperties.options)).on("load",function(){a.mediaProperties.player=new YT.Player(i[0],{events:{onReady:function(e){a.mediaProperties.playerState="ready",a.mediaSettings.volume&&a.mediaProperties.player.setVolume(a.mediaSettings.volume),r&&!a.mediaProperties.shouldPlay||(ee.media.youtube.play(t,i,a,s),a.mediaProperties.shouldPlay=!1)},onStateChange:function(e){switch(e.data){case 0:a.mediaProperties.options.loop&&1===a.mediaProperties.options.loop||ee.media.functions.mediaEnded(i,t,a);break;case 1:ee.media.events.start(i,t,a),a.mediaProperties.lastStarted=Date.now();break;case 2:case-1:a.mediaProperties.firstState&&0!==a.mediaProperties.lastState&&1!==a.mediaProperties.lastState||a.mediaProperties.lastStarted&&(Date.now(),a.mediaProperties.lastStarted)}1===e.data?ee.media.set.dataAttribute(i,"playing"):ee.media.set.dataAttribute(i,"not-playing"),ee.media.youtube.savePlayerState(a,e.data)}}})})},savePlayerState:function(e,t){e.mediaProperties.firstState||(e.mediaProperties.firstState=t),e.mediaProperties.lastState=t},play:function(e,t,i,a,s){void 0!==t.attr("data-ls-muted-by-browser")&&ee.media.unmute.singleMediaElement(t),i.mediaProperties.player?i.mediaProperties.player.playVideo?(!i.is.backgroundVideo||"muted"in i.mediaSettings||i.mediaProperties.player.mute(),i.mediaSettings.muted?ee.o.rememberUnmuteState&&ee.media.properties.userDidUnmute||(i.mediaProperties.player.mute(),"offertounmute"==i.mediaSettings.muted&&ee.media.unmute.set(t,i.mediaProperties.type)):s&&(i.mediaProperties.player.mute(),ee.media.unmute.set(t,i.mediaProperties.type,!0)),ee.media.functions.allowedToPlay(t,i)?ee.media.isPlayable(e,i)&&i.mediaProperties.player.playVideo():ee.media.youtube.stop(e,t,i,!0)):i.mediaProperties.shouldPlay=!0:i.mediaProperties.playerState?i.mediaProperties.shouldPlay=!0:this.createPlayer(e,t,i,a)},stop:function(e,t,i,a){i.mediaProperties.player&&(i.mediaProperties.player.pauseVideo&&i.mediaProperties.player.pauseVideo(),a&&i.mediaProperties.player.seekTo&&(i.mediaProperties.player.seekTo(0),i.mediaProperties.player.pauseVideo()),i.is.backgroundVideo||ee.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),ee.media.events.stop(t,e,i))}},vimeo:{defaults:{autoplay:0,autopause:0,wmode:"opaque",playsinline:1},init:function(){var d,e,t=this.$medias=ee.slider.$hiddenWrapper.find('iframe[src*="player.vimeo"], iframe[data-src*="player.vimeo"]'),c=ee.slider.$hiddenWrapper.find('.ls-slide:eq(0) iframe[src*="player.vimeo"], .ls-slide:eq(0) iframe[data-src*="player.vimeo"]').length;t.length&&(ee.timeouts.loadVimeo=Math.floor(Date.now()/1e3),ee.media.properties.$allMediaLayers=ee.media.properties.$allMediaLayers.add(t.closest(".ls-layer")),d=0,ae("<script>").attr({src:"https://player.vimeo.com/api/player.js",type:"text/javascript"}).appendTo("head"),ee.intervals.isVimeoReady=setInterval(function(){ee.functions.setStates(ee.slider,{waitingForVimeo:!0}),(window.Vimeo||3<Math.floor(Date.now()/1e3)-ee.timeouts.loadVimeo)&&(clearInterval(ee.intervals.isVimeoReady),delete ee.intervals.isVimeoReady,delete ee.timeouts.loadVimeo,e())},25),e=function(){var l=0;ee.media.vimeo.$medias.each(function(){var t=ae(this).attr({id:"ls-vimeo-"+ ++d,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),i=t.closest(".ls-layer");i.data("hasBeenSet")||ee.layers.set.singleLayer(i);var a=i.data(ee.defaults.init.dataKey),e=t.attr("src")||t.attr("data-src"),s=ee.media.functions.urlToObject(e),r=e.split("video/")[1].split("?")[0],o="https://vimeo.com/api/oembed.json?url="+encodeURIComponent("https://vimeo.com/video/"+r+(s.h?"?h="+s.h:"")),e=e.split("?")[0].split("//")[1];ee.media.vimeo.defaults.player_id="ls-vimeo-"+d;r=ee.media.set.customPoster(i,a);a.mediaProperties={type:"vimeo",$media:t,embedURL:e,embedOptions:s};function n(e){a.mediaProperties.poster=e,(0===c||0<c&&++l==c)&&(window._layerSlider.globals.vimeoIsReady=!0),ee.media.set.properties(i,t,a)}r?n(r):ae.getJSON(o,function(e){n(e.thumbnail_url)}),i.on("playMedia."+$+" click."+$,".ls-vpcontainer",function(){ee.media.set.thumbnail(ae(this),"hide"),ee.media.functions.checkSlideshowState(i,a),ee.media.vimeo.play(i,t,a,e)}).on("playBackgroundVideo."+$,function(){ee.media.vimeo.play(i,t,a,e),ee.layers.set.dataAttribute("add",i,"active")}).on("stopBackgroundVideo."+$,function(){ee.media.vimeo.stop(i,t,a,!0),ee.layers.set.dataAttribute("add",i,"hidden")}).on("preloadBackgroundVideo."+$,function(){ee.media.vimeo.createPlayer(i,t,a,e,!0)})}),ee.functions.setStates(ee.slider,{waitingForVimeo:!1})})},createPlayer:function(e,t,i,a,s){i.mediaProperties.playerState="initializing";"controls"in i.mediaSettings&&(i.mediaProperties.options.controls=i.mediaSettings.controls?1:0,delete i.mediaSettings.controls),"loop"in i.mediaSettings&&(i.mediaProperties.options.loop=i.mediaSettings.loop?1:0),"showinfo"in i.mediaSettings&&(i.mediaSettings.showinfo?(i.mediaProperties.options.byline=1,i.mediaProperties.options.portrait=1,i.mediaProperties.options.title=1):(i.mediaProperties.options.byline=0,i.mediaProperties.options.portrait=0,i.mediaProperties.options.title=0),delete i.mediaProperties.options.showinfo),"volume"in i.mediaSettings&&(0===i.mediaSettings.volume?(i.mediaSettings.volume=100,i.mediaSettings.muted=!0):(i.mediaSettings.volume<0||100<i.mediaSettings.volume)&&(i.mediaSettings.volume=100)),i.mediaSettings.muted&&(i.mediaProperties.options.muted=1),t.attr("src","https://"+a+"?"+jQuery.param(i.mediaProperties.options)),i.mediaProperties.player=new Vimeo.Player(t[0]),i.mediaProperties.player.on("play",function(){ee.media.set.dataAttribute(t,"playing"),ee.media.events.start(t,e,i)}),i.mediaProperties.player.on("pause",function(){ee.media.set.dataAttribute(t,"not-playing")}),i.mediaProperties.player.on("ended",function(){ee.media.functions.mediaEnded(t,e,i)}),i.mediaProperties.player.ready().then(function(){i.mediaProperties.playerState="ready",i.mediaSettings.volume&&!i.mediaSettings.muted&&ae.isNumeric(i.mediaSettings.volume)&&0<=i.mediaSettings.volume&&i.mediaSettings.volume<=100&&i.mediaProperties.player.setVolume(i.mediaSettings.volume/100),s||ee.media.vimeo.play(e,t,i,a)})},play:function(t,i,a,s,e){void 0!==i.attr("data-ls-muted-by-browser")&&ee.media.unmute.singleMediaElement(i),a.mediaProperties.player?(!a.is.backgroundVideo||"muted"in a.mediaSettings||a.mediaProperties.player.setVolume(0),a.mediaSettings.muted&&(ee.o.rememberUnmuteState&&ee.media.properties.userDidUnmute?ee.o.rememberUnmuteState&&ee.media.properties.userDidUnmute&&(a.mediaProperties.player.setVolume(a.mediaSettings.volume/100||1),delete a.mediaSettings.muted):(a.mediaProperties.player.setVolume(0),"offertounmute"==a.mediaSettings.muted&&ee.media.unmute.set(i,a.mediaProperties.type))),e?(a.mediaProperties.player.setVolume(0),ee.media.unmute.set(i,a.mediaProperties.type,!0)):a.mediaProperties.player.getVolume().then(function(e){0==e&&"offertounmute"==a.mediaSettings.muted&&ee.media.unmute.set(i,a.mediaProperties.type)}),ee.media.functions.allowedToPlay(i,a)?a.mediaProperties.player.play().then(function(){}).catch(function(e){switch(e.name){case"PasswordError":window.console&&(console.error(ee.defaults.slider.errorText),console.error("Vimeo video is password protected and may cause playback issues."));break;case"PrivacyError":window.console&&(console.error(ee.defaults.slider.errorText),console.error("Vimeo video is private and may cause playback issues."));break;default:ee.media.vimeo.play(t,i,a,s,!0)}}):ee.media.vimeo.stop(t,i,a,!0)):this.createPlayer(t,i,a,s)},stop:function(e,t,i,a){i.mediaProperties.player&&(i.mediaProperties.player.pause(),a&&i.mediaProperties.player.setCurrentTime(0),i.is.backgroundVideo||ee.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),ee.media.events.stop(t,e,i))}},html5:{singleInit:function(t){var e,i,a,s,r=t.closest(".ls-layer"),o=r.data(ee.defaults.init.dataKey),n=t.find("source"),l=ee.media.set.customPoster(r,o);o.mediaProperties={type:"html5",$media:t,poster:l||t.attr("poster")},t.removeAttr("poster"),0<n.length?n.each(function(){void 0!==(e=ae(this).attr("type"))&&!1!==e||(i=ae(this).attr("src"),a=i.split("."),s=a[a.length-1].toLowerCase(),ae(this).attr("type",ae(this).parent()[0].tagName.toLowerCase()+"/"+s)),""!==t[0].canPlayType(ae(this).attr("type"))&&(o.mediaProperties.canBePlayed=!0)}):void 0!==t.attr("src")&&!1!==t.attr("src")&&(i=t.attr("src"),a=i.split("."),s=a[a.length-1].toLowerCase(),""!==t[0].canPlayType(t[0].tagName.toLowerCase()+"/"+s)&&(o.mediaProperties.canBePlayed=!0)),o.mediaProperties.canBePlayed&&(ee.media.set.properties(r,t,o),t.on("ended."+$,function(){ee.media.functions.mediaEnded(t,r,o)}).on("play."+$,function(){}).on("playing."+$,function(){ee.media.events.start(t,r,o),ee.media.set.dataAttribute(t,"playing")}).on("pause."+$,function(){ee.media.set.dataAttribute(t,"not-playing")}),r.on("playMedia."+$+" click."+$,".ls-vpcontainer",function(e){ee.media.set.thumbnail(ae(this),"hide"),ee.media.functions.checkSlideshowState(r,o),ee.media.html5.play(r,t,o)}).on("playBackgroundVideo."+$,function(){ee.media.html5.play(r,t,o),ee.layers.set.dataAttribute("add",r,"active")}).on("stopBackgroundVideo."+$,function(){ee.media.html5.stop(r,t,o,!0),ee.layers.set.dataAttribute("add",r,"hidden")}))},init:function(){var e,t=ee.slider.$hiddenWrapper.find("video, audio");ee.media.properties.$allMediaLayers=ee.media.properties.$allMediaLayers.add(t.closest(".ls-layer")),t.length&&(e=0,t.each(function(){ae(this).closest(".ls-layer").data(ee.defaults.init.dataKey).is.mediaLayer=!0,ae(this).attr("id","ls-html5-"+ ++e).attr("playsinline",""),ae(this)[0].pause()}))},play:function(e,t,i){var a;i.mediaProperties.canBePlayed&&(void 0!==t.attr("data-ls-muted-by-browser")&&ee.media.unmute.singleMediaElement(t),i.mediaSettings.muted?ee.o.rememberUnmuteState&&ee.media.properties.userDidUnmute?ee.o.rememberUnmuteState&&ee.media.properties.userDidUnmute&&(t[0].muted=!1):(t[0].muted=!0,"offertounmute"==i.mediaSettings.muted&&ee.media.unmute.set(t,i.mediaProperties.type)):t[0].muted=!1,void 0!==(a=t[0].play())&&a.then(function(e){}).catch(function(e){"NotAllowedError"===e.name&&(t[0].muted=!0,t[0].play(),t[0].paused&&ee.functions.setStates(ee.slideshow,{pausedByVideo:!1}),ee.media.unmute.set(t,i.mediaProperties.type,!0))}))},stop:function(e,t,i,a){i.mediaProperties.canBePlayed&&(t[0].pause(),a&&(t[0].currentTime=0),i.is.backgroundVideo||ee.media.set.thumbnail(ae(this),"show"),ee.media.events.stop(t,e,i))}}},ee.yourLogo={init:function(){ee.o.yourLogo&&(this.$element=ae("<img>").addClass("ls-yourlogo").appendTo(_).attr("style",ee.o.yourLogoStyle).css({visibility:"hidden",display:"bock"}).on("load."+$,function(){var e=ee.yourLogo.$element?500:0;ee.timeouts.yourLogo=setTimeout(function(){delete ee.timeouts.yourLogo,ee.yourLogo.$element.data("originalWidth",ee.yourLogo.$element.width()),ee.yourLogo.$element.data("originalHeight",ee.yourLogo.$element.height()),"auto"!=ee.yourLogo.$element.css("left")&&ee.yourLogo.$element.data("originalLeft",ee.yourLogo.$element[0].style.left),"auto"!=ee.yourLogo.$element.css("right")&&ee.yourLogo.$element.data("originalRight",ee.yourLogo.$element[0].style.right),"auto"!=ee.yourLogo.$element.css("top")&&ee.yourLogo.$element.data("originalTop",ee.yourLogo.$element[0].style.top),"auto"!=ee.yourLogo.$element.css("bottom")&&ee.yourLogo.$element.data("originalBottom",ee.yourLogo.$element[0].style.bottom),!1!==ee.o.yourLogoLink&&ae("<a>").appendTo(_).attr("href",ee.o.yourLogoLink).attr("target",ee.o.yourLogoTarget).css({textDecoration:"none",outline:"none"}).append(ee.yourLogo.$element),ee.yourLogo.$element.css({display:"none",visibility:"visible"}),ee.yourLogo.resize()},e)}).attr("src",ee.o.yourLogo))},resize:function(){this.$element.css({width:this.$element.data("originalWidth")*ee.resize.ratio,height:this.$element.data("originalHeight")*ee.resize.ratio}),this.$element.fadeIn(300);var e="auto",t="auto",i="auto",a="auto",e=this.$element.data("originalLeft")&&-1!=this.$element.data("originalLeft").indexOf("%")?_.width()/100*parseFloat(this.$element.data("originalLeft"))-this.$element.width()/2+parseInt(_.css("padding-left")):parseInt(this.$element.data("originalLeft"))*ee.resize.ratio,t=this.$element.data("originalRight")&&-1!=this.$element.data("originalRight").indexOf("%")?_.width()/100*parseFloat(this.$element.data("originalRight"))-this.$element.width()/2+parseInt(_.css("padding-right")):parseInt(this.$element.data("originalRight"))*ee.resize.ratio,i=this.$element.data("originalTop")&&-1!=this.$element.data("originalTop").indexOf("%")?_.height()/100*parseFloat(this.$element.data("originalTop"))-this.$element.height()/2+parseInt(_.css("padding-top")):parseInt(this.$element.data("originalTop"))*ee.resize.ratio,a=this.$element.data("originalBottom")&&-1!=this.$element.data("originalBottom").indexOf("%")?_.height()/100*parseFloat(this.$element.data("originalBottom"))-this.$element.height()/2+parseInt(_.css("padding-bottom")):parseInt(this.$element.data("originalBottom"))*ee.resize.ratio;this.$element.css({left:e,right:t,top:i,bottom:a})}},ee.gui={navigation:{init:function(){ee.o.navPrevNext&&this.prevNext.init(),(ee.o.navStartStop||ee.o.navButtons)&&this.bottom.init()},prevNext:{init:function(){ae('<a class="ls-gui-element ls-nav-prev" aria-label="jump to the previous slide" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("prev")}).appendTo(_),ae('<a class="ls-gui-element ls-nav-next" aria-label="jump to the next slide" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("next")}).appendTo(_),ee.o.hoverPrevNext&&this.setHover()},setHover:function(){_.find(".ls-nav-prev, .ls-nav-next").css({display:"none"}),_.on("mouseenter."+$,function(){ee.gui.navigation.forceHide||_.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeIn(300)}).on("mouseleave."+$,function(){_.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeOut(300)})}},bottom:{init:function(){this.wrapper=ae('<div class="ls-gui-element ls-bottom-nav-wrapper" />').appendTo(_),ee.o.navButtons&&"always"!=ee.o.thumbnailNavigation&&this.bullets.init(),ee.o.navStartStop?this.createStartStop():"always"!=ee.o.thumbnailNavigation&&this.createSides(),ee.o.hoverBottomNav&&"always"!=ee.o.thumbnailNavigation&&this.setHover(),"always"==ee.o.thumbnailNavigation&&(this.wrapper.addClass("ls-above-thumbnails"),this.thumbnails.init())},bullets:{init:function(){var t=this;ae('<span class="ls-bottom-slidebuttons" />').appendTo(_.find(".ls-bottom-nav-wrapper"));for(var e=0;e<ee.slides.count;e++){var i=ae('<a href="#" aria-label="jump to slide '+(e+1)+'" />').appendTo(_.find(".ls-bottom-slidebuttons")).data("index",e+1).on("click."+$,function(e){e.preventDefault(),_.layerSlider(ae(this).data("index"))});"hover"==ee.o.thumbnailNavigation&&i.on("mouseenter."+$,function(){var e=ae(this);_.find(".ls-thumbnail-hover-img").css({left:parseInt(t.hoverWrapper.css("padding-left")),top:parseInt(t.hoverWrapper.css("padding-top"))}),t.hoverImage.on("load."+$,function(){0===ae(this).width()?t.hoverImage.css({position:"relative",margin:"0 auto",left:"auto"}):t.hoverImage.css({position:"absolute",marginLeft:-ae(this).width()/2,left:"50%"}),t.hoverImage.css("display","none").stop(!0,!0).fadeIn(250)}).attr("src",ee.slides[e.data("index")].data.thumbnail),t.hoverWrapper.css({display:"block"}).stop().animate({left:ae(this).position().left+(ae(this).width()-t.hoverWrapper.outerWidth())/2},250),t.hoverWrapperInner.css({display:"none",visibility:"visible"}).stop().fadeIn(250)}).on("mouseleave."+$,function(){t.hoverWrapperInner.stop().fadeOut(250,function(){t.hoverWrapper.css({visibility:"hidden",display:"block"})})})}t.set.active(ee.slides.first.index),"hover"==ee.o.thumbnailNavigation&&t.set.hover()},set:{active:function(e){void 0===e&&(e=ee.slides.current.index),e--,_.find(".ls-bottom-slidebuttons a").removeClass("ls-nav-active"),_.find(".ls-bottom-slidebuttons a:eq("+e+")").addClass("ls-nav-active")},hover:function(){var e=ee.gui.navigation.bottom.bullets,t=ae('<div class="ls-thumbnail-hover"><div class="ls-thumbnail-hover-inner"><div class="ls-thumbnail-hover-bg"></div><div class="ls-thumbnail-hover-img"><img></div><span></span></div></div>').appendTo(_.find(".ls-bottom-slidebuttons"));_.find(".ls-thumbnail-hover, .ls-thumbnail-hover-img").css({width:ee.o.tnWidth,height:ee.o.tnHeight}),e.hoverWrapper=_.find(".ls-thumbnail-hover"),e.hoverImage=e.hoverWrapper.find("img").css({height:ee.o.tnHeight}),e.hoverWrapperInner=_.find(".ls-thumbnail-hover-inner").css({visibility:"hidden",display:"block"}),t.appendTo(_.find(".ls-bottom-slidebuttons"))}}},createStartStop:function(){this.buttonStart=ae('<a class="ls-nav-start" aria-label="start slideshow" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("start")}).prependTo(_.find(".ls-bottom-nav-wrapper")),this.buttonStop=ae('<a class="ls-nav-stop" aria-label="stop slideshow" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("stop")}).appendTo(_.find(".ls-bottom-nav-wrapper")),ee.o.autoStart?this.setStartStop("start"):this.setStartStop("stop")},setStartStop:function(e){if(ee.o.navStartStop)switch(e){case"start":this.buttonStart.addClass("ls-nav-start-active"),this.buttonStop.removeClass("ls-nav-stop-active");break;case"stop":this.buttonStart.removeClass("ls-nav-start-active"),this.buttonStop.addClass("ls-nav-stop-active")}},createSides:function(){ae('<span class="ls-nav-sides ls-nav-sideleft" />').prependTo(_.find(".ls-bottom-nav-wrapper")),ae('<span class="ls-nav-sides ls-nav-sideright" />').appendTo(_.find(".ls-bottom-nav-wrapper"))},setHover:function(){var e=this;e.wrapper.css({display:"none"}),_.on("mouseenter."+$,function(){ee.gui.navigation.forceHide||e.wrapper.stop(!0,!0).fadeIn(300)}).on("mouseleave."+$,function(){e.wrapper.stop(!0,!0).fadeOut(300)})},switchHelper:function(e){if(ee.o.hoverBottomNav&&!_.hasClass("ls-hover"))switch(e){case"on":ee.gui.navigation.bottom.thumbnails.wrapper.css({visibility:"hidden",display:"block"});break;case"off":ee.gui.navigation.bottom.thumbnails.wrapper.css({visibility:"visible",display:"none"})}},thumbnails:{init:function(){this.wrapper=ae('<div class="ls-gui-element ls-thumbnail-wrapper '+("contain"!==ee.o.tnFillMode?"ls-thumbnail-fill":"")+'"></div>').appendTo(_),ae('<div class="ls-thumbnail"><div class="ls-thumbnail-inner"><div class="ls-thumbnail-slide-container"><div class="ls-thumbnail-slide"></div></div></div></div>').appendTo(this.wrapper),this.$element=_.find(".ls-thumbnail-slide-container"),"ontouchstart"in window?this.$element.addClass("ls-touchscroll"):this.$element.on("mouseenter."+$,function(){ae(this).addClass("ls-thumbnail-slide-hover")}).on("mouseleave."+$,function(){ae(this).removeClass("ls-thumbnail-slide-hover"),ee.gui.navigation.bottom.thumbnails.scroll()}).on("mousemove."+$,function(e){e=parseInt(e.pageX-ae(this).offset().left)/ae(this).width()*(ae(this).width()-ae(this).find(".ls-thumbnail-slide").width());ae(this).find(".ls-thumbnail-slide").stop().css({marginLeft:e})});for(var e=0;e<ee.slides.count;e++){var t=e+1,i=ee.slides[t].data.thumbnail,a="";"contain"!==ee.o.tnFillMode&&(i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",a='style="background-image: url('+ee.slides[t].data.thumbnail+"); background-size: "+ee.o.tnFillMode+';"');i=ae('<a href="#" class="ls-thumb-'+(e+1)+'"  aria-label="jump to slide '+(e+1)+'"><img '+a+' src="'+i+'"></a>');ee.slides[t].data.tnAlt&&i.find("img").attr("alt",ee.slides[t].data.tnAlt),i.data("index",t).on("click."+$,function(e){e.preventDefault(),_.layerSlider(ae(this).data("index"))}).appendTo(_.find(".ls-thumbnail-slide")),"ontouchstart"in window||i.on("mouseenter."+$,function(){ae(this).children().stop().fadeTo(300,ee.o.tnActiveOpacity/100)}).on("mouseleave."+$,function(){ae(this).children().hasClass("ls-thumb-active")||ae(this).children().stop().fadeTo(300,ee.o.tnInactiveOpacity/100)})}ee.gui.navigation.bottom.buttonStart&&ee.gui.navigation.bottom.buttonStop&&(ee.gui.navigation.bottom.wrapper=ae('<div class="ls-bottom-nav-wrapper ls-below-thumbnails"></div>').appendTo(_),ee.gui.navigation.bottom.buttonStart.clone().on("click."+$,function(e){e.preventDefault(),_.layerSlider("start")}).appendTo(ee.gui.navigation.bottom.wrapper),ee.gui.navigation.bottom.buttonStop.clone().on("click."+$,function(e){e.preventDefault(),_.layerSlider("stop")}).appendTo(ee.gui.navigation.bottom.wrapper)),ee.o.hoverBottomNav&&this.setHover()},setHover:function(){var e=this;e.wrapper.css("display","none"),ee.gui.navigation.bottom.wrapper&&(ee.gui.navigation.bottom.wrapper="block"==ee.gui.navigation.bottom.wrapper.css("display")?ee.gui.navigation.bottom.wrapper:_.find(".ls-above-thumbnails"),ee.gui.navigation.bottom.wrapper.css("display","none")),_.on("mouseenter."+$,function(){_.addClass("ls-hover"),ee.gui.navigation.forceHide||(e.wrapper.stop(!0,!0).fadeIn(300),ee.gui.navigation.bottom.wrapper&&ee.gui.navigation.bottom.wrapper.stop(!0,!0).fadeIn(300))}).on("mouseleave."+$,function(){_.removeClass("ls-hover"),e.wrapper.stop(!0,!0).fadeOut(300),ee.gui.navigation.bottom.wrapper&&ee.gui.navigation.bottom.wrapper.stop(!0,!0).fadeOut(300)})},change:function(e){e=e||ee.slides.next.index;_.find(".ls-thumbnail-slide a:not(.ls-thumb-"+e+")").children().each(function(){ae(this).removeClass("ls-thumb-active").stop().fadeTo(750,ee.o.tnInactiveOpacity/100)}),_.find(".ls-thumbnail-slide a.ls-thumb-"+e).children().addClass("ls-thumb-active").stop().fadeTo(750,ee.o.tnActiveOpacity/100)},scroll:function(){var e;_.find(".ls-thumbnail-slide-container").hasClass("ls-thumbnail-slide-hover")||(e=!!_.find(".ls-thumb-active").length&&_.find(".ls-thumb-active").parent())&&(e=e.position().left+e.width()/2,e=0<(e=(e=_.find(".ls-thumbnail-slide-container").width()/2-e)<_.find(".ls-thumbnail-slide-container").width()-_.find(".ls-thumbnail-slide").width()?_.find(".ls-thumbnail-slide-container").width()-_.find(".ls-thumbnail-slide").width():e)?0:e,_.find(".ls-thumbnail-slide").animate({marginLeft:e},600))},resize:function(){ee.gui.navigation.bottom.switchHelper("on");var e=-1==ee.slider.initial.width.indexOf("%")?parseInt(ee.slider.initial.originalWidth):_.width(),t=_.find(".ls-thumbnail"),e=-1==ee.o.tnContainerWidth.indexOf("%")?parseInt(ee.o.tnContainerWidth):parseInt(e/100*parseInt(ee.o.tnContainerWidth));_.find(".ls-thumbnail-slide a").css({width:parseInt(ee.o.tnWidth*ee.resize.ratio),height:parseInt(ee.o.tnHeight*ee.resize.ratio)}),_.find(".ls-thumbnail-slide a:last").css({margin:0}),_.find(".ls-thumbnail-slide").css({height:parseInt(ee.o.tnHeight*ee.resize.ratio)}),t.css({width:e*Math.floor(100*ee.resize.ratio)/100}),t.width()>_.find(".ls-thumbnail-slide").width()&&t.css({width:_.find(".ls-thumbnail-slide").width()}),ee.gui.navigation.bottom.switchHelper("off")}}}},media:{init:function(){0<ee.media.properties.$allMediaLayers.length&&ae('<div class="ls-gui-element ls-media-unmute" aria-label="Unmute"><div class="ls-media-unmute-bg"></div><div class="ls-icon-muted"></div><div class="ls-icon-unmuted"></div></div>').on("click."+$,function(e){e.preventDefault(),_.layerSlider("unmute")}).appendTo(_)},showUnmute:function(){_.find(".ls-media-unmute").addClass("ls-media-unmute-active")},hideUnmute:function(){_.find(".ls-media-unmute").removeClass("ls-media-unmute-active")}},skin:{load:function(){_.addClass("ls-"+ee.o.skin);var e,t=ee.o.skinsPath+ee.o.skin+"/skin.css",i=ae("head").length?ae("head"):ae("body");ae('link[href="'+t+'"]').length?(e=ae('link[href="'+t+'"]'),ee.gui.skin.isLoaded||(ee.gui.skin.isLoaded=!0,ee.timeouts.skinLoad1=setTimeout(function(){delete ee.timeouts.skinLoad1,ee.slider.init()},150))):e=document.createStyleSheet?(document.createStyleSheet(t),ae('link[href="'+t+'"]')):ae('<link rel="stylesheet" href="'+t+'" type="text/css" />').appendTo(i),e.on("load."+$,function(){ee.gui.skin.isLoaded||(ee.gui.skin.isLoaded=!0,ee.timeouts.skinLoad2=setTimeout(function(){delete ee.timeouts.skinLoad2,ee.slider.init()},150))}),M.on("load."+$,function(){ee.gui.skin.isLoaded||(ee.gui.skin.isLoaded=!0,ee.timeouts.skinLoad3=setTimeout(function(){delete ee.timeouts.skinLoad3,ee.slider.init()},150))}),ee.timeouts.skinLoad4=setTimeout(function(){ee.gui.skin.isLoaded||(ee.gui.skin.isLoaded=!0,delete ee.timeouts.skinLoad4,ee.slider.init())},1e3)}},shadow:{init:function(){this.set(),this.resize()},set:function(){this.$element=ae('<div class="ls-gui-element ls-shadow"></div>').appendTo(_),"block"!=this.$element.css("display")||this.$element.find("img").length||(this.show=function(){ee.gui.shadow.$element.css({display:"none",visibility:"visible"}).fadeIn(500,function(){ee.gui.shadow.show=!1})},this.image=ae("<img>").attr("src",ee.o.skinsPath+ee.o.skin+"/shadow.png").appendTo(this.$element),this.btmMod="number"==typeof parseInt(_.css("padding-bottom"))?parseInt(_.css("padding-bottom")):0)},resize:function(){this.image&&(0<this.image.height()?0<this.btmMod?this.$element.css({height:this.image.height()/2}):this.$element.css({height:this.image.height(),marginTop:-this.image.height()/2}):ee.timeouts.resizeShadow=setTimeout(function(){delete ee.timeouts.resizeShadow,ee.gui.shadow.resize()},50))}},timers:{init:function(){ee.o.showBarTimer&&this.bar.create(),ee.o.showCircleTimer&&this.circle.create();var e=!1;(e=ee.o.showSlideBarTimer?ae("<div>").insertAfter(_):ae('[data-slidebar-for="'+_.attr("id")+'"], [data-slidebar-for="'+$+'"]')).length&&(e.addClass("ls-gui-element"),this.slidebar.create(e))},bar:{create:function(){this.$element=ae("<div>").addClass("ls-gui-element ls-bar-timer").appendTo(_)}},circle:{create:function(){this.$element=ae("<div>").addClass("ls-gui-element ls-circle-timer").appendTo(_),this.$element.append(ae('<div class="ls-ct-center"></div><div class="ls-ct-left"><div class="ls-ct-rotate"><div class="ls-ct-hider"><div class="ls-ct-half"></div></div></div></div><div class="ls-ct-right"><div class="ls-ct-rotate"><div class="ls-ct-hider"><div class="ls-ct-half"></div></div></div></div>')),this.$element.data("original",{opacity:this.$element.css("opacity")})}},slidebar:{$containerElement:[],$element:[],$progressBarElement:[],$sliderContainerElement:[],$sliderElement:[],elementWidth:[],containerElementWidth:[],sliderContainerElementWidth:[],state:{},create:function(e){function i(e,t){(s=(e.pageX||ee.device.touchX||0)-o.$element[t].offset().left-o.sliderContainerElementWidth[t]/2)<0&&(s=0),s>o.containerElementWidth[t]-o.sliderContainerElementWidth[t]&&(s="calc(100% - "+ee.gui.timers.slidebar.sliderContainerElementWidth[t]+"px)"),o.$sliderContainerElement[t].css({left:s}),ee.timelines._layers&&ee.timelines._layers.progress("string"==typeof s?ee.transitions.layers.timeline.progress:s/(o.containerElementWidth[t]-o.sliderContainerElementWidth[t])*ee.transitions.layers.timeline.progress)}function a(e){"dragging"==ee.gui.timers.slidebar.state&&(ee.timelines._layers&&ee.transitions.layers.timeline.state.finished&&ee.timelines._layers.progress()!==ee.transitions.layers.timeline.progress&&ee.functions.setStates(ee.transitions.layers.timeline,{finished:!1}),ae(document).off("mousemove."+$),ae("body").prop("unselectable",!1).removeClass("ls-unselectable"),ee.o.pauseLayers&&!ee.slideshow.state.running||ee.slider.state.isPaused||!ee.timelines._layers||ee.o.playByScroll||(!0===ee.transitions.layers.timeline.state.started?ee.transitions.layers.timeline.resume():ee.transitions.layers.timeline.play()),ee.gui.timers.slidebar.state=!1)}var s,r=ae(document),o=this;ae.each(e,function(t,e){o.$containerElement[t]=ae(e).addClass("ls-slidebar-container "+$),o.$element[t]=ae("<div>").addClass("ls-slidebar").appendTo(o.$containerElement[t]),o.$progressBarElement[t]=ae("<div>").addClass("ls-progressbar").appendTo(o.$element[t]),o.$sliderContainerElement[t]=ae("<div>").addClass("ls-slidebar-slider-container").appendTo(o.$containerElement[t]),o.$sliderElement[t]=ae("<div>").addClass("ls-slidebar-slider").appendTo(o.$sliderContainerElement[t]),o.sliderContainerElementWidth[t]=o.$sliderContainerElement[t].width(),o.$sliderContainerElement[t].css({marginTop:-o.$sliderElement[t].outerHeight()/2}),o.$containerElement[t].on("touchmove."+$,function(e){i(e,t)}),o.$containerElement[t].on("touchend."+$,function(e){a()}),o.$containerElement[t].on("mousedown."+$+" touchstart."+$,function(e){ee.transitions.layers.timeline.pause(0),ae("body").prop("unselectable",!0).addClass("ls-unselectable"),ae(document).on("mousemove."+$,function(e){i(e,t)}),i(e,t),ee.gui.timers.slidebar.state="dragging"}),r=r.add(o.$sliderElement[t])}),ae("body").on("mouseup."+$,function(e){a()})}}},loadingIndicator:{init:function(){this.$element=ae("<div>").css({display:"none"}).addClass("ls-gui-element ls-loading-container").appendTo(_),ae("<div>").addClass("ls-loading-indicator").appendTo(this.$element)},show:function(){this.$element.delay(400).fadeIn(300)},hide:function(){this.$element.stop(!0,!0).fadeOut(300)}}},ee.navigation={direction:"next",init:function(){1<ee.slides.count&&(this.set.keyboard(),this.set.touch())},set:{keyboard:function(){ee.o.keybNav&&ae("body").on("keydown."+$,function(e){var t;ae(e.target).is(":input")||ee.slider.isAnimating||ee.slider.isPreloading||(t=!1,37===e.which?(ee.navigation.prev(),t=!0):39===e.which&&(ee.navigation.next(),t=!0),t&&"undefined"!=typeof LS_editorMeta&&e.preventDefault())})},touch:function(){"ontouchstart"in window&&ee.o.touchNav&&(ee.slider.$innerWrapper.on("touchstart."+$,function(e){e=e.touches||e.originalEvent.touches;1==e.length&&(ee.device.touchStartX=ee.device.touchEndX=e[0].clientX)}),ee.slider.$innerWrapper.on("touchmove."+$,function(e){var t=e.touches||e.originalEvent.touches;1==t.length&&(ee.device.touchEndX=t[0].clientX),45<Math.abs(ee.device.touchStartX-ee.device.touchEndX)&&e.preventDefault()}),ee.slider.$innerWrapper.on("touchend."+$,function(e){45<Math.abs(ee.device.touchStartX-ee.device.touchEndX)&&(0<ee.device.touchStartX-ee.device.touchEndX?_.layerSlider("touchNext"):_.layerSlider("touchPrev"))}))}},prev:function(){(!ee.slider.isPopup||ee.slider.isPopup&&ee.slider.state.popupIsVisible)&&(this.direction="prev",this.forceDirection="prev",ee.slideshow.set.prevNext("prev"))},next:function(){(!ee.slider.isPopup||ee.slider.isPopup&&ee.slider.state.popupIsVisible)&&(this.direction="next",this.forceDirection="next",ee.slideshow.set.prevNext("next"))},start:function(){ee.functions.setStates(ee.slideshow,{running:!0,paused:!1}),!0===ee.slideshow.state.pausedByLastCycle&&ee.functions.setStates(ee.slideshow,{pausedByLastCycle:!1}),ee.gui.navigation.bottom.setStartStop("start"),ee.slideshow.state.pausedByHover||1!==ee.timelines._layers.timeScale()&&ee.transitions.layers.timeline.resume(),ee.slideshow.start()},stop:function(){ee.gui.navigation.bottom.setStartStop("stop"),ee.o.pauseLayers&&ee.transitions.layers.timeline.pause(),ee.slideshow.stop()}},ee.preload={init:function(){ee.slider.$hiddenWrapper.find(".ls-slide img").each(function(){var e,t=ae(this),i=t[0],a={};t.is(".ls-layer, .ls-bg")&&(i.getAttribute("width")&&(a.width=i.getAttribute("width")),i.getAttribute("height")&&(a.height=i.getAttribute("height")),i.sizes&&(a.sizes=i.sizes),ee.o.useSrcset&&(t.data("srcset")||i.srcset)&&(a.srcSet=t.data("srcset")||i.srcset,a.curSrc=i.currentSrc,e=a.srcSet.split(",").map(function(e){return parseInt(ae.trim(e).split(" ")[1])}),a.maxWidth=Math.max.apply(null,e)),t.removeAttr("width height sizes srcset loading"),ae.isEmptyObject(a)||(t.data(ee.defaults.init.dataKey).attributes=a)),t.data("lazy-src")?t.data("src",t.data("lazy-src")):t.attr("data-tgpli-src")?t.data("src",t.attr("data-tgpli-src")):t.attr("data-lazy-src")?t.data("src",t.attr("data-lazy-src")):t.attr("data-lazy")?t.data("src",t.attr("data-lazy")):t.data("src")?a.curSrc&&t.data("src",a.curSrc):t.data("src",a.curSrc||i.src),t.attr("data-lazyset")?t.attr("srcset",t.attr("data-lazyset")):t.attr("data-lazy-srcset")?t.attr("srcset",t.attr("data-lazy-srcset")):t.attr("data-tgpli-srcset")&&t.attr("srcset",t.attr("data-tgpli-srcset")),t.removeAttr("lazy lazyload data-lazy-src data-tgpli-src data-lazy data-lazyset data-lazy-srcset data-tgpli-srcset"),t.attr("src","data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7")})},imagesOfSlide:function(e,t){var i,a,s;!0!==ee.slides[e].wrapped?(this.slideIndex=e,t?(this.onCompleteCallback=t,ee.functions.setStates(ee.slider,{preloadingImages:!0}),ee.gui.loadingIndicator.show()):this.onCompleteCallback=!1,ee.slider.canShow&&_.css({visibility:"visible"}),this.preImages=[],i=this,ee.slider.$hiddenWrapper.find(".ls-slide:eq("+(i.slideIndex-1)+") *").each(function(){a=ae(this),s=this;var e,t=a.data(ee.defaults.init.dataKey);a.is("img")?(a.data("src")&&a.attr("src",a.data("src")),t&&t.attributes&&t.attributes.srcSet&&ee.o.useSrcset&&(s.srcset=t.attributes.srcSet),e=s.src,(t=!!(t&&t.attributes&&t.attributes.curSrc)&&t.attributes.curSrc)&&e!==t&&a.is(".ls-bg")&&(e=t,ee.slides[i.slideIndex].data.$background.attr("src",e)),ee.preload.preImages.push([e,a])):"none"!==a.css("background-image")&&-1!==a.css("background-image").indexOf("url")&&ee.preload.preImages.push([a.css("background-image").match(/url\(['"]?(.+?)['"]?\)/)[1],a]),a.attr("data-ls-preload")&&ee.preload.preImages.push([a.attr("data-ls-preload"),ae(s),!0])}),ee.transitions.firstSlide&&ee.o.globalBGImage&&ee.preload.preImages.push([ee.o.globalBGImage,ae()]),this.thumbnailsAreLoaded||this.thumbnails(),0===this.preImages.length?this.onComplete():this.start()):ee.slider.shouldResize&&t?(ee.resize.setLayers(ee.layers.get("next, bg")),ee.resize.layers({callback:t})):t&&t()},thumbnails:function(){for(var e=ee.slider.thumbnails.filter(function(e,t,i){return i.indexOf(e)==t}),t=e.length,i=0;i<t;i++)(new Image).src=e[i];this.thumbnailsAreLoaded=!0},start:function(){ee.debugMode&&(ee.debug.add("group","preload"),ee.debug.add("log","preload.info",this.slideIndex)),this.preloadedImagesCount=0;for(var e,t=this,i=function(){++t.preloadedImagesCount==t.preImages.length&&(ee.debugMode&&ee.debug.groupEnd(),t.onComplete())},a=function(){ee.debugMode&&(e=this.src.substring(this.src.lastIndexOf("/")+1,this.src.length),ee.debug.add("log","preload.success",e)),this.originalLayer[this.useAttr?"attr":"data"]("preloadedWidth",this.width),this.originalLayer[this.useAttr?"attr":"data"]("preloadedHeight",this.height),i()},s=function(){ee.debugMode&&(e=this.src.substring(this.src.lastIndexOf("/")+1,this.src.length),ee.debug.add("warn","preload.fail",e)),i()},r=0;r<this.preImages.length;r++){var o=new Image;o.addEventListener("error",s,!1),o.addEventListener("load",a,!1),o.src=this.preImages[r][0],o.originalLayer=this.preImages[r][1],o.useAttr=!!this.preImages[r][2]}},onComplete:function(){var s=this;this.onCompleteCallback?(ee.layers.wrap(this.slideIndex),function e(){var t,i,a;0!==ee.slides[s.slideIndex].$layers.length?ee.timeouts.waitForWrap=setTimeout(e,100):(delete ee.timeouts.waitForWrap,ee.functions.setStates(ee.transitions.layers.parallax,{ready:!0}),ae(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({visibility:"visible"}),ee.slides[s.slideIndex].wrapped=!0,t=!(!window._layerSlider.globals.youTubeIsReady&&ee.layers.get("next,in,youtube,bgvideo").length),i=!(!window._layerSlider.globals.vimeoIsReady&&ee.layers.get("next,in,vimeo,bgvideo").length),a=function(){ee.gui.loadingIndicator.hide(),ee.slider.shouldResize?(ee.resize.setLayers(ee.layers.get("next, bg")),ee.resize.layers({callback:s.onCompleteCallback})):s.onCompleteCallback()},!t||!i||ee.slides[s.slideIndex].lottie.count>ee.slides[s.slideIndex].lottie.loaded?ee.intervals.waitForMediaLoad=setInterval(function(){(t||window._layerSlider.globals.youTubeIsReady)&&(i||window._layerSlider.globals.vimeoIsReady)&&ee.slides[s.slideIndex].lottie.count===ee.slides[s.slideIndex].lottie.loaded&&(clearInterval(ee.intervals.waitForMediaLoad),delete ee.intervals.waitForMediaLoad,a())},50):a())}()):ee.layers.wrap(this.slideIndex,!0),ee.functions.setStates(ee.slider,{preloadingImages:!1})}},ee.resize={setLayers:function(e){this.$responsiveLayers=e.add(ee.layers.get("active")),ee.slides.next.data.$backgroundVideo.length&&(this.$responsiveLayers=this.$responsiveLayers.add(ee.slides.next.data.$backgroundVideo))},all:function(e={}){return ee.plugins.callFunctions("beforeResize"),!(ee.slider.state.isHidden&&!ee.slider.isPopup)&&(!!document.body.contains(L)&&(ee.api.hasEvent("sliderWillResize")&&ee.api.triggerEvent("sliderWillResize",ee.api.eventData()),this.slider(!!e.forceToGetParentWidth),ee.o.performanceMode&&this.performance(),ee.slider.isScene&&!ee.slider.$spacingWrapper.is("[data-disabled-scene]")&&this.scene(),this.navigation(),this.layers(),this.yourLogo(),this.shadow(),this.timers(),ee.slides.indexesCreated&&(ee.o.allowRestartOnResize&&ee.transitions.layers.timeline.shouldRestart||ee.transitions.layers.timeline.forceRestart)&&(ee.transitions.layers.timeline.forceRestart=!1,ee.transitions.layers.timeline.create(!0),ee.slider.isScrollScene&&ee.timelines._layers&&ee.transitions.scrollscene.animate()),ee.api.hasEvent("sliderDidResize")&&ee.api.triggerEvent("sliderDidResize",ee.api.eventData()),void ee.plugins.callFunctions("afterResize")))},viewport:function(){M.scrollTop(Math.round(ee.slider.offset.top)-(ie.viewport.height-ee.slider.height)/2)},slider:function(e){if(!document.body.contains(L))return!1;ie.viewport.width||M.trigger("resize.lsGlobal"),ee.o.fixFloatedContainers&&_.css("display","none");var t,i,a,s=ee.slider.$parentWithNumericWidthValue&&0<ee.slider.$parentWithNumericWidthValue.width()&&!e?ee.slider.$parentWithNumericWidthValue:ee.functions.getSliderClosestParentElementWithNumericValueOfProperty("width"),r=ee.slider.initial,o=ee.slider.parentWithNumericWidthValuePercent?s.width()/100*ee.slider.parentWithNumericWidthValuePercent:s.width(),n=r.type,l=0!==r.maxWidth?r.maxWidth:o,d="auto"===r.marginLeft?0:r.marginLeft,e="auto"===r.marginRight?0:r.marginRight;switch(ee.o.fixFloatedContainers&&_.css("display","block"),-1!==l.indexOf("%")?l=o/100*parseInt(l):-1!==l.indexOf("vw")&&(l=ie.viewport.width/100*parseInt(l)),ee.slider.state.inFullscreen?_[0].style.maxWidth="":0!==r.maxWidth&&(_[0].style.maxWidth=l),l<(o-=d+e)&&0<=l&&(o=l),ee.o.fitScreenWidth&&("fullwidth"===n||"fullsize"===n&&"fitheight"!==ee.o.fullSizeMode&&"fitwidth"!==ee.o.fullSizeMode)&&(d=s.offset().left,e=parseInt(s.css("padding-left"))||0,l=parseInt(s.css("border-left-width"))||0,_[0].style.maxWidth="100vw",_[0].style.marginLeft=-(d+e+l)+"px",o=ie.viewport.width),o-=r.skinWidth,ie.getScreenSize(),ee.slider.state.inFullscreen&&(o=ie.screen.width),n){case"responsive":0<ee.o.maxRatio&&(o=Math.min(r.width*ee.o.maxRatio,o)),t=(ee.slider.state.inFullscreen?(ie.screen.ratio>r.ratio?this.ratio=ie.screen.height/r.height:this.ratio=ie.screen.width/r.width,o=Math.round(r.width*this.ratio)):this.ratio=o/r.width,Math.round(r.height*this.ratio));break;case"fullwidth":t=o<ee.o.responsiveUnder?(this.ratio=o/ee.o.responsiveUnder,Math.round(r.height*this.ratio)):ee.slider.state.inFullscreen?ie.screen.ratio>r.layersWidth/r.height?(this.ratio=ie.screen.height/r.height,ie.screen.height):(this.ratio=ie.screen.width/r.layersWidth,r.height*this.ratio):(this.ratio=1,r.height);break;case"fullsize":switch(ee.o.fullSizeMode.toLowerCase()){case"normal":t=ie.viewport.height-r.skinHeight;break;case"hero":var c=ee.slider.isScene?ee.slider.$spacingWrapper:_,p=Math.max(c.offset().top,0),c=ae(ee.o.calculateOffsetFrom).length?ae(ee.o.calculateOffsetFrom).height()+ae(ee.o.calculateOffsetFrom)[0].getBoundingClientRect().top:0;c&&_.css("top",c),ee.slider.heroOffset=r.skinHeight+(c||p),(t=ie.viewport.height-ee.slider.heroOffset)<=0&&(t=ie.viewport.height-r.skinHeight);break;case"fitheight":o=s.width()-r.skinWidth,t=s.height()-r.skinHeight;break;case"fitwidth":o=s.width()-r.skinWidth,t=ie.viewport.height-r.skinHeight}o/t<r.ratio?this.ratio=o/r.layersWidth:this.ratio=t/r.layersHeight;break;case"fixed":case"fixedsize":this.ratio=1,o=r.width,t=r.height,ee.o.maxRatio=1,L.style.maxWidth="none"}this.ratio=ee.o.maxRatio&&0<ee.o.maxRatio&&this.ratio>ee.o.maxRatio?ee.o.maxRatio:this.ratio,L.style.width=o+"px",L.style.height=t+"px",ee.slider.width=o,ee.slider.height=t,ee.slider.$layersWrapper.css({"--sw":ee.slider.width+"px","--sh":ee.slider.height+"px"}),ie.isMobile?768<=ie.viewport.width||ie.viewport.width>ie.viewport.height?_.removeClass("ls-device-is-phone").addClass("ls-device-is-tablet"):_.removeClass("ls-device-is-tablet").addClass("ls-device-is-phone"):_.removeClass("ls-device-is-phone ls-device-is-tablet").addClass("ls-device-is-desktop"),ee.o.marginTop&&(i=-1!=ee.o.marginTop.indexOf("sh")||-1!=ee.o.marginTop.indexOf("%")?ee.slider.height/100*parseInt(ee.o.marginTop):ee.o.marginTop),ee.o.marginBottom&&(a=-1!=ee.o.marginBottom.indexOf("sh")||-1!=ee.o.marginBottom.indexOf("%")?ee.slider.height/100*parseInt(ee.o.marginBottom):ee.o.marginBottom),ee.slider.$spacingWrapper.css({marginTop:i,marginBottom:a})},performance:function(){var e=parseInt(ee.o.performanceModeThreshold);-1!==ee.o.performanceModeThreshold.indexOf("sh")||-1!==ee.o.performanceModeThreshold.indexOf("%")?ee.performance.threshold=ee.slider.height*(e/100):-1!==ee.o.performanceModeThreshold.indexOf("vh")?ee.performance.threshold=ie.viewport.height*(e/100):-1!==ee.o.performanceModeThreshold.indexOf("px")?ee.performance.threshold=e:ee.performance.threshold=ee.slider.height*e,ee.performance.threshold=Math.max(parseInt(ee.performance.threshold),0)},scene:function(e){var t,i,a;ee.slider.isScrollScene?(t=ee.slider.$spacingWrapper[0].style.getPropertyValue("--ls-duration"),i=ee.slider.$spacingWrapper.attr("data-scene-pre-duration"),a=ee.slider.$spacingWrapper.attr("data-scene-duration"),e&&i&&a&&i!==a&&(t=null),!1==!!t&&ee.timelines._layers&&(t=100*ee.transitions.layers.timeline.totalDuration/(ee.o.sceneSpeed/100),ee.slider.$spacingWrapper.css({"--ls-duration":t+"vh"}),void 0===ee.o.stickDuration||isNaN(ee.o.stickDuration)||ee.slider.$spacingWrapper.css({"--ls-stickduration":100*parseInt(ee.o.stickDuration)+"vh"}),"responsive"!==ee.o.type&&"fullwidth"!==ee.o.type||ee.slider.$spacingWrapper.css({"--ls-ratio":ee.slider.initial.width/ee.slider.initial.height}),"fixedsize"===ee.o.type&&ee.slider.$spacingWrapper.css({"--ls-height":ee.slider.initial.height}),ee.slider.$spacingWrapper.addClass("ls-playfrom-"+ee.o.playFrom+" ls-stickto-"+ee.o.stickTo+" ls-layout-"+ee.o.type)),ee.transitions.scrollscene.maxProgressInPixels=parseFloat(parseInt(t)*(ie.viewport.height/100)),(ee.slider.$spacingWrapper.is(".ls-layout-fullwidth")||ee.slider.$spacingWrapper.is(".ls-layout-responsive")&&ee.o.maxRatio)&&ee.slider.$spacingWrapper.css("--ls-ratio",ie.viewport.width/ee.slider.height)):ee.slider.isSticky&&(-1!==ee.o.sceneHeight.indexOf("sh")||-1!==ee.o.sceneHeight.indexOf("%")?(t=ee.slider.height*(parseInt(ee.o.sceneHeight)/100),t=Math.round(Math.max(ee.slider.height,t)),t+="px"):-1===ee.o.sceneHeight.indexOf("px")&&-1===ee.o.sceneHeight.indexOf("vh")?(t=ee.slider.height*(ee.o.sceneHeight||2),t=Math.round(Math.max(ee.slider.height,t)),t+="px"):t=ee.o.sceneHeight,ee.slider.$spacingWrapper.css({height:t})),_.css({top:ee.slider.stickLimit})},borderRadius:function(e,i){ae.isNumeric(e)&&(e=e.toString());var a="";return ae.each(e.split(" "),function(e,t){-1==t.indexOf("%")&&-1==t.indexOf("em")?a+=Math.round(parseInt(t)*i)+"px ":a+=t+" "}),ae.trim(a)},shadows:function(e,t){for(var i=e.split(" "),a=0;a<i.length;a++)-1!==i[a].indexOf("px")&&(i[a]=Math.ceil(parseInt(i[a])*t)+"px");return e=i.join(" ").trim()},convertSingleValue:function(e,t){return-1==e.indexOf("em")?Math.round(parseInt(e)*t)+"px ":e},calculateRatio:function(e,t){return t=Math.max(t,e.settings.minresponsiveratio||0),t=Math.min(t,e.settings.maxresponsiveratio||1/0),e.settings.calculatedratio=t},layers:function(e={}){if(ee.slider.hasPinnedLayers&&(ee.slider.$layersWrapper.css({clip:"rect(0px "+ee.slider.width+"px "+ee.slider.height+"px 0px)"}),ee.slider.$layersWrapper&&ee.slider.$layersWrapper.is(".ls-layers-clip")&&ee.slider.$layersWrapper.removeClass("ls-layers-clip")),ee.o.animateFirstSlide&&ee.slideshow.firstStart&&"inside"!==ee.slider.position.toViewport)return ee.functions.setStates(ee.slider,{readyForStart:!0}),void(e.callback&&(ee.api.resumeCallback=e.callback));if(e.singleLayer||this.$responsiveLayers){ee.debugMode&&ee.debug.add("group","resize");for(var t,i=e.singleLayer||this.$responsiveLayers,a=ee.slider.initial,s=ee.slider.width,r=ee.slider.height,o=s/r,n=[],l=[],d=[],c=[],p=0,u=0,m=window.LS_previewZoom||1,h=0,f=i.length;h<f;h++){var g=i[h],y=ae(g),v=y.data(ee.defaults.init.dataKey),x=!!v.is.insideLayerGroup&&y.data("$layerGroup"),S=!!v.is.insideLayerGroup&&x.data(ee.defaults.init.dataKey),w=e.original?ae.extend(!0,{},v.original,e.original):v.original,b=this.calculateRatio(v,this.ratio),T=v.elements.$_innerWrappers;ee.plugins.callFunctions("beforeResizeSingleLayer",{$layer:y,layerData:v}),w.width||(w.percentWidth=0),w.height||(w.percentHeight=0),!y.is("img, picture")||"auto"!==w.width&&"auto"!==w.height||((T=v.elements.$_innerWrappers).addClass("ls-force-display-block ls-force-visibility-hidden"),"auto"===w.width&&(w.width=y.width()),"auto"===w.height&&(w.height=y.height()),T.removeClass("ls-force-display-block ls-force-visibility-hidden")),t="responsive"===a.type&&-1!==ee.o.maxRatio?a.width:a.layersWidth,I="responsive"===a.type&&-1!==ee.o.maxRatio?a.height:a.layersHeight,L=t,_=v.settings.usesliderratio?this.ratio:b,u="fullsize"===a.type||"fullwidth"===a.type||"responsive"===a.type?(p=0<t?(s-t*_)/2:0,0<I?(r-I*_)/2:0):(p=p<0?0:p,u<0?0:u),"0%"!==w.left&&"100%"!==w.left||(p=p<0?0:p),"0%"!==w.top&&"100%"!==w.top||(u=u<0?0:u);var k="fixed"==v.settings.position||"fixedx"==v.settings.position,C="fixed"==v.settings.position||"fixedy"==v.settings.position,O=s,P=r,I=v.is.insideLayerGroup?(C=k=!1,M=$=0,t=O=S.responsive.width,P=S.responsive.height):(t=L,I);v.is.pinned&&(ee.slider.get.offset(),"responsive"!==a.type&&"fixedsize"!==a.type&&("fullsize"!==a.type||"fitheight"!==ee.o.fullSizeMode&&!1!==ee.o.fitScreenWidth)||(k?(t=O=ie.viewport.width,p=0):(O=ee.slider.width,p=ee.slider.offset.left,t=a.width)),C?(I=P=ie.viewport.height,u=0):(P=ee.slider.height,u=(ie.viewport.height-ee.slider.height)/2||0,I=a.height));var L,_,$=k?0:p,M=C?0:u,F={width:k&&0!==w.percentWidth?O/100*w.percentWidth:parseInt(w.width)*b,height:C&&0!==w.percentHeight?P/100*w.percentHeight:parseInt(w.height)*b,paddingLeft:this.convertSingleValue(w.paddingLeft,b),paddingTop:this.convertSingleValue(w.paddingTop,b),paddingRight:this.convertSingleValue(w.paddingRight,b),paddingBottom:this.convertSingleValue(w.paddingBottom,b),borderLeftWidth:this.convertSingleValue(w.borderLeftWidth,b),borderTopWidth:this.convertSingleValue(w.borderTopWidth,b),borderRightWidth:this.convertSingleValue(w.borderRightWidth,b),borderBottomWidth:this.convertSingleValue(w.borderBottomWidth,b),borderRadius:this.borderRadius(w.borderRadius||0,b),boxShadow:this.shadows(w.boxShadow,b),textShadow:this.shadows(w.textShadow,b),ratio:b},B={marginLeft:this.convertSingleValue(w.marginLeft,b),marginTop:this.convertSingleValue(w.marginTop,b),marginRight:this.convertSingleValue(w.marginRight,b),marginBottom:this.convertSingleValue(w.marginBottom,b)},W={},D={borderRadius:F.borderRadius};if(w.minWidth&&(F.minWidth=w.percentMinWidth?O/100*w.percentMinWidth:w.minWidth,F.width=Math.max(F.width,F.minWidth)),w.minHeight&&(F.minHeight=w.percentMinHeight?P/100*w.percentMinHeight:w.minHeight,F.height=Math.max(F.height,F.minHeight)),w.maxWidth&&(F.maxWidth=w.percentMaxWidth?O/100*w.percentMaxWidth:w.maxWidth,F.width=Math.min(F.width,F.maxWidth)),w.maxHeight&&(F.maxHeight=w.percentMaxHeight?P/100*w.percentMaxHeight:w.maxHeight,F.height=Math.min(F.height,F.maxHeight)),w.minWidth&&w.maxWidth&&F.minWidth>F.maxWidth&&(F.width=F.minWidth),w.minHeight&&w.maxHeight&&F.minHeight>F.maxHeight&&(F.height=F.minHeight),v.is.imageLayer&&(F.minWidth||F.minHeight||F.maxWidth||F.maxHeight)&&(T.addClass("ls-force-display-block ls-force-visibility-hidden"),L={minHeight:F.minHeight||0,minWidth:F.minWidth||0,maxHeight:F.maxHeight||"none",maxWidth:F.maxWidth||"none"},!v.original.autoWidth||F.minWidth&&!F.minHeight||F.maxWidth&&!F.maxHeight?L.width=F.width:L.width="auto",!v.original.autoHeight||!F.minWidth&&F.minHeight||!F.maxWidth&&F.maxHeight?L.height=F.height:L.height="auto",y.css(L),F.width=y.width(),F.height=y.height(),delete F.minWidth,delete F.minHeight,delete F.maxWidth,delete F.maxHeight,T.removeClass("ls-force-display-block ls-force-visibility-hidden")),(k||C)&&(w.percentHeight||w.percentWidth)&&v.is.imageLayer&&(w.percentHeight&&!w.percentWidth&&(F.width=w.width*(F.height/w.height)),w.percentWidth&&!w.percentHeight&&(F.height=w.height*(F.width/w.width))),("number"==typeof w.width&&w.width<0||"auto"==w.width||""==w.sWidth)&&ee.debugMode&&ee.debug.add("warn","resize.width",[h+1,w.width]),("number"==typeof w.height&&w.height<0||"auto"==w.height||""==w.sHeight)&&ee.debugMode&&ee.debug.add("warn","resize.height",[h+1,w.height]),F.fontSize=w.fontSize*b,v.is.textLayer&&(ie.isMobile&&F.fontSize<v.styleSettings.minmobilefontsize?F.fontSize=v.styleSettings.minmobilefontsize:F.fontSize<v.styleSettings.minfontsize&&(F.fontSize=v.styleSettings.minfontsize),T=F.fontSize/w.fontSize,F.fontSize+="px",-1!==w.lineHeight.indexOf("px")&&(F.lineHeight=parseFloat(w.lineHeight)*T+"px"),-1!==w.letterSpacing.indexOf("px")&&(F.letterSpacing=parseFloat(w.letterSpacing)*T+"px"),-1!==w.textStrokeWidth.indexOf("px")&&(F.textStrokeWidth=parseFloat(w.textStrokeWidth)*T+"px"),""==w.sWidth&&(F.width="auto",v.elements.$innerWrapper.addClass("ls-force-width-auto"),"nowrap"!==y.css("white-space")&&(v.elements.$_innerWrappers.addClass("ls-force-left-0"),v.elements.$_outerWrappers.addClass("ls-force-full-size"))),""==w.sHeight&&(F.height="auto",v.elements.$innerWrapper.addClass("ls-force-height-auto")),""!=w.sWidth&&""!=w.sHeight||y.css(F)),v.is.slideBackground||v.is.backgroundVideo)if(v.is.slideBackground){var A=ee.slides[v.is.onSlide].data.backgroundSize;switch((void 0!==A&&"inherit"!==A?A:ee.o.slideBGSize).replace("100% 100%","stretch")){case"auto":break;case"cover":w.ratio<o?(F.width=s,F.height=F.width/w.ratio):(F.height=r,F.width=F.height*w.ratio);break;case"contain":w.ratio<o?(F.height=r,F.width=F.height*w.ratio):(F.width=s,F.height=F.width/w.ratio);break;case"stretch":F.width=s,F.height=r}F.width=Math.round(F.width),F.height=Math.round(F.height);var z,R=ee.slides[v.is.onSlide].data.backgroundPosition;switch((z=(void 0!==R?R:ee.o.slideBGPosition).split(" "))[0]){case"left":F.x=0;break;case"center":F.x=(ee.slider.width-F.width)/2;break;case"right":F.x=ee.slider.width-F.width;break;default:-1!==z[0].indexOf("%")?F.x=(ee.slider.width-F.width)/100*parseInt(z[0]):F.x=parseInt(z[0])}if(void 0!==z[1])switch(z[1]){case"top":F.y=0;break;case"center":F.y=(ee.slider.height-F.height)/2;break;case"bottom":F.y=ee.slider.height-F.height;break;default:-1!==z[1].indexOf("%")?F.y=(ee.slider.height-F.height)/100*parseInt(z[1]):F.y=parseInt(z[1])}F.transform="translateX("+F.x+"px) translateY("+F.y+"px)",F["-ms-transform"]="translateX("+F.x+"px) translateY("+F.y+"px)",F["-webkit-transform"]="translateX("+F.x+"px) translateY("+F.y+"px)"}else v.is.backgroundVideo&&(w.ratio<o?(F.width=s,F.height=F.width/w.ratio):(F.height=r,F.width=F.height*w.ratio),F.x=(ee.slider.width-F.width)/2,F.y=(ee.slider.height-F.height)/2,F.width=Math.round(F.width),F.height=Math.round(F.height),F.transform="translateX("+F.x+"px) translateY("+F.y+"px)",F["-ms-transform"]="translateX("+F.x+"px) translateY("+F.y+"px)",F["-webkit-transform"]="translateX("+F.x+"px) translateY("+F.y+"px)");else!v.mediaProperties||"youtube"!==v.mediaProperties.type&&"vimeo"!==v.mediaProperties.type||(A=F.width/F.height,R={width:F.width,height:F.height},w.ratio<A?(R.height=F.width/w.ratio,R.marginTop=(F.height-R.height)/2):(R.width=F.height*w.ratio,R.marginLeft=(F.width-R.width)/2),v.mediaProperties.$media.css(R)),v.elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),y.addClass("ls-force-no-transform"),v.is.insideLayerGroup&&((S=(x=y.data("$layerGroup")).data(ee.defaults.init.dataKey)).elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),x.addClass("ls-force-no-transform")),"auto"==F.width?F.outerWidth=Math.ceil(y.outerWidth()):F.outerWidth=F.width+ee.layers.toNum(F.paddingLeft,F.fontSize)+ee.layers.toNum(F.paddingRight,F.fontSize)+ee.layers.toNum(F.borderLeftWidth,F.fontSize)+ee.layers.toNum(F.borderRightWidth,F.fontSize),"auto"==F.height?F.outerHeight=Math.ceil(y.outerHeight()):F.outerHeight=F.height+ee.layers.toNum(F.paddingTop,F.fontSize)+ee.layers.toNum(F.paddingBottom,F.fontSize)+ee.layers.toNum(F.borderTopWidth,F.fontSize)+ee.layers.toNum(F.borderBottomWidth,F.fontSize),v.elements.$_allWrappers.removeClass("ls-force-display-block ls-force-no-transform ls-force-width-auto ls-force-height-auto ls-force-left-0 ls-force-full-size"),y.removeClass("ls-force-no-transform"),v.is.insideLayerGroup&&(S.elements.$_allWrappers.removeClass("ls-force-display-block ls-force-no-transform ls-force-width-auto ls-force-height-auto ls-force-left-0 ls-force-full-size"),x.removeClass("ls-force-no-transform")),B.width=W.width=F.outerWidth,B.height=W.height=F.outerHeight,-1!=w.left.indexOf("%")?"100%"===w.left?F.left=0===$?O/100*parseFloat(w.left)-F.outerWidth:$+t*_/100*parseFloat(w.left)-F.outerWidth:"0%"===w.left?F.left=0===$?0:$:F.left=0===$?O/100*parseFloat(w.left)-F.outerWidth/2:$+t*_/100*parseFloat(w.left)-F.outerWidth/2:F.left=$+parseFloat(w.left)*b,B.left=F.left,-1!=w.top.indexOf("%")?"100%"===w.top?F.top=0===M?P/100*parseFloat(w.top)-F.outerHeight:M+I*_/100*parseFloat(w.top)-F.outerHeight:"0%"===w.top?F.top=0===M?0:M+0:F.top=0===M?P/100*parseFloat(w.top)-F.outerHeight/2:M+I*_/100*parseFloat(w.top)-F.outerHeight/2:F.top=M+parseFloat(w.top)*b,B.top=F.top;v.textIn.$nodesForBackgroundClip&&v.textIn.$nodesForBackgroundClip.length&&((I=v.elements.$outerStyleWrapper.add(v.elements.$outerStyleWrapper.find(".ls-wrapper"))).addClass("ls-force-visibility-hidden ls-force-display-block"),v.elements.$_innerWrappers.addClass("ls-force-no-transform"),_=!1,"auto"===g.style.width&&(g.style.width=Math.ceil(v.original.width*(m*b))+"px",_=!0),v.textIn.$nodesForBackgroundClip.each(function(e,t){var i=ae(t),a=i.children(".ls-textnode-bgclip-wrap"),t=a.children(".ls-textnode"),i=(i.children(".ls-textnode-dummy"),i.position());a.css({width:Math.ceil(B.width),height:Math.ceil(B.height),transform:"translate("+-i.left/m+"px,"+-i.top/m+"px)"}),t.css({marginLeft:i.left/m,marginTop:i.top/m})}),_=_&&!(g.style.width="auto"),v.elements.$_innerWrappers.removeClass("ls-force-no-transform"),I.removeClass("ls-force-visibility-hidden ls-force-display-block")),F.fontSize=parseFloat(F.fontSize)/ie.automaticFontSizeRatio+"px",ee.plugins.callFunctions("beforeResizeSingleLayerSmartBG",{$layer:y,layerData:v,layerStyle:F,wrapperStyle:B}),v.responsive=F,n[h]=F,v.is.smartBG&&(F.left=Math.round(F.left),F.top=Math.round(F.top),F.width=Math.ceil(F.width),F.height=Math.ceil(F.height),n[h]["--sw"]=(k?ee.slider.width:a.width*b)+"px",n[h]["--sh"]=(C?ee.slider.height:a.height*b)+"px",n[h]["--x"]=-F.left-parseFloat(F.borderLeftWidth)-parseFloat(B.marginLeft)+(k?0:p)+"px",n[h]["--y"]=-F.top-parseFloat(F.borderTopWidth)-parseFloat(B.marginTop)+(C?0:u)+"px"),v.is.slideBackground||v.is.backgroundVideo||(v.settings.wrapperData.responsive=B,l[h]=B,d[h]=W,c[h]=D)}if(e.singleLayer)return n;for(var V=0,N=n.length;V<N;V++){var E=ae(i[V]),H=E.data(ee.defaults.init.dataKey);ee.plugins.callFunctions("beforeResizeSingleLayerEnd",{$layer:E,layerData:H,layerStyle:n[V],wrapperStyle:l[V]}),E.css(n[V]),H.is.slideBackground||H.is.backgroundVideo?(H.is.slideBackground||H.is.backgroundVideo)&&(H.elements.$bgOuterWrapper.css({width:ee.slider.width,height:ee.slider.height}),H.elements.$outerWrapper.css({width:ee.slider.width,height:ee.slider.height})):(E.find(".split-item").css(c[V]),this.wrappers(E,H,l[V],d[V])),H.is.lottie&&(ae(H.lottie.options.canvas).attr({width:n[V].width,height:n[V].height}),H.lottie.player.resize()),ee.plugins.callFunctions("afterResizeSingleLayer",{$layer:E,layerData:H})}e.callback&&e.callback(),ee.debugMode&&ee.debug.groupEnd("resize")}},wrappers:function(e,t,i,a){i&&t.elements.$outerStyleWrapper.css(i),a&&t.loop.enabled&&t.elements.$loopWrapper.css(a),te.TweenMax.set(t.elements.$wrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.layer*ee.resize.ratio}}),t.loop.enabled&&te.TweenMax.set(t.elements.$loopWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.loop*ee.resize.ratio}}),t.hover.enabled&&te.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.hover*ee.resize.ratio}}),t.textIn.nodes&&te.TweenMax.set(t.textIn.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*ee.resize.ratio}}),t.textOut.nodes&&te.TweenMax.set(t.textOut.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*ee.resize.ratio}}),t.parallax.enabled&&te.TweenMax.set(t.elements.$parallaxWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.parallax*ee.resize.ratio}}),t.scroll.enabled&&te.TweenMax.set(t.elements.$scrollTransformWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.scroll*ee.resize.ratio}})},performTransformOperations:function(e,t){var i,a,s,r;for(r in t)if("string"==typeof t[r]&&-1!==t[r].indexOf("="))if(a=(i=t[r].split("="))[0].trim()||!1,s=parseFloat(i[1].trim())||!1,a&&s&&ae.isNumeric(s))switch(a){case"+":t[r]=e[r]+s;break;case"-":t[r]=e[r]-s;break;case"*":t[r]=e[r]*s;break;case"/":t[r]=e[r]/s}else t[r]=e[r]},mirrorTransitionProperties:function(o){function n(e){var t=e;switch(e){case"left":t="right";break;case"right":t="left";break;case"top":t="bottom";break;case"bottom":t="top"}return-1!==e.indexOf("lw")||-1!==e.indexOf("lh")||-1!==e.indexOf("sw")||-1!==e.indexOf("sh")?t="-"===e.charAt(0)?e.substring(1):"-"+e:-1!==e.indexOf("%")?t=-1*parseFloat(e.split("%")[0])+"%":ae.isNumeric(e)&&0!==e&&"0"!==e&&(t=-1*e),t}function e(e){var t,i,a,s;for(s in e)if(a=s.toLowerCase(),-1!==o.mirrorProperties.indexOf(a)){if("object"==typeof(t=e[s]))for(var r in i=[],t)i.push(n(t[r]));else i=n(t);e[s]=i}}e(o.transitionProperties),o.transitionPropertiesShouldBeConverted&&e(o.transitionPropertiesShouldBeConverted)},transformProperties:function(e,t,i,a,s,r,o){if("object"==typeof a.x){for(var n=[],l=0;l<a.x.length;l++)"string"==typeof a.x[l]?n[l]=this.getXY(e,t,a.x[l],"Width"):n[l]=a.x[l]*t.settings.calculatedratio;i.cycle.x=n}else"string"==typeof a.x?-1!==a.x.indexOf("random")||a.x.charAt(0)===ee.defaults.init.openingBracket?i.x=ee.functions.convert.randomProperties(a.x,"x",o,e,t):i.x=this.getXY(e,t,a.x,"Width"):void 0!==a.x&&(i.x=a.x*t.settings.calculatedratio);if("object"==typeof a.y){for(var d=[],c=0;c<a.y.length;c++)"string"==typeof a.y[c]?d[c]=this.getXY(e,t,a.y[c],"Height"):d[c]=a.y[c]*t.settings.calculatedratio;i.cycle.y=d}else"string"==typeof a.y?-1!==a.y.indexOf("random")||a.y.charAt(0)===ee.defaults.init.openingBracket?i.y=ee.functions.convert.randomProperties(a.y,"y",o,e,t):i.y=this.getXY(e,t,a.y,"Height"):void 0!==a.y&&(i.y=a.y*t.settings.calculatedratio);if(s&&(i=s),"object"==typeof a.transformOrigin||r){var p=[];if(r){s=e.data(ee.defaults.init.dataKey).elements.$outerStyleWrapper.add(e.data(ee.defaults.init.dataKey).elements.$outerStyleWrapper.find(".ls-wrapper"));s.addClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes"),p=ee.functions.convert.nodesTransformOrigin(a.transformOrigin,r,t,e.data(ee.defaults.init.dataKey).elements.$outerStyleWrapper),s.removeClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes")}else for(var u=0;u<a.transformOrigin.length;u++)p[u]=ee.functions.convert.transformOrigin(a.transformOrigin[u],e,t,e.data(ee.defaults.init.dataKey).elements.$outerStyleWrapper);i.cycle.transformOrigin=p}else"string"==typeof a.transformOrigin&&(i.transformOrigin=ee.functions.convert.transformOrigin(a.transformOrigin,e,t,e.data(ee.defaults.init.dataKey).elements.$outerStyleWrapper))},styleProperties:function(e,t,i,a){a.width&&-1!==a.width.indexOf("%")&&(a.percentWidth=parseInt(a.width),a.width=parseInt(ee.layers.getStyle(a.width,ee.slider.initial.percW))),a.height&&-1!==a.height.indexOf("%")&&(a.percentHeight=parseInt(a.height),a.height=parseInt(ee.layers.getStyle(a.height,ee.slider.initial.percH)));var s,r=ee.resize.layers({singleLayer:e,original:a})[0];for(s in a)-1===s.indexOf("percent")&&r.hasOwnProperty(s)&&-1===r[s].indexOf("NaN")&&(i[s]=r[s])},getXY:function(e,t,i,a,s){var r=0,o=ee.slider.width||ee.slider.initial.width,n=ee.slider.height||ee.slider.initial.height,l=t.original,d=t.responsive,c=t.settings.wrapperData&&t.settings.wrapperData.responsive?t.settings.wrapperData.responsive:{marginLeft:this.convertSingleValue(l.marginLeft,this.ratio),marginTop:this.convertSingleValue(l.marginTop,this.ratio),marginRight:this.convertSingleValue(l.marginRight,this.ratio),marginBottom:this.convertSingleValue(l.marginBottom,this.ratio)};if(d.outerWidth||(d.outerWidth=Math.ceil(e.outerWidth())),d.outerHeight||(d.outerHeight=Math.ceil(e.outerHeight())),l&&d&&c)switch(i){case"left":r=-1==l.left.indexOf("%")||!parseInt(l.left)||"100%"===l.left?-d.left-d.outerWidth-parseInt(c.marginLeft):-parseFloat(l.left)/100*o-d.outerWidth/2-parseInt(c.marginLeft);break;case"right":r=-1==l.left.indexOf("%")||!parseInt(l.left)||"100%"===l.left?o-d.left-parseInt(c.marginLeft):(1-parseFloat(l.left)/100)*o+d.outerWidth/2-parseInt(c.marginLeft);break;case"top":r=-1==l.top.indexOf("%")||!parseInt(l.top)||"100%"===l.top?-d.top-d.outerHeight-parseInt(c.marginTop):-parseFloat(l.top)/100*n-d.outerHeight/2-parseInt(c.marginTop);break;case"bottom":r=-1==l.top.indexOf("%")||!parseInt(l.top)||"100%"===l.top?n-d.top-parseInt(c.marginTop):(1-parseFloat(l.top)/100)*n+d.outerHeight/2-parseInt(c.marginTop);break;case"width":r=d.outerWidth;break;case"-width":r=-d.outerWidth;break;case"height":r=d.outerHeight;break;case"-height":r=-d.outerHeight;break;default:r=-1!==i.indexOf("%")?d["outer"+a]/100*parseInt(i):-1!==i.indexOf("lw")?d.outerWidth/100*parseFloat(i.split("lw")[0]):-1!==i.indexOf("lh")?d.outerHeight/100*parseFloat(i.split("lh")[0]):-1!==i.indexOf("sw")?parseFloat(i.split("sw")[0])/100*o:-1!==i.indexOf("sh")?parseFloat(i.split("sh")[0])/100*n:parseFloat(i)*(s?1:t.settings.calculatedratio||this.calculateRatio(t,this.ratio))}return r},navigation:function(){"always"==ee.o.thumbnailNavigation&&ee.gui.navigation.bottom.thumbnails.resize()},shadow:function(){ee.gui.shadow.show&&ee.gui.shadow.show(),ee.gui.shadow.$element&&ee.gui.shadow.resize()},yourLogo:function(){ee.yourLogo.$element&&ee.yourLogo.resize()},timers:function(){if(0<ee.gui.timers.slidebar.$containerElement.length)for(var e=0,t=ee.gui.timers.slidebar.$containerElement.length;e<t;e++)ee.gui.timers.slidebar.containerElementWidth[e]=ee.gui.timers.slidebar.$containerElement[e].width(),ee.gui.timers.slidebar.elementWidth[e]=ee.gui.timers.slidebar.$element[e].width()}},ee.timelines={slides:[],to:function(e,t){if(ae.isArray(e)){for(var i,a,s=e[0],r=e[1]||"",o=2<e.length?e[2]:null,n=3<e.length&&!!e[3],l=4<e.length&&!!e[4],d=5<e.length&&!!e[5],c=6<e.length&&!!e[6],p=t?[e[1]]:"string"==typeof r?ae.trim(r)?ae.trim(r).split(/\s+/):[]:ae.isArray(r)?r:(console.error("ls.timelines.to | no timelines found!"),[]),u=0;u<p.length;u++)if((a=t?p[u]:(i=p[u],s&&s[i]))instanceof te.TimelineMax){if(a.pause(),c){var m=a.getChildren(!0,!1,!0);m.sort(function(e,t){return e.endTime()-t.endTime()});for(var h=0;h<m.length;h++)ee.timelines.to([s,m[h],o,n,l,d],!0)}ae.isNumeric(o)&&a.progress(o),n&&a.kill(),l&&a.clear().invalidate(),d&&s.hasOwnProperty(i)&&(s[i]=null)}}else console.error("ls.timelines.to | invalid parameter:",e)},has:function(e){return e&&e instanceof te.TimelineMax}},ee.transitions={firstSlide:!0,start:function(){return!!document.body.contains(L)&&(ee.slider.isPopup&&ee.slider.state.popupIsWaitingForDelay?!(ee.slider.state.waitingForPopupTimer=!0):(ee.device.scroll.directionAtSlideTransitionStart=ee.device.scroll.direction,"always"==ee.o.thumbnailNavigation&&(ee.gui.navigation.bottom.thumbnails.change(),"ontouchstart"in window||ee.gui.navigation.bottom.thumbnails.scroll()),this.layers.out.forced(),void this.slide.init()))},slide:{$wrapper:ae(),init:function(){var e,t,i;ee.functions.setStates(ee.slider,{animatingSlides:!0}),ee.transitions.layers.parallax.reset(),ee.slider.$layersWrapper.find('.ls-parallax[data-ls-parallax="active"]').each(function(){ae(this).find(".ls-layer").data(ee.defaults.init.dataKey).settings.slideOut===ee.slides.current.index&&ae(this).attr("data-ls-parallax","inactive")}),ee.transitions.curSlide=ee.slides.current,ee.transitions.nextSlide=ee.slides.next,ee.timelines._slideTransition=new te.TimelineMax({paused:!0,onComplete:function(){ee.transitions.slide.onComplete()}}),(ee.transitions.nextSlide.data&&ee.transitions.nextSlide.data.transitionorigami||ee.slider.isScrollScene)&&(ee.o.animateFirstSlide=!1),ee.transitions.firstSlide&&ee.o.animateFirstSlide&&(ee.transitions.curSlide=ae.extend(!0,{},ee.transitions.nextSlide),delete ee.transitions.curSlide.data.$background,ee.transitions.curSlide.data.backgroundColor="transparent"),ee.transitions.firstSlide&&!ee.o.animateFirstSlide?(void 0!==ee.transitions.nextSlide.data.$background&&(e=(i=ee.transitions.nextSlide.data.$background.data(ee.defaults.init.dataKey)).kenBurns.zoom?i.kenBurns.from.scale:1,t=i.kenBurns.zoom?i.kenBurns.from.rotation:0,i=ee.transitions.nextSlide.filter.from||"none",ee.timelines._slideTransition.set(ee.transitions.nextSlide.data.$background[0],{"-webkit-filter":i,filter:i},0),ee.timelines._slideTransition.fromTo(ee.transitions.nextSlide.data.$background.closest(".ls-bg-wrap")[0],ee.o.sliderFadeInDuration,{autoCSS:!1,css:{scale:e,rotation:t,opacity:0,display:"block"}},{autoCSS:!1,css:{opacity:1}},0)),this.start(!0)):"undefined"==typeof layerSliderTransitions&&"undefined"==typeof layerSliderCustomTransitions?(this.start(!0),ee.debugMode&&ee.debug.add("warn","slideTransition.noSlideTransition",ee.transitions.nextSlide.index)):void 0===ee.transitions.curSlide.data.$background&&void 0===ee.transitions.nextSlide.data.$background&&"transparent"==ee.transitions.curSlide.data.backgroundColor&&"transparent"==ee.transitions.nextSlide.data.backgroundColor?this.start(!0):("x"===ee.o.clipSlideTransition?ie.$overflowWrapper.addClass("ls-overflowx-hidden"):"y"===ee.o.clipSlideTransition?ie.$overflowWrapper.addClass("ls-overflowy-hidden"):!0===ee.o.clipSlideTransition&&ie.$overflowWrapper.addClass("ls-overflow-hidden"),void 0!==ee.transitions.curSlide.data.$background&&(e=ee.transitions.curSlide.data.$background.closest(".ls-bg-wrap")[0]._gsTransform,(t=ee.transitions.curSlide.data.$background.data(ee.defaults.init.dataKey)).responsive.filter=ee.transitions.curSlide.data.$background[0].style.filter,t.responsive.kbRotation=void 0!==e?" rotate("+e.rotation+"deg)":" rotate(0deg)",t.responsive.kbScale=void 0!==e?" scale("+e.scaleX+")":" scale(1)"),ee.transitions.slide.$wrapper=ae("<div>").addClass("ls-slide-transition-wrapper").css({width:ee.slider.width,height:ee.slider.height}),this.select.slideTransitionType())},select:{slideTransitionType:function(){ee.transitions.slide.normal.select.transitionType()}},start:function(e){var t,i=!(!ee.slides.current.index||!ee.slides.current.data.$backgroundVideo.length),a=!(!ee.slides.next.index||!ee.slides.next.data.$backgroundVideo.length);!ee.slideshow.firstStart&&ee.api.hasEvent("slideChangeDidStart")&&ee.api.triggerEvent("slideChangeDidStart",ee.api.eventData()),e||(void 0!==ee.transitions.nextSlide.data.transitionDuration?s=ee.transitions.nextSlide.data.transitionDuration:void 0!==ee.o.slideTransitionDuration&&ae.isNumeric(ee.o.slideTransitionDuration)&&-1<ee.o.slideTransitionDuration&&(s=ee.o.slideTransitionDuration/1e3),ae.isNumeric(s)&&(0===s&&(s+=1e-5),ee.timelines._slideTransition.duration(s)),ee.transitions.firstSlide&&ee.o.animateFirstSlide&&ee.o.firstSlideDuration&&ee.timelines._slideTransition.duration(ee.o.firstSlideDuration/1e3),ee.debugMode&&ee.debug.options.transitionDuration&&ee.timelines._slideTransition.duration(ee.debug.options.transitionDuration),.25<ee.transitions.layers.timeline.timeScaleModifier&&(r=(r=ee.timelines._slideTransition.duration()/(.75+ee.transitions.layers.timeline.timeScaleModifier))<.5?.5:r,ee.timelines._slideTransition.duration(r)));var e=ee.timelines._slideTransition.duration()/ee.timelines._slideTransition.timeScale(),s=e,r=ee.transitions.nextSlide.data.timeShift||(void 0!==ee.o.slideTimeShift&&ae.isNumeric(ee.o.slideTimeShift)&&ee.o.slideTimeShift<0?ee.o.slideTimeShift/1e3:0);0<r?r=0:Math.abs(r)>e&&(r=-e),ee.transitions.firstSlide&&ee.o.animateFirstSlide&&!1!==ee.o.firstSlideTimeShift&&ee.o.firstSlideTimeShift<=0&&(r=ee.o.firstSlideTimeShift/1e3),ee.transitions.nextSlide.data.calculatedTimeShift=r,r=ee.transitions.firstSlide&&!ee.o.animateFirstSlide?ee.o.sliderFadeInDuration+.01:(s+r)*ee.timelines._slideTransition.timeScale(),(i||a)&&ee.transitions.media.changeBackgroundVideo(ee.transitions.firstSlide,i&&a),ee.timelines._slideTransition.call(function(){!ee.slideshow.firstStart&&ee.api.hasEvent("slideChangeWillComplete")&&ee.api.triggerEvent("slideChangeWillComplete",ee.api.eventData()),ee.slideshow.should.change||ee.transitions.layers.timeline.prepare(),ee.slides.set.slideIndexes(),ee.o.hashChange&&(document.location.hash=ee.slides[ee.slides.current.index].data.deeplink||"_no-deeplink-found_"),ee.slideshow.start(),!ee.transitions.firstSlide&&ee.slides.prev.index&&ee.slides.prev.data.$backgroundVideo.length&&!ee.slides.prev.data.$backgroundVideo.data(ee.defaults.init.dataKey).mediaProperties.willBePaused&&(ee.slides.prev.data.$backgroundVideo.trigger("stopBackgroundVideo"),ee.slides.prev.data.$backgroundVideo.data(ee.defaults.init.dataKey).elements.$bgWrapper.css({display:"none"})),ee.slideshow.should.change||ee.slides.next.data.$backgroundVideo.length&&ee.slides.next.data.$backgroundVideo.data(ee.defaults.init.dataKey).mediaProperties&&!ee.slides.next.data.$backgroundVideo.data(ee.defaults.init.dataKey).mediaProperties.isPreloaded&&(ee.slides.next.data.$backgroundVideo.trigger("preloadBackgroundVideo"),ee.slides.next.data.$backgroundVideo.data(ee.defaults.init.dataKey).mediaProperties.isPreloaded=!0),ee.transitions.firstSlide=!1},[],this,r),ee.timelines._slideTransition.play(),ee.slideshow.forceFastChange&&ee.timelines._slideTransition.progress(1),clearTimeout(ee.timeouts.applyBG),void 0!==ee.transitions.curSlide.data&&void 0!==ee.transitions.curSlide.data.$background&&(t=ee.transitions.curSlide.data.$background.data(ee.defaults.init.dataKey),ee.timeouts.applyBG=setTimeout(function(){delete ee.timeouts.applyBG,ee.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),t.kenBurns.zoom&&te.TweenMax.set(ee.transitions.curSlide.data.$background[0],{autoCSS:!1,css:t.kenBurns.from})},5))},onComplete:function(){var e;void 0!==ee.transitions.nextSlide.data.$background&&ee.transitions.nextSlide.data.$background.closest(".ls-bg-wrap").show(),"transparent"!==ee.transitions.nextSlide.data.backgroundColor?ee.slider.$slideBGColorWrapper.css("background-color",ee.transitions.nextSlide.data.backgroundColor):ee.slider.$slideBGColorWrapper.css("background-color","transparent"),ee.o.leaveOverflow||ie.$overflowWrapper.removeClass("ls-overflowx-hidden ls-overflowy-hidden ls-overflow-hidden"),this.$wrapper&&(this.$wrapper.html("").remove(),this.$wrapper=!1),ee.gui.navigation.bottom.bullets.set.active(),0<ee.o.cycles&&(ee.slideshow.hasOwnProperty("cycleSlideIndex")?ee.slideshow.cycles.check(ee.transitions.nextSlide.index)&&(ee.navigation.stop(),ee.functions.setStates(ee.slideshow,{pausedByLastCycle:!0}),ee.o.forceCycles&&(ee.slideshow.curCycle=1)):ee.slideshow.cycles.set()),ee.functions.setStates(ee.slider,{animatingSlides:!1,changingSlides:!1}),!ee.slideshow.firstStart&&ee.api.hasEvent("slideChangeDidComplete")&&ee.api.triggerEvent("slideChangeDidComplete",ee.api.eventData()),ee.slideshow.firstStart=!1,ee.slideshow.forceFastChange=!1,ee.slideshow.forceFastChangeCallback&&(ee.slideshow.forceFastChangeCallback(),ee.slideshow.forceFastChangeCallback=!1),ee.slideshow.should.change?ee.navigation.forceDirection?(void 0!==ee.transitions.curSlide.data&&void 0!==ee.transitions.curSlide.data.$background&&(e=ee.transitions.curSlide.data.$background.data(ee.defaults.init.dataKey),ee.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),e.kenBurns.zoom&&te.TweenMax.set(ee.transitions.curSlide.data.$background[0],{autoCSS:!1,css:e.kenBurns.from})),ee.slideshow.changeTo(ee.slideshow.get.slideInSequence(ee.navigation.forceDirection),!0),ee.navigation.forceDirection=!1):ee.slideshow.forceSlideChangeTo?ee.slideshow.changeTo(ee.slideshow.forceSlideChangeTo,!0,!0):ee.preload.imagesOfSlide(ee.slides.next.index):ee.preload.imagesOfSlide(ee.slides.next.index)},normal:{select:{transitionType:function(){var e,t,i;ee.o.slideTransition?ee.transitions.slide.normal.setTransition(ee.o.slideTransition.type,ee.o.slideTransition.obj):(i=!!ee.transitions.nextSlide.data.transition2d&&ee.transitions.nextSlide.data.transition2d.toString().split(","),ee.device.touchPrev&&ee.o.slideOnSwipe?(ee.device.touchPrev=!1,this.transition("2d","1")):ee.device.touchNext&&ee.o.slideOnSwipe?(ee.device.touchNext=!1,this.transition("2d","1")):ee.slides.next.data.$background||i&&(!i||-1!=i.indexOf("1")||-1!=i.indexOf("2")||-1!=i.indexOf("3")||-1!=i.indexOf("4"))?ee.browser.supports3D()&&(ee.transitions.nextSlide.data.transition3d||ee.transitions.nextSlide.data.customtransition3d)?ee.transitions.nextSlide.data.transition3d&&ee.transitions.nextSlide.data.customtransition3d?(e=Math.floor(2*Math.random()),t=[["3d",ee.transitions.nextSlide.data.transition3d],["custom3d",ee.transitions.nextSlide.data.customtransition3d]],this.transition(t[e][0],t[e][1])):ee.transitions.nextSlide.data.transition3d?this.transition("3d",ee.transitions.nextSlide.data.transition3d):this.transition("custom3d",ee.transitions.nextSlide.data.customtransition3d):ee.transitions.nextSlide.data.transition2d&&ee.transitions.nextSlide.data.customtransition2d?(e=Math.floor(2*Math.random()),t=[["2d",ee.transitions.nextSlide.data.transition2d],["custom2d",ee.transitions.nextSlide.data.customtransition2d]],this.transition(t[e][0],t[e][1])):ee.transitions.nextSlide.data.transition2d?this.transition("2d",ee.transitions.nextSlide.data.transition2d):ee.transitions.nextSlide.data.customtransition2d?this.transition("custom2d",ee.transitions.nextSlide.data.customtransition2d):this.transition("2d","1"):this.transition("2d","5"))},transition:function(e,t){ee.debugMode&&ee.debug.add("group","slideTransition.info"),t+="";var i,a,s=-1==e.indexOf("custom")?ee.t:ee.ct,r="3d";-1!=e.indexOf("2d")&&(r="2d"),a=-1!=t.indexOf("last")?s["t"+r].length-1:-1!=t.indexOf("all")?Math.floor(Math.random()*ee.functions.countProp(s["t"+r])):(t=(i=t.split(",")).length,parseInt(i[Math.floor(Math.random()*t)])-1),void 0===s["t"+r][a]&&(ee.debugMode&&ee.debug.add("warn","slideTransition.customTransition",[r.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),a+1]),s=ee.t,e=r="2d",a=0),ee.debugMode&&ee.debug.add("log","slideTransition.info",[r.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),a+1,s["t"+r][a].name]),ee.transitions.slide.normal.setTransition(r,s["t"+r][a])}},setTransition:function(e,t){t.name||(t=_lsConvTrProp(t));var i,a,s,r,o,n=ae.extend(!0,{cols:1,rows:1},t),l=typeof n.cols,d=typeof n.rows,c=[],p=ee.navigation.direction,u=0,m=0,h=!!ee.transitions.curSlide.data.$background&&ee.functions.getURL(ee.transitions.curSlide.data.$background),f=!!ee.transitions.nextSlide.data.$background&&ee.functions.getURL(ee.transitions.nextSlide.data.$background),g=ee.o.playByScroll&&"up"===ee.device.scroll.direction?"to":"from";if(n.rc){switch(typeof n.rc){case"number":ee.slider.width>ee.slider.height?(d=n.rc,l=Math.floor(ee.slider.width/(ee.slider.height/n.rc))):(l=n.rc,d=Math.floor(ee.slider.height/(ee.slider.width/n.rc)));break;case"string":s=parseInt(n.rc),l=Math.floor(ee.slider.width/s),d=Math.floor(ee.slider.height/s)}n.cols=l,n.rows=d}else{switch(l){case"number":l=n.cols;break;case"string":l=Math.floor(Math.random()*(parseInt(n.cols.split(",")[1])-parseInt(n.cols.split(",")[0])+1))+parseInt(n.cols.split(",")[0]);break;default:l=Math.floor(Math.random()*(n.cols[1]-n.cols[0]+1))+n.cols[0]}switch(d){case"number":d=n.rows;break;case"string":d=Math.floor(Math.random()*(parseInt(n.rows.split(",")[1])-parseInt(n.rows.split(",")[0])+1))+parseInt(n.rows.split(",")[0]);break;default:d=Math.floor(Math.random()*(n.rows[1]-n.rows[0]+1))+n.rows[0]}ie.isMobile&&ee.o.optimizeForMobile&&(15<=l?l=7:5<=l?l=4:4<=l?l=3:2<l&&(l=2),15<=d?d=7:5<=d?d=4:4<=d?d=3:2<d&&(d=2),2<d&&2<l&&(d=2,4<l&&(l=4)))}ee.debugMode&&!ee.o.slideTransition&&(ee.debug.add("log","slideTransition.properties",[[l,d],l*d]),ee.debug.groupEnd()),i=Math.floor(ee.slider.width/l),a=Math.floor(ee.slider.height/d),l=Math.floor(ee.slider.width/i),d=Math.floor(ee.slider.height/a),r=ee.slider.width-i*l,o=ee.slider.height-a*d,"prev"==p&&(t={random:"random",forward:"reverse",reverse:"forward",center:"center",edge:"edge",mirror:"mirror","radial-in":"radial-in","radial-out":"radial-out","col-forward":"col-reverse","col-reverse":"col-forward"},"2d"===e&&n.transition&&"scale"===n.transition.type&&(t.forward="forward",t.reverse="reverse"),n.tile&&n.tile.sequence&&(n.tile.sequence=t[n.tile.sequence]),ae.each(["animation","before","after"],function(e,t){n[t]&&n[t].transition&&((t=n[t].transition).rotateX&&44<Math.abs(t.rotateX)&&(t.rotateX*=-1),t.rotateY&&44<Math.abs(t.rotateY)&&(t.rotateY*=-1),t.rotate&&(t.rotate*=-1))}));for(var y,v,x=0;x<l*d;x++)c.push(x);switch(n.tile.sequence){case"reverse":c.reverse();break;case"col-forward":c=ee.functions.sortArray(d,l,"forward");break;case"col-reverse":c=ee.functions.sortArray(d,l,"reverse");break;case"random":c=ee.functions.shuffleArray(c);break;case"center":c=ee.functions.sortArray(d,l,"center");break;case"edge":case"mirror":c=ee.functions.sortArray(d,l,"edge");break;case"radial-out":c=ee.functions.sortArray(d,l,"radial-out");break;case"radial-in":c=ee.functions.sortArray(d,l,"radial-in")}("transparent"===ee.transitions.nextSlide.data.backgroundColor||"3d"==e||void 0!==ee.transitions.curSlide.data.$background&&void 0!==ee.transitions.nextSlide.data.$background)&&ee.slider.$slideBGColorWrapper.css("background-color","transparent"),"2d"==e&&(y=-1!=n.name.toLowerCase().indexOf("carousel"),v=-1!=n.name.toLowerCase().indexOf("crossfad"),this.$curTiles=ae("<div>").addClass("ls-curtiles").appendTo(ee.transitions.slide.$wrapper),this.$nextTiles=ae("<div>").addClass("ls-nexttiles").appendTo(ee.transitions.slide.$wrapper));for(var S=0;S<l*d;S++){var w,b,T=(S+1)%l==0?r:0,k=(d-1)*l-1<S?o:0,C=ae("<div>").addClass("ls-slide-transition-tile").css({width:i+T,height:a+k}).data("style",{width:i+T,height:a+k}).appendTo(ee.transitions.slide.$wrapper),u=(c[S],S%l==0?u+1:u),m=S%l==0?1:m+1;if("3d"==e){C.addClass("ls-3d-container");var O,P,I=i+T,L=a+k,_=new te.TimelineMax,$=Math.abs(Math.abs(m-l/2-.5)-l/2-.5)*Math.abs(Math.abs(u-d/2-.5)-d/2-.5);C.css({zIndex:$}),O=I/2,P=L/2,k=($="horizontal"==n.animation.direction?90<Math.abs(n.animation.transition.rotateY)&&"large"!=n.tile.depth?Math.floor(I/7)+T:I:90<Math.abs(n.animation.transition.rotateX)&&"large"!=n.tile.depth?Math.floor(L/7)+k:L)/2,this.createCuboids("ls-3d-box",C,0,0,0,0,-k,0,0,O+"px "+P+"px 0px"),this.createCuboids("ls-3d-front",C.find(".ls-3d-box"),I,L,0,0,k,0,0),"vertical"==n.animation.direction&&90<Math.abs(n.animation.transition.rotateX)?this.createCuboids("ls-3d-back",C.find(".ls-3d-box"),I,L,0,0,-k,180,0):this.createCuboids("ls-3d-back",C.find(".ls-3d-box"),I,L,0,0,-k,0,180),this.createCuboids("ls-3d-left",C.find(".ls-3d-box"),$,L,-k,0,0,0,-90),this.createCuboids("ls-3d-right",C.find(".ls-3d-box"),$,L,I-k,0,0,0,90),this.createCuboids("ls-3d-top",C.find(".ls-3d-box"),I,$,0,-k,0,90,0),this.createCuboids("ls-3d-bottom",C.find(".ls-3d-box"),I,$,0,L-k,0,-90,0),I=C.find(".ls-3d-front"),$="horizontal"==n.animation.direction?90<Math.abs(n.animation.transition.rotateY)?C.find(".ls-3d-back"):0<n.animation.transition.rotateY?C.find(".ls-3d-left"):C.find(".ls-3d-right"):90<Math.abs(n.animation.transition.rotateX)?C.find(".ls-3d-back"):0<n.animation.transition.rotateX?C.find(".ls-3d-bottom"):C.find(".ls-3d-top"),L=c[S]*n.tile.delay,k=ee.transitions.slide.$wrapper.find(".ls-3d-container:eq("+S+") .ls-3d-box"),n.before&&n.before.transition?(n.before.transition.delay=n.before.transition.delay?(n.before.transition.delay+L)/1e3:L/1e3,_.to(k[0],n.before.duration/1e3,ee.functions.convert.transition(n.before.transition,n.before.easing))):n.animation.transition.delay=n.animation.transition.delay?(n.animation.transition.delay+L)/1e3:L/1e3,_.to(k[0],n.animation.duration/1e3,ee.functions.convert.transition(n.animation.transition,n.animation.easing)),n.after&&(n.after.transition||(n.after.transition={}),_.to(k[0],n.after.duration/1e3,ee.functions.convert.transition(n.after.transition,n.after.easing,"after"))),ee.timelines._slideTransition.add(_,0)}else{var M,F,B,W,D,A,z,R,V,N="auto",E="auto",H="auto",Y="auto",X=1,G=1,U="50% 50%",K="50% 50%",j=0,q=100,Q={},Z=n.transition.intensity||2,J="random"==n.transition.direction?(z="scale"==n.transition.type?["top","bottom","middle","right","left","center"]:["top","bottom","right","left"])[Math.floor(Math.random()*z.length)]:n.transition.direction;switch(-1!=n.name.toLowerCase().indexOf("mirror")&&S%2==0&&(p="prev"==p?"next":"prev"),"prev"==p&&(J={top:"bottom",bottom:"top",middle:"middle",left:"right",right:"left",center:"center",topleft:"bottomright",topright:"bottomleft",bottomleft:"topright",bottomright:"topleft",none:"none"}[J]),J){case"top":N=H=-C.data("style").height,E=Y=0;break;case"bottom":N=H=C.data("style").height,E=Y=0;break;case"left":N=H=0,E=Y=-C.data("style").width;break;case"right":N=H=0,E=Y=C.data("style").width;break;case"topleft":N=C.data("style").height,H=0,E=C.data("style").width,Y=0;break;case"topright":N=C.data("style").height,H=0,E=-C.data("style").width,Y=0;break;case"bottomleft":N=-C.data("style").height,H=0,E=C.data("style").width,Y=0;break;case"bottomright":N=-C.data("style").height,H=0,E=-C.data("style").width,Y=0;break;case"none":Y=E=H=N=0}switch(this.scale2D=void 0!==n.transition.scale?n.transition.scale:1,1==y&&1!=this.scale2D&&(N/=2,H/=2,E/=2,Y/=2),(n.transition.rotate||n.transition.rotateX||n.transition.rotateY||1!=this.scale2D)&&"slide"!=n.transition.type?C.css({overflow:"visible"}):C.css({overflow:"hidden"}),1==y?this.$curTiles.css({overflow:"visible"}):this.$curTiles.css({overflow:"hidden"}),!0===v||"slide"==n.transition.type||"scale"==n.transition.type||!0===y||n.transition.hasOwnProperty("opacity")?(R=C.appendTo(this.$curTiles),D=C.clone().appendTo(this.$nextTiles),I=ae("<div>").addClass("ls-curtile").appendTo(R)):D=C.appendTo(this.$nextTiles),$=ae("<div>").addClass("ls-nexttile").appendTo(D),A=c[S]*n.tile.delay/1e3,_=n.transition.rotate||0,z=n.transition.rotateX||0,R=n.transition.rotateY||0,"prev"==p&&(_=-_,z=-z,R=-R),n.transition.type){case"fade":X=N=H=E=Y=0,G=1;break;case"mixed":X=0,(G=1)==this.scale2D&&(H=Y=0),M=void 0!==n.transition.scaleX?n.transition.scaleX:void 0!==n.transition.scale?n.transition.scale:1,F=void 0!==n.transition.scaleY?n.transition.scaleY:void 0!==n.transition.scale?n.transition.scale:1;break;case"scale":switch(X=N=H=E=Y=0,F=M=G=1,J){case"left":case"right":M=1+c[S]/(50/Z);break;case"top":case"bottom":F=1+c[S]/(50/Z);break;case"center":M=1+c[S]/(50/Z);break;case"middle":F=1+c[S]/(50/Z)}switch("mirror"===n.tile.sequence&&l*d/2<S&&(j=100,q=0),J){case"left":U=j+"% 50%",K=q+"% 0";break;case"right":U=q+"% 50%",K=j+"% 50%";break;case"center":case"middle":W=B=1;break;case"top":U="50% "+j+"%",K="50% "+q+"%";break;case"bottom":U="50% "+q+"%",K="50% "+j+"%"}}ee.timelines._slideTransition.fromTo($[0],n.transition.duration/1e3,{immediateRender:!1,autoCSS:!1,css:{x:-E,y:-N,display:"block",opacity:X,rotation:_,rotationX:z,rotationY:R,borderRadius:n.transition.borderRadius||0,scaleX:void 0!==M?M:this.scale2D,scaleY:void 0!==F?F:this.scale2D,transformOrigin:U}},{autoCSS:!1,css:{x:0,y:0,opacity:G,rotation:0,rotationX:0,rotationY:0,borderRadius:0,scaleX:1,scaleY:1},ease:ee.functions.convert.easing(n.transition.easing)},A),1==v&&(void 0===ee.transitions.nextSlide.data.$background||void 0!==ee.transitions.nextSlide.data.$background&&(-1!=ee.transitions.nextSlide.data.$background.attr("src").toLowerCase().indexOf("png")||ee.transitions.nextSlide.data.$background.width()<ee.slider.width||ee.transitions.nextSlide.data.$background.height()<ee.slider.height))&&(Q.opacity=0),"slide"!=n.transition.type&&1!=y||-1!=n.name.toLowerCase().indexOf("mirror")?"scale"==n.transition.type&&(Q.scaleX=B||M,Q.scaleY=W||F,Q.transformOrigin=K):(V=0!==_?-_:0,Q.x=Y,Q.y=H,Q.rotation=V,Q.scale=this.scale2D,Q.opacity=X),n.transition.hasOwnProperty("opacity")&&(Q.opacity=n.transition.opacity),void 0!==I&&ee.timelines._slideTransition.to(I[0],n.transition.duration/1e3,{autoCSS:!1,css:Q,ease:ee.functions.convert.easing(n.transition.easing)},A)}V=S%l*i,Q=Math.floor(S/l)*a,void 0!==ee.transitions.curSlide.data.$background&&(b=ee.transitions.curSlide.data.$background.data(ee.defaults.init.dataKey),w=ee.transitions.curSlide.data.backgroundGradient||"none","3d"===e||"2d"===e&&(!0===v||"slide"===n.transition.type||"scale"===n.transition.type||!0===y||n.transition.hasOwnProperty("opacity"))?I.append(ae('<div style="position: absolute;">').css({width:ee.slider.width,height:ee.slider.height,left:-V,top:-Q,backgroundImage:w,transform:b.responsive.kbRotation+b.responsive.kbScale}).append(ae("<img>").attr("src",h).css({width:b.responsive.width,height:b.responsive.height,filter:b.responsive.filter,transform:"translateX("+b.responsive.x+"px) translateY("+b.responsive.y+"px)"}))):0===this.$curTiles.children().length&&this.$curTiles.append(ae('<div style="position: absolute;">').css({width:ee.slider.width,height:ee.slider.height,left:-V,top:-Q,backgroundImage:w,transform:b.responsive.kbRotation+b.responsive.kbScale}).append(ae("<img>").attr("src",h).css({width:b.responsive.width,height:b.responsive.height,filter:b.responsive.filter,transform:"translateX("+b.responsive.x+"px) translateY("+b.responsive.y+"px)"})))),"transparent"===ee.transitions.curSlide.data.backgroundColor||ee.transitions.curSlide.data.$backgroundVideo.length||("3d"===e||"2d"===e&&(!0===v||"slide"===n.transition.type||!0===y)?I:this.$curTiles).css("background-color",ee.transitions.curSlide.data.backgroundColor),void 0!==ee.transitions.nextSlide.data.$background&&(w=(A=ee.transitions.nextSlide.data.$background.data(ee.defaults.init.dataKey)).kenBurns[g],b=ee.transitions.nextSlide.data.backgroundGradient||"none",$.append(ae('<div style="position: absolute;">').css({width:ee.slider.width,height:ee.slider.height,left:-V,top:-Q,backgroundImage:b,transform:"rotate("+w.rotation+"deg) scale("+w.scale+")"}).append(ae("<img>").attr("src",f).css({width:A.responsive.width,height:A.responsive.height,filter:ee.transitions.nextSlide.filter.from||"none",transform:"translateX("+A.responsive.x+"px) translateY("+A.responsive.y+"px)"})))),"transparent"===ee.transitions.nextSlide.data.backgroundColor||ee.transitions.nextSlide.data.$backgroundVideo.length||$.css("background-color",ee.transitions.nextSlide.data.backgroundColor)}ee.transitions.slide.$wrapper.prependTo(ee.o.preferBlendMode?ee.slider.$layersWrapper:ee.slider.$innerWrapper),ee.transitions.slide.start()},createCuboids:function(e,t,i,a,s,r,o,n,l,d){o="translate3d("+s+"px, "+r+"px, "+o+"px)";0!==n&&(o+="rotateX("+n+"deg)"),0!==l&&(o+="rotateY("+l+"deg)");o={width:i,height:a,transform:o,"-ms-transform":o,"-webkit-transform":o};d&&(o["transform-origin"]=d,o["-ms-transform-origin"]=d,o["-webkit-transform-origin"]=d),ae("<div>").addClass(e).css(o).appendTo(t)}}},layers:{setZIndex:function(e,t,i){t.original._zIndex||(t.original._zIndex=parseInt(t.elements.$outerWrapper.css("zIndex"))),i!==parseInt(t.elements.$outerWrapper.css("zIndex"))&&t.elements.$outerWrapper.css({zIndex:i})},in:{onStart:function(e){var t=e.data(ee.defaults.init.dataKey);t.is.countdown&&ee.countdown.startInterval(e,t.countdownSettings),t.hover.enabled&&ee.transitions.layers.hover.enable(e),ee.layers.set.dataAttribute("add",e,"animating-in"),t.in.zIndex&&ee.transitions.layers.setZIndex(e,t,t.in.zIndex),"instant"===t.mediaSettings.autoplay&&ee.media.functions.playIfAllowed(e),ee.plugins.callFunctions("layerInStart",{$layer:e,layerData:t})},onComplete:function(e){var t=e.data(ee.defaults.init.dataKey);t&&("instant"!==t.mediaSettings.autoplay&&ee.media.functions.playIfAllowed(e),t.in.zIndex&&ee.transitions.layers.setZIndex(e,t,t.original._zIndex),ee.plugins.callFunctions("layerInComplete",{$layer:e,layerData:t}),ee.layers.set.dataAttribute("remove",e,"animating-in"),ee.layers.set.dataAttribute("add",e,"active"))}},out:{forced:function(){var s=ee.slides.current.index||ee.slides.next.index;ee.timelines.slides[s]||(ee.timelines.slides[s]={}),ee.slider.$layersWrapper.find(".ls-link").css({display:"none"});var r,e,o,n,l,t,d,i=!ee.timelines._layers&&!s&&ee.o.animateFirstSlide;i&&ee.transitions.layers.timeline.create(!1,"next"),ee.timelines.slides[s]._forceOut&&(t=ee.layers.get("current, in, static, notactive, notstaticin"),r=ee.layers.get("current, in, static, active, staticout"),e=t.add(r),o=ee.layers.get("current, in, static"),n=ee.layers.get("current, out, static, active"),l=ee.layers.get("current, out, notstatic"),t=o.add(n).add(l),0===ee.timelines._layers.duration()&&(e.length&&ee.transitions.layers.timeline.addLayers(e,"in",ee.timelines._layers,ee.timelines.slides[s]._forceOut,ee.timelines._layersAlt,ee.timelines.slides[s]._forceOutMirror,"current"),n.length&&ee.transitions.layers.timeline.addLayers(n,"out",ee.timelines._layers,ee.timelines.slides[s]._forceOut,ee.timelines._layersAlt,ee.timelines.slides[s]._forceOutMirror,"current")),ee.timelines._layers.pause(),d=ee.timelines._layers.time(),t.each(function(){var e=ae(this),t=e.data(ee.defaults.init.dataKey),i=-1!==t.out.startAt.indexOf("slidechangeonly"),a=-1!==t.textOut.startAt.indexOf("slidechangeonly");l.is(e)&&(t.should.reset=!0,t.timelines._loop&&ee.timelines._layers&&(ee.timelines._layers.remove(t.timelines._loop),t.timelines._loop.play())),o.is(e)&&t.settings.slideIn===ee.slides.current.index&&!e.is("[data-ls-static-in]")?(r.is(e)&&ee.timelines.to([t.timelines,"_staticOut",1,!0,!0,!0]),t.timelines._staticIn=new te.TimelineMax({paused:!0}),t.timelines._staticIn.addCallback(function(){ee.layers.set.dataAttribute("add",e,"static-in")},0),t.timelines._in&&t.timelines._staticIn.add(t.timelines._in,t.timeline.transitioninstart-d),t.timelines._textIn&&t.timelines._staticIn.add(t.timelines._textIn,t.timeline.textinstart-d),t.timelines._textOut&&!a&&t.timelines._staticIn.add(t.timelines._textOut,t.timeline.textoutstart-d),t.timelines._out&&!i&&t.timelines._staticIn.add(t.timelines._out,t.timeline.transitionoutstart-d),t.timelines._loop&&(t.timelines._loop.pause(),ee.timelines._layers.remove(t.timelines._loop),0===t.timelines._loop.progress()?t.timelines._staticIn.addCallback(function(){t.timelines._loop.play()},t.timeline.loopstart-d):t.timelines._loop.play()),t.timelines._staticIn.addCallback(function(){ee.timelines.to([t.timelines,"_staticIn",null,!0,!0,!0])}),t.timelines._staticIn.play()):n.is(e)&&t.settings.slideOut===ee.slides.current.index&&(-1===t.staticSlides.indexOf(ee.slides.next.index)?(ee.timelines.to([t.timelines,"_staticIn _in _textIn",null,!0,!0,!0]),ee.timelines.has(t.timelines._textOut)&&!a&&ee.timelines.to([t.timelines,"_textOut",null,!0,!0,!0]),ee.timelines.has(t.timelines._out)&&!i&&ee.timelines.to([t.timelines,"_out",null,!0,!0,!0]),t.timelines._staticOut?t.timelines._staticOut.paused()&&t.timelines._staticOut.play():(t.timelines._staticOut=new te.TimelineMax({paused:!0}),t.timelines._staticOut.addCallback(function(){ee.layers.set.dataAttribute("remove",e,"static-in animating-in text-animating-in"),ee.layers.set.dataAttribute("add",e,"static-out")},0),ee.timelines.has(t.timelines._forceOut)&&t.timelines._staticOut.add(("prev"===ee.navigation.direction?t.timelines._forceOutMirror:t.timelines._forceOut).paused(!1),0),ee.timelines.has(t.timelines._forceTextOut)&&a&&t.timelines._staticOut.add("prev"===ee.navigation.direction?t.timelines._forceTextOutMirror:t.timelines._forceTextOut,0),t.timelines._staticOut.addCallback(function(){ee.layers.set.dataAttribute("remove",e,"static-out"),ee.transitions.layers.reset(e,t),ee.timelines.to([t.timelines,"_staticOut",null,!0,!0,!0]),ee.timelines.to([t.timelines,"_out _forceOut _forceOutMirror _textOut _forceTextOut _forceTextOutMirror",1,!0,!0,!0])}),t.timelines._staticOut.play())):(ee.timelines.slides[s]._forceOut.remove(t.timelines._forceOut),ee.timelines.slides[s]._forceOutMirror.remove(t.timelines._forceOutMirror)))}),i?ee.timelines.to([ee.timelines,"_forceOut _forceOutMirror",null,!0,!0]):(ee.timelines._layers.eventCallback("onStart",null).eventCallback("onComplete",null).eventCallback("onReverseComplete",null).eventCallback("onUpdate",null).stop().clear(),ee.timelines._layersAlt.stop().clear(),("prev"===ee.navigation.direction?ee.timelines.slides[s]._forceOutMirror:ee.timelines.slides[s]._forceOut).play(),ee.slideshow.forceFastChange&&ee.timelines.to([ee.timelines,"_forceOut _forceOutMirror",1])))},onStart:function(e){var t;e.is("[data-ls-hidden]")||(t=e.data(ee.defaults.init.dataKey),ee.plugins.callFunctions("layerOutStart",{$layer:e,layerData:t}),t.out.zIndex?ee.transitions.layers.setZIndex(e,t,t.out.zIndex):t.in.zIndex&&ee.transitions.layers.setZIndex(e,t,t.original._zIndex),ee.layers.set.dataAttribute("add",e,"animating-out"))},onComplete:function(e){var t=e.data(ee.defaults.init.dataKey);e.is("[data-ls-hidden]")?!ee.slider.state.changingSlides&&t.settings.slideOut===ee.slides.current.index||ee.transitions.layers.reset(e,t):(t.randomValues={},!ee.slider.state.changingSlides&&t.settings.slideOut===ee.slides.current.index||ee.transitions.layers.reset(e,t),t.hover.enabled&&ee.transitions.layers.hover.disable(e),ee.layers.set.dataAttribute("remove",e,"animating-out"),ee.layers.set.dataAttribute("add",e,"hidden"),t.is.mediaLayer&&t.mediaProperties&&t.mediaProperties.type&&e.find("[data-ls-playing]").length&&ee.media.functions.stop(!0,e),t.is.countdown&&ee.countdown.stopInterval(t.countdownSettings),t.is.counter&&ee.counter.stop(t.counterSettings),t.is.lottie&&t.lottie&&t.lottie.player&&(t.lottie.player.stop(),t.lottie.player.freeze()),ee.plugins.callFunctions("layerOutComplete",{$layer:e,layerData:t}))}},reset:function(e,t){var i;t.original._zIndex&&ee.transitions.layers.setZIndex(e,t,t.original._zIndex),t.timelines._loop&&(ee.timelines.to([t.timelines,"_loop",0]),te.TweenMax.set(t.elements.$loopWrapper[0],t.reset.altWrapperOnSlideChange)),t.parallax._timeline&&(t.parallax._timeline.stop().clear(),delete t.parallax._timeline),t.parallax._timeout&&(ee.functions.clearTimers({timeout:t.parallax._timeout}),delete t.parallax._timeout),t.parallax.reset&&(te.TweenMax.killTweensOf(t.elements.$parallaxWrapper[0]),te.TweenMax.set(t.elements.$parallaxWrapper[0],t.reset.altWrapperOnSlideChange)),t.clip.enabled&&(i=t.clip.userDefined?t.clip.default:t.clip.style,t.loop.enabled&&te.TweenMax.set(t.elements.$loopWrapper[0],i),t.inClipFromCSS.clipPath||te.TweenMax.set(t.elements.$clipWrapper[0],i)),t.clip.textShouldReset&&te.TweenMax.set(e.find(".ls-ln, .ls-wd, .ls-ch"),t.clip.none),te.TweenMax.set(t.elements.$wrapper[0],t.reset.wrapperOnSlideChange),te.TweenMax.set(e[0],{"-webkit-filter":t.original.filter,filter:t.original.filter}),t.should.update&&(t.textInNodesFrom.random={},t.textOutNodesTo.random={},ee.layers.update.data(e)),t.should.reset=!1},timeline:{shouldRestart:!1,totalDurations:[],create:function(e,t){var i,a,s,t=t||(e?"current":"next"),r=ee.slides[t].index;if(ee.plugins.callFunctions("createTimelineBefore",t),ee.timelines.slides[r]||(ee.timelines.slides[r]={}),ee.transitions.curNext=t,ee.transitions.layers.timeline.shouldRestart=!1,ee.o.allowRestartOnResize&&ee.slider.isScrollScene&&(ee.transitions.layers.timeline.shouldRestart=!0),ee.transitions.layers.timeline.resetStates(),ee.timelines.to([ee.timelines,"_layers _layersAlt",0,!0,!0,!0]),ee.timelines._layers=new te.TimelineMax({paused:!0,onStart:function(){ee.api.hasEvent("slideTimelineDidStart")&&ee.api.triggerEvent("slideTimelineDidStart",ee.api.eventData())},onComplete:function(){ee.o.playByScroll&&ee.o.playByScrollSkipSlideBreaks&&("next"===ee.slideshow.direction?ee.transitions.layers.timeline.scrollForward(!0):ee.transitions.layers.timeline.scrollBackwards(!0,!0))},onReverseComplete:function(){ee.api.hasEvent("slideTimelineDidReverseComplete")&&ee.api.triggerEvent("slideTimelineDidReverseComplete",ee.api.eventData()),ee.transitions.layers.timeline.shouldReplay&&(ee.transitions.layers.timeline.shouldRestart=!1,ee.timelines._layers.play()),ee.o.playByScroll&&ee.o.playByScrollSkipSlideBreaks&&ee.transitions.layers.timeline.scrollBackwards(!0,!1)},onUpdate:function(e){ee.api.hasEvent("slideTimelineDidUpdate")&&ee.api.triggerEvent("slideTimelineDidUpdate",e)},onUpdateParams:["{self}"]}),ee.timelines._layersAlt=new te.TimelineMax({paused:!0}),this.totalDuration=0,this.progress=1,e||(ee.slides.prev.index&&ee.timelines.to([ee.timelines.slides[ee.slides.prev.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),ee.timelines.slides[r]._forceOut=new te.TimelineMax({paused:!0,autoRemoveChildren:!0}),ee.timelines.slides[r]._forceOut.lsSlideIndex=r,ee.timelines.slides[r]._forceOutMirror=new te.TimelineMax({paused:!0,autoRemoveChildren:!0}),ee.timelines.slides[r]._forceOutMirror.lsSlideIndex=r),ee.plugins.callFunctions("createTimelineBeforeAdd",t),i=e?ee.layers.get(t+", in"):ee.layers.get(t+", in, notstatic, notactive").add(ee.layers.get(t+", in, static, notactive, notstaticin")).add(ee.layers.get(t+", in, static, active, staticout")),s=ee.layers.get(t+", out, notstatic").add(ee.layers.get(t+", out, static, active")),e=ee.layers.get(t+", in, bgonly, notactive"),a=ae().add(i).add(s).add(e),this.addLayers(i,"in",ee.timelines._layers,ee.timelines.slides[r]._forceOut,ee.timelines._layersAlt,ee.timelines.slides[r]._forceOutMirror),this.addLayers(s,"out",ee.timelines._layers,ee.timelines.slides[r]._forceOut,ee.timelines._layersAlt,ee.timelines.slides[r]._forceOutMirror),ee.slides[t].data&&-1!==ee.slides[t].data.duration&&ee.slides[t].data.duration<this.totalDuration?(this.progress=ee.slides[t].data.duration/this.totalDuration,ee.debugMode&&ee.debug.add("warn","slideTimeline.duration",[ee.slides[t].data.duration,this.totalDuration])):ee.timelines._layers.duration()>this.totalDuration&&(this.progress=this.totalDuration/ee.timelines._layers.duration()),-1===ee.slides[t].data.duration?(ee.o.slideDuration&&ae.isNumeric(ee.o.slideDuration)&&-1<ee.o.slideDuration?this.totalDuration=ee.o.slideDuration/1e3:0===this.totalDuration&&(this.totalDuration=ee.o.slideDurationWithoutLayers/1e3),ee.o.inLayerPreview&&(ee.o.hasInfiniteLoop&&"loop-transition"===ee.o.layerPreviewPresetType?this.totalDuration+=5:"ending-transition"===ee.o.layerPreviewPresetType?this.totalDuration+=.25:"hover-transition"!==ee.o.layerPreviewPresetType&&(this.totalDuration+=.5)),ee.slides[t].data.duration=this.totalDuration,ee.slides[ee.slides[t].index].data.duration=this.totalDuration):this.totalDuration=ee.slides[t].data.duration,ee.o.getData&&-1!==ee.o.getData.indexOf("slideDuration"))return this.totalDurations.push(this.totalDuration),ee.slides[t].index<ee.slides.count?setTimeout(function(e){ee.slideshow.changeTo(e,!0)},100,ee.slides[t].index+1):ee.functions.getData("slideDuration",this.totalDurations),!1;ee.slider.isScrollScene&&(ee.slider.$spacingWrapper.attr("data-scene-duration",this.totalDuration),s=ee.slider.$spacingWrapper.attr("data-scene-pre-duration")||!1,this.totalDuration!==parseFloat(s)&&ee.resize.scene(!0)),this.addLayers(e,"in",ee.timelines._layers,ee.timelines.slides[r]._forceOut,ee.timelines._layersAlt),!0===ee.transitions.layers.timeline.shouldRestart&&ee.debugMode&&ee.debug.add("warn","slideTimeline.restart",ee.o.allowRestartOnResize?"enabled":"disabled");for(var o=0;o<a.length;o++)ae(a[o]).data(ee.defaults.init.dataKey).parallax.enabled&&ae(a[o]).data(ee.defaults.init.dataKey).elements.$parallaxWrapper.attr("data-ls-parallax","active");ee.transitions.layers.parallax.trigger();var n,r=ee.transitions.layers.parallax.wrappers;r.randomGlobal[ee.slides.next.index]&&(ee.functions.objectIsEmpty(r.randomGlobal[ee.slides.next.index].$2d)&&ee.functions.objectIsEmpty(r.randomGlobal[ee.slides.next.index].$3d)||ee.timeouts["rp-global-"+ee.slides.next.index]||ee.transitions.layers.parallax.random.setTimer({globalSlideParallaxData:ee.slides.next.parallax,slideIndex:ee.slides.next.index})),ee.transitions.layers.scroll.reset(),ee.transitions.layers.scroll.trigger(),ee.api.hasEvent("slideTimelineDidCreate")&&ee.api.triggerEvent("slideTimelineDidCreate",{slideTimeline:ee.timelines._layers,layersOnSlideTimeline:a,slideTimelineDuration:this.totalDuration}),ee.timelines._layers.set(_.find('.ls-slide-backgrounds .ls-z:not([data-slide-index="'+ee.slides[t].index+'"]) .ls-bg-wrap').toArray(),{display:"none"},0),ee.transitions.timers.create(),ee.transitions.timers.bar._transition&&(ee.gui.timers.bar.$element.css("width",0),ee.timelines._layers.add(ee.transitions.timers.bar._transition.play(),0)),ee.transitions.timers.circle._transition&&ee.timelines._layers.add(ee.transitions.timers.circle._transition.play(),0),ee.transitions.timers.slidebar._transition&&ee.timelines._layers.add(ee.transitions.timers.slidebar._transition.play(),0),ee.timelines._layers.call(function(){if(!ee.timelines._layers.reversed()){var e;if(ee.api.hasEvent("slideTimelineDidComplete"))if(ee.o.inLayerPreview&&ee.o.hasInfiniteLoop&&ee.layers.get("current, in").each(function(){(e=ae(this).data(ee.defaults.init.dataKey)).loop&&e.timelines._loop&&e.timelines._loop.stop().progress(0)}),!1===ee.api.triggerEvent("slideTimelineDidComplete",ee.api.eventData()))return;ee.functions.setStates(ee.transitions.layers.timeline,{finished:!0}),!ee.slideshow.isPaused()&&ee.slideshow.state.running?ee.slideshow.changeTo(ee.slides.next.index):ee.slideshow.state.pausedByLastCycle&&ee.transitions.timers.reverse()}},[],this,ee.slides[t].data.duration),ee.slides.next.data.$link&&ee.slides.next.data.$link.css({display:"block"}),(!ee.o.startInViewport||"inside"!==ee.slider.position.toViewport&&!ee.o.playByScrollStart&&ee.slider.state.waitForGettingInViewport)&&ee.o.startInViewport||!(ee.slider.isPopup&&ee.slider.state.popupIsVisible&&ee.slider.state.popupShouldStart)&&ee.slider.isPopup||(ee.o.pauseLayers&&ee.slideshow.isPaused()?ee.transitions.layers.timeline.pause(0):ee.slider.isScrollScene||ee.transitions.layers.timeline.play(),ee.o.playByScroll&&"up"===ee.device.scroll.directionAtSlideTransitionStart&&ee.timelines._layers.progress(1)),ee.timelines._layersAlt.play(),ee.slider.isScrollScene&&ee.slider.set.offset(),_.trigger("mouseleave.globalhover"+$),_.off("mouseenter.globalhover"+$+" mouseleave.globalhover"+$+" mousemove.globalhover"+$),ee.slides[t].data.globalhover&&(n=ee.layers.get(t+",in,notactive").add(ee.layers.get("static,active")).not("[data-ls-skipglobalhover]"),_.on("mouseenter.globalhover"+$,function(){n.each(function(){ee.transitions.layers.hover.mouseEnter(ae(this),ae(this).data(ee.defaults.init.dataKey))})}),_.on("mouseleave.globalhover"+$,function(){n.each(function(){ee.transitions.layers.hover.mouseLeave(ae(this),ae(this).data(ee.defaults.init.dataKey))})}),_.on("mousemove.globalhover"+$,function(){n.each(function(){ee.transitions.layers.hover.mouseMove(ae(this),ae(this).data(ee.defaults.init.dataKey))})}))},prepare:function(){ee.slides.next.data.overflow&&"hidden"!==ee.slides.next.data.overflow?(ee.slider.$layersWrapper.addClass("ls-visible"),ee.slider.$slideBGWrapper.addClass("ls-visible")):(ee.slider.$layersWrapper.removeClass("ls-visible"),ee.slider.$slideBGWrapper.removeClass("ls-visible")),this.create()},getTiming:function(e,t,i,a){if("number"==typeof t)return t;t=t.toLowerCase();var s,r,o,n,l,d=ee.defaults.layer.timelineHierarchy,c=0;if(-1!==t.indexOf("*")&&(l="*"),-1!==t.indexOf("/")&&(l="/"),-1!==t.indexOf("+")&&(l="+"),-1!==t.indexOf("-")&&(l="-"),l)if(n=t.split(l),s=ae.trim(n[0]),o=parseInt(ae.trim(n[1])),d[s]&&-1!==d[i][1].indexOf(d[s][0])){if(!e.timeline[s]&&1<d[s][0]){var p,u,m=d[s][0]-1||1;for(u in d)d[u][0]===m&&(p=u);s=p}if(r="number"==typeof e.timeline[s]?e.timeline[s]:e.timeline[s](e),a)c=o/1e3;else switch(l){case"*":c=r*o;break;case"/":c=r/o;break;case"+":c=r+o/1e3;break;case"-":c=r-o/1e3}}else ee.debugMode&&(d[s]||ee.debug.add("warn","layerTransition.timing1",s),-1===d[i][1].indexOf(d[s][0])&&ee.debug.add("warn","layerTransition.timing3",[s,d[s],i,d[i]])),"+"!==l&&!a||(c=o/1e3);else d[s=ae.trim(t)]&&-1!==d[i][1].indexOf(d[s][0])?c=a?0:"number"==typeof e.timeline[s]?e.timeline[s]:e.timeline[s](e):ee.debugMode&&(d[s]?-1===d[i][1].indexOf(d[s][0])&&ee.debug.add("warn","layerTransition.timing3",[s,d[s],i,d[i]]):ee.debug.add("warn","layerTransition.timing1",s));return(c!=c||c<0)&&(ee.debugMode&&ee.debug.add("warn","layerTransition.timing2",[i,s,c]),c=0),c},addLayers:function(e,$,M,F,B,W,D){e.each(function(){var f=this,g=ae(f),y=g.data(ee.defaults.init.dataKey),e=y.elements.$wrapper,t=y.elements.$clipWrapper,v=y.elements.$loopWrapper,i=y.elements.$parallaxWrapper,a=0,s=y.settings.skipViewport&&ee.slideshow.state.changed<1?B:M,r="loop"==y.settings.skipViewport&&ee.slideshow.state.changed<1?B:M;D=void 0!==D?D:"next",ee.transitions.firstSlide&&ee.o.animateFirstSlide&&(ee.transitions.nextSlide=ee.slides.next),"in"===$&&y.timelines._staticOut&&ee.timelines.to([y.timelines,"_staticOut",1,!0,!0,!0]);var o,n=ae.extend(!0,{},y.inLayerFrom),l=n.css,d=ae.extend({},y.inLayerShouldBeConverted),c=ae.extend(!0,{},y.outLayerTo),p=c.css,u=ae.extend({},y.outLayerShouldBeConverted),m=ae.extend(!0,{},y.textInNodesFrom),h=ae.extend(!0,{},y.textInShouldBeConverted),x=ae.extend(!0,{},y.textOutNodesTo),S=ae.extend(!0,{},y.textOutShouldBeConverted),w={$layer:g,layerData:y,slide:D,transitionType:$,timelines:{_layers:M,_layersAlt:B,_selectedSlideTimeline:s,_selectedLoopTimeline:r,_forceOut:F,_forceOutMirror:W},transitionData:{inLayerFrom:n,inLayerFromCSS:l,inLayerShouldBeConverted:d,outLayerTo:c,outLayerToCSS:p,outLayerShouldBeConverted:u,textInNodesFrom:m,textInShouldBeConverted:h,textOutNodesTo:x,textOutShouldBeConverted:S}};if(y.should.reset&&ee.transitions.layers.reset(g,y),ee.plugins.callFunctions("addLayersBefore",w),g.hasClass("ls-bg"))ee.plugins.callFunctions("addLayersBGStart",w),y.kenBurns.zoom&&M.fromTo(g.closest(".ls-bg-wrap"),ee.transitions.nextSlide.data.duration+ee.transitions.nextSlide.data.calculatedTimeShift,{autoCSS:!1,css:y.kenBurns.from},{autoCSS:!1,css:y.kenBurns.to,ease:te.Quad.easeInOut},-ee.transitions.nextSlide.data.calculatedTimeShift),ee.plugins.callFunctions("addLayersBGBeforeFilter",w),ae.isEmptyObject(y.filter.values.bgFrom)&&ae.isEmptyObject(y.filter.values.bgTo)||(y.filter.transitions.bg||(y.filter.transitions.bg=ee.transitions.layers.filters.createTransition(y,"bg",y.filter.values.bgFrom,y.filter.values.bgTo)),s.to([{p:0},f],ee.transitions.nextSlide.data.duration,{p:1,autoCSS:!1,ease:te.Sine.easeInOut,onUpdate:ee.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.bg]},0)),ee.plugins.callFunctions("addLayersBGEnd",w);else{if("in"===$){if(y.in.enabled?(y.timelines._in=new te.TimelineMax,ee.plugins.callFunctions("addLayersInStart",w),y.settings.timelineIsCalculated&&!y.settings.recalculateTimeline||("startAtFirst"==y.settings.recalculateTimeline&&(y.settings.recalculateTimeline=!1,y.settings.timelineIsCalculated=!1),"number"!=typeof y.in.startAt&&(y.in.startAt=0),"number"!=typeof y.in.startAtFirst&&(y.in.startAtFirst=0),y.timeline.transitioninstart=ee.transitions.firstSlide&&y.in.startAtFirst?y.in.startAtFirst:y.in.startAt,y.timeline.transitioninend=y.timeline.transitioninstart+y.in.duration),ee.transitions.firstSlide&&y.in.startAtFirst&&(y.settings.recalculateTimeline="startAtFirst"),ee.resize.performTransformOperations(y.inLayerToCSS,l),y.in.mirror&&"prev"===ee.navigation.direction&&ee.resize.mirrorTransitionProperties({transitionProperties:l,transitionPropertiesShouldBeConverted:d,transitionType:"normal",mirrorProperties:y.in.mirror}),ee.resize.transformProperties(g,y,l,d,null,null,"in"),ee.resize.styleProperties(g,y,y.inLayerStyleFromCSS,y.inLayerStyleShouldBeConvertedFrom),ee.resize.styleProperties(g,y,y.inLayerStyleToCSS,y.inLayerStyleShouldBeConvertedTo),l.transformPerspective=y.transformPerspective.layer*y.settings.calculatedratio,ee.plugins.callFunctions("addLayersInBeforeClip",w),y.clip.enabled&&(y.clip.style.css.clipPath=ee.functions.convert.clipProperties(y.clip.style.css.clipPath,y,g,!0),y.inClipFromCSS.clipPath||y.clip.style.css.clipPath===y.clip.default.css.clipPath||(y.inClipFromCSS.clipPath=y.clip.default.css.clipPath)),y.inClipFromCSS.clipPath&&(y.inClipFromCSS.clipPath=ee.functions.convert.clipProperties(y.inClipFromCSS.clipPath,y,g),y.timelines._in.fromTo(t[0],y.in.duration,y.inClipFrom,y.inClipTo,0)),ee.plugins.callFunctions("addLayersInBeforeFilter",w),ae.isEmptyObject(y.filter.values.in)?ae.isEmptyObject(y.filter.values.out)||g.css("filter",y.original.filter):(y.filter.transitions.in||(y.filter.transitions.in=ee.transitions.layers.filters.createTransition(y,"in",y.filter.values.in,y.filter.values.style)),y.timelines._in.to([{p:0},f],y.in.duration,{p:1,autoCSS:!1,ease:y.inLayerTo.ease,onUpdate:ee.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.in]},0)),ee.plugins.callFunctions("addLayersInBeforeSmartBG",w),y.is.smartBG&&-1!==y.styleSettings.smartbg.indexOf("in")&&(y.inLayerStyleFrom.css["--x"]=parseInt(y.responsive["--x"])-l.x+"px",y.inLayerStyleTo.css["--x"]=parseInt(y.responsive["--x"])+"px",y.inLayerStyleFrom.css["--y"]=parseInt(y.responsive["--y"])-l.y+"px",y.inLayerStyleTo.css["--y"]=parseInt(y.responsive["--y"])+"px"),y.is.smartBG&&(ee.slides[ee.slides.current.index||1].data.hasSmartBG=!0),ee.plugins.callFunctions("addLayersInBeforeCounter",w),y.is.counter&&(y.timelines._in.addCallback(function(){g.text(ee.counter.applyNumberFormat(g,y.counterSettings,parseFloat(y.counterSettings.start)))},0),y.timelines._in.addCallback(function(){ee.counter.start(g,y.counterSettings)},"transitioninstart"===y.counterSettings.startAt?0:y.in.duration)),ee.plugins.callFunctions("addLayersInBeforeTL",w),0===y.timeline.transitioninstart&&0===y.in.duration?(y.inLayerTo.css.transformOrigin=n.css.transformOrigin,y.inLayerTo.css.transformPerspective=n.css.transformPerspective,y.timelines._in.set(e[0],y.inLayerTo,0),y.timelines._in.set(f,y.inLayerStyleTo,0)):(y.timelines._in.fromTo(e[0],y.in.duration,n,y.inLayerTo,0),y.timelines._in.fromTo(f,y.in.duration,y.inLayerStyleFrom,y.inLayerStyleTo,0)),s.add(y.timelines._in,y.timeline.transitioninstart)):(y.timeline.transitioninstart=0,y.timeline.transitioninend=0),ee.plugins.callFunctions("addLayersInAfter",w),y.is.textLayer&&(y.timelines._textIn=new te.TimelineMax,(y.textIn.type||y.textOut.type)&&ee.transitions.layers.splitType.resetNodes(g,y),y.textIn.enabled&&(ee.plugins.callFunctions("addLayersTextInStart",w),m.clipPath&&(m.clipPath=ee.functions.convert.clipProperties(m.clipPath,y,g),y.textInNodesTo.css.clipPath=y.clip.default.css.clipPath),l=!(!y.textIn.mirror||"prev"!==ee.navigation.direction),n=ee.transitions.layers.splitType.setNodesSequence(y.textIn.type.split("_"),y.textIn.ns),y.textIn.nodes=l?n[1]:n[0],l&&ee.resize.mirrorTransitionProperties({transitionProperties:m,transitionPropertiesShouldBeConverted:h,transitionType:"text",mirrorProperties:y.textIn.mirror}),ee.resize.transformProperties(g,y,m,h,null,y.textIn.nodes,"textin"),m.transformPerspective=y.transformPerspective.text*y.settings.calculatedratio,ae.isEmptyObject(h.random)||ee.transitions.layers.splitType.setRandomProperties(g,y,h.random,m,"In"),ae.isEmptyObject(m.random)||ee.transitions.layers.splitType.setRandomProperties(g,y,m.random,m,"In"),delete m.random,y.settings.timelineIsCalculated||(y.timeline.textinstart=ee.transitions.layers.timeline.getTiming(y,y.textIn.startAt,"textinstart"),y.timeline.textinend=y.timeline.textinstart+(y.textIn.nodes.length-1)*y.textIn.shiftNodes+y.textIn.duration),y.in.enabled||y.timelines._textIn.to(e[0],0,ae.extend(!0,{},y.inLayerTo,y.init.wrapper),0),ee.plugins.callFunctions("addLayersTextInBeforeStyles",w),m.color?y.textInNodesToCSS.color=y.original.color:y.textOutNodesTo.color&&(m.color=y.original.color),ee.plugins.callFunctions("addLayersTextInBeforeTLStyles",w),y.timelines._textIn.set(f,y.textIn.layerStyle,0),window.getSelection&&ee.browser.isSafari&&y.timelines._textIn.addCallback(function(){try{window.getSelection().setBaseAndExtent(f,0,f,1e3)}catch(e){}window.getSelection().removeAllRanges()},Number.EPSILON),ee.plugins.callFunctions("addLayersTextInBeforeTL",w),y.timelines._textIn.addCallback(function(){ee.layers.set.dataAttribute("add",g,"text-animating-in"),ee.plugins.callFunctions("layerTextInStart",{$layer:g,layerData:y})},0),y.timelines._textIn.staggerFromTo(y.textIn.nodes,y.textIn.duration,m,y.textInNodesTo,y.textIn.shiftNodes,0,function(){ee.layers.set.dataAttribute("remove",g,"text-animating-in"),ee.layers.set.dataAttribute("add",g,"active"),ee.plugins.callFunctions("layerTextInComplete",{$layer:g,layerData:y})}),s.add(y.timelines._textIn,y.timeline.textinstart),ee.plugins.callFunctions("addLayersTextInAfter",w))),y.is.keyframe&&ee.o.playByScroll&&M.addPause(y.timeline.allinend(),function(){setTimeout(function(){delete ee.timeouts.scroll,ee.transitions.layers.timeline.timeScaleModifier=0,ee.device.scroll.timeout=250},500)}),y.parallax.enabled&&"auto"==y.parallax.event){ee.transitions.layers.parallax.auto(),y.parallax._timeline=new te.TimelineMax({paused:!0,repeat:-1===y.parallax.count?-1:y.parallax.count-1});var b,T={ease:te.Linear.easeNone,immediateRender:!1,onUpdate:function(e,t,i,a,s,r,o){te.TweenMax.set(i,{x:-t.x*(a/50)*parseInt(s),y:-t.y*(a/50)*parseInt(s),"--rx":t.x*(a/50)*parseInt(s)+"px","--ry":t.y*(a/50)*parseInt(s)+"px",rotationX:"3d"==r?t.y/(100/o):0,rotationY:"3d"==r?-t.x/(100/o):0})}},k=function(e,t){return{x:e*ee.resize.ratio,y:t*ee.resize.ratio}},m="horizontal"==y.parallax.path||"vertical"==y.parallax.path,C="backward"===y.parallax.direction?-1:1;switch(m&&(T.ease=te.Quad.easeInOut,T.duration=y.parallax.pathDuration/2,b=ae.extend(!0,{},T)),y.parallax.path){default:case"circle":y.parallax.dummy=k(0,-10),T.bezier={curviness:1.5,values:[k(10,0),k(0,10),k(-10,0),k(0,-10)]};break;case"oval-h":y.parallax.dummy=k(0,-10),T.bezier={type:"thru",curviness:1,values:[k(20,0),k(0,10),k(-20,0),k(0,-10)]};break;case"oval-v":y.parallax.dummy=k(0,-20),T.bezier={type:"thru",curviness:1,values:[k(10,0),k(0,20),k(-10,0),k(0,-20)]};break;case"infinity":y.parallax.dummy=k(0,0),T.bezier={curviness:1.3,values:[k(20,-10),k(30,0),k(20,10),k(0,0),k(-20,-10),k(-30,0),k(-20,10),k(0,0)]};break;case"square":y.parallax.dummy=k(-10,-10),T.bezier={curviness:.5,values:[k(10,-10),k(10,10),k(-10,10),k(-10,-10)]};break;case"diamond":y.parallax.dummy=k(0,-10),T.bezier={curviness:.5,values:[k(10,0),k(0,10),k(-10,0),k(0,-10)]};break;case"triangle":y.parallax.dummy=k(0,10),T.bezier={curviness:.5,values:[k(-10,-10),k(10,-10),k(0,10)]};break;case"pentagon":y.parallax.dummy=k(0,10),T.bezier={curviness:.5,values:[k(-9.51,3.09),k(-5.88,-8.09),k(5.88,-8.09),k(9.51,3.09),k(0,10)]};break;case"horizontal":y.parallax.dummy=k(10*C,0),T.x=-10*C*ee.resize.ratio,b.x=10*C*ee.resize.ratio;break;case"vertical":y.parallax.dummy=k(0,-10*C),T.y=10*C*ee.resize.ratio,b.y=-10*C*ee.resize.ratio}T.onUpdateParams=["{self}",y.parallax.dummy,i[0],y.parallax.distance,y.parallax.level,y.parallax.type,y.parallax.rotation],m?(b.onUpdateParams=["{self}",y.parallax.dummy,i[0],y.parallax.distance,y.parallax.level,y.parallax.type,y.parallax.rotation],y.parallax._timeline.to(y.parallax.dummy,T.duration,T).to(y.parallax.dummy,b.duration,b)):T.bezier&&("backward"===y.parallax.direction&&((P=T.bezier.values).reverse(),P.push(P.shift())),y.parallax._timeline.to(y.parallax.dummy,y.parallax.pathDuration,T)),y.settings.timelineIsCalculated&&!y.is.static||(y.timeline.autoparallaxstart=ee.transitions.layers.timeline.getTiming(y,y.parallax.startAt,"autoparallaxstart"),y.timeline.autoparallaxend=y.timeline.autoparallaxstart+(-1===y.parallax.count?y.parallax.pathDuration:y.parallax._timeline.duration())),-1===y.parallax.count?M.addCallback(function(){y.parallax._timeline.play()},y.timeline.autoparallaxstart):(M.add(y.parallax._timeline,y.timeline.autoparallaxstart),y.parallax._timeline.play()),ee.transitions.layers.timeline.shouldRestart=!0}if(y.parallax.enabled&&"randomLocal"==y.parallax._event&&M.addCallback(function(){ee.transitions.layers.parallax.random.setTimer({layerData:y})},y.timeline[y.parallax.randomStartAt]),y.loop.enabled){ee.plugins.callFunctions("addLayersLoopStart",w),ee.timelines.to([y.timelines,"_loop",0,!0,!0,!0]),y.loop.maxIterations=1;var O=ae.extend({},y.loopLayerShouldBeConverted),P={transformOrigin:ee.functions.convert.transformOrigin(y.loopLayerShouldBeConverted.transformOrigin,g,y,g.data(ee.defaults.init.dataKey).elements.$outerStyleWrapper),looptransformPerspective:y.transformPerspective.loop*y.settings.calculatedratio},I=!0,L=!0;delete O.filter,y.loop.timings={},y.timelines._loop=new te.TimelineMax({paused:!0,smoothChildTiming:!0,onComplete:function(){-1===y.loop.count&&(this.lsRepeats++,this.pause(),-1===y.loop.count&&(this.clear(),this.time(0,!0)),y.loop.yoyo&&(this.yoyoreverse=!0),_(this,!0))}}),y.timelines._loop.lsRepeats=0,y.timelines._loop.lsWrapper=y.elements.$loopWrapper[0];var _=function(e,t){for(var i,a=new te.TimelineMax({paused:!0}),s=ee.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.repeatDelay,"repeatDelay","loop",g,y)/1e3,r=ee.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.yoyoDelay,"yoyoDelay","loop",g,y)/1e3,o=0;o<y.loop.maxIterations;o++){i=a.duration(),function(e,t){var i,a={};if(y.loop.timings.tweenDelay=ee.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.tweenDelay,"tweenDelay","loop",g,y)/1e3,y.loop.timings.duration=ee.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.duration,"duration","loop",g,y)/1e3,t||e.yoyoreverse)e.yoyoreverse=!1,y.loopFrom=ae.extend(!0,{},y.loopInitial);else for(var s in y.loopToCSS)y.loopFrom.css[s]=y.loopToCSS[s];for(i in O)if(O.hasOwnProperty(i)){var r,o=O[i],n=/^[+\-*/]=\s*-?\d+(\.\d+)?(lw|lh|sw|sh|px|%)?$/.test(o),l=-1!==o.indexOf(ee.defaults.init.staggerSplitChar)&&(o+"").charAt(0)!==ee.defaults.init.openingBracket,d=/random/.test(o)||(o+"").charAt(0)===ee.defaults.init.openingBracket;if(l&&(r=o.split(ee.defaults.init.staggerSplitChar),y.loop.maxIterations=Math.max(r.length,y.loop.maxIterations)),n){var c,n=o.split("="),o=ae.trim(n[0]),p=ee.functions.convert.randomProperties(ae.trim(n[1]),i,"loop",g,y),u=y.loopFrom.css[i];switch(o){case"+":c=u+p;break;case"-":c=u-p;break;case"*":c=u*p;break;case"/":c=u/p}y.loopToCSS[i]=c}else d||l?y.loopToCSS[i]=ee.functions.convert.randomProperties(O[i],i,"loop",g,y):(y.loopToCSS[i]=O[i],"x"!==i&&"y"!==i||(a[i]=y.loopToCSS[i]))}ae.isEmptyObject(a)||ee.resize.transformProperties(g,y,y.loopToCSS,a,null,null,"loop")}(e,!y.loop.resume||!i&&!e.duration()&&0===e.lsRepeats);var n=ae.extend(!0,{},y.loopFrom),l=ae.extend(!0,{},y.loopTo),d=-n.css.x+"px",c=-n.css.y+"px",p=-l.css.x+"px",u=-l.css.y+"px",m=y.loop.timings.duration,h=y.loop.timings.tweenDelay;ee.plugins.callFunctions("addLayersLoopBeforeFilter",w),L&&!ae.isEmptyObject(y.filter.values.loop)&&(y.filter.transitions.loop||(y.filter.transitions.loop=ee.transitions.layers.filters.createTransition(y,"loop",ae.isEmptyObject(y.filter.values.afterIn)?y.filter.values.style:y.filter.values.afterIn,y.filter.values.loop)),a.to([{p:0},f],m,{p:1,autoCSS:!1,immediateRender:!1,ease:y.loopTo.ease,onUpdate:ee.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.loop]},i)),a.fromTo(v[0],m,n,l,i),ee.plugins.callFunctions("addLayersLoopBeforeSmartBG",w),y.is.smartBG&&-1!==y.styleSettings.smartbg.indexOf("loop")&&a.fromTo(f,m,{immediateRender:!1,"--lx":d,"--ly":c},{ease:y.settings.smartbgease||y.loopTo.ease,"--lx":p,"--ly":u},i),ee.plugins.callFunctions("addLayersLoopBeforeClip",w),y.loopClipToCSS.clipPath&&(y.loopClipToCSS.clipPath=ee.functions.convert.clipProperties(y.loopClipToCSS.clipPath,y,g),!L&&-1===["polygon(100% 0%,100% 100%,0% 100%,0% 0%)","polygon(0% 100%, 0% 0%, 100% 0%, 100% 100%)"].indexOf(y.loopClipToCSS.clipPath)||a.set(v[0],y.loopClipFrom,i),a.to(v[0],m,y.loopClipTo,i)),o<y.loop.maxIterations-1&&a.to({immediateRender:!1},h,{}),L=!1}ee.plugins.callFunctions("addLayersLoopBeforeTL",w),I||e.to({immediateRender:!1},s,{}),e.add(ee.gsap.TweenMax.fromTo(a,a.duration(),{progress:0},{progress:1,ease:ee.gsap.Linear.easeNone,immediateRender:!1})),y.loop.yoyo&&(e.to({immediateRender:!1},Math.max(0,s+r),{}),e.add(ee.gsap.TweenMax.fromTo(a,a.duration(),{progress:1},{progress:0,ease:ee.gsap.Linear.easeNone,immediateRender:!1}))),t&&e.play(),I=!1};if(-1===y.loop.count&&(y.timelines._loop.clear(),y.timelines._loop.time(0,!0)),y.timelines._loop.set(v[0],P,0),_(y.timelines._loop),1<y.loop.count)for(;y.timelines._loop.lsRepeats<y.loop.count-1;)y.timelines._loop.lsRepeats++,y.loop.yoyo&&(y.timelines._loop.yoyoreverse=!0),_(y.timelines._loop,!0);y.settings.timelineIsCalculated&&!y.is.static||(y.timeline.loopstart=ee.transitions.layers.timeline.getTiming(y,y.loop.startAt,"loopstart"),y.timeline.loopend=y.timeline.loopstart+y.timelines._loop.duration()),ee.plugins.callFunctions("addLayersLoopBeforeTLInf",w),-1!==y.loop.count&&("looplayers"===ee.o.pauseOnHover||ee.gui.timers.slidebar.$element||ee.o.playByScroll)?(r.add(y.timelines._loop,y.timeline.loopstart),y.timelines._loop.play()):r.addCallback(function(){y.timelines._loop.play()},y.timeline.loopstart)}ee.plugins.callFunctions("addLayersLoopBeforeStatic",w),y.is.static&&(y.timeline.staticfrom=y.timeline.transitioninend,y.timeline.staticto="100%",y.settings.timelineIsCalculated||(a=Math.max(y.timeline.allinandloopend(),0),ee.transitions.layers.timeline.totalDuration=Math.max(ee.transitions.layers.timeline.totalDuration,a))),ee.plugins.callFunctions("addLayersLoopAfter",w),y.is.lottie&&y.lottie.isReady&&(r=y.lottie.options.startAt,o=y.lottie.options.delay/1e3||0,o=(r?y.timeline[r]:0)+o,"autoplay"===y.lottie.options.trigger?s.addCallback(function(){y.lottie.player.unfreeze(),y.lottie.player.play()},o):"scroll"===y.lottie.options.trigger&&(y.lottie.startTime+=o,y.lottie.endTime+=o,y.lottie.startTime=parseFloat(y.lottie.startTime.toFixed(3)),y.lottie.endTime=parseFloat(y.lottie.endTime.toFixed(3))))}y.is.textLayer&&y.textOut.enabled&&("out"===$&&-1<y.textOut.startAt.indexOf("slidechangeonly")||"in"===$&&-1===y.textOut.startAt.indexOf("slidechangeonly"))&&(-1!==y.textOut.startAt.indexOf("slidechangeonly")&&y.settings.slideOut===ee.slides[D].index?(y.timelines._forceTextOut=new te.TimelineMax,y.timelines._forceTextOutMirror=new te.TimelineMax):-1===y.textOut.startAt.indexOf("slidechangeonly")&&(y.timelines._textOut=new te.TimelineMax),s=y.clip.enabled&&!y.loopClipToCSS.clipPath&&y.clip.style.css.clipPath==y.clip.default.css.clipPath,ee.plugins.callFunctions("addLayersTextOutStart",w),o=ee.transitions.layers.splitType.setNodesSequence(y.textOut.type.split("_"),y.textOut.ns),y.textOut.nodes=o[0],ee.resize.transformProperties(g,y,y.textOutNodesTo,y.textOutShouldBeConverted,y.textOutNodesFrom,y.textOut.nodes,"textout"),y.textOutNodesTo.clipPath&&(y.textOutNodesTo.clipPath=ee.functions.convert.clipProperties(y.textOutNodesTo.clipPath,y,g),y.textOutNodesFrom.clipPath=y.clip.default.css.clipPath),y.textOut.mirror?(y.textOut.nodesMirror=o[1],ee.resize.mirrorTransitionProperties({transitionProperties:x,transitionPropertiesShouldBeConverted:S,transitionType:"text",mirrorProperties:y.textOut.mirror}),ee.resize.transformProperties(g,y,x,S,y.textOutNodesFrom,y.textOut.nodes,"textoutmirror")):y.textOut.nodesMirror=o[0],y.textOutNodesFrom.transformPerspective=y.transformPerspective.text*y.settings.calculatedratio,ae.isEmptyObject(y.textOutShouldBeConverted.random)||ee.transitions.layers.splitType.setRandomProperties(g,y,y.textOutShouldBeConverted.random,y.textOutNodesTo,"Out"),ae.isEmptyObject(y.textOutNodesTo.random)||ee.transitions.layers.splitType.setRandomProperties(g,y,y.textOutNodesTo.random,y.textOutNodesTo,"Out"),delete y.textOutNodesTo.random,y.textOut.mirror&&(ae.isEmptyObject(S.random)||ee.transitions.layers.splitType.setRandomProperties(g,y,S.random,x,"Out"),ae.isEmptyObject(x.random)||ee.transitions.layers.splitType.setRandomProperties(g,y,x.random,x,"Out"),delete x.random),y.settings.timelineIsCalculated||(y.timeline.textoutstart=ee.transitions.layers.timeline.getTiming(y,y.textOut.startAt,"textoutstart"),y.timeline.textoutend=y.timeline.textoutstart+(y.textOut.nodes.length-1)*y.textOut.shiftNodes+y.textOut.duration),ee.plugins.callFunctions("addLayersTextOutBeforeStyles",w),y.textOutNodesTo.color&&(y.textOutNodesFrom.color=y.original.color),o=function(){ee.layers.set.dataAttribute("add",g,"text-animating-out"),-1===y.textOut.startAt.indexOf("slidechangeonly")&&ee.layers.set.dataAttribute("add",g,"active"),ee.plugins.callFunctions("layerTextOutStart",{$layer:g,layerData:y})},S=function(){ee.layers.set.dataAttribute("remove",g,"text-animating-out"),-1===y.textOut.startAt.indexOf("slidechangeonly")||y.out.enabled||ee.layers.set.dataAttribute("add",g,"hidden"),ee.plugins.callFunctions("layerTextOutComplete",{$layer:g,layerData:y})},ee.plugins.callFunctions("addLayersTextOutBeforeTL",w),-1!==y.textOut.startAt.indexOf("slidechangeonly")&&y.settings.slideOut===ee.slides[D].index?(y.timelines._forceTextOut.addCallback(o,0),y.timelines._forceTextOutMirror.addCallback(o,0),y.timelines._forceTextOut.set(f,y.textOut.layerStyle,0),y.timelines._forceTextOutMirror.set(f,y.textOut.layerStyle,0),s&&(y.timelines._forceTextOut.fromTo(t[0],0,y.clip.style,y.clip.none,0),y.timelines._forceTextOutMirror.fromTo(t[0],0,y.clip.style,y.clip.none,0)),y.timelines._forceTextOut.staggerFromTo(y.textOut.nodes,y.textOut.duration,y.textOutNodesFrom,y.textOutNodesTo,y.textOut.shiftNodes,0,S),y.timelines._forceTextOutMirror.staggerFromTo(y.textOut.nodesMirror,y.textOut.duration,y.textOutNodesFrom,x,y.textOut.shiftNodes,0,S),y.timelines._forceTextOut.to(e[0],0,y.reset.wrapperOnTimelineEnd,y.timelines._forceTextOut.duration()),y.timelines._forceTextOutMirror.to(e[0],0,y.reset.wrapperOnTimelineEnd,y.timelines._forceTextOutMirror.duration()),y.timelines._forceTextOut.timeScale(y.timelines._forceTextOut.duration()/ee.o.forceLayersOutDuration),y.timelines._forceTextOutMirror.timeScale(y.timelines._forceTextOutMirror.duration()/ee.o.forceLayersOutDuration),F.add(y.timelines._forceTextOut,0),W.add(y.timelines._forceTextOutMirror,0)):-1===y.textOut.startAt.indexOf("slidechangeonly")&&(x=Math.max(y.timeline.textoutstart,y.timeline.textinend),y.timelines._textOut.addCallback(o,0),y.timelines._textOut.set(f,y.textOut.layerStyle,0),s&&y.timelines._textOut.fromTo(t[0],0,y.clip.style,y.clip.none,0),y.timelines._textOut.staggerFromTo(y.textOut.nodes,y.textOut.duration,y.textOutNodesFrom,y.textOutNodesTo,y.textOut.shiftNodes,0,S),y.is.static||(F.to(e[0],0,y.reset.wrapperOnTimelineEnd,ee.o.forceLayersOutDuration),W.to(e[0],0,y.reset.wrapperOnTimelineEnd,ee.o.forceLayersOutDuration)),M.add(y.timelines._textOut,x)),-1===y.textOut.startAt.indexOf("slidechangeonly")&&(a=Math.max(a,y.timeline.textoutandloopend())),ee.transitions.layers.timeline.totalDuration=Math.max(ee.transitions.layers.timeline.totalDuration,a),ee.plugins.callFunctions("addLayersTextOutAfter",w)),y.out.enabled&&("out"===$||"in"===$&&y.is.static&&"slidechangeonly"!==y.out.startAt)&&("slidechangeonly"===y.out.startAt||g.is("[data-ls-animating-out]")||(y.timelines._out=new te.TimelineMax),y.timelines._forceOut=new te.TimelineMax,y.timelines._forceOutMirror=new te.TimelineMax,ee.plugins.callFunctions("addLayersOutStart",w),ee.resize.performTransformOperations(y.inLayerToCSS,y.outLayerToCSS),ee.resize.transformProperties(g,y,y.outLayerToCSS,y.outLayerShouldBeConverted,y.outLayerFromCSS,null,"out"),ee.resize.styleProperties(g,y,y.outLayerStyleFromCSS,y.outLayerStyleShouldBeConvertedFrom),ee.resize.styleProperties(g,y,y.outLayerStyleToCSS,y.outLayerStyleShouldBeConvertedTo),y.outLayerFromCSS.transformPerspective=y.transformPerspective.layer*y.settings.calculatedratio,y.out.mirror&&(ee.resize.performTransformOperations(y.inLayerToCSS,p),ee.resize.mirrorTransitionProperties({transitionProperties:p,transitionPropertiesShouldBeConverted:u,transitionType:"normal",mirrorProperties:y.out.mirror}),ee.resize.transformProperties(g,y,p,u,y.outLayerFromCSS,null,"outmirror")),ee.plugins.callFunctions("addLayersOutBeforeSmartBG",w),y.is.smartBG&&-1!==y.styleSettings.smartbg.indexOf("out")&&(y.outLayerStyleFrom.css["--x"]=parseInt(y.responsive["--x"])+"px",y.outLayerStyleTo.css["--x"]=parseInt(y.responsive["--x"])-y.outLayerToCSS.x+"px",y.outLayerStyleFrom.css["--y"]=parseInt(y.responsive["--y"])+"px",y.outLayerStyleTo.css["--y"]=parseInt(y.responsive["--y"])-y.outLayerToCSS.y+"px"),ee.plugins.callFunctions("addLayersOutBeforeFilter",w),ae.isEmptyObject(y.filter.values.out)||y.filter.transitions.out||(y.filter.transitions.out=ee.transitions.layers.filters.createTransition(y,"out",ae.isEmptyObject(y.filter.values.afterLoop)?ae.isEmptyObject(y.filter.values.afterIn)?y.filter.values.style:y.filter.values.afterIn:y.filter.values.afterLoop,y.filter.values.out)),ee.plugins.callFunctions("addLayersOutBeforeClip",w),y.clip.enabled&&!y.outClipToCSS.clipPath&&y.clip.style.css.clipPath!==y.clip.default.css.clipPath&&(y.outClipToCSS.clipPath=y.clip.default.css.clipPath),y.outClipToCSS.clipPath&&(y.outClipToCSS.clipPath=ee.functions.convert.clipProperties(y.outClipToCSS.clipPath,y,g)),ee.plugins.callFunctions("addLayersOutBeforeTL",w),"slidechangeonly"===y.out.startAt||g.is("[data-ls-animating-out]")?(y.timeline.staticfrom=0,y.timeline.staticto="100%"):(y.settings.timelineIsCalculated||(y.timeline.transitionoutstart=Math.max(ee.transitions.layers.timeline.getTiming(y,y.out.startAt,"transitionoutstart"),y.timeline.transitioninend),y.timeline.transitionoutend=y.timeline.transitionoutstart+y.out.duration),y.outClipToCSS.clipPath&&y.timelines._out.to(t[0],y.out.duration,y.outClipTo,0),ae.isEmptyObject(y.filter.values.out)||y.timelines._out.to([{p:0},f],y.out.duration,{p:1,autoCSS:!1,ease:y.outLayerTo.ease,onUpdate:ee.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.out]},0),y.outLayerStyleTo.onComplete=function(){y.is.mediaLayer&&y.mediaProperties.$media[0].hasAttribute("data-ls-playing")&&ee.media.functions.stopSingleMedia(g,y)},y.timelines._out.fromTo(e[0],y.out.duration,y.outLayerFrom,y.outLayerTo,0),y.timelines._out.fromTo(f,y.out.duration,y.outLayerStyleFrom,y.outLayerStyleTo,0),ee.slider.isScrollScene||y.timelines._out.fromTo(e[0],0,y.init.wrapper,y.reset.wrapperOnTimelineEnd,y.out.duration),y.timelines._out.addCallback(function(){y.should.reset=!0}),M.add(y.timelines._out,y.timeline.transitionoutstart)),ee.plugins.callFunctions("addLayersOutBeforeTLForced",w),y.settings.slideOut===ee.slides[D].index&&(u=Math.min(ee.o.forceLayersOutDuration,y.out.duration),y.out.duration==y.out.defaultDuration&&(u=ee.o.forceLayersOutDuration),y.timelines._forceOut.fromTo(e[0],u,y.outLayerFrom,y.outLayerTo,0),y.timelines._forceOut.fromTo(f,u,y.outLayerStyleFrom,y.outLayerStyleTo,0),y.timelines._forceOutMirror.fromTo(e[0],u,y.outLayerFrom,y.out.mirror?c:y.outLayerTo,0),y.timelines._forceOutMirror.fromTo(f,u,y.outLayerStyleFrom,y.outLayerStyleTo,0),y.outClipToCSS.clipPath&&(y.timelines._forceOut.to(t[0],u,y.outClipTo,0),y.timelines._forceOutMirror.to(t[0],u,y.outClipTo,0)),ae.isEmptyObject(y.filter.values.out)||(y.timelines._forceOut.to([{p:0},f],u,{p:1,autoCSS:!1,ease:y.outLayerTo.ease,onUpdate:ee.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.out]},0),y.timelines._forceOutMirror.to([{p:0},f],u,{p:1,autoCSS:!1,ease:y.outLayerTo.ease,onUpdate:ee.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.out]},0)),F.add(y.timelines._forceOut,0),W.add(y.timelines._forceOutMirror,0)),a=Math.max(y.timeline.alloutandloopend(),0),ee.transitions.layers.timeline.totalDuration=Math.max(ee.transitions.layers.timeline.totalDuration,a),y.settings.timelineIsCalculated=!0,ee.plugins.callFunctions("addLayersOutAfter",w))}ee.plugins.callFunctions("addLayersAfter",w)})},play:function(){ee.timelines._layers&&(ee.timelines._layers.play(),ee.functions.setStates(this,{started:!0,running:!0,stopped:!1,paused:!1}))},pause:function(e){e=ae.isNumeric(e)?e:.75;ee.timelines._layers&&(te.TweenMax.to(ee.timelines._layers,e,{timeScale:0,onComplete:function(e){e.pause()},onCompleteParams:[ee.timelines._layers]}),ee.functions.setStates(this,{paused:!0,stopped:!1}))},resume:function(){ee.timelines._layers&&(this.state.paused&&ee.timelines._layers.play(),te.TweenMax.to(ee.timelines._layers,.75,{timeScale:1}),ee.functions.setStates(this,{paused:!1,stopped:!1}))},reverse:function(){ee.timelines._layers&&ee.timelines._layers.reverse()},scrollForward:function(e){e||(this.play(),this.modifyTimeScale()),ee.timelines._layers&&(ee.slider.isBusy()||0!==ee.timelines._layers.totalDuration()&&1!==ee.timelines._layers.progress()||"down"!==ee.device.scroll.direction||(ee.slideshow.direction="next",(e=ee.slideshow.sequence.normalized).indexOf(ee.slides.current.index)===e.length-1?(ee.slider.positionToViewport="under",ee.device.scroll.enable(),ee.slideshow.direction="prev"):ee.navigation.next()))},scrollBackwards:function(e,t){e&&!t||(this.reverse(),this.modifyTimeScale()),ee.timelines._layers&&(ee.slider.isBusy()||0!==ee.timelines._layers.totalDuration()&&0!==ee.timelines._layers.progress()||"up"!==ee.device.scroll.direction||(ee.slideshow.direction="prev",0===ee.slideshow.sequence.normalized.indexOf(ee.slides.current.index)?(ee.slider.positionToViewport="over",ee.device.scroll.enable(),ee.slideshow.direction="next"):ee.navigation.prev()))},modifyTimeScale:function(){ee.timelines._layers&&te.TweenMax.to(ee.timelines._layers,.25,{timeScale:1+this.timeScaleModifier})},resetStates:function(){this.state={started:!1,running:!1,paused:!1,stopped:!1,finished:!1}}},hover:{enable:function(e){e.attr("data-ls-canhover","1")},disable:function(e){e.attr("data-ls-canhover","0")},set:function(e,t){t.elements.$wrapper.on("mouseenter."+$,function(){ee.transitions.layers.hover.mouseEnter(e,t)}),t.elements.$wrapper.on("mouseleave."+$,function(){ee.transitions.layers.hover.mouseLeave(e,t)}),t.elements.$wrapper.on("mousemove."+$,function(){ee.transitions.layers.hover.mouseMove(e,t)})},createTimeline:function(e,t){var i,a,s;t.hover._timeline=new te.TimelineMax({paused:!0,onReverseComplete:function(e,t){t.hover._timeline._reversed&&(t.hover._timeline.stop().clear(),delete t.hover._timeline)},onReverseCompleteParams:[e,t]}),ee.resize.transformProperties(e,t,t.hoverToCSS,t.hoverShouldBeConverted,t.hoverFromCSS,null,"hover"),ee.resize.styleProperties(e,t,t.hoverToCSS,t.hoverShouldBeConverted),t.hoverFromCSS.transformPerspective=t.transformPerspective.hover*t.settings.calculatedratio,t.hover._tween=te.TweenMax.fromTo(e[0],t.hover.durationIn,t.hoverFrom,t.hoverTo),t.hover._timeline.add(t.hover._tween,0),e.next().is(".ls-layer-link")?(i=e.next(),a=ae.extend(!0,{},t.hoverFrom,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),s=ae.extend(!0,{},t.hoverTo,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),t.hover._linkTween=te.TweenMax.fromTo(i[0],t.hover.durationIn,a,s),t.hover._timeline.add(t.hover._linkTween,0)):t.hover._linkTween=null,t.hover.alwaysOnTop&&(s={zIndex:9999},ee.browser.isSafari&&(s.transform="translateZ(999999px)"),t.hover._timeline.to(t.elements.$outerWrapper[0],t.hover.durationIn,{autoCSS:!1,css:s},0)),t.hover.reverseTimeScale=t.hover.durationIn/t.hover.durationOut==1?1:t.hover.durationIn/t.hover.durationOut,this.hoverIn(e,t)},mouseEnter:function(e,t){"1"===e.attr("data-ls-canhover")&&(e.attr("data-ls-hovered",1),t.elements.$wrapper.off("mousemove."+$),t.hover._timeline?(t.hover._timeline.play().stop().progress(0),this.hoverIn(e,t)):this.createTimeline(e,t))},mouseLeave:function(e,t){t.hover._timeline&&(t.hover._timeline.stop().progress(1),this.hoverOut(e,t)),e.removeAttr("data-ls-hovered")},mouseMove:function(e,t){e.attr("data-ls-hovered")||this.mouseEnter(e,t)},hoverIn:function(e,t){t.hover._tween.updateTo({ease:t.hover.easeIn}),t.hover._linkTween&&t.hover._linkTween.updateTo({ease:t.hover.easeIn}),t.hover._timeline.play().timeScale(1)},hoverOut:function(e,t){t.hover._tween.updateTo({ease:t.hover.easeOut}),t.hover._linkTween&&t.hover._linkTween.updateTo({ease:t.hover.easeOut}),t.hover._timeline.reverse().timeScale(t.hover.reverseTimeScale)}},parallax:{defaults:{scrollModifier:5,centerLayers:"center",centerDegree:40,sensitive:10},state:{enabled:!1,ready:!1},wrappers:{cursor:{$2d:ae(),$3d:ae()},scroll:{$2d:ae(),$3d:ae()},auto:{$2d:ae(),$3d:ae()},randomGlobal:{},randomLocal:{}},globalSlideParallaxData:{},init:function(){var t=this;_.on("mouseenter."+$,function(){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.calculateTransformProperties()}),_.on("mousemove."+$,function(e){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.mouseMove(e)}),_.on("mouseleave."+$,function(){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.reset()}),M.on("scroll.parallax"+$+" touchmove.parallax"+$,function(){(t.wrappers.scroll.$2d.length||t.wrappers.scroll.$3d.length)&&(t.state.paused||t.scroll())}),M.on("resize.parallax"+$,function(){(t.wrappers.auto.$2d.length||t.wrappers.auto.$3d.length||t.wrappers.scroll.$2d.length||t.wrappers.scroll.$3d.length||t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.calculateTransformProperties()}),t.defaults.scrollModifier*=ee.o.parallaxScrollReverse?-1:1},addLayer:function(e,t,i,a){switch(this.state.enabled||(ee.functions.setStates(this,{enabled:!0}),this.init()),i.styleSettings.smartbg&&-1!==i.styleSettings.smartbg.indexOf("parallax")&&(t.smartBG=!0,i.settings.smartbgease&&(t.smartbgease=i.settings.smartbgease)),ae.extend(!0,t,ee.slides[a].parallax,i.parallax),i.transformPerspective.parallax?t.transformPerspective=i.transformPerspective.parallax:i.transformPerspective.parallax=t.transformPerspective,"random"===t.event&&(t.ease=ee.functions.convert.easing(t.ease),t.type!==ee.slides[a].parallax.type||t.randomX!==ee.slides[a].parallax.randomX||t.randomY!==ee.slides[a].parallax.randomY||t.randomDuration!==ee.slides[a].parallax.randomDuration||t.randomCount!==ee.slides[a].parallax.randomCount||t.randomStartAt!==ee.slides[a].parallax.randomStartAt||t.randomWait!==ee.slides[a].parallax.randomWait||t.distance!==ee.slides[a].parallax.distance||t.rotation!==ee.slides[a].parallax.rotation||i.settings.skipViewport?t._event="randomLocal":t._event="randomGlobal"),(i.parallax=t).axis){case"none":t.x=!1,t.y=!1;break;case"x":t.y=!1;break;case"y":t.x=!1}t.smartBG&&te.TweenMax.set(e[0],{"--rx":"0px","--ry":"0px"}),"random"===t.event?(this.wrappers[t._event][a]||(this.wrappers[t._event][a]={$2d:ae(),$3d:ae()}),-1!==t._event.indexOf("randomLocal")&&(i.parallax.randomUID=ee.functions.getUID(12)),this.wrappers[t._event][a]["$"+t.type]=this.wrappers[t._event][a]["$"+t.type].add(e)):this.wrappers[t.event]["$"+t.type]=this.wrappers[t.event]["$"+t.type].add(e)},random:{setTimer:function(e={}){e.layerData?(e.$wrappers=e.$wrappers||e.layerData.elements.$parallaxWrapper,e.parallaxData=e.parallaxData||e.layerData.parallax,e.timeout=e.timeout||"rp-local-"+e.parallaxData.randomUID,e.eventName=e.eventName||"randomLocal"):(e.$wrappers=ee.transitions.layers.parallax.wrappers.randomGlobal[e.slideIndex].$2d.add(ee.transitions.layers.parallax.wrappers.randomGlobal[e.slideIndex].$3d),e.parallaxData=ee.transitions.layers.parallax.globalSlideParallaxData[e.slideIndex]=e.parallaxData||e.globalSlideParallaxData||ee.transitions.layers.parallax.globalSlideParallaxData[e.slideIndex],e.timeout=e.timeout||"rp-global-"+e.slideIndex,e.eventName=e.eventName||"randomGlobal"),e.$layer=e.$layer||e.$wrappers.first().find(".ls-layer, .ls-l").first(),e.layerData=e.layerData||e.$layer.data(ee.defaults.init.dataKey),e.x=ee.functions.convert.randomProperties(e.parallaxData.randomX,"x","parallax",e.$layer,e.layerData),e.y=ee.functions.convert.randomProperties(e.parallaxData.randomY,"y","parallax",e.$layer,e.layerData),e.duration=e.parallaxData.randomDuration,ae.isNumeric(e.duration)||(e.duration=ee.functions.convert.randomProperties(e.duration,"duration")/1e3),e.wait=e.parallaxData.randomWait,ae.isNumeric(e.wait)||(e.wait=ee.functions.convert.randomProperties(e.wait,"delay")/1e3),ee.transitions.layers.parallax.mouseMove(!1,{x:e.x,y:e.y,eventName:e.eventName,slideIndex:e.slideIndex||null,$wrappers:e.$wrappers,timeout:e.timeout,duration:e.duration,type:e.parallaxData.type}),ee.timeouts[e.timeout]=setTimeout(function(){ee.transitions.layers.parallax.random.setTimer(e)},1e3*(e.duration+e.wait))}},calculateTransformProperties:function(){var e,a;(e=this.wrappers,a=ae(),function e(t){for(var i in t)t.hasOwnProperty(i)&&(t[i]&&t[i].jquery?a=a.add(t[i]):"object"==typeof t[i]&&null!==t[i]&&e(t[i]))}(e),a).each(function(){var e=ae(this),t=e.data(ee.defaults.init.dataKey).parallax,i=e.find(".ls-layer"),a=i.data(ee.defaults.init.dataKey),i=ee.functions.convert.transformOrigin(t.transformOrigin,i.data(ee.defaults.init.dataKey).elements.$wrapper,a,e);t.parallaxCurrentOrigin=ee.functions.convert.parallaxOrigin(t.origin,e,t),te.TweenMax.set(e[0],{transformOrigin:i,transformPerspective:t.transformPerspective*a.settings.calculatedratio}),"cursor"===t.event&&t.durationEnter&&(t._enterParallax&&(t._enterParallax.kill(),t._enterParallax=null),t.enteringTime=a.parallax.durationEnter,t._enterParallax=te.TweenMax.to(t,t.durationEnter,{enteringTime:0,ease:te.Quart.easeOut,onUpdate:function(){t.enteringTime<=1e-6&&(t.enteringTime=0,this.pause().progress(1))},onComplete:function(){this.invalidate(),t._enterParallax=null}}))}),this.transformPropertiesCalculated=!0},trigger:function(){M.trigger("scroll.parallax"+$),M.trigger("touchmove.parallax"+$)},auto:function(){this.transformPropertiesCalculated||this.calculateTransformProperties()},scroll:function(){var e=(("top"===this.defaults.centerLayers?ie.scroll.top:ie.scroll.top+(ie.viewport.height-ee.slider.height)/2)-ee.slider.offset.top)*ee.resize.ratio*this.defaults.scrollModifier;ee.slider.state.inFullscreen&&(e=0),this.transformPropertiesCalculated||this.calculateTransformProperties();e={x:0,y:e,eventName:"scroll"};this.animate(e,"2d"),this.animate(e,"3d")},mouseMove:function(e,t={}){this.transformPropertiesCalculated||this.calculateTransformProperties();e={x:null!=t.x?t.x:e.pageX,y:null!=t.y?t.y:e.pageY,eventName:t.eventName||"cursor",slideIndex:t.slideIndex||null,$wrappers:t.$wrappers||!1,timeout:t.timeout||!1,duration:t.duration||null};t.type&&"2d"!==t.type||this.animate(e,"2d"),t.type&&"3d"!==t.type||this.animate(e,"3d")},animate:function(r={},o){var n=-1!==r.eventName.indexOf("random"),l="cursor"===r.eventName,e=this.wrappers[r.eventName]["$"+o];"randomGlobal"==r.eventName?e=this.wrappers[r.eventName][r.slideIndex]["$"+o]:"randomLocal"==r.eventName&&(e=r.$wrappers),e.each(function(){var e,t,i,a,s=ae(this);"active"===s.attr("data-ls-parallax")&&(e=s.data(ee.defaults.init.dataKey).parallax,t={},i=r.x,a=r.y,l&&(e.parallaxCurrentOrigin||(e.parallaxCurrentOrigin=ee.functions.convert.parallaxOrigin(e.parallaxOrigin,s,e)),i-=e.parallaxCurrentOrigin.x,a-=e.parallaxCurrentOrigin.y),n||e.x?(t.x=-i*(e.distance/2e3)*parseInt(e.level),"3d"===o&&(t.rotationY=-i/(4e3/e.rotation))):t.x=0,n||e.y?(t.y=-a*(e.distance/2e3)*parseInt(e.level),"3d"===o&&(t.rotationX=a/(4e3/e.rotation))):t.y=0,l&&(e.skewX&&(t.skewX=-i*(e.skewX/2e3)*parseInt(e.level)),e.skewY&&(t.skewY=-a*(e.skewY/2e3)*parseInt(e.level)),e.scaleX&&(t.scaleX=1+Math.abs(i)*(e.scaleX/4e3)*parseInt(e.level)),e.scaleY&&(t.scaleY=1+Math.abs(a)*(e.scaleY/4e3)*parseInt(e.level))),r.timeout&&(e._timeout=r.timeout),a=n?r.duration:Math.max(e.durationMove,e.enteringTime||0),t.ease=n?e.ease:te.Power1.easeOut,e.smartBG&&ee.transitions.layers.parallax.animateSmartBG(t.x,t.y,s,a,e.smartbgease||t.ease),te.TweenMax.to(s[0],a,t))})},animateSmartBG:function(e,t,i,a,s){te.TweenMax.to(i.find(".ls-layer, .ls-l").first()[0],a,{"--rx":-e+"px","--ry":-t+"px",ease:s})},reset:function(){ae().add(this.wrappers.cursor.$2d).add(this.wrappers.cursor.$3d).each(function(){var e=ae(this),t={x:0,y:0,skewX:0,skewY:0,scaleX:1,scaleY:1,rotationX:0,rotationY:0};e.find(".ls-layer[data-ls-hidden]").length&&!ee.slider.isScrollScene&&(te.TweenMax.set(e[0],t),ae(this).data(ee.defaults.init.dataKey).parallax.smartBG&&ee.transitions.layers.parallax.animateSmartBG(0,0,e,0)),e.find(".ls-layer[data-ls-parallax-reset]").length&&(te.TweenMax.to(e[0],ae(this).data(ee.defaults.init.dataKey).parallax.durationLeave,t),ae(this).data(ee.defaults.init.dataKey).parallax.smartBG&&ee.transitions.layers.parallax.animateSmartBG(0,0,e,ae(this).data(ee.defaults.init.dataKey).parallax.durationLeave))}),this.transformPropertiesCalculated=!1}},scroll:{defaultProperties:{shouldBeConverted:{transformOrigin:"50% 50% 0"},transformPerspective:500,duration:.5,ease:"easeOutQuart"},defaults:{centerLayers:"center"},state:{enabled:!1},$wrappers:ae(),init:function(){var e=this;M.on("scroll.scroll"+$+" touchmove.scroll"+$,function(){e.$wrappers.length&&e.scroll()}),M.on("resize.scroll"+$,function(){e.$wrappers.length&&e.calculateTransformProperties()})},addLayer:function(e,t,i,a){this.state.enabled||(ee.functions.setStates(this,{enabled:!0}),this.init()),ae.extend(!0,t,this.defaultProperties,i.scroll),i.transformPerspective.scroll?t.transformPerspective=i.transformPerspective.scroll:i.transformPerspective.scroll=t.transformPerspective,i.settings.skipViewport&&(t.skipViewport=!0),t.shouldBeConverted.transformOriginAlt||(t.shouldBeConverted.transformOriginAlt=t.shouldBeConverted.transformOrigin),t.ease=ee.functions.convert.easing(t.ease),t.easeRev=ee.functions.convert.easing(t.easeRev||t.ease),t.durationRev=t.durationRev||t.duration,i.scroll=t,this.$wrappers=this.$wrappers.add(e)},getCenter:function(e,t){var i="project";switch(((ee.slider.isScrollScene||ee.slider.isSticky)&&"scene"===t||"document"===t)&&(i=t),e){case"top":switch(i){case"scene":e=ee.slider.wrapperPosition.top-(ie.viewport.height-ee.slider.height)/2;break;case"document":default:e=ie.scroll.top}break;case"center":switch(i){case"scene":e=ee.slider.wrapperPosition.middleForScrollTransition;break;case"document":e=ie.scroll.top;break;default:e=ie.scroll.top+(ie.viewport.height-ee.slider.height)/2}break;case"bottom":switch(i){case"scene":e=ee.slider.wrapperPosition.top+ee.slider.wrapperOffset.height-ie.viewport.height+(ie.viewport.height-ee.slider.height)/2;break;case"document":e=ie.scroll.top;break;default:e=ie.scroll.top+ie.viewport.height-ee.slider.height}break;case"top-meets-viewport-bottom":e=ie.scroll.top+ie.viewport.height;break;case"top-meets-viewport-middle":e=ie.scroll.top+ie.viewport.height/2;break;case"bottom-meets-viewport-top":e=ie.scroll.top-ee.slider.height;break;case"bottom-meets-viewport-middle":e=ie.scroll.top+ie.viewport.height/2-ee.slider.height}return e},setCenter:function(e,t){return"project"!==e.getPosition||e.center&&this.defaults.centerLayers!==e.center?this.getCenter(e.center||this.defaults.centerLayers,e.getPosition):t},setY:function(e,t){return(ee.slider.isScrollScene||ee.slider.isSticky)&&"scene"===e.getPosition?-t:"document"===e.getPosition?t:ee.slider.state.inFullscreen?0:t-ee.slider.offset.top},scroll:function(o){var n,l;ee.slider.state.isNotDisplayed||ee.slider.state.isHidden||(l=(n=this).getCenter(this.defaults.centerLayers),this.transformPropertiesCalculated||this.calculateTransformProperties(),this.$wrappers.each(function(){var e,t,i,a=ae(this),s=a.find(".ls-scroll-transform"),r=a.data(ee.defaults.init.dataKey).scroll;(-1!==ee.slider.position.toViewportYForSkipViewportLayers.indexOf("inside")&&r.skipViewport||!n.state.paused)&&(i=n.setCenter(r,l),t={overwrite:"all",c:e=n.setY(r,i),ease:"down"===ie.scroll.direction?r.ease:r.easeRev,onUpdate:function(e,t){e=e.target.style.c<=0?"+":"-";r.layerPositionToCenter!==e&&n.setTransformProperties(ae(t),r,e),r.layerPositionToCenter=e},onUpdateParams:["{self}",this,r]},i={overwrite:"all",ease:"down"===ie.scroll.direction?r.ease:r.easeRev},r.x&&(i.x=n.calculateTransformations(-e*r.x/20,"x",r,-e)),r.y&&(i.y=n.calculateTransformations(-e*r.y/20,"y",r,-e)),r.rotation&&(i.rotation=n.calculateTransformations(e*r.rotation/40,"rotation",r,-e)),r.rotationX&&(i.rotationX=n.calculateTransformations(e*r.rotationX/40,"rotationX",r,-e)),r.rotationY&&(i.rotationY=n.calculateTransformations(e*r.rotationY/40,"rotationY",r,-e)),r.skewX&&(i.skewX=n.calculateTransformations(-e*r.skewX/40,"skewX",r,-e)),r.skewY&&(i.skewY=n.calculateTransformations(-e*r.skewY/40,"skewY",r,-e)),r.scaleX&&(i.scaleX=n.calculateTransformations(1-e*r.scaleX/-4e3,"scaleX",r,e)),r.scaleY&&(i.scaleY=n.calculateTransformations(1-e*r.scaleY/-4e3,"scaleY",r,e)),r.opacity&&(i.opacity=n.calculateTransformations(1-e*(r.opacityyoyo?Math.abs(r.opacity):r.opacity)/1e3,"opacity",r,e)),e="down"===ie.scroll.direction?r.duration:r.durationRev,o||0==e?(te.TweenMax.set(a[0],t),te.TweenMax.set(s[0],i)):(te.TweenMax.to(a[0],e,t),te.TweenMax.to(s[0],e,i)))}))},calculateTransformations:function(e,t,i,a){if(i[t+"yoyo"])switch(t){case"scaleX":case"scaleY":a<0&&(e=1-(e-1));break;case"opacity":a<1&&(e=1-(e-1));break;default:a<1&&(e=-e)}return"opacity"==t&&i.opacityinvert&&(e=1-e),void 0!==i[t+"min"]&&e<i[t+"min"]&&(e=i[t+"min"]),void 0!==i[t+"max"]&&e>i[t+"max"]&&(e=i[t+"max"]),("x"===t&&i.xresponsive||"y"===t&&i.yresponsive)&&(e*=ee.resize.ratio),e},calculateTransformProperties:function(){var a=this;this.$wrappers.each(function(){var e=ae(this),t=e.data(ee.defaults.init.dataKey).scroll,i=(e.find(".ls-layer").data(ee.defaults.init.dataKey),a.setCenter(t,a.getCenter(a.defaults.centerLayers))),i=a.setY(t,i)<=0?"+":"-";a.setTransformProperties(e,t,i)}),this.transformPropertiesCalculated=!0},setTransformProperties:function(e,t,i){var a=e.find(".ls-layer").data(ee.defaults.init.dataKey);te.TweenMax.set(e.find(".ls-scroll-transform")[0],{transformOrigin:ee.functions.convert.transformOrigin("+"===i?t.shouldBeConverted.transformOrigin:t.shouldBeConverted.transformOriginAlt,e,a,a.elements.$outerStyleWrapper),transformPerspective:t.transformPerspective*a.settings.calculatedratio})},trigger:function(){this.scroll(!0)},reset:function(){this.transformPropertiesCalculated=!1}},filters:{createTransition:function(e,t,i,a){var s,r=new ee.defaults.layer.properties.filter,o={};for(s in r)switch(t){case"in":o[s]=[r[s],r[s]],o[s][0]=(i.hasOwnProperty(s)?i:a.hasOwnProperty(s)?a:r)[s],o[s][1]=(a.hasOwnProperty(s)?a:r)[s],e.filter.values.afterIn[s]=o[s][1];break;case"hover":case"loop":case"out":o[s]=[],o[s][0]=(i.hasOwnProperty(s)?i:r)[s],o[s][1]=(a.hasOwnProperty(s)?a:i.hasOwnProperty(s)&&i[s]!==r[s]?i:r)[s],"loop"===t&&!0!==e.loop.yoyo&&-1!==e.loop.count&&(e.filter.values.afterLoop[s]=o[s][1]);break;case"bg":o[s]=[r[s],r[s]],i.hasOwnProperty(s)&&(o[s][0]=i[s]),a.hasOwnProperty(s)&&(o[s][1]=a[s])}return o},convert:function(e){for(var t,i,a={},s=/(blur|brightness|contrast|grayscale|hue-rotate|invert|saturate|sepia)/i,r=0,o=(e=e.split(" ")).length;r<o;r++)(t=(i=e[r].split("("))[0]).match(s)&&(i=parseInt(i[1]),a[t]=i);return a},animate:function(e,t){var i=100*e.target[0].p;if("object"==typeof t){var a,s="";for(a in t)if("object"==typeof t[a]&&2===t[a].length)switch(a){case"blur":s+=" blur("+(t[a][0]<t[a][1]?t[a][0]+Math.abs(t[a][0]-t[a][1])/100*i:t[a][0]-Math.abs(t[a][0]-t[a][1])/100*i)+"px)";break;case"hue-rotate":s+=" hue-rotate("+(t[a][0]<t[a][1]?t[a][0]+Math.abs(t[a][0]-t[a][1])/100*i:t[a][0]-Math.abs(t[a][0]-t[a][1])/100*i)+"deg)";break;default:s+=" "+a+"("+(t[a][0]<t[a][1]?t[a][0]+Math.abs(t[a][0]-t[a][1])/100*i:t[a][0]-Math.abs(t[a][0]-t[a][1])/100*i)+"%)"}te.TweenMax.set(e.target,{"-webkit-filter":s,filter:s})}}},splitType:{setNodesSequence:function(e,o){function t(e,t){if("desc"==t)e=o.slice(0).reverse();else if("rand"==t)e=o.slice(0).sort(function(){return.5-Math.random()});else if("center"==t){var i,a=Math.floor(o.length/2);for(e=[o[a]],i=1;i<=a;i++)e.push(o[a-i],o[a+i]);e.length=o.length}else if("edge"==t){var s,r=Math.floor(o.length/2);for(e=[o[0]],s=1;s<=r;s++)e.push(o[o.length-s],o[s]);e.length=o.length}return e||o}var i=t(o,e[1]),e={asc:"desc",desc:"asc"}[e[1]]||e[1];return[i,t(o,e)]},resetNodes:function(e,t){ae(".ls-ch, .ls-wd, .ls-ln",e).add(t.elements.$wrapper).css({transform:"none",opacity:1}).each(function(){delete this._gsTransform})},setRandomProperties:function(e,t,i,a,s){for(var r in i){for(var o=[],n=0,l=t["text"+s].nodes.length;n<l;n++)o[n]=ee.functions.convert.randomProperties(i[r],r,"text"+s.toLowerCase(),e,t);delete a[r],a.cycle[r]=o}i=null}}},media:{defaults:{delay:500,fadeIn:500,fadeOut:750},changeBackgroundVideo:function(e,t){var i,a,s,r;ee.slides.current.index&&ee.slides.current.data.$backgroundVideo.length&&(r=(i=ee.slides.current.data.$backgroundVideo).data(ee.defaults.init.dataKey).elements.$bgWrapper,t&&(i.data(ee.defaults.init.dataKey).mediaProperties.willBePaused=!0,r.fadeOut(ee.transitions.media.defaults.fadeOut,function(){i.trigger("stopBackgroundVideo"),i.data(ee.defaults.init.dataKey).mediaProperties.willBePaused=!1}))),ee.slides.next.data.$backgroundVideo.length&&(s=(a=ee.slides.next.data.$backgroundVideo).data(ee.defaults.init.dataKey).elements.$bgWrapper,r=a.data(ee.defaults.init.dataKey).elements.$bgOuterWrapper,ie.isMobile&&(_.hasClass("ls-device-is-phone")&&r.hasClass("ls-hide-on-phone")||_.hasClass("ls-device-is-tablet")&&r.hasClass("ls-hide-on-tablet"))||setTimeout(function(){a.trigger("playBackgroundVideo")},e?50:0),e||t?s.fadeIn(ee.transitions.media.defaults.fadeOut):s.css({display:"block"}),a.data(ee.defaults.init.dataKey).mediaProperties.isPreloaded=!0)}},timers:{defaults:{fadeInDuration:.35,reverseDuration:.3},create:function(e){this.curNext=e||"next",this.reset(),ee.gui.timers.bar.$element&&this.bar.createTransition(),ee.gui.timers.circle.$element&&this.circle.createTransition(),ee.gui.timers.slidebar.$element&&this.slidebar.createTransition()},reverse:function(){var e;ee.slides.current&&ee.slides.current.data&&ee.timelines._layers&&(e=ee.timelines._layers.progress(),e=ee.slides.current.data.duration*e/this.defaults.reverseDuration,ee.gui.timers.bar.$element&&this.bar._transition&&(ee.timelines._layers.remove(ee.transitions.timers.bar._transition),this.bar._transition.reverse().timeScale(e)),ee.gui.timers.circle.$element&&this.circle._transition&&(ee.timelines._layers.remove(ee.transitions.timers.circle._transition),this.circle._transition.reverse().timeScale(e)),ee.gui.timers.slidebar.$element&&this.slidebar._transition&&(ee.timelines._layers.remove(ee.transitions.timers.slidebar._transition),this.slidebar._transition.reverse().timeScale(e)))},reset:function(){ee.gui.timers.bar.$element&&this.bar._transition&&this.bar.reset(),ee.gui.timers.circle.$element&&this.circle._transition&&this.circle.reset(),ee.gui.timers.slidebar.$element&&this.slidebar._transition&&this.slidebar.reset()},bar:{reset:function(){this._transition&&(this._transition.kill(),this._transition=!1)},createTransition:function(){this._transition=te.TweenMax.fromTo(ee.gui.timers.bar.$element[0],ee.slides[ee.transitions.curNext].data.duration,{autoCSS:!1,paused:!0,css:{width:0}},{autoCSS:!1,css:{},ease:te.Linear.easeNone,onReverseComplete:function(){ee.transitions.timers.bar._transition=!1},onReverseCompleteParams:["{self}"],onComplete:function(e){e.target.style.width="100%",e.target.style.width="calc(100% - "+ee.slider.initial.skinWidth+"px)"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.width=Math.min(ee.slider.width,ee.slider.width*e.progress())+"px"},onUpdateParams:["{self}"]})}},circle:{reset:function(){this._transition&&(ee.gui.timers.circle.$element.stop(!0,!0),this._transition.kill(),this._transition=!1)},createTransition:function(){var e=ee.gui.timers.circle.$element.find(".ls-ct-right .ls-ct-rotate")[0],t=ee.gui.timers.circle.$element.find(".ls-ct-left .ls-ct-rotate")[0],i=ee.slides[ee.transitions.curNext].data.duration;this._transition=new te.TimelineMax({paused:!0}).fromTo(ee.gui.timers.circle.$element[0],ee.transitions.timers.defaults.fadeInDuration,{autoCSS:!1,immediateRender:!0,css:{opacity:0,display:"block"}},{autoCSS:!1,css:{opacity:ee.gui.timers.circle.$element.data("original").opacity}}).fromTo(e,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:te.Linear.easeNone},0).fromTo(t,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:te.Linear.easeNone},i/2)}},slidebar:{reset:function(){this._transition&&(this._transition.kill(),this._transition=!1)},createTransition:function(){var i=this;i._transition=new te.TimelineMax({paused:!0,onReverseComplete:function(){ee.transitions.timers.slidebar._transition=!1}}),ae.each(ee.gui.timers.slidebar.$sliderContainerElement,function(t,e){i._transition.add(te.TweenMax.fromTo(ee.gui.timers.slidebar.$sliderContainerElement[t][0],ee.slides[ee.transitions.curNext].data.duration,{autoCSS:!1,css:{left:0}},{autoCSS:!1,immediateRender:!1,css:{},ease:te.Linear.easeNone,onComplete:function(e){e.target.style.left="calc(100% - "+ee.gui.timers.slidebar.sliderContainerElementWidth[t]+"px)"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.left=(ee.gui.timers.slidebar.containerElementWidth[t]-ee.gui.timers.slidebar.sliderContainerElementWidth[t])*e.progress()+"px"},onUpdateParams:["{self}"]}),0),i._transition.add(te.TweenMax.fromTo(ee.gui.timers.slidebar.$progressBarElement[t][0],ee.slides[ee.transitions.curNext].data.duration,{autoCSS:!1,css:{width:0}},{autoCSS:!1,css:{},ease:te.Linear.easeNone,onComplete:function(e){e.target.style.width="100%"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.width=ee.gui.timers.slidebar.elementWidth[t]*e.progress()+"px"},onUpdateParams:["{self}"]}),0)})}}},scrollscene:{min:1e-6,animate:function(e){var t,i;ee.timelines._layers&&(i=ie.scroll.top-ee.slider.wrapperOffset.top+this.playFrom,e=e&&"start"===e?this.min:Math.max(this.min,ee.transitions.layers.timeline.totalDuration/ee.transitions.scrollscene.maxProgressInPixels*i),t=te.Sine.easeOut,i=this.initialized&&!this.immediateRender?ee.o.smoothScrollDuration/1e3:0,"outside"!==ee.slider.position.toViewport&&(this._tween=ee.timelines._layers.tweenTo(Math.min(e,ee.transitions.layers.timeline.totalDuration),{ease:t,onUpdate:function(){for(var e,t,i=ee.timelines._layers.time(),a=ee.transitions.lottie.layerDatas.length,s=0;s<a;s++)ee.transitions.lottie.layerDatas[s].isReady&&"scroll"===ee.transitions.lottie.layerDatas[s].options.trigger&&(i<=ee.transitions.lottie.layerDatas[s].startTime?(e="below",ee.transitions.lottie.layerDatas[s].posToViewport!==e&&(ee.transitions.lottie.players[s].stop(),ee.transitions.lottie.players[s].setFrame(ee.transitions.lottie.layerDatas[s].playFrom))):i>=ee.transitions.lottie.layerDatas[s].endTime?(e="above",ee.transitions.lottie.layerDatas[s].posToViewport!==e&&ee.transitions.lottie.players[s].setFrame(ee.transitions.lottie.layerDatas[s].playTo)):(e="inside",t=i-ee.transitions.lottie.layerDatas[s].startTime,t=ee.transitions.lottie.layerDatas[s].playFrom+t*ee.transitions.lottie.layerDatas[s].frameRate*ee.transitions.lottie.layerDatas[s].speed,ee.transitions.lottie.players[s].setFrame(t)),ee.transitions.lottie.layerDatas[s].posToViewport=e)}}).duration(i),this.initialized=!0,this.immediateRender=!1))}},lottie:{players:[],layerDatas:[],mirror:{left:"right",right:"left",top:"bottom",bottom:"top"},init:function(t,e){ee.slides[t.data("slideIndex")].lottie.count+=1,e.lottie={userOptions:JSON.parse(t.attr("data-ls-lottie"))};var i=this,a=e.lottie;t.html("<canvas></canvas>");e=t.find("canvas")[0];a.options=ae.extend(!0,{loop:!0,speed:1,mode:"forward",start:0,end:100,layout:{fit:"contain",align:[.5,.5]},trigger:"autoplay",triggerFrom:"auto",startAt:"transitioninstart"},a.userOptions,{autoplay:!1,canvas:e});var s=a.options;"scroll"!==s.trigger||ee.slider.isScrollScene||(s.trigger="autoplay"),a.player=new LS_DotLottie(s),a.player.addEventListener("loadError",function(e){console.error("Failed to load Lottie animation:",e.error),a.player.destroy(),ee.slides[t.data("slideIndex")].lottie.loaded+=1}),a.player.addEventListener("load",function(){return ee.slides[t.data("slideIndex")]&&ee.slides[t.data("slideIndex")].lottie?(ee.slides[t.data("slideIndex")].lottie.loaded+=1,a.playFrom=Math.max(Math.round(a.player.totalFrames*(s.start/100)),0),a.playTo=Math.min(Math.round(a.player.totalFrames*(s.end/100)),a.player.totalFrames),a.playTo<=a.playFrom&&(a.playTo=a.player.totalFrames),a.playTo=Math.round(a.playTo),a.player.setSegment(a.playFrom,a.playTo),a.player.setFrame(a.playFrom),a.frameRate=a.player.totalFrames/a.player.duration,a.speed=a.player.speed||1,a.frameCount=a.playTo-a.playFrom,a.actualDuration=a.frameCount/a.frameRate/a.speed||1,a.startTime=a.playFrom/a.frameRate/a.speed,a.duration=a.frameCount/a.frameRate/a.speed,a.endTime=a.startTime+a.duration,a.isReady=!0,a.player.setUseFrameInterpolation(!0),i.players.push(a.player),i.layerDatas.push(a),void("autoplay"!==s.trigger&&ee.transitions.lottie.setTrigger(t,a.player,a,s.trigger))):(a.player.destroy(),!1)})},setTrigger:function(e,r,o,t){var i=this;switch(t){case"toggleclick":case"click":e.on("click."+$,function(){r.isPlaying&&"click"!==t?r.pause():r.play()});break;case"togglehover":e.on("mouseleave."+$,function(){r.pause()});case"hover":e.on("mouseenter."+$,function(){r.play()});break;case"mousemove":e.on("mouseenter."+$,function(e){i.getSide("enter",e,this,o)}).on("mousemove."+$,function(e){o.enter||ae(this).trigger("mouseenter."+$,e);var t,i=this.getBoundingClientRect(),a=e.clientX-i.left,s=e.clientY-i.top,a=Math.max(0,Math.min(a,i.width)),s=Math.max(0,Math.min(s,i.height));switch(o.from){case"left":t=a/i.width;break;case"right":t=1-a/i.width;break;case"top":t=s/i.height;break;case"bottom":t=1-s/i.height}t=Math.max(0,Math.min(t,1));e=Math.round(o.playFrom+t*(o.playTo-o.playFrom));r.setFrame(e)}).on("mouseleave."+$,function(e){i.getSide("leave",e,this,o);e=o.enter;-1!==["left","right","top","bottom"].indexOf(o.options.triggerFrom)&&(e=o.options.triggerFrom),e===o.leave?r.setFrame(o.playFrom):o.leave===i.mirror[e]&&(e=o.playTo===Math.round(r.totalFrames)?r.totalFrames-1:o.playTo,r.setFrame(e)),delete o.enter,delete o.leave,delete o.from})}},getSide:function(e,t,i,a){var s=i.getBoundingClientRect(),i=t.clientX-s.left,t=t.clientY-s.top,r={left:i,right:s.width-i,top:t,bottom:s.height-t},t=a.options.triggerFrom,o=r.left;switch("leave"===e&&(t="auto"),t){case"left":case"right":case"horizontal":a[e]=r.left<=r.right?"left":"right";break;case"top":case"bottom":case"vertical":a[e]=r.top<=r.bottom?"top":"bottom";break;case"auto":a[e]="left",r.right<o&&(o=r.right,a[e]="right"),r.top<o&&(o=r.top,a[e]="top"),r.bottom<o&&(a[e]="bottom")}-1!==["horizontal","vertical","auto"].indexOf(a.options.triggerFrom)?a.from=a.enter:a.from=a.options.triggerFrom},destroyAll:function(e){for(var t=0;t<this.players.length;t++)this.players[t].destroy()}}},ee.plugins={load:function(){var e,a;ee.o.plugins&&0!==ee.o.plugins.length?(ee.o.plugins=ee.plugins.sortByPriority(ee.o.plugins),e=ee.o.plugins[0],a="object"==typeof e?e.namespace:e,window._layerSlider.plugins[a]?(ee.plugins.init(a,e,!0),ee.plugins.load()):ee.browser.usesFileProtocol||"object"!=typeof e?(ee.browser.usesFileProtocol?window.console&&(console.error(ee.defaults.slider.errorText,"Cannot load plugins on file:// protocol."),console.info("Please include the plugin files manually.")):window.console&&(console.error(ee.defaults.slider.errorText,"Plugin files are missing!"),console.info('Plugin "'+a+'" has been added in slider init options, but the source files are not found on page.')),ee.o.plugins.splice(0,1),ee.plugins.load()):-1===window._layerSlider.pluginsBeingLoaded.indexOf(a)?-1===window._layerSlider.pluginsLoaded.indexOf(a)&&-1===window._layerSlider.pluginsNotLoaded.indexOf(a)?(window._layerSlider.pluginsBeingLoaded.push(a),ae.ajax({url:-1===e.js.indexOf(LS_nsProtocol||"http://")&&-1===e.js.indexOf("https://")?(window._layerSlider.pluginsPath||window._layerSlider.scriptPath+"/../plugins/")+e.js:e.js,dataType:"script",success:function(){ee.plugins.init(e.namespace,e,!0),window._layerSlider.pluginsLoaded.push(a)},error:function(e,t,i){window.console&&(console.error(ee.defaults.slider.errorText,a,"plugin has not been loaded!"),console.error("Additional error info:",i)),window._layerSlider.pluginsNotLoaded.push(a)},complete:function(){window._layerSlider.pluginsBeingLoaded.splice(window._layerSlider.pluginsBeingLoaded.indexOf(a),1),ee.plugins.load()}})):(ee[a]||-1!==window._layerSlider.pluginsNotLoaded.indexOf(a)?ee.o.plugins.splice(0,1):ee.plugins.init(a,e),ee.plugins.load()):ee.plugins.checkLoaded(a)):ee.slider.check.initialized()},init:function(e,t,i){ee.initializedPlugins[e]=new window._layerSlider.plugins[e](ee,_,$,t.settings),window._layerSlider.checkVersions(ee.initializedPlugins[e].pluginData.requiredLSVersion,ee.plugin.version)?(t.css&&i&&ae('<link rel="stylesheet" href="'+(-1===t.css.indexOf(LS_nsProtocol||"http://")&&-1===t.css.indexOf("https://")?(window._layerSlider.pluginsPath||window._layerSlider.scriptPath+"/../plugins/")+t.css:t.css)+'">').appendTo("head"),ee.initializedPlugins[e].init&&ee.initializedPlugins[e].init()):window.console&&console.error(ee.defaults.slider.errorText,e,"plugin has not been loaded! Required LayerSlider version:",ee.initializedPlugins[e].pluginData.requiredLSVersion,"(you have:",ee.plugin.version+")"),ee.o.plugins.splice(0,1)},checkLoaded:function(e){ee.intervals.pluginLoaded=setInterval(function(){-1===window._layerSlider.pluginsLoaded.indexOf(e)&&-1===window._layerSlider.pluginsNotLoaded.indexOf(e)||-1!==window._layerSlider.pluginsBeingLoaded.indexOf(e)||(clearInterval(ee.intervals.pluginLoaded),delete ee.intervals.pluginLoaded,ee.plugins.load())},100)},events:{},addFunction:function(e,t,i){if(Array.isArray(e))for(var a=0;a<e.length;a++){var s=e[a];ee.plugins.events[s]||(ee.plugins.events[s]={}),ee.plugins.events[s][t]=i}else ee.plugins.events[e]||(ee.plugins.events[e]={}),ee.plugins.events[e][t]=i},callFunctions:function(e,t){for(var i in ee.plugins.events[e])ee.plugins.events[e][i](t)},getLayersByEffect:function(i){var a,s=ae();return ee.slider.get.effectLayers().each(function(e,t){for(var e in ae(t).data("ls-effects"))(a=ae(t)).data("ls-effects")[e].effect==i&&(a.data(i,a.data("ls-effects")[e]),s=s.add(t))}),s},sortByPriority:function(e){return e.sort(function(e,t){e=_layerSliderEffectsPriority.indexOf(e),t=_layerSliderEffectsPriority.indexOf(t);return-1===e&&-1===t?0:-1===e?1:-1===t?-1:e-t})}},ee.performance={},ee.slider={shouldResize:!0,thumbnails:[],state:{isHidden:!1,isPaused:!1,preloadingImages:!1,readyForStart:!1,changingSlides:!1,animatingSlides:!1},offset:{},position:{},isBusy:function(){return this.state.preloadingImages||this.state.changingSlides||this.state.animatingSlides},load:function(){if(!document.body.contains(L))return!1;ee.api.hasEvent("sliderWillLoad")&&ee.api.triggerEvent("sliderWillLoad"),ee.slider.set.global()},set:{global:function(){var e;ee.originalMarkup=_[0].outerHTML,ee.userInitOptions=ee.functions.convert.properties(ee.functions.convert.oldProperties(i)),ee.meta={},ee.o=ae.extend(!0,{},ee.defaults.init.options,ee.userInitOptions),ee.o.forceLayersOutDuration/=1e3,ee.o.forceLayersOutDuration=0<ee.o.forceLayersOutDuration?ee.o.forceLayersOutDuration:.75,ee.o.sliderFadeInDuration/=1e3,window.console&&!0!==ee.o.hideWelcomeMessage&&!0!==window._layerSlider.hideWelcomeMessage&&(window._layerSlider.hideWelcomeMessage=!0,t=window.console.info?"info":"log",e=window.LS_Meta&&window.LS_Meta.v?" | WP Plugin: "+window.LS_Meta.v:"",console[t]("LayerSlider initialized | core: "+ee.plugin.version+"-"+ee.plugin.release+e),console[t]("Find updates and docs @ https://layerslider.com/"));var t={namespace:"debug",js:"debug/layerslider.debug.js",css:"debug/layerslider.debug.css"};-1!==document.location.hash.indexOf("debug")&&window.console&&("object"==typeof ee.o.plugins?ee.o.plugins.push(t):ee.o.plugins=[t]),(window._layerSlider.currentScript||window._layerSlider.lsScript)&&(window._layerSlider.scriptPath=(window._layerSlider.currentScript||window._layerSlider.lsScript).src.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")),ee.o.silentMode&&(ee.slider.$silentWrapper=ae("<ls-silent-wrapper></ls-silent-wrapper>"),ee.slider.$silentWrapper.append(_).prependTo("body")),"string"==typeof ee.o.getData&&(ee.o.getData=[ee.o.getData]),"object"==typeof ee.o.plugins?ee.plugins.load():ee.slider.check.initialized()},styles:function(){var e,t,i,a,s,r,o,n,l,d,c,p,u,m,h,f,g,y=ee.slider,v=_.parent(),x=L.style,S=window.getComputedStyle(L,null),w=parseInt(L.clientWidth),b=parseInt(L.clientHeight),T=parseInt(v.width()),k=parseInt(v.height()),C=ee.o.layersContainerWidth,O=ee.o.layersContainerHeight,P=ee.o.type.toLowerCase();switch(ee.debugMode&&ee.debug.add("group","sliderInit.style"),ee.o.width?e=-1==ee.o.width.indexOf("%")?parseInt(ee.o.width):ee.o.width:x.width?e=-1==x.width.indexOf("%")?parseInt(x.width):x.width:0<C?(e=C,ee.debugMode&&ee.debug.add("warn","sliderInit.noWidth",C)):(e=w,ee.debugMode&&ee.debug.add("warn","sliderInit.noWidth2",w)),i=e,ee.o.height?t=-1==ee.o.height.indexOf("%")?parseInt(ee.o.height):ee.o.height:x.height?t=-1==x.height.indexOf("%")?parseInt(x.height):x.height:0<O?(t=O,ee.debugMode&&ee.debug.add("warn","sliderInit.noHeight",O)):(t=b,ee.debugMode&&ee.debug.add("warn","sliderInit.noHeight2",k)),a=t,s=""!==x.maxWidth?-1!==x.maxWidth.indexOf("px")?parseInt(x.maxWidth):x.maxWidth:0,void 0===ee.userInitOptions.type&&(0<C&&0<O||"100%"===e&&"100%"===t?P="fullsize":C<=0&&O<=0&&(ee.o.responsiveUnder<=0||0<ee.o.responsiveUnder&&ee.o.sliderVersion)?P=void 0!==ee.o.responsive&&!1===ee.o.responsive?"fixedsize":"responsive":0<ee.o.responsiveUnder&&(P="fullwidth")),P){case"fullwidth":-1!==e.indexOf("%")&&(ee.debugMode&&ee.debug.add("warn","sliderInit.percWidth",[P,e,w]),e=w),C<=0&&(C=e,ee.debugMode&&ee.debug.add("warn","sliderInit.conWidth",[P,e])),ee.o.responsiveUnder<=0&&(ee.o.responsiveUnder=C,ee.debugMode&&ee.debug.add("warn","sliderInit.fullwidth",C)),-1!==t.indexOf("%")&&(o=k/(100/parseInt(t)),ee.debugMode&&ee.debug.add("warn","sliderInit.fullwidth2",[P,t,o]),t=o),O<=0&&(O=t);break;case"fullsize":-1!==e.indexOf("%")&&(r=0<C?C:T,ee.debugMode&&ee.debug.add("warn","sliderInit.fullsize",[P,e,r,T,C]),e=r),C<=0&&(C=e,ee.debugMode&&ee.debug.add("warn","sliderInit.conWidth",[P,e])),-1!==t.indexOf("%")&&(o=0<O?O:M.height()/(100/parseInt(t)),ee.debugMode&&ee.debug.add("warn","sliderInit.fullsize2",[P,t,o,M.height(),O]),t=o),O<=0&&(O=t,ee.debugMode&&ee.debug.add("warn","sliderInit.conHeight",[P,t]));break;case"fixedsize":break;default:ee.userInitOptions.type=ee.o.type=P="responsive",(ee.o.responsiveUnder=-1)!==e.indexOf("%")&&(e=w,ee.debugMode&&ee.debug.add("warn","sliderInit.percWidth",[P,e,w])),-1!==t.indexOf("%")&&(e=b,ee.debugMode&&ee.debug.add("warn","sliderInit.responsive",[P,t,b])),ee.debugMode&&0<C&&ee.debug.add("warn","sliderInit.conWidth2",[P,C]),ee.debugMode&&0<O&&ee.debug.add("warn","sliderInit.conHeight2",[P,O])}if(_.addClass("ls-container ls-"+P),_.parent().addClass("ls-direction-fix"),ee.userInitOptions.slideBGSize||"responsive"!==P||!ee.userInitOptions.hasOwnProperty("sliderVersion")||ee.userInitOptions.sliderVersion||(ee.o.slideBGSize="auto",ee.debugMode&&ee.debug.add("warn","sliderInit.bgCover",P)),ee.o.slideBGSize=ee.o.slideBGSize.replace("100% 100%","stretch"),n=0<C?C:e,l=0<O?O:t,(d="auto"===(g=L.style.marginLeft)?"auto":""===g?parseInt(S.getPropertyValue("margin-left")):parseInt(L.style.marginLeft))===(c="auto"===(f=L.style.marginRight)?"auto":""===f?parseInt(S.getPropertyValue("margin-right")):parseInt(L.style.marginRight))&&(""===g&&""===f&&(I=d,c=d="auto"),_.css({marginLeft:"auto",marginRight:"auto"})),p=""!==x.paddingLeft?parseInt(x.paddingLeft):parseInt(_.css("padding-left")),m=""!==x.paddingRight?parseInt(x.paddingRight):parseInt(_.css("padding-right")),u=""!==x.paddingTop?parseInt(x.paddingTop):parseInt(_.css("padding-top")),h=""!==x.paddingBottom?parseInt(x.paddingBottom):parseInt(_.css("padding-bottom")),v=""!==x.borderLeftWidth?parseInt(x.borderLeftWidth):parseInt(_.css("border-left-width")),g=""!==x.borderRightWidth?parseInt(x.borderRightWidth):parseInt(_.css("border-right-width")),f=""!==x.borderTopWidth?parseInt(x.borderTopWidth):parseInt(_.css("border-top-width")),x=""!==x.borderBottomWidth?parseInt(x.borderBottomWidth):parseInt(_.css("border-bottom-width")),y.initial={type:P,width:e,height:t,originalWidth:i,originalHeight:a,percW:e/100,percH:t/100,layersWidth:C,layersHeight:O,ratio:n/l,maxWidth:s,marginLeft:d,marginRight:c,marginTop:ee.o.marginTop,marginBottom:ee.o.marginBottom,paddingLeft:p,paddingTop:u,paddingRight:m,paddingBottom:h,borderLeftWidth:v,borderTopWidth:f,borderRightWidth:g,borderBottomWidth:x,skinWidth:p+m+v+g,skinHeight:u+h+f+x},ee.debugMode&&(ee.debug.add("log","sliderInit.style",[e,t,i,a,C,O,parseInt(n/l*100)/100,0<s?s:void 0,[d,c]]),I&&ee.debug.add("warn","sliderInit.margin",I)),ae("#ls-global").length||(ae("html").attr("id")?ae("body").attr("id")||ae("body").attr("id","ls-global"):ae("html").attr("id","ls-global")),"static"!==S.getPropertyValue("position")&&"absolute"!==S.getPropertyValue("position")&&(L.style.position="relative"),ee.o.insertSelector&&_[ee.o.insertMethod](ee.o.insertSelector),ee.slider.$hiddenWrapper=ae('<div class="ls-wp-container fitvidsignore ls-hidden" data-layerslider-uid="'+$+'"></div>').addClass(_.attr("class")).prependTo("body"),ee.slider.$innerWrapper=ae('<div class="ls-inner"></div>'),ee.slider.$slideBGColorWrapper=ae('<div class="ls-slide-bgcolor"></div>').appendTo(ee.slider.$innerWrapper),ee.slider.$layersWrapper=ae('<div class="ls-layers"></div>').appendTo(ee.slider.$innerWrapper),ee.slider.$bgVideosWrapper=ae('<div class="ls-background-videos"></div>').appendTo(ee.slider.$layersWrapper),ee.slider.$slideBGWrapper=ae('<div class="ls-slide-backgrounds"></div>').appendTo(ee.slider.$layersWrapper),ee.slider.$innerWrapper.appendTo(_),!0===ee.o.hideOnMobile&&ie.isMobile?(_.addClass("ls-forcehide"),_.closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"),ee.o.autoStart=!1):ee.slider.check.showHide(),"sticky"===ee.o.scene||"scroll"===ee.o.scene){if(ee.o.scene)switch(ee.slider.isScene=!0,ee.o.scene){case"scroll":ee.slider.isScrollScene=!0;case"sticky":ee.slider.isSticky=!0}_.parent().is("ls-scene-wrapper")?_.parent().attr("data-scene",ee.o.scene).attr("data-layerslider-uid",$):_.wrap('<ls-scene-wrapper data-scene="'+ee.o.scene+'" data-layerslider-uid="'+$+'"></ls-scene-wrapper>'),ee.slider.$spacingWrapper=ae('ls-scene-wrapper[data-layerslider-uid="'+$+'"]'),_.attr("data-scene",ee.o.scene)}else ee.slider.$spacingWrapper=_;var I=ee.slider.isScene&&"scene"===ee.o.globalBGFor?ee.slider.$spacingWrapper:ee.slider.$innerWrapper,S=!1;-1==ee.o.globalBGColor.indexOf("gradient")?I.css({backgroundColor:ee.o.globalBGColor}):(S=ee.o.globalBGColor,ee.o.globalBGColor="transparent"),ee.o.globalBGImage?I.css({backgroundImage:"url("+ee.o.globalBGImage+")"+(S?", "+S:""),backgroundRepeat:ee.o.globalBGRepeat,backgroundAttachment:ee.o.globalBGAttachment,backgroundSize:ee.o.globalBGSize,backgroundPosition:ee.o.globalBGPosition}):S&&I.css({backgroundImage:S}),"transparent"!=ee.o.globalBGColor||!1!==ee.o.globalBGImage||S||I.css({background:"none transparent"}),(ee.o.preventSliderClip&&ee.o.fitScreenWidth&&("fullwidth"===P||"fullsize"===P&&"fitheight"!==ee.o.fullSizeMode)||ee.slider.isScrollScene||ee.slider.isSticky)&&_.parents(":not(body, html)").each(function(){ae(this).addClass("ls-overflow-visible")})},options:function(){var t,i,a,s,r,e;ae("html").find('meta[content*="WordPress"]').length&&(ee.meta.wpVersion=ae("html").find('meta[content*="WordPress"]').attr("content").split("WordPress")[1]),window.LS_Meta&&window.LS_Meta.v?ee.meta.lswpVersion=window.LS_Meta.v:ae("html").find('script[src*="layerslider"]').length&&-1!=ae("html").find('script[src*="layerslider"]').attr("src").indexOf("?")&&(ee.meta.lswpVersion=ae("html").find('script[src*="layerslider"]').attr("src").split("?")[1].split("=")[1]),"undefined"!=typeof layerSliderTransitions&&(ee.t=ae.extend({},layerSliderTransitions)),"undefined"!=typeof layerSliderCustomTransitions&&(ee.ct=ae.extend({},layerSliderCustomTransitions)),ee.debugMode&&("undefined"!=typeof layerCustomSliderTransitions?(ee.debug.add("log","sliderInit.customTransitions",!1),"undefined"==typeof layerSliderTransitions&&ee.debug.add("warn","sliderInit.slideTransitions")):"undefined"==typeof layerSliderTransitions&&ee.debug.add("warn","sliderInit.noSlideTransitions")),"number"==typeof ee.o.parallaxCenterDegree&&(ee.transitions.layers.parallax.defaults.centerDegree=ee.o.parallaxCenterDegree),"number"==typeof ee.o.parallaxSensitivity&&(ee.transitions.layers.parallax.defaults.sensitive=ee.o.parallaxSensitivity),ee.o.parallaxCenterLayers&&(ee.transitions.layers.parallax.defaults.centerLayers=ee.o.parallaxCenterLayers),ee.o.scrollCenterLayers&&(ee.transitions.layers.scroll.defaults.centerLayers=ee.o.scrollCenterLayers),ee.slider.isSticky&&(ae.extend(ee.o,{allowFullscreen:!1,playByScroll:!1}),ee.slider.isScrollScene&&ae.extend(ee.o,{autoPauseSlideshow:!1,autoStart:!1,pauseLayers:!1,pauseOnHover:!1,startInViewport:!1})),ee.o.playByScroll&&ae.extend(ee.o,{cycles:-1,startInViewport:!0,pauseOnHover:!1,autoStart:!1}),ie.isMobile&&(ee.o.pauseOnHover=!1),ee.o.noContextMenu&&_.on("contextmenu."+$,function(){return!1}),ee.o.startInViewport&&(ee.slider.state.waitForGettingInViewport=!0,ee.o.playByScroll&&(ee.slider.positionToViewport=ie.scroll.top>ee.slider.offset.top-(ie.viewport.height-ee.slider.height)/2?"under":"over",t=!0,i=4*ee.o.playByScrollSpeed,ee.device.scroll.timeout=250,ee.transitions.layers.timeline.timeScaleModifier=0,ae(document).on("wheel."+$+" touchmove."+$,function(e){ie.isMobile?(a=e.originalEvent.touches[0].clientY,s<a?ee.device.scroll.direction="up":a<s&&(ee.device.scroll.direction="down"),r=s-a,s=a):(0<e.originalEvent.deltaY?ee.device.scroll.direction="down":ee.device.scroll.direction="up",r=e.originalEvent.deltaY),0!==Math.abs(r)&&(ee.device.scroll.lastDirection?ee.device.scroll.lastDirection!==ee.device.scroll.direction&&(ee.device.scroll.lastDirection=ee.device.scroll.direction,ee.transitions.layers.timeline.timeScaleModifier=0):ee.device.scroll.lastDirection=ee.device.scroll.direction,"inside"===ee.slider.positionToViewport&&(ee.resize.viewport(),0<=r?ee.transitions.layers.timeline.scrollForward():ee.transitions.layers.timeline.scrollBackwards(),t&&(clearTimeout(ee.timeouts.scroll),t=!1,ee.transitions.layers.timeline.timeScaleModifier=ee.transitions.layers.timeline.timeScaleModifier<i?ee.transitions.layers.timeline.timeScaleModifier+.25:i,ee.timeouts.scroll2=setTimeout(function(){delete ee.timeouts.scroll2,t=!0,ee.device.scroll.timeout=50<ee.device.scroll.timeout?ee.device.scroll.timeout-50:50},ee.device.scroll.timeout))),ee.slider.check.positionToViewport(),ee.timeouts.checkPosition=setTimeout(function(){ee.slider.check.positionToViewport()},25))}))),ee.slider.canShow=!0,ie.automaticFontSizeRatio||(e=ae('<ls-dummy style="font-size: 100px; width: 0; height: 0; opacity: 0; position: absolute; overflow: hidden; pointer-events: none;">Lorem</ls-dummy>').appendTo("body"),ie.automaticFontSizeRatio=parseFloat(e.css("font-size"))/parseFloat(e[0].style.fontSize)||1,e.remove())},pictureElements:function(){for(var e=_.find("picture"),t=_.find("source"),i=0,a=t.length;i<a;i++){var s=ae(t[i]);!s.attr("src")&&s.attr("data-src")&&s.attr("src",s.attr("data-src")),!s.attr("srcset")&&s.attr("data-srcset")&&s.attr("srcset",s.attr("data-srcset"))}for(var r=0,o=e.length;r<o;r++){var n,l,d=ae(e[r]),c=d.find("img");d.is(".ls-bg, .ls-tn")||c.is(".ls-bg, .ls-tn")?(n=c[0],l=d.attr("class"),!c.attr("src")&&c.attr("data-src")&&c.attr("src","data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="),!c.attr("srcset")&&c.attr("data-srcset")&&c.attr("srcset",c.attr("data-srcset")),c.attr("data-src",n.currentSrc||c.attr("data-src")||c.attr("src")),c.removeAttr("src srcset").addClass(l).prependTo(c.closest(".ls-slide")),d.remove()):d.find("img").appendTo(d).removeAttr("width height data-ls")}},events:function(){M.on("scroll."+$,function(){ee.slider.set.offset()}),M.on("touchmove."+$,function(e){e=e.touches||e.originalEvent.touches;1==e.length&&(self.touchX=e[0].clientX)}),M.on("resize."+$,function(){ee.slider.check.showHide(),ee.transitions.scrollscene.immediateRender=!0,"inside"===ee.slider.positionToViewport&&ee.o.playByScroll&&ee.resize.viewport(),ee.slider.shouldResize&&(!ie.isMobile||ie.isMobile&&ie.viewport.width!==ie.viewport.lastWidth||ee.slider.isPopup)&&ee.resize.all(),ee.slider.set.offset(),ee.slider.isScene&&ee.resize.scene(),ee.slider.isPopup||(ee.timeouts.resize&&clearTimeout(ee.timeouts.resize),ee.resize.once?ee.resize.once=!1:ee.timeouts.resize=setTimeout(function(){ee.resize.once=!0,M.trigger("resize."+$),ee.api.methods("resetScroll")},100))}),ee.debugMode&&(M.off(".debug"+$),M.on("resize.debug"+$,function(){ee.debug.add("log","resize.window",ie.viewport.width,!0)})),M.on("hashchange."+$,function(){document.location.hash&&ee.slides.deeplink(document.location.hash)}),ee.slider.set.offset(),M.trigger("resize."+$),ee.o.refreshWaypoint&&window.Waypoint&&Waypoint.refreshAll()},offset:function(){if("none"!==_.css("display")){var e=L.getBoundingClientRect(),t=ee.slider.position.toViewportForPerformance;ee.slider.position.toViewport;if(ee.slider.get.offset(e),ee.slider.get.position(e),0<ee.slider.position.left-ie.viewport.width?ee.slider.position.left-ie.viewport.width>ee.performance.threshold?ee.slider.position.toViewportX="after":ee.slider.position.toViewportX="insideLimit":ee.slider.position.right<0?ee.slider.position.right<-ee.performance.threshold?ee.slider.position.toViewportX="before":ee.slider.position.toViewportX="insideLimit":ee.slider.position.toViewportX="inside",0<ee.slider.position.top-ie.viewport.height?ee.slider.position.top-ie.viewport.height>ee.performance.threshold?ee.slider.position.toViewportY="below":ee.slider.position.toViewportY="insideLimit":ee.slider.position.bottom<0?ee.slider.position.bottom<-ee.performance.threshold?ee.slider.position.toViewportY="above":ee.slider.position.toViewportY="insideLimit":ee.slider.position.toViewportY="inside",ee.slider.position.toViewportYForSkipViewportLayers=ee.slider.position.toViewportY,ee.slider.state.waitForGettingInViewport&&(ee.slider.position.middle<ie.viewport.height&&0<ee.slider.position.middle?((ee.slider.position.toViewportY="inside")===ee.slider.position.toViewportX&&(ee.slider.position.toViewport="inside"),ee.slider.state.waitForGettingInViewport=!1,ee.timelines._layers&&ee.timelines._layers.play(),ee.o.animateFirstSlide&&ee.slideshow.firstStart&&ee.slider.state.readyForStart&&(ee.resize.layers({callback:ee.api.resumeCallback}),ee.api.resumeCallback=!1),ee.debugMode&&ee.debug.add("log","slideshow.inviewport",!1)):ee.slider.position.toViewportY="outside"),-1!==ee.slider.position.toViewportX.indexOf("inside")&&"insideLimit"==ee.slider.position.toViewportY||-1!==ee.slider.position.toViewportY.indexOf("inside")&&"insideLimit"==ee.slider.position.toViewportX?(ee.slider.position.toViewport="insideLimit",ee.slider.position.toViewportForPerformance="inside"):"inside"==ee.slider.position.toViewportX&&"inside"==ee.slider.position.toViewportY?(ee.slider.position.toViewport="inside",ee.slider.position.toViewportForPerformance="inside"):(ee.slider.position.toViewport="outside",ee.slider.position.toViewportForPerformance="outside"),ee.o.performanceMode&&t!==ee.slider.position.toViewportForPerformance&&("inside"===ee.slider.position.toViewportForPerformance?(ee.performance.sliderIsInviewport=!0,ee.api.methods("resumeSlider","performanceMode")):(ee.performance.sliderIsInviewport=!1,ee.api.methods("pauseSlider","performanceMode"))),(ee.slider.isScrollScene||ee.slider.isSticky)&&!ee.slider.$spacingWrapper.is("[data-disabled-scene]")){var t=ee.slider.$spacingWrapper[0].getBoundingClientRect(),i=(ie.viewport.height-ee.slider.height)/2;switch(ee.o.stickTo||"center"){case"top":ee.slider.stickLimit=0;break;case"center":ee.slider.stickLimit=i;break;case"bottom":ee.slider.stickLimit=2*i}switch(ee.o.playFrom||"stick"){case"stick":ee.transitions.scrollscene.playFrom=ee.slider.stickLimit;break;case"top":ee.transitions.scrollscene.playFrom=0;break;case"center":ee.transitions.scrollscene.playFrom=ie.viewport.height/2;break;case"bottom":ee.transitions.scrollscene.playFrom=ie.viewport.height}ee.slider.wrapperPosition={left:t.left,top:t.top,middleForScrollTransition:t.top+t.height/2-ie.viewport.height/2},ee.slider.wrapperOffset={left:t.left+ie.scroll.left,right:t.left+ee.slider.width+ie.scroll.left,top:t.top+ie.scroll.top,bottom:t.bottom+ee.slider.height+ie.scroll.top,width:t.width,height:t.height},ee.slider.state.shouldAnimateScrollSnene=!1,t.top<=ee.transitions.scrollscene.playFrom&&(ee.slider.state.shouldAnimateScrollSnene=!0),t.top>ee.slider.stickLimit?("disabled"!==ee.slider.state.sticky||ee.slider.isScrollScene&&!ee.transitions.scrollscene.initialized)&&(ee.slider.state.sticky="disabled",ee.slider.state.shouldAnimateScrollSnene=!0):t.bottom-ee.slider.height-ee.slider.stickLimit<0?("over"!==ee.slider.state.sticky||ee.slider.isScrollScene&&!ee.transitions.scrollscene.initialized)&&(ee.slider.state.sticky="over",ee.slider.state.shouldAnimateScrollSnene=!0):t.top<=ee.slider.stickLimit&&t.bottom>-ee.slider.stickLimit&&("enabled"!==ee.slider.state.sticky&&(ee.slider.state.sticky="enabled"),ee.slider.state.shouldAnimateScrollSnene=!0),ee.slider.isScrollScene&&(ee.timelines._layers&&ee.slider.state.shouldAnimateScrollSnene&&ee.transitions.scrollscene.animate(),ee.slider.state.shouldAnimateScrollSnene&&(ee.slider.fixScrollScene=!0),t.top>ee.transitions.scrollscene.playFrom&&ee.timelines.has(ee.timelines._layers)&&ee.timelines._layers.time()>ee.transitions.scrollscene.min&&ee.slider.fixScrollScene&&(ee.slider.fixScrollScene=!1,ee.transitions.scrollscene.animate("start")))}ee.slider.state.isNotDisplayed&&(ee.slider.state.isNotDisplayed=!1,ee.resize.all(),ee.slider.check.positionToViewport(),M.trigger("scroll"))}else ee.slider.state.isNotDisplayed=!0},attributes:function(){_.attr("data-current-slide",ee.slides.current.index)}},get:{offset:function(e){e=e||L.getBoundingClientRect(),ee.slider.offset={left:e.left+ie.scroll.left,right:e.left+ee.slider.width+ie.scroll.left,top:e.top+ie.scroll.top,bottom:e.bottom+ee.slider.height+ie.scroll.top}},position:function(e){e=e||L.getBoundingClientRect(),ee.slider.position={left:e.left,center:e.left+ee.slider.width/2,right:e.right,top:e.top,middle:e.top+ee.slider.height/2,bottom:e.bottom}},scrollTop:function(e,t){var i=parseFloat(e.offset().top)+(t.offset||0);switch(t.scrollposition){default:case"top":break;case"middle":i=i-window._lsData.viewport.height/2+e.height()/2;break;case"bottom":i=i+e.height()-window._lsData.viewport.height}return i},effectLayers:function(){return _.find("[data-ls-effects]")}},check:{initialized:function(){ee.debugMode&&ee.debug.add("log","sliderInit.info",[ee.plugin.version,ee.plugin.releaseDate,ee.userInitOptions.sliderVersion||"n/a or slider version is pre 6.0.0",_.attr("id"),$,ae.fn.jquery,ee.meta.lswpVersion,ee.meta.wpVersion],!0),ee.slider.initialized||(ee.slider.initialized=!0,this.skins())},skins:function(){ee.o.skin&&""!==ee.o.skin&&ee.o.skinsPath&&""!==ee.o.skinsPath?ee.gui.skin.load():ee.slider.init()},showHide:function(){ie.isMobile&&!1!==ee.o.hideOnMobile||(ie.viewport.width<ee.o.hideUnder||ie.viewport.width>ee.o.hideOver&&0<ee.o.hideOver?ee.slider.hide():ee.slider.show())},visibility:function(){!!ee.slider.$innerWrapper.width()?ee.slider.state.isHidden&&(ee.slider.state.isHidden=!1,ee.resize.all({forceToGetParentWidth:!0})):ee.slider.state.isHidden=!0},positionToViewport:function(){var e;delete ee.timeouts.checkPosition,ee.o.playByScroll&&ee.device.scroll.direction&&(e="down"===ee.device.scroll.direction?ie.scroll.top:ee.slider.offset.top-(ie.viewport.height-ee.slider.height)/2,(("down"===ee.device.scroll.direction?ee.slider.offset.top-(ie.viewport.height-ee.slider.height)/2:ie.scroll.top)<e&&("up"===ee.device.scroll.direction&&"under"===ee.slider.positionToViewport||"down"===ee.device.scroll.direction&&"over"===ee.slider.positionToViewport)||ie.document.height<=ie.viewport.height||ee.slider.height<ie.viewport.height&&("up"===ee.device.scroll.direction&&ie.scroll.top<=0&&ee.slider.offset.top+ee.slider.height/2<ie.viewport.height/2||"down"===ee.device.scroll.direction&&ie.scroll.top>=ie.document.height-ie.viewport.height&&ee.slider.offset.top+ee.slider.height/2>ie.scroll.top+ie.viewport.height/2))&&(ee.slider.positionToViewport="inside",ee.resize.viewport(),ee.device.scroll.disable()))}},init:function(){clearTimeout(ee.timeouts.skinLoad1),clearTimeout(ee.timeouts.skinLoad2),clearTimeout(ee.timeouts.skinLoad3),clearTimeout(ee.timeouts.skinLoad4),ee.plugins.callFunctions("setSliderStylesBefore",{}),ee.slider.set.styles(),ee.plugins.callFunctions("setSliderOptionsBefore",{}),ee.slider.set.options(),ee.slider.set.pictureElements(),ee.plugins.callFunctions("initSlidesBefore",{}),ee.slides.init(),ee.device.fullscreen.set(),ee.media.init(),ee.gui.timers.init(),ee.gui.loadingIndicator.init(),ee.preload.init(),ee.gui.shadow.init(),ee.navigation.init(),ee.slideshow.init(),ee.slides.set.firstSlide(),ee.gui.navigation.init(),ee.gui.media.init(),ee.resize.slider(),ee.yourLogo.init(),ee.slider.set.events(),ee.api.hasEvent("sliderDidLoad")&&ee.api.triggerEvent("sliderDidLoad",ee.api.eventData()),ee.functions.setStates(ee.slider,{isLoaded:!0}),ee.slider.state.shouldBeDestroyed?ee.api.methods("destroy"):(ee.slider.isPopup||(ee.intervals.checkSliderVisibility=setInterval(function(){ee.slider.check.visibility()},500)),ee.slideshow.changeTo(ee.slides.first.index))},hide:function(){_.addClass("ls-forcehide"),_.closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"),_.closest(".ls-popup").addClass("ls-forcehide"),_.closest(".ls-popup").prev(".ls-popup-overlay").addClass("ls-forcehide")},show:function(){_.removeClass("ls-forcehide"),_.closest(".ls-wp-fullwidth-container").removeClass("ls-forcehide"),_.closest(".ls-popup").removeClass("ls-forcehide"),_.closest(".ls-popup").prev(".ls-popup-overlay").removeClass("ls-forcehide")}},ee.functions={isRandom:function(t){return"string"==typeof t&&[ee.defaults.init.staggerSplitChar,ee.defaults.init.rangeSplitChar,ee.defaults.init.randomSplitChar,ee.defaults.init.openingBracket,ee.defaults.init.closingBracket].some(function(e){return-1!==t.indexOf(e)})},getData:function(e,t){return!ee.o.getData||-1===ee.o.getData.indexOf(e)||(ee.api.triggerEvent("getData",{property:e,value:t}),!ee.o.destroyAfter)||(ee.api.methods("destroy",!0),!1)},convert:{parallaxOrigin:function(e,t,i){if("scroll"===i.event)return{x:0,y:0};var a,i="slidercenter slidermiddle";"string"==typeof e&&2===(a=e.split(" ")).length&&{sliderleft:1,slidercenter:1,sliderright:1,layerleft:1,layercenter:1,layerright:1}[a[0]]&&{slidertop:1,slidermiddle:1,sliderbottom:1,layertop:1,layermiddle:1,layerbottom:1}[a[1]]||(e=i);for(var s=e.split(" "),r=0,o=0,n=ee.slider.offset,l=ee.slider.width,d=ee.slider.height,c=t.offset(),p=t.outerWidth(),u=t.outerHeight(),m=0;m<2;m++){var h=s[m],f=0===h.indexOf("slider"),g=0===m,h=h.replace(/^(slider|layer)/,""),y=f?n:c,v=f?l:p,x=f?d:u;if(g)switch(h){case"left":r=y.left;break;case"center":r=y.left+v/2;break;case"right":r=y.left+v}else switch(h){case"top":o=y.top;break;case"middle":o=y.top+x/2;break;case"bottom":o=y.top+x}}return{x:r,y:o}},transformOrigin:function(e,t,i,a){for(var s=(d=ae.trim(e)).split(" "),r=a[0].style,o="",n=["Left","Top"],l=[ee.slider.width,ee.slider.height],d=d.replace("sliderleft","0").replace("sliderright","100%").replace("slidercenter","50%").replace("slidermiddle","50%").replace("slidertop","0").replace("sliderbottom","100%").replace("left","0").replace("right","100%").replace("center","50%").replace("middle","50%").replace("top","0").replace("bottom","100%").split(" "),c=0;c<d.length;c++)-1!==s[c].indexOf("slider")?(ee.transitions.layers.timeline.shouldRestart=!0,o+=c<2?l[c]/(100/parseInt(d[c]))-parseInt(r[n[c].toLowerCase()])-parseInt(r["margin"+n[c]])+"px ":"0px"):-1!==d[c].indexOf("%")?o+=d[c]+" ":-1!==d[c].indexOf("em")?o+=parseFloat(d[c])*parseInt(t.css("font-size"))+"px ":o+=parseInt(d[c])*i.settings.calculatedratio+"px ";return ae.trim(o)},specialValuesOfTransformOrigin:function(e){return e=e.replace("sliderleft","0").replace("sliderright","100%").replace("slidercenter","50%").replace("slidermiddle","50%").replace("slidertop","0").replace("sliderbottom","100%").replace("left","0").replace("right","100%").replace("center","50%").replace("middle","50%").replace("top","0").replace("bottom","100%").split(" ")},nodesTransformOrigin:function(e,d,c,t){for(var i="object"==typeof e,p=(d.length,[]),u=t[0].style,m=["left","top"],a=function(e,t){for(var t=ae(d[t]),i=parseInt(t.css("font-size")),a=t.position(),s=(n=ae.trim(e)).split(" "),r="",o=[ee.slider.width,ee.slider.height],n=ee.functions.convert.specialValuesOfTransformOrigin(n),l=0;l<n.length;l++)-1!==s[l].indexOf("slider")?(ee.transitions.layers.timeline.shouldRestart=!0,r+=l<2?o[l]/(100/parseInt(n[l]))-parseInt(a[m[l]])-parseInt(u[m[l].toLowerCase()])+"px ":"0px"):-1!==n[l].indexOf("%")?r+=n[l]+" ":-1!==n[l].indexOf("em")?r+=parseFloat(n[l])*i+"px ":r+=parseInt(n[l])*c.settings.calculatedratio+"px ";p.push(ae.trim(r))},s=0,r=i&&e.length,o=0;o<d.length;o++)i?(a(e[s],o),++s==r&&(s=0)):a(e,o);return p},easing:function(e,t){return"string"!=typeof e?e:(-1!==(e=e.toLowerCase()).indexOf("swing")||-1!==e.indexOf("linear")?i=te.Linear.easeNone:(a=e.match(/(easeinout|easein|easeout)(.+)/)[2],a=te[a.charAt(0).toUpperCase()+a.slice(1)],-1!==e.indexOf("easeinout")?i=a.easeInOut:-1!==e.indexOf("easeout")?i=t?a.easeIn:a.easeOut:-1!==e.indexOf("easein")&&(i=t?a.easeOut:a.easeIn)),i);var i,a},transition:function(e,t,i,a){var s=ae.extend({},e);return ae.each({de:"delay",rotate:"rotation",rotateX:"rotationX",rotateY:"rotationY"},function(e,t){e in s&&(s[t]=s[e],delete s[e])}),"after"===i?s.scaleX=s.scaleY=s.scaleZ=1:s.scale3d!==a&&(s.scaleX=s.scaleY=s.scaleZ=s.scale3d,delete s.scale3d),s.delay&&(s.delay="after"===i?s.delay/1e3:s.delay),void 0===t&&(t="easeInOutQuart"),s.ease=ee.functions.convert.easing(t),s},properties:function(e,t,i,a,s){if("string"==typeof e)return ee.functions.convert._properties(e,t,i,a,s);if("object"!=typeof e)return e;for(var r in e)e[r]=ee.functions.convert._properties(e[r],t,i,a,s);return e},_properties:function(e,t,i,a,s){var r,o,n=!1;if("string"==typeof e&&-1===e.indexOf(ee.defaults.init.staggerSplitChar)&&e.charAt(0)===ee.defaults.init.openingBracket&&-1===e.indexOf("..")&&(r=(o=ae.trim(e)).match(/^\[\s*(-?\d+(?:\.\d+)?)\s*([\+\-\*\/])\s*(-?\d+(?:\.\d+)?)\s*\]$/),o=o.match(/^\[\s*([\+\-\*\/])\s*(-?\d+(?:\.\d+)?)\s*\]$/),(r||o)&&(r?n=r:o&&(n=o))),-1!==["enable","enabled","true"].indexOf(e))return!0;if(-1!==["disable","disabled","false","undefined","null"].indexOf(e))return!1;if(!n){if("string"!=typeof e||-1===e.indexOf(ee.defaults.init.staggerSplitChar)||e.charAt(0)===ee.defaults.init.openingBracket)return t?""+parseInt(e)=="NaN"?0:parseInt(e):ae.isNumeric(e)?parseFloat(e):e;for(var l=e.split(ee.defaults.init.staggerSplitChar),d=[],c=0;c<l.length;c++)d[c]=ae.isNumeric(l[c])?parseFloat(ae.trim(l[c])):ae.trim(l[c]);return d}var p,u,d=[],m=0,h=a?a.text().length:100;if(4===n.length?(m=parseFloat(n[1]),p=n[2],u=parseFloat(n[3])):3===n.length&&(m=0,p=n[1],u=parseFloat(n[2])),p&&!isNaN(u)){for(var f=0;f<h;f++)if(0===f)d.push(m);else{switch(p){case"+":m+=u;break;case"-":m-=u;break;case"*":m*=u;break;case"/":m/=u}d.push(m)}return d}},oldProperties:function(i){return ae.each({firstLayer:"firstSlide",loops:"cycles",forceLoopNum:"forceCycles",layersContainer:"layersContainerWidth",sublayerContainer:"layersContainerWidth",randomSlideshow:"shuffleSlideshow"},function(e,t){e in i&&(i[t]=i[e],delete i[e])}),i},randomProperties:function(e,t,i,a,s,r){var a=a||!1,s=s||!!a&&a.data(ee.defaults.init.dataKey),o="Width",n=!1,l=!1;"number"!=typeof e||isNaN(e)||(e=e.toString()),-1===t.indexOf("height")&&-1===t.indexOf("top")&&-1===t.indexOf("y")||(o="Height"),-1===t.indexOf("duration")&&-1===t.indexOf("delay")&&-1===t.indexOf("start")&&-1===t.indexOf("scale")&&-1===t.indexOf("opacity")&&-1===t.indexOf("rotat")&&-1===t.indexOf("skew")||(r=!0),s&&-1!==e.indexOf(ee.defaults.init.staggerSplitChar)&&e.charAt(0)!==ee.defaults.init.openingBracket&&(n=!0),-1!==e.indexOf("random")&&-1!==e.indexOf("(")&&-1!==e.indexOf(",")&&-1!==e.indexOf(")")?e=e.split("(")[1].split(")")[0].replace(",",ee.defaults.init.rangeSplitChar):e.charAt(0)===ee.defaults.init.openingBracket&&e.charAt(e.length-1)===ee.defaults.init.closingBracket&&(e=e.substring(1,e.length-1)),e=e.replace(/,/g,".").replace(/٫/g,".");var d,c,p=-1===t.indexOf("scale")&&-1===t.indexOf("opacity")?1:100,u=e;return n?(l=!0,n=i?i+t:t,s.randomValues[n]=s.randomValues[n]||{},s.randomValues[n].r||(s.randomValues[n].r=String(e).split(ee.defaults.init.staggerSplitChar).map(function(e){return e.trim()}),s.clones&&-1!==i.indexOf("replicator")&&(s.clones<s.randomValues[n].r.length?(s.randomValues[n].r=s.randomValues[n].r.slice(0,s.clones),s.randomValues[n].r.reverse()):s.clones>s.randomValues[n].r.length?(s.randomValues[n].r.reverse(),(c=s.clones%s.randomValues[n].r.length)&&(s.randomValues[n].index=s.randomValues[n].r.length-c)):s.randomValues[n].r.reverse())),d=s.randomValues[n].r,(c="number"==typeof s.randomValues[n].index?s.randomValues[n].index:0)>=d.length&&(c=0),s.randomValues[n].index=c+1,c=d[c],u=parseFloat(a?ee.resize.getXY(a,s,c,o,r):c)):-1!==e.indexOf(ee.defaults.init.randomSplitChar)?(l=!0,u=(u=(d=e.split(ee.defaults.init.randomSplitChar))[Math.floor(Math.random()*d.length)].trim()).charAt(0)===ee.defaults.init.openingBracket&&u.charAt(u.length-1)===ee.defaults.init.closingBracket?ee.functions.convert.randomProperties(u,t,i,a,s):parseFloat(a?ee.resize.getXY(a,s,u,o,r):u)):-1!==e.indexOf(ee.defaults.init.rangeSplitChar)&&(l=!0,(d=e.split(ee.defaults.init.rangeSplitChar))[0]=parseFloat((a?ee.resize.getXY(a,s,d[0],o,r):d[0])*p),d[1]=parseFloat((a?ee.resize.getXY(a,s,d[1],o,r):d[1])*p),d.sort(function(e,t){return e-t}),u=Math.floor(Math.random()*(d[1]-d[0]+1)+d[0])/p),"string"==typeof u&&ae.isNumeric(u)?u=parseFloat(u):s&&!l&&(u=ee.resize.getXY(a,s,u,o,r)),u},clipProperties:function(e,t,i,a){var s=ae.trim(e);if(-1===s.indexOf("polygon")&&-1===s.indexOf("(")){var r="\\d+(?:\\.\\d+)?%\\s+\\d+(?:\\.\\d+)?%";if(new RegExp("^"+r+"(?:\\s*,\\s*"+r+"){3}$").test(s))return"polygon("+s.replace(/\s*,\s*/g,",")+")"}if(-1!==e.indexOf("polygon")&&-1===e.indexOf("clip")&&-1===e.indexOf("px")&&-1===e.indexOf(", "))return e;for(var o,n,s=e,l=-1===(e=-1!==e.indexOf("(")?ae.trim(e.split("(")[1].split(")")[0]):ae.trim(e)).indexOf(",")?e.split(" "):e.split(","),d=[["0%","0%"],["100%","0%"],["100%","100%"],["0%","100%"]],c=ae.isNumeric(t.original.width)?t.original.width:i.outerWidth(),p=ae.isNumeric(t.original.height)?t.original.height:i.outerHeight(),u=function(e){return Math.round(100*(e+Number.EPSILON))/100},m=a&&-1!==s.indexOf("rect")?0:100,h=0;h<l.length;h++)if(-1===(o=l[h].trim()).indexOf(" ")){if("number"==typeof parseInt(o))switch(0===parseInt(o)&&(o="0%"),h){case 0:-1===o.indexOf("%")&&(o=u(parseInt(o)/(p/100))+"%"),d[0][1]=o,d[1][1]=o;break;case 1:-1!==o.indexOf("%")?(d[1][0]=100-parseInt(o)+"%",d[2][0]=100-parseInt(o)+"%"):(-1===o.indexOf("%")&&(o=u(Math.abs(parseInt(o)/(c/100)-m))+"%"),d[1][0]=o,d[2][0]=o);break;case 2:-1!==o.indexOf("%")?(d[2][1]=100-parseInt(o)+"%",d[3][1]=100-parseInt(o)+"%"):(-1===o.indexOf("%")&&(o=u(Math.abs(parseInt(o)/(p/100)-m))+"%"),d[2][1]=o,d[3][1]=o);break;case 3:-1===o.indexOf("%")&&(o=u(parseInt(o)/(c/100))+"%"),d[0][0]=o,d[3][0]=o}}else-1===(n=o.split(" "))[0].indexOf("%")&&(n[0]=u(parseInt(n[0])/(c/100))+"%"),d[h][0]=n[0],-1===n[1].indexOf("%")&&(n[1]=u(parseInt(n[1])/(p/100))+"%"),d[h][1]=n[1];for(var f="polygon(",g=0;g<d.length;g++)f+=d[g].join(" "),g<d.length-1&&(f+=",");return f+=")"}},getSliderClosestParentElementWithNumericValueOfProperty:function(e){for(var t,i=_.parents().not(".ls-fullscreen-wrapper"),a=i.length,s=100,r=0;r<a;r++)if("auto"!==(t=window.getComputedStyle(i[r]).getPropertyValue(e))){if(-1!==t.indexOf("px")&&(0<parseInt(t)||ee.slider.isPopup))return ee.slider.$parentWithNumericWidthValue=ae(i[r]),ee.slider.parentWithNumericWidthValuePercent=null,ae(i[r]);-1!==t.indexOf("%")&&(s=s/100*parseInt(t),ee.slider.parentWithNumericWidthValuePercent=s)}},sortArray:function(e,t,i){var a,s,r,o,n,l,d,c=[],p=e*t;switch(i){case"forward":for(a=0;a<e;a++)for(s=0;s<t;s++)c.push(a+s*e);break;case"reverse":for(a=e-1;-1<a;a--)for(s=t-1;-1<s;s--)c.push(a+s*e);break;case"center":for(n=Math.floor(p/2),r=0;r<n;r++)c.push(r);for(o=n;0<=o;o--)c.push(o);break;case"edge":case"mirror":for(r=n=Math.floor(p/2);0<r;r--)c.push(r);for(o=0;o<=n;o++)c.push(o);break;case"radial-out":for(l=e/2,d=t/2,a=0;a<e;a++)for(s=0;s<t;s++)c.push(Math.floor(Math.abs(d-s-.5))+Math.floor(Math.abs(l-a-.5)));break;case"radial-in":for(l=e/2,d=t/2,a=0;a<e;a++)for(s=0;s<t;s++)c.push(Math.floor(d-Math.ceil(Math.abs(d-s-.5)))+Math.floor(l-Math.ceil(Math.abs(l-a-.5))))}return c},shuffleArray:function(e){for(var t,i,a=e.length;0!==a;)i=Math.floor(Math.random()*a),t=e[--a],e[a]=e[i],e[i]=t;return e},countProp:function(e){var t,i=0;for(t in e)e.hasOwnProperty(t)&&++i;return i},getDataProp:function(e,t){t=new RegExp("(?:^|[\\s;])"+t+"\\s*:\\s*([^;\\s]+)","i"),t=e.match(t);return t?t[1]:null},updateDataProp:function(e,a,s){var t=new RegExp("(^|[\\s;])([\\s;]*)"+a+"\\s*:\\s*[^;\\s]+","i");if(t.test(e))return e.replace(t,function(e,t,i){return(t||"")+(i||"")+a+":"+s});e=e.trim();return";"===e.slice(-1)?e+" "+a+":"+s+" ;":e+"; "+a+":"+s+" ;"},getURL:function(e){return e[0].currentSrc||(e.data("src")?e.data("src"):e.attr("src"))},getALT:function(e){return!!e.attr("alt")&&e.attr("alt")},setStates:function(e,t,i){if(e&&e.state){var a=ee.slideshow.isPaused();if(i)e.state[t]=i;else for(var s in t)e.state[s]=t[s];i=ee.slideshow.isPaused();e==ee.slideshow&&(ee.api.hasEvent("slideshowStateDidChange")&&ee.api.triggerEvent("slideshowStateDidChange",ee.api.eventData()),i!=a&&(i?ee.api.hasEvent("slideshowDidPause")&&ee.api.triggerEvent("slideshowDidPause",ee.api.eventData()):(ee.slideshow.start(),ee.api.hasEvent("slideshowDidResume")&&ee.api.triggerEvent("slideshowDidResume",ee.api.eventData()))))}},clearTimers:function(e={}){if(e.timeout&&ee.timeouts[e.timeout])clearTimeout(ee.timeouts[e.timeout]),delete ee.timeouts[e.timeout];else if(!e.timeout)for(var t in ee.timeouts)clearTimeout(ee.timeouts[t]),delete ee.timeouts[t];if(e.interval&&ee.intervals[e.interval])clearInterval(ee.intervals[e.interval]),delete ee.intervals[e.interval];else if(!e.interval)for(var t in ee.intervals)clearInterval(ee.intervals[t]),delete ee.intervals[t];ee.plugins.callFunctions("clearTimers",{})},clearTimelines:function(){ee.transitions.scrollscene._tween&&ee.transitions.scrollscene._tween.kill&&ee.transitions.scrollscene._tween.kill(),ee.timelines.to([ee.timelines,"_slideTransition _layers _layersAlt",null,!0,!0,!0,!0]);for(var e=0;e<ee.timelines.slides.length;e++)ee.timelines.to([ee.timelines.slides[e],"_forceOut _forceOutMirror",null,!0,!0,!0,!0]);_.find(".ls-layer").each(function(){var e,t=ae(this).data(ee.defaults.init.dataKey);for(e in t.timelines)ee.timelines.to([t.timelines,e,null,!0,!0,!0])}),te.TweenMax.killTweensOf(_.find(".ls-bg, .ls-layer, .ls-wrapper, .ls-curtile, .ls-nexttile").get()),_.find(".ls-layer").each(function(){var e=ae(this).data(ee.defaults.init.dataKey);e.is.countdown&&ee.countdown.stopInterval(e.countdownSettings),e.is.counter&&ee.counter.stop(e.counterSettings)})},clearEvents:function(){ee.plugins.callFunctions("clearEvents",{}),M.add("body").add(document).add(_).add(_.find("*")).add("."+$).off("."+$+" .debug"+$+" .parallax"+$+" .scroll"+$),window._layerSlider.closePopupsOnEsc&&window._layerSlider.closePopupsOnEsc[$]&&delete window._layerSlider.closePopupsOnEsc[$],delete window._layerSliders[$],_.off()},objectIsEmpty:function(e){return!e||"object"!=typeof e||0===Object.keys(e).length},getUID:function(e){for(var t="";t.length<e+2;)t+=Math.random().toString(36).substring(2);return t.substring(2,e+2)}},ee.device={scroll:{keys:[32,33,34,35,36,37,38,39,40],disable:function(){window.addEventListener("scroll",this.preventDefault,{passive:!1,capture:!0}),window.addEventListener("wheel",this.preventDefault,{passive:!1,capture:!0}),window.addEventListener("mousewheel",this.preventDefault,{passive:!1,capture:!0}),window.addEventListener("touchmove",this.preventDefault,{passive:!1,capture:!0}),window.addEventListener("keydown",this.preventDefaultForScrollKeys,{capture:!0})},enable:function(){window.removeEventListener("scroll",this.preventDefault,{passive:!1,capture:!0}),window.removeEventListener("wheel",this.preventDefault,{passive:!1,capture:!0}),window.removeEventListener("mousewheel",this.preventDefault,{passive:!1,capture:!0}),window.removeEventListener("touchmove",this.preventDefault,{passive:!1,capture:!0}),window.removeEventListener("keydown",this.preventDefaultForScrollKeys,{capture:!0})},preventDefault:function(e){(e=e||window.event).preventDefault&&e.preventDefault(),e.returnValue=!1},preventDefaultForScrollKeys:function(e){if(-1!==ee.device.scroll.keys.indexOf(e.keyCode))return ee.device.scroll.preventDefault(e),!1}},removeSelection:function(){window.getSelection?window.getSelection().empty?window.getSelection().empty():window.getSelection().removeAllRanges&&window.getSelection().removeAllRanges():document.selection&&document.selection.empty()},fullscreen:{enter:function(){ee.functions.setStates(ee.slider,{inFullscreen:!0}),ae("body, html").addClass("ls-fullscreen"),ee.slider.fullscreenWrapper.requestFullscreen(),_.trigger("mouseleave"),ee.device.removeSelection()},exit:function(){ee.functions.setStates(ee.slider,{inFullscreen:!1}),ee.resize.all(),ae("body, html").removeClass("ls-fullscreen"),ee.device.removeSelection()},toggle:function(){ee.device.fullscreen.element()?(ee.device.fullscreen.exit(),document.exitFullscreen()):ee.device.fullscreen.enter()},set:function(){ee.o.allowFullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(_.wrap('<div class="ls-fullscreen-wrapper"></div>'),ee.slider.$fullscreenWrapper=_.closest(".ls-fullscreen-wrapper"),ee.slider.fullscreenWrapper=ee.slider.$fullscreenWrapper[0],ee.slider.$spacingWrapper=ee.slider.$fullscreenWrapper,ee.slider.fullscreenWrapper.requestFullscreen=ee.slider.fullscreenWrapper.requestFullscreen||ee.slider.fullscreenWrapper.webkitRequestFullscreen||ee.slider.fullscreenWrapper.mozRequestFullScreen||ee.slider.fullscreenWrapper.msRequestFullscreen,document.exitFullscreen=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen,ae(document).on("fullscreenchange."+$+" webkitfullscreenchange."+$+" mozfullscreenchange."+$+" msfullscreenchange."+$,function(){ee.device.fullscreen.element()||ee.device.fullscreen.exit()}),ee.slider.$fullscreenWrapper.on("dblclick."+$,function(){ee.device.fullscreen.toggle()}))},element:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}}},ee.actions={do:function(t){var e,i,a=!1,s="";switch(t.action){case"scrollBelowProject":case"scrollToNextProject":case"scrollToPrevProject":case"scrollToElement":case"scrollToSelf":case"scrollToScenePosition":case"scrollToTimelinePosition":ee.slider.isScene||_.addClass("ls-action-trigger"),ee.slider.isScrollScene&&"scrollToTimelinePosition"===t.action&&(t.action="scrollToScenePosition",t.target="currentScene");var r,o=ae(".ls-wp-container:not(.ls-hidden):not([data-scene]), ls-scene-wrapper"),n=ae("ls-scene-wrapper, .ls-action-trigger"),l=ae([]),d=ee.slider.isScene?ee.slider.$spacingWrapper:_,c=n.length,p=n.index(d);if(ee.slider.isScene||_.removeClass("ls-action-trigger"),"scrollToSelf"===t.action)v=ee.slider.$spacingWrapper.offset().top+(t.offset||0);else if("scrollBelowProject"===t.action)v=ee.slider.$spacingWrapper.offset().top+ee.slider.$spacingWrapper.height()+(t.offset||0);else if("scrollToPrevProject"===t.action)0!==o.index(d)?(l=o.eq(o.index(d)-1),v=ee.slider.get.scrollTop(l,t)):a="There’s no previous project to scroll to.";else if("scrollToNextProject"===t.action)o.index(d)<o.length-1?(l=o.eq(o.index(d)+1),v=ee.slider.get.scrollTop(l,t)):a="There’s no next project to scroll to.";else if(-1!==t.action.indexOf("scrollToElement")){try{l=ae(t.selector.toString()).not(".ls-wp-container.ls-hidden")}catch(e){s=e}l.length?((r=l.closest("ls-scene-wrapper")).length&&(l=r),v=ee.slider.get.scrollTop(l,t)):a='Couldn’t find the scroll target element "'+t.selector+'". Please verify the selector you’ve entered.'}else if("scrollToScenePosition"===t.action){switch(t.target){case"currentScene":ee.slider.isScene?l=d:a="Current project is not a scene.";break;case"nextScene":p+1<c?l=ae(n[p+1]):a="There are no next scenes in the DOM.";break;case"previousScene":0<=p-1?l=ae(n[p-1]):a="There are no previous scenes in the DOM."}l.length&&(o=parseFloat(l.attr("data-scene-duration")),u=l.height(),m=(r=l.find(".ls-container")).height(),t.position=ae.trim(t.position)||"0ms",v=l.is('[data-scene="scroll"]')?(h=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?o*(Math.min(100,Math.max(0,parseFloat(t.position)))/100):Math.min(Math.max(0,parseFloat(t.position)/1e3),o),Math.round(parseFloat(l.offset().top)-parseFloat(r.css("top"))+h/o*(u-m))):(h=Math.min(100,Math.max(0,parseFloat(t.position)))/100,Math.round(parseFloat(l.offset().top)-parseFloat(r.css("top"))+(u-m)*h)))}else if("scrollToTimelinePosition"===t.action){var u=0,m=(t.position+"").charAt(0),h="+"===m||"-"===m;ee.slider.state.isScrolling&&h&&(ee.timelines._layers.stop(),u=ee.timelines._layers.time()-ee.slider.lastWantedTimelinePosition);var h=ee.timelines._layers.duration(),f=h*(100*ee.timelines._layers.progress()/100),g=0,g=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?h*parseFloat(t.position)/100:parseFloat(t.position)/1e3;switch(g=Math.abs(g),m){case"+":g=f+g;break;case"-":g=f-g}g=Math.max(Math.min(g-u,h),0),ee.slider.lastWantedTimelinePosition=g}a||(t.duration=ae.isNumeric(t.duration)?t.duration:1e3,ee.slider.state.isScrolling=!0,"scrollToTimelinePosition"===t.action?ee.timelines._layers.tweenTo(g,{ease:ee.functions.convert.easing(t.easing),onComplete:function(){ee.slider.state.isScrolling=!1}}).duration(t.duration/1e3):te.TweenMax.to("html, body",t.duration/1e3,{scrollTop:v,ease:ee.functions.convert.easing(t.easing),onComplete:function(){ee.slider.state.isScrolling=!1}}));break;case"switchSlide":ee.slideshow.changeTo(t.slide,!0,!0);break;case"nextSlide":case"prevSlide":case"lastSlide":case"firstSlide":case"stopSlideshow":case"startSlideshow":"nextSlide"===t.action&&(x="next"),"prevSlide"===t.action&&(x="prev"),"lastSlide"===t.action&&(x="last"),"firstSlide"===t.action&&(x="first"),"stopSlideshow"===t.action&&(x="stop"),"startSlideshow"===t.action&&(x="start"),ee.navigation[x]("clicked");break;case"replaySlide":ee.api.methods("replay");break;case"reverseSlide":ee.api.methods("reverse",t.replay);break;case"resetSlide":ee.api.methods("resetSlide");break;case"pauseProject":ee.api.methods("pauseSlider");break;case"resumeProject":ee.api.methods("resumeSlider");break;case"toggleProject":ee.api.methods("toggleSlider");break;case"playMedia":ee.media.functions.playActiveMedia();break;case"pauseMedia":ee.media.functions.pauseActiveMedia();break;case"unmuteMedia":ee.media.unmute.multipleMediaElements();break;case"openPopup":var y,v=ae('[data-ls-slug="'+t.popup+'"], [id^=layerslider_'+t.popup+"]").first(),x=v.data("lsSliderUID");v.length?((y=window._layerSliders[x].initializedPlugins.popup).plugin.settings.showOnce=!1,"opened"==y.state.is?t.toggle&&y.events.hide():t.slide?v.layerSlider("fastChangeTo",t.slide,function(){y.events.show()}):y.events.show()):(v={action:"ls_get_popup_markup",id:t.popup,slide:t.slide},ae.get(ee.o.ajaxURL||window.ajaxurl||"/wp-admin/admin-ajax.php",v,function(e){ae(e).appendTo("body")}));break;case"launchPopups":for(i in window._layerSliders)(e=window._layerSliders[i]).initializedPlugins.popup&&e.api.methods("openPopup");break;case"closePopup":ee.api.methods("closePopup");break;case"closeAllPopups":ee.api.methods("closeAllPopups");break;case"jsFunction":try{window[t.function]()}catch(e){s=e,a="The browser thrown the following error after calling "+t.function+"() JavaScript function."}}a&&console.error('LayerSlider: Error while calling layer action "'+t.action+'". '+a+(""!==s?"\n\r\n\r":""),s)}},ee.api={hasEvent:function(e,t){t=ae._data(t||L,"events");return!(!t||!t[e])},methods:function(e,t,i,a){if(!ee.slider.isBusy())if("number"==typeof e)0<e&&e<ee.slides.count+1&&e!=ee.slides.current.index&&ee.slideshow.changeTo(e,!0,!0);else switch(e){case"touchPrev":ee.device.touchPrev=!0;case"previousSlide":case"prev":ee.navigation.prev();break;case"touchNext":ee.device.touchNext=!0;case"nextSlide":case"next":ee.navigation.next();break;case"startSlideshow":case"start":ee.navigation.start()}switch(e){case"openPopup":ee.initializedPlugins.popup&&(ee.plugins.callFunctions("openPopup",{}),t&&ae.isNumeric(t)?_.layerSlider("fastChangeTo",t,function(){ee.initializedPlugins.popup.events.show()}):ee.initializedPlugins.popup.events.show());break;case"launchPopups":ee.plugins.callFunctions("launchPopups",{}),ee.actions.do("launchPopups");break;case"fastChangeTo":ee.plugins.callFunctions("fastChangeTo",{}),t&&ae.isNumeric(t)&&(ee.slides.current.index!==t?(ee.slideshow.forceFastChange=!0,ee.slider.shouldResize=!0,i&&"function"==typeof i&&(ee.slideshow.forceFastChangeCallback=i),ee.slideshow.changeTo(t,!0,!0)):i&&i());break;case"resetScroll":ee.plugins.callFunctions("resetScroll",{}),ee.slider.set.offset(),M.trigger("scroll.scroll"+$).trigger("touchmove.scroll"+$).trigger("scroll.parallax"+$).trigger("touchmove.parallax"+$);break;case"enableScene":ee.slider.isScene&&(ee.plugins.callFunctions("enableScene",{}),ee.slider.$spacingWrapper.removeAttr("data-disabled-scene"),ee.api.methods("resetScroll"));break;case"disableScene":ee.slider.isScene&&(ee.plugins.callFunctions("disableScene",{}),ee.slider.$spacingWrapper.attr("data-disabled-scene",""),ee.transitions.scrollscene.animate("start"),ee.api.methods("resetScroll"));break;case"closePopup":ee.initializedPlugins.popup&&(ee.plugins.callFunctions("closePopup",{}),ee.initializedPlugins.popup.events.hide());break;case"closeAllPopups":ee.plugins.callFunctions("closAllPopups",{}),ae('<div class="ls-close-all-popups-button"></div>').css("display","none").appendTo("body").trigger("click").remove();break;case"updateLayerData":t&&ee.layers.update.data(t,i,a);break;case"redrawSlider":case"redraw":ee.plugins.callFunctions("redrawSlider",{}),ee.resize.all(),ee.api.methods("resetScroll");break;case"replaySlide":case"replay":ee.timelines._layers&&(ee.plugins.callFunctions("replaySlide",{}),ee.timelines._layers.pause().progress(0).invalidate().restart(!0,!1));break;case"reverseSlide":case"reverse":ee.timelines._layers&&(ee.plugins.callFunctions("reverseSlide",{}),ee.timelines._layers.reversed()?ee.timelines._layers.play():ee.timelines._layers.reverse(),t&&(ee.transitions.layers.timeline.shouldReplay=!0));break;case"unmute":case"unmuteMedia":ee.media.unmute.multipleMediaElements();break;case"stopSlideshow":case"stop":ee.navigation.stop();break;case"pauseSlider":case"pause":ee.plugins.callFunctions("pauseSlider",{}),t&&"performanceMode"===t&&ee.functions.setStates(ee.slideshow,{pausedByPerformance:!0}),ee.timelines._layers&&!ee.slider.isScrollScene&&ee.timelines._layers.stop(),ee.layers.get("active").each(function(){var e=ae(this).data(ee.defaults.init.dataKey);e.timelines._loop&&e.timelines._loop.stop()}),ee.transitions.layers.parallax.state.paused=!0,ee.transitions.layers.scroll.state.paused=!0,ee.media.functions.pauseActiveMedia(!0);break;case"resumePopup":ee.layers.get("active").each(function(){ee.media.functions.playIfAllowed(ae(this))}),ee.timelines._layers&&(ee.timelines._layers.timeScale()<.001&&ee.transitions.layers.timeline.resume(),ee.timelines._layers.play()),ee.timelines._slideTransition&&ee.timelines._slideTransition.play();break;case"resumeSlider":case"resume":ee.plugins.callFunctions("resumeSlider",{}),ee.timelines._layers&&(ee.timelines._layers.timeScale()<.001&&ee.transitions.layers.timeline.resume(),ee.slider.isScrollScene||ee.timelines._layers.play()),ee.media.functions.playActiveMedia(!0),ee.layers.get("active").each(function(){var e=ae(this).data(ee.defaults.init.dataKey);e.timelines._loop&&e.timelines._loop.play()}),ee.transitions.layers.parallax.state.paused=!1,ee.transitions.layers.scroll.state.paused=!1,ee.timelines._slideTransition?ee.timelines._slideTransition.play():ee.o.animateFirstSlide&&ee.slideshow.firstStart&&ee.slider.state.readyForStart&&(ee.resize.layers({callback:ee.api.resumeCallback}),ee.api.resumeCallback=!1),t&&"performanceMode"===t&&ee.functions.setStates(ee.slideshow,{pausedByPerformance:!1});break;case"playMedia":ee.media.functions.playActiveMedia();break;case"pauseMedia":ee.media.functions.pauseActiveMedia();break;case"toggleSlider":case"toggle":ee.plugins.callFunctions("toggleSlider",{}),ee.slider.state.isPaused?(_.layerSlider("resume"),ee.slider.state.isPaused=!1):(_.layerSlider("pause"),ee.slider.state.isPaused=!0);break;case"reset":case"resetSlider":break;case"resetSlide":case"resetCurrentSlide":ee.plugins.callFunctions("resetSlide",{}),ee.timelines.to([ee.timelines,"_layers _layersAlt",0]),ee.media.functions.stop(!0);break;case"destroy":case"kill":if(ee.plugins.callFunctions("killSlider",{}),ee.slider.state.isLoaded){if(ee.transitions.lottie.destroyAll(),ee.functions.clearTimers(),ee.functions.clearTimelines(),ee.layers.$all.removeData(),ee.api.hasEvent("sliderDidDestroy")&&ee.api.triggerEvent("sliderDidDestroy"),ee.slider.state.sholudBeRemoved||t){if(ee.slider.$hiddenWrapper.remove(),ee.gui.timers.slidebar.$containerElement)for(var s=0;s<ee.gui.timers.slidebar.$containerElement.length;s++)ee.gui.timers.slidebar.$containerElement[s]instanceof jQuery&&ee.gui.timers.slidebar.$containerElement[s].remove();ee.api.hasEvent("sliderDidRemove")&&ee.api.triggerEvent("sliderDidRemove");var r=ee.slider.$spacingWrapper;r.closest(".ls-popup").length&&(r=r.closest(".ls-popup")).prev(".ls-popup-overlay").remove(),r.remove(),ee.slider.$silentWrapper&&ee.slider.$silentWrapper.remove()}ee.functions.clearEvents(),window._layerSlider.removeSlider($)}else ee.functions.setStates(ee.slider,{shouldBeDestroyed:!0,sholudBeRemoved:t||!1});ee.slider.positionToViewport="under",ee.device.scroll.enable()}},eventData:function(){return{data:ee,userData:ee.o,uid:$,target:L,slider:_,state:ee.slider.state,isBusy:ee.slider.isBusy(),event:{target:L},api:function(e,t,i,a){_.layerSlider(e,t,i,a)},navigation:{direction:ee.navigation.direction},slides:{first:{index:ee.slides.first.index,deeplink:ee.slides.get.deeplink(ee.slides.first.index),data:ee.slides.first.data},prev:{index:ee.slides.prev.index,deeplink:ee.slides.get.deeplink(ee.slides.prev.index),data:ee.slides.prev.data},current:{index:ee.slides.current.index||ee.slides.first.index,deeplink:ee.slides.get.deeplink(ee.slides.current.index),layersIn:ee.layers.get("current,in"),layersOut:ee.layers.get("current,out"),timeline:ee.timelines._layers,data:ee.slides.current.data},next:{index:ee.slides.next.index,deeplink:ee.slides.get.deeplink(ee.slides.next.index),layersIn:ee.layers.get("next,in"),layersOut:ee.layers.get("next,out"),data:ee.slides.next.data},count:ee.slides.count},slideChangeTimeline:ee.timelines._slideTransition,slideshow:{state:ee.slideshow.state,sequence:ee.slideshow.sequence,direction:ee.slideshow.direction,isPaused:ee.slideshow.isPaused()},cycles:{max:ee.o.cycles,current:ee.slideshow.curCycle}}},triggerEvent:function(t,e){var i,a;try{i=e?(a=_.triggerHandler(t+".layerSlider",e),_.triggerHandler(t+".$",e)):(a=_.triggerHandler(t+".layerSlider"),_.triggerHandler(t+".$"))}catch(e){console.error('LayerSlider: Error while calling event "'+t+'":\n\r\n\r',e)}return null!=a?a:"undefinded"!=typeof i&&null!==i?i:void 0}},ee.browser={isSafari:!!navigator.userAgent.match(/(iPhone|iPod|iPad|Safari)/i)&&!navigator.userAgent.match(/(Opera|Chrome|Edge)/i),isChrome:function(){var e=window.chrome,t=window.navigator,i=t.vendor,a=void 0!==window.opr,s=-1<t.userAgent.indexOf("Edge"),s=!!t.userAgent.match("CriOS")||null!=e&&"Google Inc."===i&&!1==a&&!1==s;return s},usesFileProtocol:-1!==document.location.href.indexOf("file://"),supports3D:function(){for(var e=ae("<div>"),t=!1,i=!1,a=["perspective","OPerspective","msPerspective","MozPerspective","WebkitPerspective"],s=["transformStyle","OTransformStyle","msTransformStyle","MozTransformStyle","WebkitTransformStyle"],r=a.length-1;0<=r;r--)t=t||void 0!==e[0].style[a[r]];for(var o=s.length-1;0<=o;o--)e.css("transform-style","preserve-3d"),i=i||"preserve-3d"==e[0].style[s[o]];return t&&void 0!==e[0].style[a[4]]&&(e.attr("id","ls-test3d").appendTo(_),t=3===e[0].offsetHeight&&9===e[0].offsetLeft,e.remove()),t&&i},isOld:-1!==navigator.userAgent.indexOf("rident/5")},ee.initializedPlugins={},ee.timeouts={},ee.intervals={},ee.debug={options:{}},ee.plugin={version:"8.2.0",release:"stable",releaseDate:"2026. 03. 02."},ee.slider.load()}}(jQuery);
;var layerSliderTransitions={t2d:[{n:"a b c",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"l"}},{n:"a b d",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"r"}},{n:"a b e",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"t"}},{n:"a b f",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"b"}},{n:"g",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"f",ea:"e5",du:1e3,di:"l"}},{n:"h i j",r:[2,4],c:[4,7],t:{de:30,sq:"fw"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i k",r:[2,4],c:[4,7],t:{de:30,sq:"rv"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i l",r:[2,4],c:[4,7],t:{de:30,sq:"cf"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i m",r:[2,4],c:[4,7],t:{de:30,sq:"cr"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i n",r:[2,4],c:[4,7],t:{de:30,sq:"rnd"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"o h b c",r:1,c:35,t:{de:25,sq:"rv"},tr:{tp:"f",ea:"e1",du:750,di:"l"}},{n:"o h b d",r:1,c:35,t:{de:25,sq:"fw"},tr:{tp:"f",ea:"e11",du:750,di:"l"}},{n:"o h b e",r:35,c:1,t:{de:25,sq:"cr"},tr:{tp:"f",ea:"e11",du:750,di:"l"}},{n:"o h b f",r:35,c:1,t:{de:25,sq:"cf"},tr:{tp:"f",ea:"e11",du:750,di:"l"}},{n:"o a b c",r:1,c:25,t:{de:30,sq:"rv"},tr:{tp:"sl",ea:"e11",du:350,di:"l"}},{n:"o a b d",r:1,c:25,t:{de:30,sq:"fw"},tr:{tp:"sl",ea:"e11",du:350,di:"r"}},{n:"o p b e",r:25,c:1,t:{de:30,sq:"cr"},tr:{tp:"sl",ea:"e11",du:350,di:"t"}},{n:"o a b f",r:25,c:1,t:{de:30,sq:"cf"},tr:{tp:"sl",ea:"e11",du:350,di:"b"}},{n:"a i q c n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"r"}},{n:"a i q d n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"l"}},{n:"a i q e n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"b"}},{n:"a i q f n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"t"}},{n:"a r i q r s",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"rnd"}},{n:"a t q c u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a t q c v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a t q c n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a t q d u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a t q d v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a t q d n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a t b f q e u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a t b f q e n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a t b e q f v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a t b e q f n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w q e u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a w q e v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a w q e n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a w q f u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w q f v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w q f n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w b d q c u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a w b d q c n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a w b c q d v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a w b c q d n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"h x a i q c n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"r"}},{n:"h x a i q d n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"l"}},{n:"h x a i q e n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"b"}},{n:"h x a i q f n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"t"}},{n:"h x a r i q r s",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"rnd"}},{n:"h x a i b y u",r:[2,4],c:[4,7],t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e10",du:500,di:"tl"}},{n:"h x a i b z v",r:[2,4],c:[4,7],t:{de:50,sq:"rv"},tr:{tp:"mx",ea:"e10",du:500,di:"br"}},{n:"h x a i b A n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"tr"}},{n:"h x a i b B n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"bl"}},{n:"h x a t q c u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a t q c v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a t q c n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a t q d u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a t q d v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a t q d n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a t b f q e u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a t b f q e n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a t b e q f v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a t b e q f n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w q e u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a w q e v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a w q e n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a w q f u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w q f v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w q f n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w b d q c u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a w b d q c n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a w b c q d v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a w b c q d n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"C",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"C t",r:4,c:1,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"C D",r:1,c:4,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"C i E",r:3,c:4,t:{de:35,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5,_rY:90}},{n:"C i F",r:3,c:4,t:{de:35,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"t",_s:.5,_rX:-90}},{n:"G i E",r:3,c:4,t:{de:15,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5,_rY:90}},{n:"G i F",r:3,c:4,t:{de:15,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"t",_s:.5,_rX:-90}},{n:"C H t",r:4,c:1,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"r",_s:.5}},{n:"C H D",r:1,c:4,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"I J b d",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"r",_rY:90}},{n:"I J b c",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"l",_rY:-90}},{n:"I J b f",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"b",_rX:-90}},{n:"I J b e",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"t",_rX:90}},{n:"I i b d",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:90}},{n:"I i b c",r:[3,4],c:[3,4],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:-90}},{n:"I i b f",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:-90}},{n:"I i b e",r:[3,4],c:[3,4],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:90}},{n:"I t b f",r:[6,12],c:1,t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:90}},{n:"I t b e",r:[6,12],c:1,t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:-90}},{n:"I D b d",r:1,c:[6,12],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:-90}},{n:"I D b c",r:1,c:[6,12],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:90}},{n:"K t b d",r:[3,10],c:1,t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:90}},{n:"K t b c",r:[3,10],c:1,t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:-90}},{n:"K D b f",r:1,c:[3,10],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:-90}},{n:"K D b e",r:1,c:[3,10],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:90}},{n:"K x L J b d",r:1,c:1,t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"r",_s:.1,_r:-90,_rY:90}},{n:"K x L J b c",r:1,c:1,t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"l",_s:.1,_r:90,_rY:-90}},{n:"K x L i b d",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"r",_r:-45}},{n:"K x L i b c",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"l",_r:-45}},{n:"K x L i b r",r:[3,4],c:[3,4],t:{de:55,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:750,di:"rnd",_r:-45}},{n:"M J N",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"f",ea:"e10",du:1500,di:"l",_s:.8}},{n:"M J b O",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"f",ea:"e11",du:1500,di:"l",_s:1.2}},{n:"M i r",r:[3,4],c:[3,4],t:{de:35,sq:"rnd"},tr:{tp:"f",ea:"e10",du:750,di:"l",_s:.1}},{n:"M i b O r",r:[3,4],c:[3,4],t:{de:35,sq:"rnd"},tr:{tp:"f",ea:"e10",du:750,di:"l",_s:2}},{n:"M N x L i r",r:[3,4],c:[3,4],t:{de:35,sq:"rnd"},tr:{tp:"f",ea:"e10",du:750,di:"l",_s:.1,_r:90}},{n:"M x L i b O r",r:[3,4],c:[3,4],t:{de:35,sq:"rnd"},tr:{tp:"f",ea:"e10",du:750,di:"l",_s:2,_r:-90}},{n:"P i Q",r:3,c:4,t:{de:15,sq:"fw"},tr:{tp:"sl",ea:"e11",du:850,di:"tr"}},{n:"P t E",r:6,c:1,t:{de:0,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"l"}},{n:"P t F",r:6,c:1,t:{de:0,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"t"}},{n:"P D E",r:1,c:8,t:{de:0,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"l"}},{n:"P D F",r:1,c:8,t:{de:0,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"t"}},{n:"r R q d",r:10,c:1,t:{de:10,sq:"rnd"},tr:{du:1500,ea:"e11",tp:"sl",di:"l"}},{n:"r R q c",r:10,c:1,t:{de:10,sq:"rnd"},tr:{du:1500,ea:"e11",tp:"sl",di:"r"}},{n:"r R q e",r:1,c:15,t:{de:10,sq:"rnd"},tr:{du:1500,ea:"e11",tp:"sl",di:"b"}},{n:"r R q f",r:1,c:15,t:{de:10,sq:"rnd"},tr:{du:1500,ea:"e11",tp:"sl",di:"t"}},{n:"S b d",r:25,c:1,t:{de:0,sq:"rv"},tr:{tp:"sc",ea:"e11",du:2e3,di:"r"}},{n:"S b c",r:25,c:1,t:{de:0,sq:"rv"},tr:{tp:"sc",ea:"e11",du:2e3,di:"l"}},{n:"S b T",r:25,c:1,t:{de:0,sq:"rv"},tr:{tp:"sc",ea:"e11",du:2e3,di:"c"}},{n:"U b d",r:25,c:1,t:{de:0,sq:"fw"},tr:{tp:"sc",ea:"e11",du:2e3,di:"r"}},{n:"U b c",r:25,c:1,t:{de:0,sq:"fw"},tr:{tp:"sc",ea:"e11",du:2e3,di:"l"}},{n:"U b T",r:25,c:1,t:{de:0,sq:"fw"},tr:{tp:"sc",ea:"e11",du:2e3,di:"c"}},{n:"V b d",r:25,c:1,t:{de:0,sq:"c"},tr:{tp:"sc",ea:"e11",du:2e3,di:"r"}},{n:"V b c",r:25,c:1,t:{de:0,sq:"c"},tr:{tp:"sc",ea:"e11",du:2e3,di:"l"}},{n:"V b T",r:25,c:1,t:{de:0,sq:"c"},tr:{tp:"sc",ea:"e11",du:2e3,di:"c"}},{n:"W b d",r:25,c:1,t:{de:0,sq:"e"},tr:{tp:"sc",ea:"e11",du:2e3,di:"r"}},{n:"W b c",r:25,c:1,t:{de:0,sq:"e"},tr:{tp:"sc",ea:"e11",du:2e3,di:"l"}},{n:"W b T",r:25,c:1,t:{de:0,sq:"e"},tr:{tp:"sc",ea:"e11",du:2e3,di:"c"}},{n:"X b f",r:1,c:25,t:{de:0,sq:"rv"},tr:{tp:"sc",ea:"e11",du:2e3,di:"b"}},{n:"X b e",r:1,c:25,t:{de:0,sq:"rv"},tr:{tp:"sc",ea:"e11",du:2e3,di:"t"}},{n:"X b Y",r:1,c:25,t:{de:0,sq:"rv"},tr:{tp:"sc",ea:"e11",du:2e3,di:"m"}},{n:"Z b f",r:1,c:25,t:{de:0,sq:"fw"},tr:{tp:"sc",ea:"e11",du:2e3,di:"b"}},{n:"Z b e",r:1,c:25,t:{de:0,sq:"fw"},tr:{tp:"sc",ea:"e11",du:2e3,di:"t"}},{n:"Z b Y",r:1,c:25,t:{de:0,sq:"fw"},tr:{tp:"sc",ea:"e11",du:2e3,di:"m"}},{n:"0 b f",r:1,c:25,t:{de:0,sq:"c"},tr:{tp:"sc",ea:"e11",du:2e3,di:"b"}},{n:"0 b e",r:1,c:25,t:{de:0,sq:"c"},tr:{tp:"sc",ea:"e11",du:2e3,di:"t"}},{n:"0 b Y",r:1,c:25,t:{de:0,sq:"c"},tr:{tp:"sc",ea:"e11",du:2e3,di:"m"}},{n:"W b f",r:1,c:25,t:{de:0,sq:"e"},tr:{tp:"sc",ea:"e11",du:2e3,di:"b"}},{n:"W b e",r:1,c:25,t:{de:0,sq:"e"},tr:{tp:"sc",ea:"e11",du:2e3,di:"t"}},{n:"W b Y",r:1,c:25,t:{de:0,sq:"e"},tr:{tp:"sc",ea:"e11",du:2e3,di:"m"}},{n:"W E d q c",r:25,c:1,t:{de:0,sq:"mr"},tr:{tp:"sc",ea:"e11",du:2e3,di:"l"}},{n:"W E c q d",r:25,c:1,t:{de:0,sq:"mr"},tr:{tp:"sc",ea:"e11",du:2e3,di:"r"}},{n:"W F f q e",r:1,c:25,t:{de:0,sq:"mr"},tr:{tp:"sc",ea:"e11",du:2e3,di:"t"}},{n:"W F e q f",r:1,c:25,t:{de:0,sq:"mr"},tr:{tp:"sc",ea:"e11",du:2e3,di:"b"}},{n:"1 2 3 a b c",r:100,c:1,t:{de:3,sq:"c"},tr:{tp:"sl",ea:"e14",du:1e3,di:"l"}},{n:"1 2 3 a b d",r:100,c:1,t:{de:3,sq:"c"},tr:{tp:"sl",ea:"e14",du:1e3,di:"r"}},{n:"1 2 3 a b e",r:1,c:100,t:{de:3,sq:"c"},tr:{tp:"sl",ea:"e14",du:1e3,di:"t"}},{n:"1 2 3 a b f",r:1,c:100,t:{de:3,sq:"c"},tr:{tp:"sl",ea:"e14",du:1e3,di:"b"}},{n:"1 2 4 a b c",r:100,c:1,t:{de:3,sq:"e"},tr:{tp:"sl",ea:"e14",du:1e3,di:"l"}},{n:"1 2 4 a b d",r:100,c:1,t:{de:3,sq:"e"},tr:{tp:"sl",ea:"e14",du:1e3,di:"r"}},{n:"1 2 4 a b e",r:1,c:100,t:{de:3,sq:"e"},tr:{tp:"sl",ea:"e14",du:1e3,di:"t"}},{n:"1 2 4 a b f",r:1,c:100,t:{de:3,sq:"e"},tr:{tp:"sl",ea:"e14",du:1e3,di:"b"}},{n:"5 6 E",r:50,c:1,t:{de:5,sq:"c"},tr:{tp:"sl",ea:"e14",du:1e3,di:"rnd"}},{n:"5 6 F",r:1,c:50,t:{de:5,sq:"c"},tr:{tp:"sl",ea:"e14",du:1e3,di:"rnd"}},{n:"5 7 F",r:1,c:75,t:{de:3,sq:"rnd"},tr:{du:1e3,ea:"e13",tp:"sl",di:"b",_rX:0,_rY:0,_r:10,_s:1}},{rc:10,n:"5 i N",t:{de:50,sq:"ri"},tr:{tp:"sc",ea:"e4",du:500,di:"rnd",_s:0,_o:0}},{rc:10,n:"5 i O",t:{de:50,sq:"ro"},tr:{tp:"sc",ea:"e4",du:500,di:"rnd",_s:0,_o:0}},{rc:"150px",n:"5 i L",t:{de:10,sq:"e"},tr:{tp:"mx",ea:"e28",du:650,di:"rnd",_o:0,_r:20,_br:150}},{rc:"150px",n:"5 8 N 9",t:{de:5,sq:"rnd"},tr:{tp:"f",ea:"e25",du:1e3,di:"n",_s:0,_br:400,_o:0}},{rc:"100px",n:"5 aa i",t:{de:20,sq:"ri"},tr:{tp:"sl",ea:"e25",du:1e3,di:"rnd",_o:0,_s:0}},{n:"ba M q T E",r:1,c:70,t:{de:10,sq:"c"},tr:{tp:"mx",ea:"e13",du:1e3,di:"n",_sY:1.5,_o:0}},{n:"ba M q ca E",r:1,c:70,t:{de:10,sq:"e"},tr:{tp:"mx",ea:"e13",du:1e3,di:"n",_sY:1.5,_o:0}},{n:"ba M q T F",r:70,c:1,t:{de:10,sq:"c"},tr:{tp:"mx",ea:"e13",du:1e3,di:"n",_sX:1.5,_o:0}},{n:"ba M q ca F",r:70,c:1,t:{de:10,sq:"e"},tr:{tp:"mx",ea:"e13",du:1e3,di:"n",_sX:1.5,_o:0}},{n:"da q d",r:50,c:1,t:{de:5,sq:"fw"},tr:{du:1500,ea:"e11",tp:"sl",di:"l",_rX:0,_rY:0,_r:90,_s:1}},{n:"da q c",r:50,c:1,t:{de:5,sq:"fw"},tr:{du:1500,ea:"e11",tp:"sl",di:"r",_rX:0,_rY:0,_r:90,_s:1}},{n:"ea b c",r:50,c:1,t:{de:5,sq:"rnd"},tr:{du:1500,ea:"e26",tp:"sl",di:"l",_rX:0,_rY:0,_r:0,_s:1}},{n:"ea b d",r:50,c:1,t:{de:5,sq:"rnd"},tr:{du:1500,ea:"e26",tp:"sl",di:"r",_rX:0,_rY:0,_r:0,_s:1}},{n:"ea b f",r:1,c:50,t:{de:5,sq:"rnd"},tr:{du:1500,ea:"e26",tp:"sl",di:"b",_rX:0,_rY:0,_r:0,_s:1}},{n:"ea b e",r:1,c:50,t:{de:5,sq:"rnd"},tr:{du:1500,ea:"e26",tp:"sl",di:"t",_rX:0,_rY:0,_r:0,_s:1}},{n:"fa b c",r:50,c:1,t:{de:5,sq:"fw"},tr:{du:1500,ea:"e31",tp:"sl",di:"l",_rX:0,_rY:0,_r:0,_s:1}},{n:"fa b d",r:50,c:1,t:{de:5,sq:"fw"},tr:{du:1500,ea:"e31",tp:"sl",di:"r",_rX:0,_rY:0,_r:0,_s:1}},{n:"fa b f",r:1,c:50,t:{de:5,sq:"fw"},tr:{du:1500,ea:"e31",tp:"sl",di:"b",_rX:0,_rY:0,_r:0,_s:1}},{n:"fa b e",r:1,c:50,t:{de:5,sq:"fw"},tr:{du:1500,ea:"e31",tp:"sl",di:"t",_rX:0,_rY:0,_r:0,_s:1}}],t3d:[{n:"ga J q c ha",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:91},ea:"e9",du:1e3,di:"h"},af:{tr:{_rY:180},ea:"e10",du:1e3,di:"h"}},{n:"ga J q d ha",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:-91},ea:"e9",du:1e3,di:"h"},af:{tr:{_rY:-180},ea:"e10",du:1e3,di:"h"}},{n:"ga J q e ha",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rX:-91},ea:"e9",du:800,di:"v"},af:{tr:{_rX:-180},ea:"e10",du:800,di:"v"}},{n:"ga J q f ha",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rX:91},ea:"e9",du:800,di:"v"},af:{tr:{_rX:180},ea:"e10",du:800,di:"v"}},{n:"ga i q c ha",r:[2,4],c:[4,7],t:{de:75,sq:"fw"},an:{tr:{_rY:180},ea:"e11",du:1e3,di:"h"}},{n:"ga i q d ha",r:[2,4],c:[4,7],t:{de:75,sq:"rv"},an:{tr:{_rY:-180},ea:"e11",du:1e3,di:"h"}},{n:"ga i q e ha",r:[2,4],c:[4,7],t:{de:75,sq:"cf"},an:{tr:{_rX:-180},ea:"e11",du:1e3,di:"v"}},{n:"ga i q f ha",r:[2,4],c:[4,7],t:{de:75,sq:"cr"},an:{tr:{_rX:180},ea:"e11",du:1e3,di:"v"}},{n:"E ga i r ha",r:[2,4],c:[4,7],t:{de:75,sq:"rnd"},an:{tr:{_rY:180},ea:"e11",du:1300,di:"h"}},{n:"F ga i r ha",r:[2,4],c:[4,7],t:{de:75,sq:"rnd"},an:{tr:{_rX:180},ea:"e11",du:1300,di:"v"}},{n:"M x ga i q c ha",r:[2,4],c:[4,7],t:{de:75,sq:"fw"},be:{tr:{_s3:.95},du:450,ea:"e14"},an:{tr:{_rY:180},ea:"e29",du:1e3,di:"h"},af:{du:350,ea:"e29"}},{n:"M x ga i q d ha",r:[2,4],c:[4,7],t:{de:75,sq:"rv"},be:{tr:{_s3:.95},du:450,ea:"e14"},an:{tr:{_rY:-180},ea:"e29",du:1e3,di:"h"},af:{du:350,ea:"e29"}},{n:"M x ga i q e ha",r:[2,4],c:[4,7],t:{de:75,sq:"cf"},be:{tr:{_s3:.95},du:450,ea:"e14"},an:{tr:{_rX:-180},ea:"e29",du:1e3,di:"v"},af:{du:350,ea:"e29"}},{n:"M x ga i q f ha",r:[2,4],c:[4,7],t:{de:75,sq:"cr"},be:{tr:{_s3:.95},du:450,ea:"e14"},an:{tr:{_rX:180},ea:"e29",du:1e3,di:"v"},af:{du:350,ea:"e29"}},{n:"M x E ga i r ha",r:[2,4],c:[4,7],t:{de:75,sq:"rnd"},be:{tr:{_s3:.95,_rX:30},du:450,ea:"e14"},an:{tr:{_rY:180,_rX:-30},ea:"e29",du:1300,di:"h"},af:{tr:{_rX:0},du:350,ea:"e29"}},{n:"M x F ga i r ha",r:[2,4],c:[4,7],t:{de:75,sq:"rnd"},be:{tr:{_s3:.95,_rY:-15},du:450,ea:"e14"},an:{tr:{_rX:180,_rY:15},ea:"e29",du:1300,di:"v"},af:{tr:{_rY:0},du:350,ea:"e29"}},{n:"ga t q c ha",r:[5,9],c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:180},ea:"e11",du:1500,di:"h"}},{n:"ga t q d ha",r:[5,9],c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:-180},ea:"e11",du:1500,di:"h"}},{n:"ga t q e ha",r:[5,9],c:1,t:{de:75,sq:"fw"},an:{tr:{_rX:-180},ea:"e11",du:1e3,di:"v"}},{n:"ga t q f ha",r:[5,9],c:1,t:{de:75,sq:"rv"},an:{tr:{_rX:180},ea:"e11",du:1e3,di:"v"}},{n:"E ga t r ha",r:[5,9],c:1,t:{de:75,sq:"rnd"},an:{tr:{_rY:180},ea:"e11",du:1500,di:"h"}},{n:"F ga t r ha",r:[5,9],c:1,t:{de:75,sq:"rnd"},an:{tr:{_rX:-180},ea:"e11",du:1500,di:"v"}},{n:"F ga t r ia",r:[3,7],c:1,t:{de:150,sq:"rnd"},an:{tr:{_rX:-540},ea:"e11",du:2e3,di:"v"}},{n:"M x ga t q c ha",r:[5,9],c:1,t:{de:55,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e29",du:1200,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x ga t q d ha",r:[5,9],c:1,t:{de:55,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:-180},ea:"e29",du:1200,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x ga t q e ha",r:[5,9],c:1,t:{de:55,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e11",du:600,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x ga t q f ha",r:[5,9],c:1,t:{de:55,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:180},ea:"e11",du:600,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x E ga t r ha",r:[5,9],c:1,t:{de:55,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e29",du:1200,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x F ga t r ha",r:[5,9],c:1,t:{de:55,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e29",du:600,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"ga w q c ha",r:1,c:[5,9],t:{de:75,sq:"fw"},an:{tr:{_rY:180},ea:"e11",du:1500,di:"h"}},{n:"ga w q d ha",r:1,c:[5,9],t:{de:75,sq:"fw"},an:{tr:{_rY:-180},ea:"e11",du:1500,di:"h"}},{n:"ga w q e ha",r:1,c:[5,9],t:{de:75,sq:"fw"},an:{tr:{_rX:-180},ea:"e11",du:1e3,di:"v"}},{n:"ga w q f ha",r:1,c:[5,9],t:{de:75,sq:"rv"},an:{tr:{_rX:180},ea:"e11",du:1e3,di:"v"}},{n:"E ga w r ha",r:1,c:[5,9],t:{de:75,sq:"rnd"},an:{tr:{_rY:180},ea:"e11",du:1500,di:"h"}},{n:"F ga w r ha",r:1,c:[5,9],t:{de:75,sq:"rnd"},an:{tr:{_rX:-180},ea:"e11",du:1500,di:"v"}},{n:"E ga w r ia",r:1,c:[4,9],t:{de:150,sq:"rnd"},an:{tr:{_rY:540},ea:"e11",du:2e3,di:"h"}},{n:"M x ga w q c ha",r:1,c:[7,11],t:{de:55,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e11",du:600,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x ga w q d ha",r:1,c:[7,11],t:{de:55,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:-180},ea:"e11",du:600,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x ga w q e ha",r:1,c:[7,11],t:{de:55,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e29",du:1200,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x ga w q f ha",r:1,c:[7,11],t:{de:75,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:180},ea:"e29",du:1200,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x E ga w r ha",r:1,c:[7,11],t:{de:75,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e29",du:600,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x F ga w r ha",r:1,c:[7,11],t:{de:75,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e29",du:1200,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"ja ka M x ga q c ha",r:1,c:[7,11],t:{de:75,sq:"fw"},be:{tr:{_s3:.85,_rX:-30},du:600,ea:"e10"},an:{tr:{_rX:-30,_rY:180},ea:"e11",du:1e3,di:"h"},af:{tr:{_rX:0,de:200},ea:"e10",du:600}},{n:"ja ka M x ga q d ha",r:1,c:[7,11],t:{de:75,sq:"rv"},be:{tr:{_s3:.85,_rX:-30},du:600,ea:"e10"},an:{tr:{_rX:30,_rY:-180},ea:"e11",du:1e3,di:"h"},af:{tr:{_rX:0,de:200},ea:"e10",du:600}},{n:"I la q c ma",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:90},ea:"e11",du:1500,di:"h"}},{n:"I la q d ma",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:-90},ea:"e11",du:1500,di:"h"}},{n:"I la q e ma",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rX:-90},ea:"e11",du:1500,di:"v"}},{n:"I la q f ma",r:1,c:1,t:{de:75,sq:"fw"},an:{tr:{_rX:90},ea:"e11",du:1500,di:"v"}},{n:"M x I la q c ma",r:1,c:1,t:{de:75,sq:"rnd"},an:{tr:{_s3:.8,_r:7,_rX:10,_rY:45},ea:"e5",du:800,di:"h"},af:{tr:{_r:0,_rX:0,_rY:90},du:800,ea:"e5"}},{n:"M x I la q d ma",r:1,c:1,t:{de:75,sq:"rnd"},an:{tr:{_s3:.8,_r:-7,_rX:10,_rY:-45},ea:"e5",du:800,di:"h"},af:{tr:{_r:0,_rX:0,_rY:-90},du:800,ea:"e5"}},{n:"M x I na q c ma",r:[2,4],c:[4,7],t:{de:75,sq:"fw"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rY:90},ea:"e29",du:1e3,di:"h"},af:{du:350,ea:"e29"}},{n:"M x I na q d ma",r:[2,4],c:[4,7],t:{de:75,sq:"rv"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rY:-90},ea:"e29",du:1e3,di:"h"},af:{du:350,ea:"e29"}},{n:"M x I na q e ma",r:[2,4],c:[4,7],t:{de:75,sq:"cf"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rX:-90},ea:"e29",du:1e3,di:"v"},af:{du:350,ea:"e29"}},{n:"M x I na q f ma",r:[2,4],c:[4,7],t:{de:75,sq:"cr"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rX:90},ea:"e29",du:1e3,di:"v"},af:{du:350,ea:"e29"}},{n:"M x E I na r ma",r:[2,4],c:[4,7],t:{de:75,sq:"rnd"},be:{tr:{_s3:.75,_rX:-15},du:700,ea:"e14"},an:{tr:{_rY:75,_rX:15},ea:"e29",du:700,di:"h"},af:{tr:{_rY:90,_rX:0},du:700,ea:"e29"}},{n:"M x F I na r ma",r:[2,4],c:[4,7],t:{de:75,sq:"rnd"},be:{tr:{_s3:.75,_rY:15},du:700,ea:"e14"},an:{tr:{_rX:75,_rY:-15},ea:"e29",du:700,di:"v"},af:{tr:{_rX:90,_rY:0},du:700,ea:"e29"}},{n:"I t q c ma",r:[5,9],c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:90},ea:"e11",du:1500,di:"h"}},{n:"I t q d ma",r:[5,9],c:1,t:{de:75,sq:"fw"},an:{tr:{_rY:-90},ea:"e11",du:1500,di:"h"}},{n:"E I t r ma",r:[5,9],c:1,t:{de:75,sq:"rnd"},an:{tr:{_rY:90},ea:"e11",du:1500,di:"h"}},{n:"M x I t q c ma",r:[5,9],c:1,t:{de:75,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:87},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200,_rY:90},ea:"e28",du:600}},{n:"M x I t q d ma",r:[5,9],c:1,t:{de:75,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:-90},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x I t q e ma",r:[5,9],c:1,t:{de:75,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-90},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x I t q f ma",r:[5,9],c:1,t:{de:75,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:90},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x E I t r ma",r:[5,9],c:1,t:{de:75,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:90},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x F I t r ma",r:[5,9],c:1,t:{de:75,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-90},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x E I ja t q c ma",r:[7,11],c:1,t:{de:75,sq:"fw"},an:{tr:{_s3:.85,_rY:45},ea:"e14",du:1e3,di:"h"},af:{tr:{_rY:90},ea:"e14",du:1e3}},{n:"M x E I ja t q d ma",r:[7,11],c:1,t:{de:75,sq:"rv"},an:{tr:{_s3:.85,_rY:-45},ea:"e14",du:1e3,di:"h"},af:{tr:{_rY:-90},ea:"e14",du:1e3}},{n:"I w q e ma",r:1,c:[5,9],t:{de:75,sq:"fw"},an:{tr:{_rX:-90},ea:"e11",du:1e3,di:"v"}},{n:"I w q f ma",r:1,c:[5,9],t:{de:75,sq:"rv"},an:{tr:{_rX:90},ea:"e11",du:1e3,di:"v"}},{n:"F I w r ma",r:1,c:[5,9],t:{de:75,sq:"rnd"},an:{tr:{_rX:-90},ea:"e11",du:1e3,di:"v"}},{n:"M x I w q e ma",r:1,c:[7,11],t:{de:75,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-90},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x I w q f ma",r:1,c:[7,11],t:{de:75,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:90},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x I w q c ma",r:1,c:[7,11],t:{de:75,sq:"fw"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:90},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x I w q d ma",r:1,c:[7,11],t:{de:75,sq:"rv"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:-90},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x E I w r ma",r:1,c:[7,11],t:{de:75,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:90},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x F I w r ma",r:1,c:[7,11],t:{de:75,sq:"rnd"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-90},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e28",du:600}},{n:"M x F I ja w q c ma",r:1,c:[7,11],t:{de:75,sq:"fw"},an:{tr:{_s3:.85,_rX:45},ea:"e14",du:1e3,di:"v"},af:{tr:{_rX:90},ea:"e14",du:1e3}},{n:"M x F I ja w q d ma",r:1,c:[7,11],t:{de:75,sq:"rv"},an:{tr:{_s3:.85,_rX:-45},ea:"e14",du:1e3,di:"v"},af:{tr:{_rX:-90},ea:"e14",du:1e3}},{n:"ga la q c oa pa qa",r:1,c:1,t:{de:75,sq:"fw",d:"la"},an:{tr:{_rY:180},ea:"e11",du:1500,di:"h"}},{n:"ga la q d oa pa qa",r:1,c:1,t:{de:75,sq:"fw",d:"la"},an:{tr:{_rY:-180},ea:"e11",du:1500,di:"h"}},{n:"ga la q e oa pa qa",r:1,c:1,t:{de:75,sq:"fw",d:"la"},an:{tr:{_rX:-180},ea:"e11",du:1500,di:"v"}},{n:"ga la q f oa pa qa",r:1,c:1,t:{de:75,sq:"fw",d:"la"},an:{tr:{_rX:180},ea:"e11",du:1500,di:"v"}},{n:"M x ga na q c oa pa qa",r:[2,4],c:[4,7],t:{de:75,sq:"fw",d:"la"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rY:180},ea:"e29",du:1e3,di:"h"},af:{du:350,ea:"e29"}},{n:"M x ga na q d oa pa qa",r:[2,4],c:[4,7],t:{de:75,sq:"rv",d:"la"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rY:-180},ea:"e29",du:1e3,di:"h"},af:{du:350,ea:"e29"}},{n:"M x ga na q e oa pa qa",r:[2,4],c:[4,7],t:{de:75,sq:"cf",d:"la"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rX:-180},ea:"e29",du:1e3,di:"v"},af:{du:350,ea:"e29"}},{n:"M x ga na q f oa pa qa",r:[2,4],c:[4,7],t:{de:75,sq:"cr",d:"la"},be:{tr:{_s3:.85},du:450,ea:"e14"},an:{tr:{_rX:180},ea:"e29",du:1e3,di:"v"},af:{du:350,ea:"e29"}},{n:"M x E ga na r oa pa qa",r:[2,4],c:[4,7],t:{de:75,sq:"rnd",d:"la"},be:{tr:{_s3:.65},du:700,ea:"e14"},an:{tr:{_rY:180},ea:"e29",du:700,di:"h"},af:{du:700,ea:"e29"}},{n:"M x F ga na r oa pa qa",r:[2,4],c:[4,7],t:{de:75,sq:"rnd",d:"la"},be:{tr:{_s3:.65},du:700,ea:"e14"},an:{tr:{_rX:180},ea:"e29",du:700,di:"v"},af:{du:700,ea:"e29"}},{n:"M x ga t q c oa pa qa",r:[5,9],c:1,t:{de:65,sq:"fw",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e11",du:1200,di:"h"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga t q d oa pa qa",r:[5,9],c:1,t:{de:65,sq:"rv",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:-180},ea:"e11",du:1200,di:"h"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga t q e oa pa qa",r:[5,9],c:1,t:{de:65,sq:"fw",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga t q f oa pa qa",r:[5,9],c:1,t:{de:65,sq:"rv",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:180},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x E ga t r oa pa qa",r:[5,9],c:1,t:{de:65,sq:"rnd",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e11",du:1200,di:"h"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x F ga t r oa pa qa",r:[5,9],c:1,t:{de:65,sq:"rnd",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e29",du:1e3,di:"v"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga w q e oa pa qa",r:1,c:[7,11],t:{de:65,sq:"fw",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e11",du:1200,di:"v"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga w q f oa pa qa",r:1,c:[7,11],t:{de:65,sq:"rv",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:180},ea:"e11",du:1200,di:"v"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga w q c oa pa qa",r:1,c:[7,11],t:{de:65,sq:"fw",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x ga w q d oa pa qa",r:1,c:[7,11],t:{de:65,sq:"rv",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:-180},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x E ga w r oa pa qa",r:1,c:[7,11],t:{de:65,sq:"rnd",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rY:180},ea:"e29",du:1e3,di:"h"},af:{tr:{de:200},ea:"e10",du:400}},{n:"M x F ga w r oa pa qa",r:1,c:[7,11],t:{de:65,sq:"rnd",d:"la"},be:{tr:{_s3:.85},du:600,ea:"e28"},an:{tr:{_rX:-180},ea:"e11",du:1200,di:"v"},af:{tr:{de:200},ea:"e10",du:400}},{n:"ra L x h sa",r:1,c:1,t:{de:1,sq:"fw",d:"la"},be:{tr:{_s3:.65,_rY:-270},du:1500,ea:"e9"},an:{tr:{_s3:1,_rY:-540},ea:"e10",du:1500,di:"h"}},{n:"ta L x h sa",r:1,c:1,t:{de:1,sq:"fw",d:"la"},be:{tr:{_s3:.65,_rX:-270},du:1500,ea:"e9"},an:{tr:{_s3:1,_rX:-540},ea:"e10",du:1500,di:"v"}},{n:"ra L x h na",r:[2,3],c:[3,5],t:{de:50,sq:"rnd"},be:{tr:{_s3:.75},du:350,ea:"e9"},an:{tr:{_rY:-45,_rX:180},ea:"e11",du:1,di:"v"},af:{tr:{_rY:0},ea:"e10",du:1200}},{n:"ta L x h na",r:[2,3],c:[3,5],t:{de:50,sq:"rnd"},be:{tr:{_s3:.75},du:350,ea:"e9"},an:{tr:{_rX:-45,_rY:180},ea:"e11",du:1,di:"h"},af:{tr:{_rX:0},ea:"e10",du:1200}}]},_lsSwapObj=function(e){for(var r in e)e[e[r]]=r,delete e[r]},_lsConvTrProp=function(e,r){var d,a,t={af:"after",an:"animation",be:"before",c:"cols",d:"depth",de:"delay",di:"direction",du:"duration",ea:"easing",n:"name",r:"rows",sq:"sequence",t:"tile",tp:"type",tr:"transition",_br:"borderRadius",_o:"opacity",_r:"rotate",_rX:"rotateX",_rY:"rotateY",_s:"scale",_s3:"scale3d",_sX:"scaleX",_sY:"scaleY",_skX:"skewX",_skY:"skewY"},n={b:"bottom",bl:"bottomleft",br:"bottomright",c:"center",cf:"col-forward",cr:"col-reverse",e:"edge",f:"fade",fw:"forward",h:"horizontal",l:"left",la:"large",m:"middle",mr:"mirror",mx:"mixed",n:"none",r:"right",ri:"radial-in",rnd:"random",ro:"radial-out",rv:"reverse",sc:"scale",sl:"slide",t:"top",tl:"topleft",tr:"topright",v:"vertical",e1:"linear",e2:"swing",e3:"easeInQuad",e4:"easeOutQuad",e5:"easeInOutQuad",e6:"easeInCubic",e7:"easeOutCubic",e8:"easeInOutCubic",e9:"easeInQuart",e10:"easeOutQuart",e11:"easeInOutQuart",e12:"easeInQuint",e13:"easeOutQuint",e14:"easeInOutQuint",e15:"easeInSine",e16:"easeOutSine",e17:"easeInOutSine",e18:"easeInExpo",e19:"easeOutExpo",e20:"easeInOutExpo",e21:"easeInCirc",e22:"easeOutCirc",e23:"easeInOutCirc",e24:"easeInElastic",e25:"easeOutElastic",e26:"easeInOutElastic",e27:"easeInBack",e28:"easeOutBack",e29:"easeInOutBack",e30:"easeInBounce",e31:"easeOutBounce",e32:"easeInOutBounce"},s=function(e){for(var r in e)"object"==typeof e[r]&&s(e[r]),t[r]&&(d=t[r],a=e[r],n[e[r]]&&(a=n[e[r]]),e[d]=a,delete e[r])};return r?(_lsSwapObj(t),_lsSwapObj(n)):_lsConvTrNames(e),s(e),e},_lsConvTrNames=function(e,t){var n,s,u,c={sliding:"a",from:"b",right:"c",left:"d",bottom:"e",top:"f",crossfading:"g",fading:"h",tiles:"i",forward:"j",reverse:"k","col-forward":"l","col-reverse":"m","(random)":"n",smooth:"o",sliging:"p",to:"q",random:"r",directions:"s",rows:"t","(forward)":"u","(reverse)":"v",columns:"w",and:"x","top-left":"y","bottom-right":"z","top-right":"A","bottom-left":"B",carousel:"C",cols:"D",horizontal:"E",vertical:"F","carousel-mirror":"G",mirror:"H",turning:"I",tile:"J",flying:"K",rotating:"L",scaling:"M",in:"N",out:"O","mirror-sliding":"P",diagonal:"Q",slices:"R","top-scaling":"S",center:"T","bottom-scaling":"U","middle-scaling":"V","edge-scaling":"W","left-scaling":"X",middle:"Y","right-scaling":"Z","center-scaling":"0",pinched:"1",at:"2","edges,":"3","center,":"4",glitch:"5",slide:"6",spikes:"7",popping:"8",elastic:"9",mosaic:"aa",liquid:"ba",edges:"ca",tornado:"da",fluid:"ea",bounce:"fa",spinning:"ga","(180°)":"ha","(540°)":"ia",drunk:"ja",colums:"ka",cuboid:"la","(90°)":"ma",cuboids:"na","(180°,":"oa",large:"pa","depth)":"qa",horizontally:"ra",cube:"sa",vertically:"ta"},i=charSet2="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789".split(""),q=0,_=-1,f=i.length,l=function(e){for(var r in e)if("object"==typeof e[r]&&l(e[r]),"n"===r)if(s=n="",t){for(var d in u=e[r].toLowerCase().split(" "))c[u[d]]?s+=c[u[d]]+" ":(n=i[q]+(-1<_?charSet2[_]:""),c[u[d]]=n,q===f-1?(q=0,_++):q++,s+=n+" ");e[r]=s.trim()}else{for(var a in u=e[r].split(" "))n+=c[u[a]]+" ";e[r]=(n.charAt(0).toUpperCase()+n.slice(1)).trim()}};if(t||_lsSwapObj(c),l(e),t)return c};
var cssua=function(e,o,i){"use strict";var s=" ua-",r=/\s*([\-\w ]+)[\s\/\:]([\d_]+\b(?:[\-\._\/]\w+)*)/,n=/([\w\-\.]+[\s\/][v]?[\d_]+\b(?:[\-\._\/]\w+)*)/g,a=/\b(?:(blackberry\w*|bb10)|(rim tablet os))(?:\/(\d+\.\d+(?:\.\w+)*))?/,b=/\bsilk-accelerated=true\b/,t=/\bfluidapp\b/,l=/(\bwindows\b|\bmacintosh\b|\blinux\b|\bunix\b)/,p=/(\bandroid\b|\bipad\b|\bipod\b|\bwindows phone\b|\bwpdesktop\b|\bxblwp7\b|\bzunewp7\b|\bwindows ce\b|\bblackberry\w*|\bbb10\b|\brim tablet os\b|\bmeego|\bwebos\b|\bpalm|\bsymbian|\bj2me\b|\bdocomo\b|\bpda\b|\bchtml\b|\bmidp\b|\bcldc\b|\w*?mobile\w*?|\w*?phone\w*?)/,c=/(\bxbox\b|\bplaystation\b|\bnintendo\s+\w+)/,d={parse:function(e,o){var i={};if(o&&(i.standalone=o),!(e=(""+e).toLowerCase()))return i;for(var s,d,m=e.split(/[()]/),w=0,_=m.length;w<_;w++)if(w%2){var u=m[w].split(";");for(s=0,d=u.length;s<d;s++)if(r.exec(u[s])){var f=RegExp.$1.split(" ").join("_"),v=RegExp.$2;(!i[f]||parseFloat(i[f])<parseFloat(v))&&(i[f]=v)}}else{var x=m[w].match(n);if(x)for(s=0,d=x.length;s<d;s++){var g=x[s].split(/[\/\s]+/);g.length&&"mozilla"!==g[0]&&(i[g[0].split(" ").join("_")]=g.slice(1).join("-"))}}if(p.exec(e))i.mobile=RegExp.$1,a.exec(e)&&(delete i[i.mobile],i.blackberry=i.version||RegExp.$3||RegExp.$2||RegExp.$1,RegExp.$1?i.mobile="blackberry":"0.0.1"===i.version&&(i.blackberry="7.1.0.0"));else if(l.exec(e))i.desktop=RegExp.$1;else if(c.exec(e)){i.game=RegExp.$1;var h=i.game.split(" ").join("_");i.version&&!i[h]&&(i[h]=i.version)}return i.intel_mac_os_x?(i.mac_os_x=i.intel_mac_os_x.split("_").join("."),delete i.intel_mac_os_x):i.cpu_iphone_os?(i.ios=i.cpu_iphone_os.split("_").join("."),delete i.cpu_iphone_os):i.cpu_os?(i.ios=i.cpu_os.split("_").join("."),delete i.cpu_os):"iphone"!==i.mobile||i.ios||(i.ios="1"),i.opera&&i.version?(i.opera=i.version,delete i.blackberry):b.exec(e)?i.silk_accelerated=!0:t.exec(e)&&(i.fluidapp=i.version),i.applewebkit?(i.webkit=i.applewebkit,delete i.applewebkit,i.opr&&(i.opera=i.opr,delete i.opr,delete i.chrome),i.safari&&(i.chrome||i.crios||i.opera||i.silk||i.fluidapp||i.phantomjs||i.mobile&&!i.ios?delete i.safari:i.version&&!i.rim_tablet_os?i.safari=i.version:i.safari={419:"2.0.4",417:"2.0.3",416:"2.0.2",412:"2.0",312:"1.3",125:"1.2",85:"1.0"}[parseInt(i.safari,10)]||i.safari)):i.msie||i.trident?(i.opera||(i.ie=i.msie||i.rv),delete i.msie,i.windows_phone_os?(i.windows_phone=i.windows_phone_os,delete i.windows_phone_os):"wpdesktop"!==i.mobile&&"xblwp7"!==i.mobile&&"zunewp7"!==i.mobile||(i.mobile="windows desktop",i.windows_phone=+i.ie<9?"7.0":+i.ie<10?"7.5":"8.0",delete i.windows_nt)):(i.gecko||i.firefox)&&(i.gecko=i.rv),i.rv&&delete i.rv,i.version&&delete i.version,i},format:function(e){function o(e,o){e=e.split(".").join("-");var i=s+e;if("string"==typeof o){for(var r=(o=o.split(" ").join("_").split(".").join("-")).indexOf("-");r>0;)i+=s+e+"-"+o.substring(0,r),r=o.indexOf("-",r+1);i+=s+e+"-"+o}return i}var i="";for(var r in e)r&&e.hasOwnProperty(r)&&(i+=o(r,e[r]));return i},encode:function(e){var o="";for(var i in e)i&&e.hasOwnProperty(i)&&(o&&(o+="&"),o+=encodeURIComponent(i)+"="+encodeURIComponent(e[i]));return o}};d.userAgent=d.ua=d.parse(o,i);var m=d.format(d.ua)+" js";return e.className?e.className=e.className.replace(/\bno-js\b/g,"")+m:e.className=m.substr(1),d}(document.documentElement,navigator.userAgent,navigator.standalone);
!function(e,t,n,o){var r=[],a={_version:"3.12.0",_config:{classPrefix:"",enableClasses:!0,enableJSClass:!0,usePrefixes:!0},_q:[],on:function(e,t){var n=this;setTimeout(function(){t(n[e])},0)},addTest:function(e,t,n){r.push({name:e,fn:t,options:n})},addAsyncTest:function(e){r.push({name:null,fn:e})}},i=function(){};i.prototype=a,i=new i;var s=[];function c(e,t){return typeof e===t}var l,d,u=n.documentElement,p="svg"===u.nodeName.toLowerCase();function f(e){var t=u.className,n=i._config.classPrefix||"";if(p&&(t=t.baseVal),i._config.enableJSClass){var o=new RegExp("(^|\\s)"+n+"no-js(\\s|$)");t=t.replace(o,"$1"+n+"js$2")}i._config.enableClasses&&(e.length>0&&(t+=" "+n+e.join(" "+n)),p?u.className.baseVal=t:u.className=t)}function m(e,t){if("object"==typeof e)for(var n in e)l(e,n)&&m(n,e[n]);else{var o=(e=e.toLowerCase()).split("."),r=i[o[0]];if(2===o.length&&(r=r[o[1]]),void 0!==r)return i;t="function"==typeof t?t():t,1===o.length?i[o[0]]=t:(!i[o[0]]||i[o[0]]instanceof Boolean||(i[o[0]]=new Boolean(i[o[0]])),i[o[0]][o[1]]=t),f([(t&&!1!==t?"":"no-")+o.join("-")]),i._trigger(e,t)}return i}l=c(d={}.hasOwnProperty,"undefined")||c(d.call,"undefined")?function(e,t){return t in e&&c(e.constructor.prototype[t],"undefined")}:function(e,t){return d.call(e,t)},a._l={},a.on=function(e,t){this._l[e]||(this._l[e]=[]),this._l[e].push(t),i.hasOwnProperty(e)&&setTimeout(function(){i._trigger(e,i[e])},0)},a._trigger=function(e,t){if(this._l[e]){var n=this._l[e];setTimeout(function(){var e;for(e=0;e<n.length;e++)(0,n[e])(t)},0),delete this._l[e]}},i._q.push(function(){a.addTest=m});var h="Moz O ms Webkit",v=a._config.usePrefixes?h.split(" "):[];a._cssomPrefixes=v;var g=function(e){var n,r=L.length,a=t.CSSRule;if(void 0===a)return o;if(!e)return!1;if((n=(e=e.replace(/^@/,"")).replace(/-/g,"_").toUpperCase()+"_RULE")in a)return"@"+e;for(var i=0;i<r;i++){var s=L[i];if(s.toUpperCase()+"_"+n in a)return"@-"+s.toLowerCase()+"-"+e}return!1};a.atRule=g;var y=a._config.usePrefixes?h.toLowerCase().split(" "):[];function T(){return"function"!=typeof n.createElement?n.createElement(arguments[0]):p?n.createElementNS.call(n,"http://www.w3.org/2000/svg",arguments[0]):n.createElement.apply(n,arguments)}a._domPrefixes=y;var b,x=(b=!("onblur"in u),function(e,t){var n;return!!e&&(t&&"string"!=typeof t||(t=T(t||"div")),!(n=(e="on"+e)in t)&&b&&(t.setAttribute||(t=T("div")),t.setAttribute(e,""),n="function"==typeof t[e],t[e]!==o&&(t[e]=o),t.removeAttribute(e)),n)});a.hasEvent=x,p||function(e,t){var n,o,r=e.html5||{},a=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,i=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,s="_html5shiv",c=0,l={};function d(e,t){var n=e.createElement("p"),o=e.getElementsByTagName("head")[0]||e.documentElement;return n.innerHTML="x<style>"+t+"</style>",o.insertBefore(n.lastChild,o.firstChild)}function u(){var e=h.elements;return"string"==typeof e?e.split(" "):e}function p(e){var t=l[e[s]];return t||(t={},c++,e[s]=c,l[c]=t),t}function f(e,n,r){return n||(n=t),o?n.createElement(e):(r||(r=p(n)),!(s=r.cache[e]?r.cache[e].cloneNode():i.test(e)?(r.cache[e]=r.createElem(e)).cloneNode():r.createElem(e)).canHaveChildren||a.test(e)||s.tagUrn?s:r.frag.appendChild(s));var s}function m(e){e||(e=t);var r=p(e);return!h.shivCSS||n||r.hasCSS||(r.hasCSS=!!d(e,"article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}")),o||function(e,t){t.cache||(t.cache={},t.createElem=e.createElement,t.createFrag=e.createDocumentFragment,t.frag=t.createFrag()),e.createElement=function(n){return h.shivMethods?f(n,e,t):t.createElem(n)},e.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-:]+/g,function(e){return t.createElem(e),t.frag.createElement(e),'c("'+e+'")'})+");return n}")(h,t.frag)}(e,r),e}!function(){try{var e=t.createElement("a");e.innerHTML="<xyz></xyz>",n="hidden"in e,o=1==e.childNodes.length||function(){t.createElement("a");var e=t.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement}()}catch(e){n=!0,o=!0}}();var h={elements:r.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output picture progress section summary template time video",version:"3.7.3",shivCSS:!1!==r.shivCSS,supportsUnknownElements:o,shivMethods:!1!==r.shivMethods,type:"default",shivDocument:m,createElement:f,createDocumentFragment:function(e,n){if(e||(e=t),o)return e.createDocumentFragment();for(var r=(n=n||p(e)).frag.cloneNode(),a=0,i=u(),s=i.length;a<s;a++)r.createElement(i[a]);return r},addElements:function(e,t){var n=h.elements;"string"!=typeof n&&(n=n.join(" ")),"string"!=typeof e&&(e=e.join(" ")),h.elements=n+" "+e,m(t)}};e.html5=h,m(t);var v,g=/^$|\b(?:all|print)\b/,y="html5shiv",T=!(o||(v=t.documentElement,void 0===t.namespaces||void 0===t.parentWindow||void 0===v.applyElement||void 0===v.removeNode||void 0===e.attachEvent));function b(e){for(var t,n=e.attributes,o=n.length,r=e.ownerDocument.createElement(y+":"+e.nodeName);o--;)(t=n[o]).specified&&r.setAttribute(t.nodeName,t.nodeValue);return r.style.cssText=e.style.cssText,r}function x(e){var t,n,o=p(e),r=e.namespaces,a=e.parentWindow;if(!T||e.printShived)return e;function i(){clearTimeout(o._removeSheetTimer),t&&t.removeNode(!0),t=null}return void 0===r[y]&&r.add(y),a.attachEvent("onbeforeprint",function(){i();for(var o,r,a,s=e.styleSheets,c=[],l=s.length,p=Array(l);l--;)p[l]=s[l];for(;a=p.pop();)if(!a.disabled&&g.test(a.media)){try{r=(o=a.imports).length}catch(e){r=0}for(l=0;l<r;l++)p.push(o[l]);try{c.push(a.cssText)}catch(e){}}c=function(e){for(var t,n=e.split("{"),o=n.length,r=RegExp("(^|[\\s,>+~])("+u().join("|")+")(?=[[\\s,>+~#.:]|$)","gi"),a="$1"+y+"\\:$2";o--;)(t=n[o]=n[o].split("}"))[t.length-1]=t[t.length-1].replace(r,a),n[o]=t.join("}");return n.join("{")}(c.reverse().join("")),n=function(e){for(var t,n=e.getElementsByTagName("*"),o=n.length,r=RegExp("^(?:"+u().join("|")+")$","i"),a=[];o--;)t=n[o],r.test(t.nodeName)&&a.push(t.applyElement(b(t)));return a}(e),t=d(e,c)}),a.attachEvent("onafterprint",function(){!function(e){for(var t=e.length;t--;)e[t].removeNode()}(n),clearTimeout(o._removeSheetTimer),o._removeSheetTimer=setTimeout(i,500)}),e.printShived=!0,e}h.type+=" print",h.shivPrint=x,x(t),"object"==typeof module&&module.exports&&(module.exports=h)}(void 0!==t?t:this,n);var w=function(){},S=function(){};function C(e,t,o,r){var a,i,s,c,l="modernizr",d=T("div"),f=function(){var e=n.body;return e||((e=T(p?"svg":"body")).fake=!0),e}();if(parseInt(o,10))for(;o--;)(s=T("div")).id=r?r[o]:l+(o+1),d.appendChild(s);return(a=T("style")).type="text/css",a.id="s"+l,(f.fake?f:d).appendChild(a),f.appendChild(d),a.styleSheet?a.styleSheet.cssText=e:a.appendChild(n.createTextNode(e)),d.id=l,f.fake&&(f.style.background="",f.style.overflow="hidden",c=u.style.overflow,u.style.overflow="hidden",u.appendChild(f)),i=t(d,e),f.fake&&f.parentNode?(f.parentNode.removeChild(f),u.style.overflow=c,u.offsetHeight):d.parentNode.removeChild(d),!!i}function E(e,n,o){var r;if("getComputedStyle"in t){r=getComputedStyle.call(t,e,n);var a=t.console;if(null!==r)o&&(r=r.getPropertyValue(o));else if(a)a[a.error?"error":"log"].call(a,"getComputedStyle returning null, its possible modernizr test results are inaccurate")}else r=!n&&e.currentStyle&&e.currentStyle[o];return r}t.console&&(w=function(){var e=console.error?"error":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))},S=function(){var e=console.warn?"warn":"log";t.console[e].apply(t.console,Array.prototype.slice.call(arguments))}),a.load=function(){"yepnope"in t?(S("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. yepnope appears to be available on the page, so weâ€™ll use it to handle this call to Modernizr.load, but please update your code to use yepnope directly.\n See http://github.com/Modernizr/Modernizr/issues/1182 for more information."),t.yepnope.apply(t,[].slice.call(arguments,0))):w("yepnope.js (aka Modernizr.load) is no longer included as part of Modernizr. Get it from http://yepnopejs.com. See http://github.com/Modernizr/Modernizr/issues/1182 for more information.")};var P,k=(P=t.matchMedia||t.msMatchMedia)?function(e){var t=P(e);return t&&t.matches||!1}:function(e){var t=!1;return C("@media "+e+" { #modernizr { position: absolute; }}",function(e){t="absolute"===E(e,null,"position")}),t};function _(e,t){return!!~(""+e).indexOf(t)}a.mq=k;var z={elem:T("modernizr")};i._q.push(function(){delete z.elem});var N={style:z.elem.style};function M(e){return e.replace(/([A-Z])/g,function(e,t){return"-"+t.toLowerCase()}).replace(/^ms-/,"-ms-")}function $(e){return e.replace(/([a-z])-([a-z])/g,function(e,t,n){return t+n.toUpperCase()}).replace(/^-/,"")}function j(e,n,r,a){if(a=!c(a,"undefined")&&a,!c(r,"undefined")){var i=function(e,n){var r=e.length;if("CSS"in t&&"supports"in t.CSS){for(;r--;)if(t.CSS.supports(M(e[r]),n))return!0;return!1}if("CSSSupportsRule"in t){for(var a=[];r--;)a.push("("+M(e[r])+":"+n+")");return C("@supports ("+(a=a.join(" or "))+"){ #modernizr { position: absolute; }}",function(e){return"absolute"===E(e,null,"position")})}return o}(e,r);if(!c(i,"undefined"))return i}for(var s,l,d,u,p,f=["modernizr","tspan","samp"];!N.style&&f.length;)s=!0,N.modElem=T(f.shift()),N.style=N.modElem.style;function m(){s&&(delete N.style,delete N.modElem)}for(d=e.length,l=0;l<d;l++)if(u=e[l],p=N.style[u],_(u,"-")&&(u=$(u)),N.style[u]!==o){if(a||c(r,"undefined"))return m(),"pfx"!==n||u;try{N.style[u]=r}catch(e){}if(N.style[u]!==p)return m(),"pfx"!==n||u}return m(),!1}function A(e,t){return function(){return e.apply(t,arguments)}}function O(e,t,n,o,r){var a=e.charAt(0).toUpperCase()+e.slice(1),i=(e+" "+v.join(a+" ")+a).split(" ");return c(t,"string")||c(t,"undefined")?j(i,t,o,r):function(e,t,n){var o;for(var r in e)if(e[r]in t)return!1===n?e[r]:c(o=t[e[r]],"function")?A(o,n||t):o;return!1}(i=(e+" "+y.join(a+" ")+a).split(" "),t,n)}i._q.unshift(function(){delete N.style}),a.testAllProps=O;var R=a.prefixed=function(e,t,n){return 0===e.indexOf("@")?g(e):(-1!==e.indexOf("-")&&(e=$(e)),t?O(e,t,n):O(e,"pfx"))},L=a._config.usePrefixes?" -webkit- -moz- -o- -ms- ".split(" "):["",""];a._prefixes=L;a.prefixedCSS=function(e){var t=R(e);return t&&M(t)};function B(e,t,n){return O(e,o,o,t,n)}a.testAllProps=B;var D=a.testProp=function(e,t,n){return j([e],o,t,n)},F=a.testStyles=C;
i.addTest("touchevents",function(){if("ontouchstart"in t||t.TouchEvent||t.DocumentTouch&&n instanceof DocumentTouch)return!0;var e=["(",L.join("touch-enabled),("),"heartz",")"].join("");return k(e)}),
i.addTest("applicationcache","applicationCache"in t),
function(){var e=T("audio");i.addTest("audio",function(){var t=!1;try{(t=!!e.canPlayType)&&(t=new Boolean(t))}catch(e){}return t});try{e.canPlayType&&(i.addTest("audio.ogg",e.canPlayType('audio/ogg; codecs="vorbis"').replace(/^no$/,"")),i.addTest("audio.mp3",e.canPlayType('audio/mpeg; codecs="mp3"').replace(/^no$/,"")),i.addTest("audio.opus",e.canPlayType('audio/ogg; codecs="opus"')||e.canPlayType('audio/webm; codecs="opus"').replace(/^no$/,"")),i.addTest("audio.wav",e.canPlayType('audio/wav; codecs="1"').replace(/^no$/,"")),i.addTest("audio.m4a",(e.canPlayType("audio/x-m4a;")||e.canPlayType("audio/aac;")).replace(/^no$/,"")))}catch(e){}}(),
i.addTest("canvas",function(){var e=T("canvas");return!(!e.getContext||!e.getContext("2d"))}),
i.addTest("canvastext",function(){return!1!==i.canvas&&"function"==typeof T("canvas").getContext("2d").fillText}),
i.addTest("hashchange",function(){return!1!==x("hashchange",t)&&(n.documentMode===o||n.documentMode>7)}),
i.addTest("geolocation","geolocation"in navigator),
i.addTest("history",function(){var e=navigator.userAgent;return!!e&&((-1===e.indexOf("Android 2.")&&-1===e.indexOf("Android 4.0")||-1===e.indexOf("Mobile Safari")||-1!==e.indexOf("Chrome")||-1!==e.indexOf("Windows Phone")||"file:"===location.protocol)&&(t.history&&"pushState"in t.history))});var q=T("input"),I="autocomplete autofocus list placeholder max min multiple pattern required step".split(" "),V={};
i.input=function(e){for(var n=0,o=e.length;n<o;n++)V[e[n]]=!!(e[n]in q);return V.list&&(V.list=!(!T("datalist")||!t.HTMLDataListElement)),V}(I),
function(){for(var e,t,r,a=["search","tel","url","email","datetime","date","month","week","time","datetime-local","number","range","color"],s=0;s<a.length;s++)q.setAttribute("type",e=a[s]),(r="text"!==q.type&&"style"in q)&&(q.value="1)",q.style.cssText="position:absolute;visibility:hidden;",/^range$/.test(e)&&q.style.WebkitAppearance!==o?(u.appendChild(q),r=(t=n.defaultView).getComputedStyle&&"textfield"!==t.getComputedStyle(q,null).WebkitAppearance&&0!==q.offsetHeight,u.removeChild(q)):/^(search|tel)$/.test(e)||(r=/^(url|email)$/.test(e)?q.checkValidity&&!1===q.checkValidity():"1)"!==q.value)),i.addTest("inputtypes."+e,!!r)}();
var W=!0;try{t.postMessage({toString:function(){W=!1}},"*")}catch(e){}i.addTest("postmessage",new Boolean("postMessage"in t)),i.addTest("postmessage.structuredclones",W),
function(){var e=T("video");i.addTest("video",function(){var t=!1;try{(t=!!e.canPlayType)&&(t=new Boolean(t))}catch(e){}return t});try{e.canPlayType&&(i.addTest("video.ogg",e.canPlayType('video/ogg; codecs="theora"').replace(/^no$/,"")),i.addTest("video.h264",e.canPlayType('video/mp4; codecs="avc1.42E01E"').replace(/^no$/,"")),i.addTest("video.h265",e.canPlayType('video/mp4; codecs="hev1"').replace(/^no$/,"")),i.addTest("video.webm",e.canPlayType('video/webm; codecs="vp8, vorbis"').replace(/^no$/,"")),i.addTest("video.vp9",e.canPlayType('video/webm; codecs="vp9"').replace(/^no$/,"")),i.addTest("video.hls",e.canPlayType('application/x-mpegURL; codecs="avc1.42E01E"').replace(/^no$/,"")),i.addTest("video.av1",e.canPlayType('video/mp4; codecs="av01"').replace(/^no$/,"")))}catch(e){}}(),
i.addTest("webgl",function(){return"WebGLRenderingContext"in t});
var U,H,G,J=!1;try{J="WebSocket"in t&&2===t.WebSocket.CLOSING}catch(e){}i.addTest("websockets",J),
i.addTest("cssanimations",B("animationName","a",!0)),
i.addTest("backgroundsize",B("backgroundSize","100%",!0)),
i.addTest("borderimage",B("borderImage","url() 1",!0)),
i.addTest("borderradius",B("borderRadius","0px",!0)),
i.addTest("boxshadow",B("boxShadow","1px 1px",!0)),
i.addTest("flexbox",B("flexBasis","1px",!0)),(U=navigator.userAgent,H=U.match(/w(eb)?osbrowser/gi),G=U.match(/windows phone/gi)&&U.match(/iemobile\/([0-9])+/gi)&&parseFloat(RegExp.$1)>=9,H||G)?i.addTest("fontface",!1):F('@font-face {font-family:"font";src:url("https://")}',function(e,t){var o=n.getElementById("smodernizr"),r=o.sheet||o.styleSheet,a=r?r.cssRules&&r.cssRules[0]?r.cssRules[0].cssText:r.cssText||"":"",s=/src/i.test(a)&&0===a.indexOf(t.split(" ")[0]);i.addTest("fontface",s)}),
F('#modernizr{font:0/0 a}#modernizr:after{content:":)";visibility:hidden;font:7px/1 a}',function(e){i.addTest("generatedcontent",e.offsetHeight>=6)}),
i.addTest("cssgradients",function(){for(var e,t="background-image:",n="",o=0,r=L.length-1;o<r;o++)e=0===o?"to ":"",n+=t+L[o]+"linear-gradient("+e+"left top, #9f9, white);";i._config.usePrefixes&&(n+=t+"-webkit-gradient(linear,left top,right bottom,from(#9f9),to(white));");var a=T("a").style;return a.cssText=n,(""+a.backgroundImage).indexOf("gradient")>-1}),
i.addTest("hsla",function(){var e=T("a").style;return e.cssText="background-color:hsla(120,40%,100%,.5)",_(e.backgroundColor,"rgba")||_(e.backgroundColor,"hsla")}),
i.addTest("multiplebgs",function(){var e=T("a").style;return e.cssText="background:url(https://),url(https://),red url(https://)",/(url\s*\(.*?){3}/.test(e.background)}),
i.addTest("opacity",function(){var e=T("a").style;return e.cssText=L.join("opacity:.55;"),/^0.55$/.test(e.opacity)}),
i.addTest("cssreflections",B("boxReflect","above",!0)),
i.addTest("rgba",function(){var e=T("a").style;return e.cssText="background-color:rgba(150,255,150,.5)",(""+e.backgroundColor).indexOf("rgba")>-1}),
i.addTest("textshadow",D("textShadow","1px 1px")),
i.addTest("csstransforms",function(){return-1===navigator.userAgent.indexOf("Android 2.")&&B("transform","scale(1)",!0)});
var Z="CSS"in t&&"supports"in t.CSS,K="supportsCSS"in t;i.addTest("supports",Z||K),
i.addTest("csstransforms3d",function(){return!!B("perspective","1px",!0)}),
i.addTest("csstransitions",B("transition","all",!0)),
i.addTest("localstorage",function(){var e="modernizr";try{return localStorage.setItem(e,e),localStorage.removeItem(e),!0}catch(e){return!1}}),
i.addTest("sessionstorage",function(){var e="modernizr";try{return sessionStorage.setItem(e,e),sessionStorage.removeItem(e),!0}catch(e){return!1}}),
i.addTest("websqldatabase","openDatabase"in t);var Q={}.toString;
i.addTest("svgclippaths",function(){return!!n.createElementNS&&/SVGClipPath/.test(Q.call(n.createElementNS("http://www.w3.org/2000/svg","clipPath")))}),
i.addTest("inlinesvg",function(){var e=T("div");return e.innerHTML="<svg/>","http://www.w3.org/2000/svg"===("undefined"!=typeof SVGRect&&e.firstChild&&e.firstChild.namespaceURI)}),
i.addTest("smil",function(){return!!n.createElementNS&&/SVGAnimate/.test(Q.call(n.createElementNS("http://www.w3.org/2000/svg","animate")))}),
i.addTest("webworkers","Worker"in t),function(){var e,t,n,o,a,l;for(var d in r)if(r.hasOwnProperty(d)){if(e=[],(t=r[d]).name&&(e.push(t.name.toLowerCase()),t.options&&t.options.aliases&&t.options.aliases.length))for(n=0;n<t.options.aliases.length;n++)e.push(t.options.aliases[n].toLowerCase());for(o=c(t.fn,"function")?t.fn():t.fn,a=0;a<e.length;a++)1===(l=e[a].split(".")).length?i[l[0]]=o:(i[l[0]]&&(!i[l[0]]||i[l[0]]instanceof Boolean)||(i[l[0]]=new Boolean(i[l[0]])),i[l[0]][l[1]]=o),s.push((o?"":"no-")+l.join("-"))}}(),f(s),delete a.addTest,delete a.addAsyncTest;for(var X=0;X<i._q.length;X++)i._q[X]();e.Modernizr=i}(window,window,document);
jQuery(document).on("ready fusion-widget-render-Fusion_Widget_Tabs",function(){jQuery(".fusion-tabs-widget .fusion-tabs-nav li a").on("click",function(n){var t=jQuery(this).data("link");n.preventDefault(),jQuery(this).parents(".fusion-tabs-nav").find("li").removeClass("active"),jQuery(this).parent().addClass("active"),jQuery(this).parents(".fusion-tabs-widget").find(".fusion-tab-content").hide(),jQuery(this).parents(".fusion-tabs-widget").find('.fusion-tab-content[data-name="'+t+'"]').fadeIn()})});
jQuery(document).ready(function(){jQuery(".fusion-vertical-menu-widget .current_page_item, .fusion-vertical-menu-widget .current-menu-item").each(function(){var e=jQuery(this),n=e.parent();e.find(".children, .sub-menu").length&&e.find(".children, .sub-menu").show("slow"),e.parentsUntil(".fusion-vertical-menu-widget",".children, .sub-menu").show("slow"),n.hasClass("fusion-vertical-menu-widget")&&e.find("ul").show("slow")})}),jQuery(window).on("load",function(){jQuery(".fusion-vertical-menu-widget.click li a .arrow").on("click",function(e){var n=jQuery(this).parent(),i=n.parent(),t=i.find("> .children, > .sub-menu");if(e.preventDefault(),(i.hasClass("page_item_has_children")||i.hasClass("menu-item-has-children"))&&(t.length&&!t.is(":visible")?t.stop(!0,!0).slideDown("slow"):t.stop(!0,!0).slideUp("slow")),n.parent(".page_item_has_children.current_page_item, .menu-item-has-children.current-menu-item").length)return!1}),jQuery(".fusion-vertical-menu-widget.hover li").each(function(){var e;jQuery(this).hover(function(){var n=jQuery(this).find("> .children, > .sub-menu");clearTimeout(e),e=setTimeout(function(){n.length&&n.stop(!0,!0).slideDown("slow")},500)},function(){var n=jQuery(this),i=n.find(".children, .sub-menu");clearTimeout(e),e=setTimeout(function(){0===n.find(".current_page_item").length&&!1===n.hasClass("current_page_item")&&i.stop(!0,!0).slideUp("slow")},500)})})});
var fusionJSVars={"visibility_small":"640","visibility_medium":"1024"};var fusion={fusionResizeWidth:0,fusionResizeHeight:0,currentPostID:null,toBool:function(t){return 1===t||"1"===t||!0===t||"true"===t||"on"===t},restArguments:function(t,e){return e=null==e?t.length-1:+e,function(){for(var i,n=Math.max(arguments.length-e,0),o=Array(n),r=0;r<n;r++)o[r]=arguments[r+e];switch(e){case 0:return t.call(this,o);case 1:return t.call(this,arguments[0],o);case 2:return t.call(this,arguments[0],arguments[1],o)}for(i=Array(e+1),r=0;r<e;r++)i[r]=arguments[r];return i[e]=o,t.apply(this,i)}},debounce:function(t,e,i){var n,o,r,s,u,a=this;return r=function(e,i){n=null,i&&(o=t.apply(e,i))},(s=this.restArguments(function(s){return n&&clearTimeout(n),i?(u=!n,n=setTimeout(r,e),u&&(o=t.apply(this,s))):n=a.delay(r,e,this,s),o})).cancel=function(){clearTimeout(n),n=null},s},isSmall:function(){return Modernizr.mq("only screen and (max-width:"+fusionJSVars.visibility_small+"px)")},isMedium:function(){return Modernizr.mq("only screen and (min-width:"+(parseInt(fusionJSVars.visibility_small)+1)+"px) and (max-width:"+parseInt(fusionJSVars.visibility_medium)+"px)")},isLarge:function(){return Modernizr.mq("only screen and (min-width:"+(parseFloat(fusionJSVars.visibility_medium)+1)+"px)")},getHeight:function(t,e){var i=0;return"number"==typeof t?i=t:"string"==typeof t&&(t.includes(".")||t.includes("#"))?(e=void 0!==e&&e,jQuery(t).each(function(){i+=jQuery(this).outerHeight(e)})):i=parseFloat(t),i},getAdminbarHeight:function(){var t=jQuery("#wpadminbar").length?parseInt(jQuery("#wpadminbar").height()):0;return t+=jQuery(".fusion-fixed-top").length?parseInt(jQuery(".fusion-fixed-top").height()):0},isWindow:function(t){return null!=t&&t===t.window},getObserverSegmentation:function(t){var e={};return t.each(function(){jQuery(this).data("animationoffset")||jQuery(this).attr("data-animationoffset","top-into-view")}),e={"top-into-view":t.filter('[data-animationoffset="top-into-view"]'),"top-mid-of-view":t.filter('[data-animationoffset="top-mid-of-view"]'),"bottom-in-view":t.filter('[data-animationoffset="bottom-in-view"]')},jQuery.each(e,function(t,i){i.length||delete e[t]}),0===Object.keys(e).length&&(e["top-into-view"]=t),e},getAnimationIntersectionData:function(t){var e="",i=0,n="0px 0px 0px 0px";return"string"==typeof t?e=t:void 0!==t.data("animationoffset")&&(e=t.data("animationoffset")),"top-mid-of-view"===e?n="0px 0px -50% 0px":"bottom-in-view"===e&&(i=[0,.2,.4,.6,.7,.8,.9,1]),{root:null,rootMargin:n,threshold:i}},shouldObserverEntryAnimate:function(t,e){var i=!1,n=1;return 1<e.thresholds.length?t.boundingClientRect.height>t.rootBounds.height?(n=t.rootBounds.height/t.boundingClientRect.height,e.thresholds.filter(function(e){return e>=t.intersectionRatio&&e<=n}).length||(i=!0)):t.isIntersecting&&1===t.intersectionRatio&&(i=!0):t.isIntersecting&&(i=!0),i},getCurrentPostID:function(){return null===this.currentPostID&&(this.currentPostID=void 0!==jQuery("body").data("awb-post-id")?jQuery("body").data("awb-post-id"):0),this.currentPostID}};fusion.delay=fusion.restArguments(function(t,e,i){return setTimeout(function(){return t.apply(null,i)},e)}),fusion.ready=function(t){if("function"==typeof t)return"complete"===document.readyState?t():void document.addEventListener("DOMContentLoaded",t,!1)},fusion.passiveSupported=function(){var t,e;if(void 0===fusion.supportsPassive){try{e={get passive(){t=!0}},window.addEventListener("test",e,e),window.removeEventListener("test",e,e)}catch(e){t=!1}fusion.supportsPassive=!!t&&{passive:!0}}return fusion.supportsPassive},fusion.getElements=function(t){var e=[];return t?("object"==typeof t?Object.keys(t).forEach(function(i){Element.prototype.isPrototypeOf(t[i])&&e.push(t[i])}):"string"==typeof t&&(e=document.querySelectorAll(t),e=Array.prototype.slice.call(e)),e):[]},jQuery(document).ready(function(){var t;void 0===jQuery.migrateVersion&&2<parseInt(jQuery.fn.jquery)&&jQuery(window.document).triggerHandler("ready"),t=fusion.debounce(function(){fusion.fusionResizeWidth!==jQuery(window).width()&&(window.dispatchEvent(new Event("fusion-resize-horizontal",{bubbles:!0,cancelable:!0})),fusion.fusionResizeWidth=jQuery(window).width()),fusion.fusionResizeHeight!==jQuery(window).height()&&(jQuery(window).trigger("fusion-resize-vertical"),fusion.fusionResizeHeight=jQuery(window).height())},250),fusion.fusionResizeWidth=jQuery(window).width(),fusion.fusionResizeHeight=jQuery(window).height(),jQuery(window).on("resize",t)});
!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){"use strict";var i=Array.prototype.slice,o=t.console,n=void 0===o?function(){}:function(t){o.error(t)};function s(o,s,a){(a=a||e||t.jQuery)&&(s.prototype.option||(s.prototype.option=function(t){a.isPlainObject(t)&&(this.options=a.extend(!0,this.options,t))}),a.fn[o]=function(t){var e;return"string"==typeof t?function(t,e,i){var s,r="$()."+o+'("'+e+'")';return t.each(function(t,u){var h=a.data(u,o);if(h){var d=h[e];if(d&&"_"!=e.charAt(0)){var l=d.apply(h,i);s=void 0===s?l:s}else n(r+" is not a valid method")}else n(o+" not initialized. Cannot call methods, i.e. "+r)}),void 0!==s?s:t}(this,t,i.call(arguments,1)):(e=t,this.each(function(t,i){var n=a.data(i,o);n?(n.option(e),n._init()):(n=new s(i,e),a.data(i,o,n))}),this)},r(a))}function r(t){!t||t&&t.bridget||(t.bridget=s)}return r(e||t.jQuery),s}),function(t,e){"function"==typeof define&&define.amd?define("ev-emitter/ev-emitter",e):"object"==typeof module&&module.exports?module.exports=e():t.EvEmitter=e()}("undefined"!=typeof window?window:this,function(){function t(){}var e=t.prototype;return e.on=function(t,e){if(t&&e){var i=this._events=this._events||{},o=i[t]=i[t]||[];return-1==o.indexOf(e)&&o.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 o=i.indexOf(e);return-1!=o&&i.splice(o,1),this}},e.emitEvent=function(t,e){var i=this._events&&this._events[t];if(i&&i.length){var o=0,n=i[o];e=e||[];for(var s=this._onceEvents&&this._onceEvents[t];n;){var r=s&&s[n];r&&(this.off(t,n),delete s[n]),n.apply(this,e),n=i[o+=r?0:1]}return this}},t}),
function(t,e){"use strict";"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(){"use strict";function t(t){var e=parseFloat(t);return-1==t.indexOf("%")&&!isNaN(e)&&e}var e="undefined"==typeof console?function(){}:function(t){},i=["paddingLeft","paddingRight","paddingTop","paddingBottom","marginLeft","marginRight","marginTop","marginBottom","borderLeftWidth","borderRightWidth","borderTopWidth","borderBottomWidth"],o=i.length;function n(t){var i=getComputedStyle(t);return i||e("Style returned "+i+". Are you running this code in a hidden iframe on Firefox? See http://bit.ly/getsizebug1"),i}var s,r=!1;function a(e){if(function(){if(!r){r=!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 o=n(e);a.isBoxSizeOuter=s=200==t(o.width),i.removeChild(e)}}(),"string"==typeof e&&(e=document.querySelector(e)),e&&"object"==typeof e&&e.nodeType){var u=n(e);if("none"==u.display)return function(){for(var t={width:0,height:0,innerWidth:0,innerHeight:0,outerWidth:0,outerHeight:0},e=0;e<o;e++)t[i[e]]=0;return t}();var h={};h.width=e.offsetWidth,h.height=e.offsetHeight;for(var d=h.isBorderBox="border-box"==u.boxSizing,l=0;l<o;l++){var f=i[l],c=u[f],m=parseFloat(c);h[f]=isNaN(m)?0:m}var p=h.paddingLeft+h.paddingRight,y=h.paddingTop+h.paddingBottom,g=h.marginLeft+h.marginRight,v=h.marginTop+h.marginBottom,_=h.borderLeftWidth+h.borderRightWidth,I=h.borderTopWidth+h.borderBottomWidth,z=d&&s,x=t(u.width);!1!==x&&(h.width=x+(z?0:p+_));var S=t(u.height);return!1!==S&&(h.height=S+(z?0:y+I)),h.innerWidth=h.width-(p+_),h.innerHeight=h.height-(y+I),h.outerWidth=h.width+g,h.outerHeight=h.height+v,h}}return a}),function(t,e){"use strict";"function"==typeof define&&define.amd?define("desandro-matches-selector/matches-selector",e):"object"==typeof module&&module.exports?module.exports=e():t.matchesSelector=e()}(window,function(){"use strict";var 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 o=e[i]+"MatchesSelector";if(t[o])return o}}();return function(e,i){return e[t](i)}}),function(t,e){"function"==typeof define&&define.amd?define("fizzy-ui-utils/utils",["desandro-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={extend:function(t,e){for(var i in e)t[i]=e[i];return t},modulo:function(t,e){return(t%e+e)%e},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},removeFrom:function(t,e){var i=t.indexOf(e);-1!=i&&t.splice(i,1)},getParent:function(t,i){for(;t.parentNode&&t!=document.body;)if(t=t.parentNode,e(t,i))return t},getQueryElement:function(t){return"string"==typeof t?document.querySelector(t):t},handleEvent:function(t){var e="on"+t.type;this[e]&&this[e](t)},filterFindElements:function(o,n){o=i.makeArray(o);var s=[];return o.forEach(function(i){if(i instanceof t.parent.HTMLElement||i instanceof t.HTMLElement)if(n){e(i,n)&&s.push(i);for(var o=i.querySelectorAll(n),r=0;r<o.length;r++)s.push(o[r])}else s.push(i)}),s},debounceMethod:function(t,e,i){var o=t.prototype[e],n=e+"Timeout";t.prototype[e]=function(){var t=this[n];t&&clearTimeout(t);var e=arguments,s=this;this[n]=setTimeout(function(){o.apply(s,e),delete s[n]},i||100)}},docReady:function(t){var e=document.readyState;"complete"==e||"interactive"==e?setTimeout(t):document.addEventListener("DOMContentLoaded",t)},toDashed:function(t){return t.replace(/(.)([A-Z])/g,function(t,e,i){return e+"-"+i}).toLowerCase()}},o=t.console;return i.htmlInit=function(e,n){i.docReady(function(){var s=i.toDashed(n),r="data-"+s,a=document.querySelectorAll("["+r+"]"),u=document.querySelectorAll(".js-"+s),h=i.makeArray(a).concat(i.makeArray(u)),d=r+"-options",l=t.jQuery;h.forEach(function(t){var i,s=t.getAttribute(r)||t.getAttribute(d);try{i=s&&JSON.parse(s)}catch(e){return void(o&&o.error("Error parsing "+r+" on "+t.className+": "+e))}var a=new e(t,i);l&&l.data(t,n,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){"use strict";var i=document.documentElement.style,o="string"==typeof i.transition?"transition":"WebkitTransition",n="string"==typeof i.transform?"transform":"WebkitTransform",s={WebkitTransition:"webkitTransitionEnd",transition:"transitionend"}[o],r={transform:n,transition:o,transitionDuration:o+"Duration",transitionProperty:o+"Property",transitionDelay:o+"Delay"};function a(t,e){t&&(this.element=t,this.layout=e,this.position={x:0,y:0},this._create())}var u=a.prototype=Object.create(t.prototype);u.constructor=a,u._create=function(){this._transn={ingProperties:{},clean:{},onEnd:{}},this.css({position:"absolute"})},u.handleEvent=function(t){var e="on"+t.type;this[e]&&this[e](t)},u.getSize=function(){this.size=e(this.element)},u.css=function(t){var e=this.element.style;for(var i in t){e[r[i]||i]=t[i]}},u.getPosition=function(){var t=getComputedStyle(this.element),e=this.layout._getOption("originLeft"),i=this.layout._getOption("originTop"),o=t[e?"left":"right"],n=t[i?"top":"bottom"],s=this.layout.size,r=-1!=o.indexOf("%")?parseFloat(o)/100*s.width:parseInt(o,10),a=-1!=n.indexOf("%")?parseFloat(n)/100*s.height:parseInt(n,10);r=isNaN(r)?0:r,a=isNaN(a)?0:a,r-=e?s.paddingLeft:s.paddingRight,a-=i?s.paddingTop:s.paddingBottom,this.position.x=r,this.position.y=a},u.layoutPosition=function(){var t=this.layout.size,e={},i=this.layout._getOption("originLeft"),o=this.layout._getOption("originTop"),n=i?"paddingLeft":"paddingRight",s=i?"left":"right",r=i?"right":"left",a=this.position.x+t[n];e[s]=this.getXValue(a),e[r]="";var u=o?"paddingTop":"paddingBottom",h=o?"top":"bottom",d=o?"bottom":"top",l=this.position.y+t[u];e[h]=this.getYValue(l),e[d]="",this.css(e),this.emitEvent("layout",[this])},u.getXValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&!e?t/this.layout.size.width*100+"%":t+"px"},u.getYValue=function(t){var e=this.layout._getOption("horizontal");return this.layout.options.percentPosition&&e?t/this.layout.size.height*100+"%":t+"px"},u._transitionTo=function(t,e){this.getPosition();var i=this.position.x,o=this.position.y,n=parseInt(t,10),s=parseInt(e,10),r=n===this.position.x&&s===this.position.y;if(this.setPosition(t,e),!r||this.isTransitioning){var a=t-i,u=e-o,h={};h.transform=this.getTranslate(a,u),this.transition({to:h,onTransitionEnd:{transform:this.layoutPosition},isCleaning:!0})}else this.layoutPosition()},u.getTranslate=function(t,e){return"translate3d("+(t=this.layout._getOption("originLeft")?t:-t)+"px, "+(e=this.layout._getOption("originTop")?e:-e)+"px, 0)"},u.goTo=function(t,e){this.setPosition(t,e),this.layoutPosition()},u.moveTo=u._transitionTo,u.setPosition=function(t,e){this.position.x=parseInt(t,10),this.position.y=parseInt(e,10)},u._nonTransition=function(t){for(var e in this.css(t.to),t.isCleaning&&this._removeStyles(t.to),t.onTransitionEnd)t.onTransitionEnd[e].call(this)},u.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;0}this.enableTransition(t.to),this.css(t.to),this.isTransitioning=!0}else this._nonTransition(t)};var h="opacity,"+n.replace(/([A-Z])/g,function(t){return"-"+t.toLowerCase()});u.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(s,this,!1)}},u.onwebkitTransitionEnd=function(t){this.ontransitionend(t)},u.onotransitionend=function(t){this.ontransitionend(t)};var d={"-webkit-transform":"transform"};u.ontransitionend=function(t){if(t.target===this.element){var e=this._transn,i=d[t.propertyName]||t.propertyName;if(delete e.ingProperties[i],function(t){for(var e in t)return!1;return!0}(e.ingProperties)&&this.disableTransition(),i in e.clean&&(this.element.style[t.propertyName]="",delete e.clean[i]),i in e.onEnd)e.onEnd[i].call(this),delete e.onEnd[i];this.emitEvent("transitionEnd",[this])}},u.disableTransition=function(){this.removeTransitionStyles(),this.element.removeEventListener(s,this,!1),this.isTransitioning=!1},u._removeStyles=function(t){var e={};for(var i in t)e[i]="";this.css(e)};var l={transitionProperty:"",transitionDuration:"",transitionDelay:""};return u.removeTransitionStyles=function(){this.css(l)},u.stagger=function(t){t=isNaN(t)?0:t,this.staggerDelay=t+"ms"},u.removeElem=function(){this.element.parentNode.removeChild(this.element),this.css({display:""}),this.emitEvent("remove",[this])},u.remove=function(){o&&parseFloat(this.layout.options.transitionDuration)?(this.once("transitionEnd",function(){this.removeElem()}),this.hide()):this.removeElem()},u.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})},u.onRevealTransitionEnd=function(){this.isHidden||this.emitEvent("reveal")},u.getHideRevealTransitionEndProperty=function(t){var e=this.layout.options[t];if(e.opacity)return"opacity";for(var i in e)return i},u.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})},u.onHideTransitionEnd=function(){this.isHidden&&(this.css({display:"none"}),this.emitEvent("hide"))},u.destroy=function(){this.css({position:"",left:"",right:"",top:"",bottom:"",transition:"",transform:""})},a}),
function(t,e){"use strict";"function"==typeof define&&define.amd?define("outlayer/outlayer",["ev-emitter/ev-emitter","get-size/get-size","fizzy-ui-utils/utils","./item"],function(i,o,n,s){return e(t,i,o,n,s)}):"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.fizzyUIUtils,t.Outlayer.Item)}(window,function(t,e,i,o,n){"use strict";var s=t.console,r=t.jQuery,a=function(){},u=0,h={};function d(t,e){var i=o.getQueryElement(t);if(i){this.element=i,r&&(this.$element=r(this.element)),this.options=o.extend({},this.constructor.defaults),this.option(e);var n=++u;this.element.outlayerGUID=n,h[n]=this,this._create(),this._getOption("initLayout")&&this.layout()}else s&&s.error("Bad element for "+this.constructor.namespace+": "+(i||t))}d.namespace="outlayer",d.Item=n,d.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 l=d.prototype;function f(t){function e(){t.apply(this,arguments)}return e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e}o.extend(l,e.prototype),l.option=function(t){o.extend(this.options,t)},l._getOption=function(t){var e=this.constructor.compatOptions[t];return e&&void 0!==this.options[e]?this.options[e]:this.options[t]},d.compatOptions={initLayout:"isInitLayout",horizontal:"isHorizontal",layoutInstant:"isLayoutInstant",originLeft:"isOriginLeft",originTop:"isOriginTop",resize:"isResizeBound",resizeContainer:"isResizingContainer"},l._create=function(){this.reloadItems(),this.stamps=[],this.stamp(this.options.stamp),o.extend(this.element.style,this.options.containerStyle),this._getOption("resize")&&this.bindResize()},l.reloadItems=function(){this.items=this._itemize(this.element.children)},l._itemize=function(t){for(var e=this._filterFindItemElements(t),i=this.constructor.Item,o=[],n=0;n<e.length;n++){var s=new i(e[n],this);o.push(s)}return o},l._filterFindItemElements=function(t){return o.filterFindElements(t,this.options.itemSelector)},l.getItemElements=function(){return this.items.map(function(t){return t.element})},l.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},l._init=l.layout,l._resetLayout=function(){this.getSize()},l.getSize=function(){this.size=i(this.element)},l._getMeasurement=function(t,e){var o,n=this.options[t];n?("string"==typeof n?o=this.element.querySelector(n):n instanceof HTMLElement&&(o=n),this[t]=o?i(o)[e]:n):this[t]=0},l.layoutItems=function(t,e){t=this._getItemsForLayout(t),this._layoutItems(t,e),this._postLayout()},l._getItemsForLayout=function(t){return t.filter(function(t){return!t.isIgnored})},l._layoutItems=function(t,e){if(this._emitCompleteOnItems("layout",t),t&&t.length){var i=[];t.forEach(function(t){var o=this._getItemLayoutPosition(t);o.item=t,o.isInstant=e||t.isLayoutInstant,i.push(o)},this),this._processLayoutQueue(i)}},l._getItemLayoutPosition=function(){return{x:0,y:0}},l._processLayoutQueue=function(t){this.updateStagger(),t.forEach(function(t,e){this._positionItem(t.item,t.x,t.y,t.isInstant,e)},this)},l.updateStagger=function(){var t=this.options.stagger;if(null!=t)return this.stagger=function(t){if("number"==typeof t)return t;var e=t.match(/(^\d*\.?\d*)(\w*)/),i=e&&e[1],o=e&&e[2];if(!i.length)return 0;i=parseFloat(i);var n=c[o]||1;return i*n}(t),this.stagger;this.stagger=0},l._positionItem=function(t,e,i,o,n){o?t.goTo(e,i):(t.stagger(n*this.stagger),t.moveTo(e,i))},l._postLayout=function(){this.resizeContainer()},l.resizeContainer=function(){if(this._getOption("resizeContainer")){var t=this._getContainerSize();t&&(this._setContainerMeasure(t.width,!0),this._setContainerMeasure(t.height,!1))}},l._getContainerSize=a,l._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"}},l._emitCompleteOnItems=function(t,e){var i=this;function o(){i.dispatchEvent(t+"Complete",null,[e])}var n=e.length;if(e&&n){var s=0;e.forEach(function(e){e.once(t,r)})}else o();function r(){++s==n&&o()}},l.dispatchEvent=function(t,e,i){var o=e?[e].concat(i):i;if(this.emitEvent(t,o),r)if(this.$element=this.$element||r(this.element),e){var n=r.Event(e);n.type=t,this.$element.trigger(n,i)}else this.$element.trigger(t,i)},l.ignore=function(t){var e=this.getItem(t);e&&(e.isIgnored=!0)},l.unignore=function(t){var e=this.getItem(t);e&&delete e.isIgnored},l.stamp=function(t){(t=this._find(t))&&(this.stamps=this.stamps.concat(t),t.forEach(this.ignore,this))},l.unstamp=function(t){(t=this._find(t))&&t.forEach(function(t){o.removeFrom(this.stamps,t),this.unignore(t)},this)},l._find=function(t){if(t)return"string"==typeof t&&(t=this.element.querySelectorAll(t)),t=o.makeArray(t)},l._manageStamps=function(){this.stamps&&this.stamps.length&&(this._getBoundingRect(),this.stamps.forEach(this._manageStamp,this))},l._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)}},l._manageStamp=a,l._getElementOffset=function(t){var e=t.getBoundingClientRect(),o=this._boundingRect,n=i(t);return{left:e.left-o.left-n.marginLeft,top:e.top-o.top-n.marginTop,right:o.right-e.right-n.marginRight,bottom:o.bottom-e.bottom-n.marginBottom}},l.handleEvent=o.handleEvent,l.bindResize=function(){t.addEventListener("resize",this),this.isResizeBound=!0},l.unbindResize=function(){t.removeEventListener("resize",this),this.isResizeBound=!1},l.onresize=function(){this.resize()},o.debounceMethod(d,"onresize",100),l.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&this.layout()},l.needsResizeLayout=function(){var t=i(this.element);return this.size&&t&&t.innerWidth!==this.size.innerWidth},l.addItems=function(t){var e=this._itemize(t);return e.length&&(this.items=this.items.concat(e)),e},l.appended=function(t){var e=this.addItems(t);e.length&&(this.layoutItems(e,!0),this.reveal(e))},l.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)}},l.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()})}},l.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()})}},l.revealItemElements=function(t){var e=this.getItems(t);this.reveal(e)},l.hideItemElements=function(t){var e=this.getItems(t);this.hide(e)},l.getItem=function(t){for(var e=0;e<this.items.length;e++){var i=this.items[e];if(i.element==t)return i}},l.getItems=function(t){t=o.makeArray(t);var e=[];return t.forEach(function(t){var i=this.getItem(t);i&&e.push(i)},this),e},l.remove=function(t){var e=this.getItems(t);this._emitCompleteOnItems("remove",e),e&&e.length&&e.forEach(function(t){t.remove(),o.removeFrom(this.items,t)},this)},l.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 h[e],delete this.element.outlayerGUID,r&&r.removeData(this.element,this.constructor.namespace)},d.data=function(t){var e=(t=o.getQueryElement(t))&&t.outlayerGUID;return e&&h[e]},d.create=function(t,e){var i=f(d);return i.defaults=o.extend({},d.defaults),o.extend(i.defaults,e),i.compatOptions=o.extend({},d.compatOptions),i.namespace=t,i.data=d.data,i.Item=f(n),o.htmlInit(i,t),r&&r.bridget&&r.bridget(t,i),i};var c={ms:1,s:1e3};return d.Item=n,d}),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){"use strict";function e(){t.Item.apply(this,arguments)}var i=e.prototype=Object.create(t.Item.prototype),o=i._create;i._create=function(){this.id=this.layout.itemGUID++,o.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 o=e[i];this.sortData[i]=o(this.element,this)}}};var n=i.destroy;return i.destroy=function(){n.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){"use strict";function i(t){this.isotope=t,t&&(this.options=t.options[this.namespace],this.element=t.element,this.items=t.filteredItems,this.size=t.size)}var o=i.prototype;return["_resetLayout","_getItemLayoutPosition","_manageStamp","_getContainerSize","_getElementOffset","needsResizeLayout","_getOption"].forEach(function(t){o[t]=function(){return e.prototype[t].apply(this.isotope,arguments)}}),o.needsVerticalResizeLayout=function(){var e=t(this.isotope.element);return this.isotope.size&&e&&e.innerHeight!=this.isotope.size.innerHeight},o._getMeasurement=function(){this.isotope._getMeasurement.apply(this,arguments)},o.getColumnWidth=function(){this.getSegmentSize("column","Width")},o.getRowHeight=function(){this.getSegmentSize("row","Height")},o.getSegmentSize=function(t,e){var i=t+e,o="outer"+e;if(this._getMeasurement(i,o),!this[i]){var n=this.getFirstItemSize();this[i]=n&&n[o]||this.isotope.size["inner"+e]}},o.getFirstItemSize=function(){var e=this.isotope.filteredItems[0];return e&&e.element&&t(e.element)},o.layout=function(){this.isotope.layout.apply(this.isotope,arguments)},o.getSize=function(){this.isotope.getSize(),this.size=this.isotope.size},i.modes={},i.create=function(t,e){function n(){i.apply(this,arguments)}return n.prototype=Object.create(o),n.prototype.constructor=n,e&&(n.options=e),n.prototype.namespace=t,i.modes[t]=n,n},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 o=i.prototype;return o._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},o.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 o=this.columnWidth+=this.gutter,n=this.containerWidth+this.gutter,s=n/o,r=o-n%o;s=Math[r&&r<1?"round":"floor"](s),this.cols=Math.max(s,1)},o.getContainerWidth=function(){var t=this._getOption("fitWidth")?this.element.parentNode:this.element,i=e(t);this.containerWidth=i&&i.innerWidth},o._getItemLayoutPosition=function(t){t.getSize();var e=t.size.outerWidth%this.columnWidth,i=Math[e&&e<1?"round":"ceil"](t.size.outerWidth/this.columnWidth);i=Math.min(i,this.cols);for(var o=this[this.options.horizontalOrder?"_getHorizontalColPosition":"_getTopColPosition"](i,t),n={x:this.columnWidth*o.col,y:o.y},s=o.y+t.size.outerHeight,r=i+o.col,a=o.col;a<r;a++)this.colYs[a]=s;return n},o._getTopColPosition=function(t){var e=this._getTopColGroup(t),i=Math.min.apply(Math,e);return{col:e.indexOf(i),y:i}},o._getTopColGroup=function(t){if(t<2)return this.colYs;for(var e=[],i=this.cols+1-t,o=0;o<i;o++)e[o]=this._getColGroupY(o,t);return e},o._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)},o._getHorizontalColPosition=function(t,e){var i=this.horizontalColIndex%this.cols;i=t>1&&i+t>this.cols?0:i;var o=e.size.outerWidth&&e.size.outerHeight;return this.horizontalColIndex=o?i+t:this.horizontalColIndex,{col:i,y:this._getColGroupY(i,t)}},o._manageStamp=function(t){var i=e(t),o=this._getElementOffset(t),n=this._getOption("originLeft")?o.left:o.right,s=n+i.outerWidth,r=Math.floor(n/this.columnWidth);r=Math.max(0,r);var a=Math.floor(s/this.columnWidth);a-=s%this.columnWidth?0:1,a=Math.min(this.cols-1,a);for(var u=(this._getOption("originTop")?o.top:o.bottom)+i.outerHeight,h=r;h<=a;h++)this.colYs[h]=Math.max(u,this.colYs[h])},o._getContainerSize=function(){this.maxY=Math.max.apply(Math,this.colYs);var t={height:this.maxY};return this._getOption("fitWidth")&&(t.width=this._getContainerFitWidth()),t},o._getContainerFitWidth=function(){for(var t=0,e=this.cols;--e&&0===this.colYs[e];)t++;return(this.cols-t)*this.columnWidth-this.gutter},o.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){"use strict";var i=t.create("masonry"),o=i.prototype,n={_getElementOffset:!0,layout:!0,_getMeasurement:!0};for(var s in e.prototype)n[s]||(o[s]=e.prototype[s]);var r=o.measureColumns;o.measureColumns=function(){this.items=this.isotope.filteredItems,r.call(this)};var a=o._getOption;return o._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){"use strict";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-.01,i=this.isotope.size.innerWidth+this.gutter;0!==this.x&&e+this.x>i&&(this.x=0,this.y=this.maxY);var o={x:this.x,y:this.y};return this.maxY=Math.max(this.maxY,this.y+t.size.outerHeight),this.x+=e,o},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){"use strict";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,o,n,s,r,a){return e(t,i,o,n,s,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,o,n,s,r){var a=t.jQuery,u=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=s,h.LayoutMode=r;var d=h.prototype;d._create=function(){for(var t in this.itemGUID=0,this._sorters={},this._getSorters(),e.prototype._create.call(this),this.modes={},this.filteredItems=this.items,this.sortHistory=["original-order"],r.modes)this._initLayoutMode(t)},d.reloadItems=function(){this.itemGUID=0,e.prototype.reloadItems.call(this)},d._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},d._initLayoutMode=function(t){var e=r.modes[t],i=this.options[t]||{};this.options[t]=e.options?n.extend(e.options,i):i,this.modes[t]=new e(this)},d.layout=function(){this._isLayoutInited||!this._getOption("initLayout")?this._layout():this.arrange()},d._layout=function(){var t=this._getIsInstant();this._resetLayout(),this._manageStamps(),this.layoutItems(this.filteredItems,t),this._isLayoutInited=!0},d.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()},d._init=d.arrange,d._hideReveal=function(t){this.reveal(t.needReveal),this.hide(t.needHide)},d._getIsInstant=function(){var t=this._getOption("layoutInstant"),e=void 0!==t?t:!this._isLayoutInited;return this._isInstant=e,e},d._bindArrangeComplete=function(){var t,e,i,o=this;function n(){t&&e&&i&&o.dispatchEvent("arrangeComplete",null,[o.filteredItems])}this.once("layoutComplete",function(){t=!0,n()}),this.once("hideComplete",function(){e=!0,n()}),this.once("revealComplete",function(){i=!0,n()})},d._filter=function(t){var e=this.options.filter;e=e||"*";for(var i=[],o=[],n=[],s=this._getFilterTest(e),r=0;r<t.length;r++){var a=t[r];if(!a.isIgnored){var u=s(a);u&&i.push(a),u&&a.isHidden?o.push(a):u||a.isHidden||n.push(a)}}return{matches:i,needReveal:o,needHide:n}},d._getFilterTest=function(t){return a&&this.options.isJQueryFiltering?function(e){return a(e.element).is(t)}:"function"==typeof t?function(e){return t(e.element)}:function(e){return o(e.element,t)}},d.updateSortData=function(t){var e;t?(t=n.makeArray(t),e=this.getItems(t)):e=this.items,this._getSorters(),this._updateItemsSortData(e)},d._getSorters=function(){var t=this.options.getSortData;for(var e in t){var i=t[e];this._sorters[e]=l(i)}},d._updateItemsSortData=function(t){for(var e=t&&t.length,i=0;e&&i<e;i++){t[i].updateSortData()}};var l=function(t){if("string"!=typeof t)return t;var e=u(t).split(" "),i=e[0],o=i.match(/^\[(.+)\]$/),n=function(t,e){return t?function(e){return e.getAttribute(t)}:function(t){var i=t.querySelector(e);return i&&i.textContent}}(o&&o[1],i),s=h.sortDataParsers[e[1]];return t=s?function(t){return t&&s(n(t))}:function(t){return t&&n(t)}};h.sortDataParsers={parseInt:function(t){return parseInt(t,10)},parseFloat:function(t){return parseFloat(t)}},d._sort=function(){if(this.options.sortBy){var t=n.makeArray(this.options.sortBy);this._getIsSameSortBy(t)||(this.sortHistory=t.concat(this.sortHistory));var e=function(t,e){return function(i,o){for(var n=0;n<t.length;n++){var s=t[n],r=i.sortData[s],a=o.sortData[s];if(r>a||r<a)return(r>a?1:-1)*((void 0!==e[s]?e[s]:e)?1:-1)}return 0}}(this.sortHistory,this.options.sortAscending);this.filteredItems.sort(e)}},d._getIsSameSortBy=function(t){for(var e=0;e<t.length;e++)if(t[e]!=this.sortHistory[e])return!1;return!0},d._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},d._resetLayout=function(){e.prototype._resetLayout.call(this),this._mode()._resetLayout()},d._getItemLayoutPosition=function(t){return this._mode()._getItemLayoutPosition(t)},d._manageStamp=function(t){this._mode()._manageStamp(t)},d._getContainerSize=function(){return this._mode()._getContainerSize()},d.needsResizeLayout=function(){return this._mode().needsResizeLayout()},d.appended=function(t){var e=this.addItems(t);if(e.length){var i=this._filterRevealAdded(e);this.filteredItems=this.filteredItems.concat(i)}},d.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)}},d._filterRevealAdded=function(t){var e=this._filter(t);return this.hide(e.needHide),this.reveal(e.matches),this.layoutItems(e.matches,!0),e.matches},d.insert=function(t){var e=this.addItems(t);if(e.length){var i,o,n=e.length;for(i=0;i<n;i++)o=e[i],this.element.appendChild(o.element);var s=this._filter(e).matches;for(i=0;i<n;i++)e[i].isLayoutInstant=!0;for(this.arrange(),i=0;i<n;i++)delete e[i].isLayoutInstant;this.reveal(s)}};var f=d.remove;return d.remove=function(t){t=n.makeArray(t);var e=this.getItems(t);f.call(this,t);for(var i=e&&e.length,o=0;i&&o<i;o++){var s=e[o];n.removeFrom(this.filteredItems,s)}},d.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()},d._noTransition=function(t,e){var i=this.options.transitionDuration;this.options.transitionDuration=0;var o=t.apply(this,e);return this.options.transitionDuration=i,o},d.getFilteredItemElements=function(){return this.filteredItems.map(function(t){return t.element})},h});
!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,s=t.x+t.width,r=t.y+t.height;return this.x<s&&e>t.x&&this.y<r&&i>t.y},e.getMaximalFreeRects=function(e){if(!this.overlaps(e))return!1;var i,s=[],r=Math.round(this.x),n=Math.round(this.y),h=Math.round(this.width),o=Math.round(this.height),a=Math.round(e.x),c=Math.round(e.y),u=r+h,d=n+o,g=a+Math.round(e.width),l=c+Math.round(e.height);return n<c&&(i=new t({x:r,y:n,width:h,height:c-n}),s.push(i)),u>g&&(i=new t({x:g,y:n,width:u-g,height:o}),s.push(i)),d>l&&(i=new t({x:r,y:l,width:h,height:d-l}),s.push(i)),r<a&&(i=new t({x:r,y:n,width:a-r,height:o}),s.push(i)),s},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=s[this.sortDirection]||s.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 s=this.spaces[i],r=s.getMaximalFreeRects(t);r?e.push.apply(e,r):e.push(s)}if("object"==typeof e){var n=[],h=[];e.forEach(function(t){if(1<t.width){var e=t.y+1,i=t.y-1;-1!==jQuery.inArray(e,h)&&(t.y=e),-1!==jQuery.inArray(i,h)&&(t.y=i),h.push(t.y),n.push(t)}}),e=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 s=0,r=t[e+s];r;){if(r==i)s++;else{if(r.contains(i)){t.splice(e,1),i=t[e];continue t}i.contains(r)?t.splice(e+s,1):s++}r=t[e+s]}i=t[++e]}return t};var s={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",s=function(){t.Item.apply(this,arguments)},r=s.prototype=Object.create(t.Item.prototype),n=r._create;r._create=function(){n.call(this),this.rect=new e};var h=r.moveTo;return r.moveTo=function(t,e){var i=Math.abs(this.position.x-t),s=Math.abs(this.position.y-e);this.layout.dragItemCount&&!this.isPlacing&&!this.isTransitioning&&i<1&&s<1?this.goTo(t,e):h.apply(this,arguments)},r.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},r.disablePlacing=function(){this.isPlacing=!1},r.removeElem=function(){this.element.parentNode.removeChild(this.element),this.layout.packer.addSpace(this.rect),this.emitEvent("remove",[this])},r.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)},r.positionDropPlaceholder=function(){this.dropPlaceholder.style[i]="translate("+this.rect.x+"px, "+this.rect.y+"px)"},r.hideDropPlaceholder=function(){this.layout.element.removeChild(this.dropPlaceholder)},s}),
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,s,r){i.prototype.canFit=function(t){return this.width>=t.width-2&&this.height>=t.height-2};var n=e.create("packery");n.Item=r;var h=n.prototype;function o(t,e){return t.position.y-e.position.y||t.position.x-e.position.x}function a(t,e){return t.position.x-e.position.x||t.position.y-e.position.y}h._create=function(){e.prototype._create.call(this),this.packer=new s,this.shiftPacker=new s,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)}}},h._resetLayout=function(){var t,e,i;this.getSize(),this._getMeasurements(),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},h._getMeasurements=function(){this._getMeasurement("columnWidth","width"),this._getMeasurement("rowHeight","height"),this._getMeasurement("gutter","width")},h._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},h.shiftLayout=function(){this.isShifting=!0,this.layout(),delete this.isShifting},h._getPackMethod=function(){return this._getOption("horizontal")?"rowPack":"columnPack"},h._setMaxXY=function(t){this.maxX=Math.max(t.x+t.width,this.maxX),this.maxY=Math.max(t.y+t.height,this.maxY)},h._setRectSize=function(e,i){window.currentPackeryElement=e;var s=t(e),r=s.outerWidth,n=s.outerHeight;(r||n)&&(r=this._applyGridGutter(r,this.columnWidth),n=this._applyGridGutter(n,this.rowHeight)),i.width=Math.min(r,this.packer.width),i.height=Math.min(n,this.packer.height)},h._applyGridGutter=function(t,e){if(!e)return t+this.gutter;var i=t%(e+=this.gutter);return t=Math[i&&i<1?"round":"ceil"](t/e)*e},h._getContainerSize=function(){return this._getOption("horizontal")?{width:this.maxX-this.gutter}:{height:this.maxY-this.gutter}},h._manageStamp=function(t){var e,s=this.getItem(t);if(s&&s.isPlacing)e=s.rect;else{var r=this._getElementOffset(t);e=new i({x:this._getOption("originLeft")?r.left:r.right,y:this._getOption("originTop")?r.top:r.bottom})}this._setRectSize(t,e),this.packer.placed(e),this._setMaxXY(e)},h.sortItemsByPosition=function(){var t=this._getOption("horizontal")?a:o;this.items.sort(t)},h.fit=function(t,e,i){var s=this.getItem(t);s&&(this.stamp(s.element),s.enablePlacing(),this.updateShiftTargets(s),e=void 0===e?s.rect.x:e,i=void 0===i?s.rect.y:i,this.shift(s,e,i),this._bindFitEvents(s),s.moveTo(s.rect.x,s.rect.y),this.shiftLayout(),this.unstamp(s.element),this.sortItemsByPosition(),s.disablePlacing())},h._bindFitEvents=function(t){var e=this,i=0;function s(){2==++i&&e.dispatchEvent("fitComplete",null,[t])}t.once("layout",s),this.once("layoutComplete",s)},h.resize=function(){this.isResizeBound&&this.needsResizeLayout()&&(this.options.shiftPercentResize?this.resizeShiftPercentLayout():this.layout())},h.needsResizeLayout=function(){var e=t(this.element),i=this._getOption("horizontal")?"innerHeight":"innerWidth";return e[i]!=this.size[i]},h.resizeShiftPercentLayout=function(){var e=this._getItemsForLayout(this.items),i=this._getOption("horizontal"),s=i?"y":"x",r=i?"height":"width",n=i?"rowHeight":"columnWidth",h=i?"innerHeight":"innerWidth",o=this[n];if(o=o&&o+this.gutter){this._getMeasurements();var a=this[n]+this.gutter;e.forEach(function(t){var e=Math.round(t.rect[s]/o);t.rect[s]=e*a})}else{var c=t(this.element)[h]+this.gutter,u=this.packer[r];e.forEach(function(t){t.rect[s]=t.rect[s]/u*c})}this.shiftLayout()},h.itemDragStart=function(t){if(this.isEnabled){this.stamp(t);var e=this.getItem(t);e&&(e.enablePlacing(),e.showDropPlaceholder(),this.dragItemCount++,this.updateShiftTargets(e))}},h.updateShiftTargets=function(t){this.shiftPacker.reset(),this._getBoundingRect();var e=this._getOption("originLeft"),s=this._getOption("originTop");this.stamps.forEach(function(t){var r=this.getItem(t);if(!r||!r.isPlacing){var n=this._getElementOffset(t),h=new i({x:e?n.left:n.right,y:s?n.top:n.bottom});this._setRectSize(t,h),this.shiftPacker.placed(h)}},this);var r,n=this._getOption("horizontal"),h=n?"rowHeight":"columnWidth",o=n?"height":"width";this.shiftTargetKeys=[],this.shiftTargets=[];var a=this[h];if(a=a&&a+this.gutter){var c=Math.ceil(t.rect[o]/a),u=Math.floor((this.shiftPacker[o]+this.gutter)/a);r=(u-c)*a;for(var d=0;d<u;d++)this._addShiftTarget(d*a,0,r)}else r=this.shiftPacker[o]+this.gutter-t.rect[o],this._addShiftTarget(0,0,r);var g=this._getItemsForLayout(this.items),l=this._getPackMethod();g.forEach(function(t){var e=t.rect;this._setRectSize(t.element,e),this.shiftPacker[l](e),this._addShiftTarget(e.x,e.y,r);var i=n?e.x+e.width:e.x,s=n?e.y:e.y+e.height;if(this._addShiftTarget(i,s,r),a)for(var h=Math.round(e[o]/a),c=1;c<h;c++){var u=n?i:e.x+a*c,d=n?e.y+a*c:s;this._addShiftTarget(u,d,r)}},this)},h._addShiftTarget=function(t,e,i){var s=this._getOption("horizontal")?e:t;if(!(0!==s&&s>i)){var r=t+","+e;-1!=this.shiftTargetKeys.indexOf(r)||(this.shiftTargetKeys.push(r),this.shiftTargets.push({x:t,y:e}))}},h.shift=function(t,e,i){var s,r=1/0,n={x:e,y:i};this.shiftTargets.forEach(function(t){var e,i,h,o,a=(h=(i=n).x-(e=t).x,o=i.y-e.y,Math.sqrt(h*h+o*o));a<r&&(s=t,r=a)}),t.rect.x=s.x,t.rect.y=s.y};h.itemDragMove=function(t,e,i){var s=this.isEnabled&&this.getItem(t);if(s){e-=this.size.paddingLeft,i-=this.size.paddingTop;var r=this,n=new Date;this._itemDragTime&&n-this._itemDragTime<120?(clearTimeout(this.dragTimeout),this.dragTimeout=setTimeout(h,120)):(h(),this._itemDragTime=n)}function h(){r.shift(s,e,i),s.positionDropPlaceholder(),r.layout()}},h.itemDragEnd=function(t){var e=this.isEnabled&&this.getItem(t);if(e){clearTimeout(this.dragTimeout),e.element.classList.add("is-positioning-post-drag");var i=0,s=this;e.once("layout",r),this.once("layoutComplete",r),e.moveTo(e.rect.x,e.rect.y),this.layout(),this.dragItemCount=Math.max(0,this.dragItemCount-1),this.sortItemsByPosition(),e.disablePlacing(),this.unstamp(e.element)}function r(){2==++i&&(e.element.classList.remove("is-positioning-post-drag"),e.hideDropPlaceholder(),s.dispatchEvent("dragItemPositioned",null,[e]))}},h.bindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"on")},h.unbindDraggabillyEvents=function(t){this._bindDraggabillyEvents(t,"off")},h._bindDraggabillyEvents=function(t,e){var i=this.handleDraggabilly;t[e]("dragStart",i.dragStart),t[e]("dragMove",i.dragMove),t[e]("dragEnd",i.dragEnd)},h.bindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"on")},h.unbindUIDraggableEvents=function(t){this._bindUIDraggableEvents(t,"off")},h._bindUIDraggableEvents=function(t,e){var i=this.handleUIDraggable;t[e]("dragstart",i.start)[e]("drag",i.drag)[e]("dragstop",i.stop)};var c=h.destroy;return h.destroy=function(){c.apply(this,arguments),this.isEnabled=!1},n.Rect=i,n.Packer=s,n}),
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"),s=i.prototype,r={_getElementOffset:!0,_getMeasurement:!0};for(var n in e.prototype)r[n]||(s[n]=e.prototype[n]);var h=s._resetLayout;s._resetLayout=function(){this.packer=this.packer||new e.Packer,this.shiftPacker=this.shiftPacker||new e.Packer,h.apply(this,arguments)};var o=s._getItemLayoutPosition;s._getItemLayoutPosition=function(t){return t.rect=t.rect||new e.Rect,o.call(this,t)};var a=s.needsResizeLayout;s.needsResizeLayout=function(){return this._getOption("horizontal")?this.needsVerticalResizeLayout():a.call(this)};var c=s._getOption;return s._getOption=function(t){return"horizontal"==t?void 0!==this.options.isHorizontal?this.options.isHorizontal:this.options.horizontal:c.apply(this.isotope,arguments)},i});
var Swiper=function(){"use strict";function e(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function t(s={},a={}){const i=["__proto__","constructor","prototype"];Object.keys(a).filter(e=>i.indexOf(e)<0).forEach(i=>{void 0===s[i]?s[i]=a[i]:e(a[i])&&e(s[i])&&Object.keys(a[i]).length>0&&t(s[i],a[i])})}const s={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function a(){const e="undefined"!=typeof document?document:{};return t(e,s),e}const i={document:s,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"==typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!=typeof setTimeout&&clearTimeout(e)}};function r(){const e="undefined"!=typeof window?window:{};return t(e,i),e}function n(e=""){return e.trim().split(" ").filter(e=>!!e.trim())}function l(e,t=0){return setTimeout(e,t)}function o(){return Date.now()}function d(e,t="x"){const s=r();let a,i,n;const l=function(e){const t=r();let s;return t.getComputedStyle&&(s=t.getComputedStyle(e,null)),!s&&e.currentStyle&&(s=e.currentStyle),s||(s=e.style),s}(e);return s.WebKitCSSMatrix?(i=l.transform||l.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map(e=>e.replace(",",".")).join(", ")),n=new s.WebKitCSSMatrix("none"===i?"":i)):(n=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),a=n.toString().split(",")),"x"===t&&(i=s.WebKitCSSMatrix?n.m41:16===a.length?parseFloat(a[12]):parseFloat(a[4])),"y"===t&&(i=s.WebKitCSSMatrix?n.m42:16===a.length?parseFloat(a[13]):parseFloat(a[5])),i||0}function c(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function p(e){return"undefined"!=typeof window&&void 0!==window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function u(...e){const t=Object(e[0]),s=["__proto__","constructor","prototype"];for(let a=1;a<e.length;a+=1){const i=e[a];if(null!=i&&!p(i)){const e=Object.keys(Object(i)).filter(e=>s.indexOf(e)<0);for(let s=0,a=e.length;s<a;s+=1){const a=e[s],r=Object.getOwnPropertyDescriptor(i,a);void 0!==r&&r.enumerable&&(c(t[a])&&c(i[a])?i[a].__swiper__?t[a]=i[a]:u(t[a],i[a]):!c(t[a])&&c(i[a])?(t[a]={},i[a].__swiper__?t[a]=i[a]:u(t[a],i[a])):t[a]=i[a])}}}return t}function m(e,t,s){e.style.setProperty(t,s)}function h({swiper:e,targetPosition:t,side:s}){const a=r(),i=-e.translate;let n,l=null;const o=e.params.speed;e.wrapperEl.style.scrollSnapType="none",a.cancelAnimationFrame(e.cssModeFrameID);const d=t>i?"next":"prev",c=(e,t)=>"next"===d&&e>=t||"prev"===d&&e<=t,p=()=>{n=(new Date).getTime(),null===l&&(l=n);const r=Math.max(Math.min((n-l)/o,1),0),d=.5-Math.cos(r*Math.PI)/2;let u=i+d*(t-i);if(c(u,t)&&(u=t),e.wrapperEl.scrollTo({[s]:u}),c(u,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:u})}),void a.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=a.requestAnimationFrame(p)};p()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function g(e,t=""){const s=r(),a=[...e.children];return s.HTMLSlotElement&&e instanceof HTMLSlotElement&&a.push(...e.assignedElements()),t?a.filter(e=>e.matches(t)):a}function v(e){try{return}catch(e){}}function w(e,t=[]){const s=document.createElement(e);return s.classList.add(...Array.isArray(t)?t:n(t)),s}function b(e){const t=r(),s=a(),i=e.getBoundingClientRect(),n=s.body,l=e.clientTop||n.clientTop||0,o=e.clientLeft||n.clientLeft||0,d=e===t?t.scrollY:e.scrollTop,c=e===t?t.scrollX:e.scrollLeft;return{top:i.top+d-l,left:i.left+c-o}}function y(e,t){return r().getComputedStyle(e,null).getPropertyValue(t)}function E(e){let t,s=e;if(s){for(t=0;null!==(s=s.previousSibling);)1===s.nodeType&&(t+=1);return t}}function x(e,t){const s=[];let a=e.parentElement;for(;a;)t?a.matches(t)&&s.push(a):s.push(a),a=a.parentElement;return s}function S(e,t){t&&e.addEventListener("transitionend",function s(a){a.target===e&&(t.call(e,a),e.removeEventListener("transitionend",s))})}function T(e,t,s){const a=r();return s?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(a.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function M(e){return(Array.isArray(e)?e:[e]).filter(e=>!!e)}function C(e){return t=>Math.abs(t)>0&&e.browser&&e.browser.need3dFix&&Math.abs(t)%90==0?t+.001:t}function P(e,t=""){"undefined"!=typeof trustedTypes?e.innerHTML=trustedTypes.createPolicy("html",{createHTML:e=>e}).createHTML(t):e.innerHTML=t}let L,z,I;function A(){return L||(L=function(){const e=r(),t=a();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),L}function $(e={}){return z||(z=function({userAgent:e}={}){const t=A(),s=r(),a=s.navigator.platform,i=e||s.navigator.userAgent,n={ios:!1,android:!1},l=s.screen.width,o=s.screen.height,d=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad)(?!\1).*OS\s([\d_]+)/);const p=i.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===a;let h="MacIntel"===a;return!c&&h&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${o}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),h=!1),d&&!m&&(n.os="android",n.android=!0),(c||u||p)&&(n.os="ios",n.ios=!0),n}(e)),z}function k(){return I||(I=function(){const e=r(),t=$();let s=!1;function a(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(a()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,a]=t.split("Version/")[1].split(" ")[0].split(".").map(e=>Number(e));s=e<16||16===e&&a<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),n=a();return{isSafari:s||n,needPerspectiveFix:s,need3dFix:n||i&&t.ios,isWebView:i}}()),I}var O={on(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;const i=s?"unshift":"push";return e.split(" ").forEach(e=>{a.eventsListeners[e]||(a.eventsListeners[e]=[]),a.eventsListeners[e][i](t)}),a},once(e,t,s){const a=this;if(!a.eventsListeners||a.destroyed)return a;if("function"!=typeof t)return a;function i(...s){a.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(a,s)}return i.__emitterProxy=t,a.on(e,i,s)},onAny(e,t){const s=this;if(!s.eventsListeners||s.destroyed)return s;if("function"!=typeof e)return s;const a=t?"unshift":"push";return s.eventsAnyListeners.indexOf(e)<0&&s.eventsAnyListeners[a](e),s},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const s=t.eventsAnyListeners.indexOf(e);return s>=0&&t.eventsAnyListeners.splice(s,1),t},off(e,t){const s=this;return!s.eventsListeners||s.destroyed?s:s.eventsListeners?(e.split(" ").forEach(e=>{void 0===t?s.eventsListeners[e]=[]:s.eventsListeners[e]&&s.eventsListeners[e].forEach((a,i)=>{(a===t||a.__emitterProxy&&a.__emitterProxy===t)&&s.eventsListeners[e].splice(i,1)})}),s):s},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let s,a,i;"string"==typeof e[0]||Array.isArray(e[0])?(s=e[0],a=e.slice(1,e.length),i=t):(s=e[0].events,a=e[0].data,i=e[0].context||t),a.unshift(i);return(Array.isArray(s)?s:s.split(" ")).forEach(e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(t=>{t.apply(i,[e,...a])}),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach(e=>{e.apply(i,a)})}),t}};const D=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};const G=(e,t,s)=>{t&&!e.classList.contains(s)?e.classList.add(s):!t&&e.classList.contains(s)&&e.classList.remove(s)};const X=(e,t)=>{if(!e||e.destroyed||!e.params)return;const s=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(s){let t=s.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(s.shadowRoot?t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(t=s.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())})),t&&t.remove()}},B=(e,t)=>{if(!e.slides[t])return;const s=e.slides[t].querySelector('[loading="lazy"]');s&&s.removeAttribute("loading")},H=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const s=e.slides.length;if(!s||!t||t<0)return;t=Math.min(t,s);const a="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const s=i,r=[s-t];return r.push(...Array.from({length:t}).map((e,t)=>s+a+t)),void e.slides.forEach((t,s)=>{r.includes(t.column)&&B(e,s)})}const r=i+a-1;if(e.params.rewind||e.params.loop)for(let a=i-t;a<=r+t;a+=1){const t=(a%s+s)%s;(t<i||t>r)&&B(e,t)}else for(let a=Math.max(i-t,0);a<=Math.min(r+t,s-1);a+=1)a!==i&&(a>r||a<i)&&B(e,a)};var Y={updateSize:function(){const e=this;let t,s;const a=e.el;t=void 0!==e.params.width&&null!==e.params.width?e.params.width:a.clientWidth,s=void 0!==e.params.height&&null!==e.params.height?e.params.height:a.clientHeight,0===t&&e.isHorizontal()||0===s&&e.isVertical()||(t=t-parseInt(y(a,"padding-left")||0,10)-parseInt(y(a,"padding-right")||0,10),s=s-parseInt(y(a,"padding-top")||0,10)-parseInt(y(a,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(s)&&(s=0),Object.assign(e,{width:t,height:s,size:e.isHorizontal()?t:s}))},updateSlides:function(){const e=this;function t(t,s){return parseFloat(t.getPropertyValue(e.getDirectionLabel(s))||0)}const s=e.params,{wrapperEl:a,slidesEl:i,rtlTranslate:r,wrongRTL:n}=e,l=e.virtual&&s.virtual.enabled,o=l?e.virtual.slides.length:e.slides.length,d=g(i,`.${e.params.slideClass}, swiper-slide`),c=l?e.virtual.slides.length:d.length;let p=[];const u=[],h=[];let f=s.slidesOffsetBefore;"function"==typeof f&&(f=s.slidesOffsetBefore.call(e));let v=s.slidesOffsetAfter;"function"==typeof v&&(v=s.slidesOffsetAfter.call(e));const w=e.snapGrid.length,b=e.slidesGrid.length,E=e.size-f-v;let x=s.spaceBetween,S=-f,M=0,C=0;if(void 0===E)return;"string"==typeof x&&x.indexOf("%")>=0?x=parseFloat(x.replace("%",""))/100*E:"string"==typeof x&&(x=parseFloat(x)),e.virtualSize=-x-f-v,d.forEach(e=>{r?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""}),s.centeredSlides&&s.cssMode&&(m(a,"--swiper-centered-offset-before",""),m(a,"--swiper-centered-offset-after",""));const P=s.grid&&s.grid.rows>1&&e.grid;let L;P?e.grid.initSlides(d):e.grid&&e.grid.unsetSlides();const z="auto"===s.slidesPerView&&s.breakpoints&&Object.keys(s.breakpoints).filter(e=>void 0!==s.breakpoints[e].slidesPerView).length>0;for(let a=0;a<c;a+=1){L=0;const i=d[a];if(!i||(P&&e.grid.updateSlide(a,i,d),"none"!==y(i,"display"))){if(l&&"auto"===s.slidesPerView)s.virtual.slidesPerViewAutoSlideSize&&(L=s.virtual.slidesPerViewAutoSlideSize),L&&i&&(s.roundLengths&&(L=Math.floor(L)),i.style[e.getDirectionLabel("width")]=`${L}px`);else if("auto"===s.slidesPerView){z&&(i.style[e.getDirectionLabel("width")]="");const a=getComputedStyle(i),r=i.style.transform,n=i.style.webkitTransform;if(r&&(i.style.transform="none"),n&&(i.style.webkitTransform="none"),s.roundLengths)L=e.isHorizontal()?T(i,"width",!0):T(i,"height",!0);else{const e=t(a,"width"),s=t(a,"padding-left"),r=t(a,"padding-right"),n=t(a,"margin-left"),l=t(a,"margin-right"),o=a.getPropertyValue("box-sizing");if(o&&"border-box"===o)L=e+n+l;else{const{clientWidth:t,offsetWidth:a}=i;L=e+s+r+n+l+(a-t)}}r&&(i.style.transform=r),n&&(i.style.webkitTransform=n),s.roundLengths&&(L=Math.floor(L))}else L=(E-(s.slidesPerView-1)*x)/s.slidesPerView,s.roundLengths&&(L=Math.floor(L)),i&&(i.style[e.getDirectionLabel("width")]=`${L}px`);i&&(i.swiperSlideSize=L),h.push(L),s.centeredSlides?(S=S+L/2+M/2+x,0===M&&0!==a&&(S=S-E/2-x),0===a&&(S=S-E/2-x),Math.abs(S)<.001&&(S=0),s.roundLengths&&(S=Math.floor(S)),C%s.slidesPerGroup===0&&p.push(S),u.push(S)):(s.roundLengths&&(S=Math.floor(S)),(C-Math.min(e.params.slidesPerGroupSkip,C))%e.params.slidesPerGroup===0&&p.push(S),u.push(S),S=S+L+x),e.virtualSize+=L+x,M=L,C+=1}}if(e.virtualSize=Math.max(e.virtualSize,E)+v,r&&n&&("slide"===s.effect||"coverflow"===s.effect)&&(a.style.width=`${e.virtualSize+x}px`),s.setWrapperSize&&(a.style[e.getDirectionLabel("width")]=`${e.virtualSize+x}px`),P&&e.grid.updateWrapperSize(L,p),!s.centeredSlides){const t=[];for(let a=0;a<p.length;a+=1){let i=p[a];s.roundLengths&&(i=Math.floor(i)),p[a]<=e.virtualSize-E&&t.push(i)}p=t,Math.floor(e.virtualSize-E)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-E)}if(l&&s.loop){const t=h[0]+x;if(s.slidesPerGroup>1){const a=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/s.slidesPerGroup),i=t*s.slidesPerGroup;for(let e=0;e<a;e+=1)p.push(p[p.length-1]+i)}for(let a=0;a<e.virtual.slidesBefore+e.virtual.slidesAfter;a+=1)1===s.slidesPerGroup&&p.push(p[p.length-1]+t),u.push(u[u.length-1]+t),e.virtualSize+=t}if(0===p.length&&(p=[0]),0!==x){const t=e.isHorizontal()&&r?"marginLeft":e.getDirectionLabel("marginRight");d.filter((e,t)=>!(s.cssMode&&!s.loop)||t!==d.length-1).forEach(e=>{e.style[t]=`${x}px`})}if(s.centeredSlides&&s.centeredSlidesBounds){let e=0;h.forEach(t=>{e+=t+(x||0)}),e-=x;const t=e>E?e-E:0;p=p.map(e=>e<=0?-f:e>t?t+v:e)}if(s.centerInsufficientSlides){let e=0;h.forEach(t=>{e+=t+(x||0)}),e-=x;const t=(f||0)+(v||0);if(e+t<E){const s=(E-e-t)/2;p.forEach((e,t)=>{p[t]=e-s}),u.forEach((e,t)=>{u[t]=e+s})}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:u,slidesSizesGrid:h}),s.centeredSlides&&s.cssMode&&!s.centeredSlidesBounds){m(a,"--swiper-centered-offset-before",-p[0]+"px"),m(a,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],s=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map(e=>e+t),e.slidesGrid=e.slidesGrid.map(e=>e+s)}if(c!==o&&e.emit("slidesLengthChange"),p.length!==w&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),u.length!==b&&e.emit("slidesGridLengthChange"),s.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||s.cssMode||"slide"!==s.effect&&"fade"!==s.effect)){const t=`${s.containerModifierClass}backface-hidden`,a=e.el.classList.contains(t);c<=s.maxBackfaceHiddenSlides?a||e.el.classList.add(t):a&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,s=[],a=t.virtual&&t.params.virtual.enabled;let i,r=0;"number"==typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const n=e=>a?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach(e=>{s.push(e)});else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!a)break;s.push(n(e))}else s.push(n(t.activeIndex));for(i=0;i<s.length;i+=1)if(void 0!==s[i]){const e=s[i].offsetHeight;r=e>r?e:r}(r||0===r)&&(t.wrapperEl.style.height=`${r}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,s=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let a=0;a<t.length;a+=1)t[a].swiperSlideOffset=(e.isHorizontal()?t[a].offsetLeft:t[a].offsetTop)-s-e.cssOverflowAdjustment()},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,s=t.params,{slides:a,rtlTranslate:i,snapGrid:r}=t;if(0===a.length)return;void 0===a[0].swiperSlideOffset&&t.updateSlidesOffset();let n=-e;i&&(n=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let l=s.spaceBetween;"string"==typeof l&&l.indexOf("%")>=0?l=parseFloat(l.replace("%",""))/100*t.size:"string"==typeof l&&(l=parseFloat(l));for(let e=0;e<a.length;e+=1){const o=a[e];let d=o.swiperSlideOffset;s.cssMode&&s.centeredSlides&&(d-=a[0].swiperSlideOffset);const c=(n+(s.centeredSlides?t.minTranslate():0)-d)/(o.swiperSlideSize+l),p=(n-r[0]+(s.centeredSlides?t.minTranslate():0)-d)/(o.swiperSlideSize+l),u=-(n-d),m=u+t.slidesSizesGrid[e],h=u>=0&&u<=t.size-t.slidesSizesGrid[e],f=u>=0&&u<t.size-1||m>1&&m<=t.size||u<=0&&m>=t.size;f&&(t.visibleSlides.push(o),t.visibleSlidesIndexes.push(e)),D(o,f,s.slideVisibleClass),D(o,h,s.slideFullyVisibleClass),o.progress=i?-c:c,o.originalProgress=i?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const s=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*s||0}const s=t.params,a=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:r,isEnd:n,progressLoop:l}=t;const o=r,d=n;if(0===a)i=0,r=!0,n=!0;else{i=(e-t.minTranslate())/a;const s=Math.abs(e-t.minTranslate())<1,l=Math.abs(e-t.maxTranslate())<1;r=s||i<=0,n=l||i>=1,s&&(i=0),l&&(i=1)}if(s.loop){const s=t.getSlideIndexByData(0),a=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[s],r=t.slidesGrid[a],n=t.slidesGrid[t.slidesGrid.length-1],o=Math.abs(e);l=o>=i?(o-i)/n:(o+n-r)/n,l>1&&(l-=1)}Object.assign(t,{progress:i,progressLoop:l,isBeginning:r,isEnd:n}),(s.watchSlidesProgress||s.centeredSlides&&s.autoHeight)&&t.updateSlidesProgress(e),r&&!o&&t.emit("reachBeginning toEdge"),n&&!d&&t.emit("reachEnd toEdge"),(o&&!r||d&&!n)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:s,slidesEl:a,activeIndex:i}=e,r=e.virtual&&s.virtual.enabled,n=e.grid&&s.grid&&s.grid.rows>1,l=e=>g(a,`.${s.slideClass}${e}, swiper-slide${e}`)[0];let o,d,c;if(r)if(s.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),o=l(`[data-swiper-slide-index="${t}"]`)}else o=l(`[data-swiper-slide-index="${i}"]`);else n?(o=t.find(e=>e.column===i),c=t.find(e=>e.column===i+1),d=t.find(e=>e.column===i-1)):o=t[i];o&&(n||(c=function(e,t){const s=[];for(;e.nextElementSibling;){const a=e.nextElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&!c&&(c=t[0]),d=function(e,t){const s=[];for(;e.previousElementSibling;){const a=e.previousElementSibling;t?a.matches(t)&&s.push(a):s.push(a),e=a}return s}(o,`.${s.slideClass}, swiper-slide`)[0],s.loop&&0===!d&&(d=t[t.length-1]))),t.forEach(e=>{G(e,e===o,s.slideActiveClass),G(e,e===c,s.slideNextClass),G(e,e===d,s.slidePrevClass)}),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,s=t.rtlTranslate?t.translate:-t.translate,{snapGrid:a,params:i,activeIndex:r,realIndex:n,snapIndex:l}=t;let o,d=e;const c=e=>{let s=e-t.virtual.slidesBefore;return s<0&&(s=t.virtual.slides.length+s),s>=t.virtual.slides.length&&(s-=t.virtual.slides.length),s};if(void 0===d&&(d=function(e){const{slidesGrid:t,params:s}=e,a=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e<t.length;e+=1)void 0!==t[e+1]?a>=t[e]&&a<t[e+1]-(t[e+1]-t[e])/2?i=e:a>=t[e]&&a<t[e+1]&&(i=e+1):a>=t[e]&&(i=e);return s.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),a.indexOf(s)>=0)o=a.indexOf(s);else{const e=Math.min(i.slidesPerGroupSkip,d);o=e+Math.floor((d-e)/i.slidesPerGroup)}if(o>=a.length&&(o=a.length-1),d===r&&!t.params.loop)return void(o!==l&&(t.snapIndex=o,t.emit("snapIndexChange")));if(d===r&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(d));const p=t.grid&&i.grid&&i.grid.rows>1;let u;if(t.virtual&&i.virtual.enabled&&i.loop)u=c(d);else if(p){const e=t.slides.find(e=>e.column===d);let s=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(s)&&(s=Math.max(t.slides.indexOf(e),0)),u=Math.floor(s/i.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");u=e?parseInt(e,10):d}else u=d;Object.assign(t,{previousSnapIndex:l,snapIndex:o,previousRealIndex:n,realIndex:u,previousIndex:r,activeIndex:d}),t.initialized&&H(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(n!==u&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const s=this,a=s.params;let i=e.closest(`.${a.slideClass}, swiper-slide`);!i&&s.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach(e=>{!i&&e.matches&&e.matches(`.${a.slideClass}, swiper-slide`)&&(i=e)});let r,n=!1;if(i)for(let e=0;e<s.slides.length;e+=1)if(s.slides[e]===i){n=!0,r=e;break}if(!i||!n)return s.clickedSlide=void 0,void(s.clickedIndex=void 0);s.clickedSlide=i,s.virtual&&s.params.virtual.enabled?s.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):s.clickedIndex=r,a.slideToClickedSlide&&void 0!==s.clickedIndex&&s.clickedIndex!==s.activeIndex&&s.slideToClickedSlide()}};var N={getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:s,translate:a,wrapperEl:i}=this;if(t.virtualTranslate)return s?-a:a;if(t.cssMode)return a;let r=d(i,e);return r+=this.cssOverflowAdjustment(),s&&(r=-r),r||0},setTranslate:function(e,t){const s=this,{rtlTranslate:a,params:i,wrapperEl:r,progress:n}=s;let l,o=0,d=0;s.isHorizontal()?o=a?-e:e:d=e,i.roundLengths&&(o=Math.floor(o),d=Math.floor(d)),s.previousTranslate=s.translate,s.translate=s.isHorizontal()?o:d,i.cssMode?r[s.isHorizontal()?"scrollLeft":"scrollTop"]=s.isHorizontal()?-o:-d:i.virtualTranslate||(s.isHorizontal()?o-=s.cssOverflowAdjustment():d-=s.cssOverflowAdjustment(),r.style.transform=`translate3d(${o}px, ${d}px, 0px)`);const c=s.maxTranslate()-s.minTranslate();l=0===c?0:(e-s.minTranslate())/c,l!==n&&s.updateProgress(e),s.emit("setTranslate",s.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,s=!0,a=!0,i){const r=this,{params:n,wrapperEl:l}=r;if(r.animating&&n.preventInteractionOnTransition)return!1;const o=r.minTranslate(),d=r.maxTranslate();let c;if(c=a&&e>o?o:a&&e<d?d:e,r.updateProgress(c),n.cssMode){const e=r.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-c;else{if(!r.support.smoothScroll)return h({swiper:r,targetPosition:-c,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-c,behavior:"smooth"})}return!0}return 0===t?(r.setTransition(0),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionEnd"))):(r.setTransition(t),r.setTranslate(c),s&&(r.emit("beforeTransitionStart",t,i),r.emit("transitionStart")),r.animating||(r.animating=!0,r.onTranslateToWrapperTransitionEnd||(r.onTranslateToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onTranslateToWrapperTransitionEnd),r.onTranslateToWrapperTransitionEnd=null,delete r.onTranslateToWrapperTransitionEnd,r.animating=!1,s&&r.emit("transitionEnd"))}),r.wrapperEl.addEventListener("transitionend",r.onTranslateToWrapperTransitionEnd))),!0}};function R({swiper:e,runCallbacks:t,direction:s,step:a}){const{activeIndex:i,previousIndex:r}=e;let n=s;n||(n=i>r?"next":i<r?"prev":"reset"),e.emit(`transition${a}`),t&&"reset"===n?e.emit(`slideResetTransition${a}`):t&&i!==r&&(e.emit(`slideChangeTransition${a}`),"next"===n?e.emit(`slideNextTransition${a}`):e.emit(`slidePrevTransition${a}`))}var V={slideTo:function(e=0,t,s=!0,a,i){"string"==typeof e&&(e=parseInt(e,10));const r=this;let n=e;n<0&&(n=0);const{params:l,snapGrid:o,slidesGrid:d,previousIndex:c,activeIndex:p,rtlTranslate:u,wrapperEl:m,enabled:f}=r;if(!f&&!a&&!i||r.destroyed||r.animating&&l.preventInteractionOnTransition)return!1;void 0===t&&(t=r.params.speed);const g=Math.min(r.params.slidesPerGroupSkip,n);let v=g+Math.floor((n-g)/r.params.slidesPerGroup);v>=o.length&&(v=o.length-1);const w=-o[v];if(l.normalizeSlideIndex)for(let e=0;e<d.length;e+=1){const t=-Math.floor(100*w),s=Math.floor(100*d[e]),a=Math.floor(100*d[e+1]);void 0!==d[e+1]?t>=s&&t<a-(a-s)/2?n=e:t>=s&&t<a&&(n=e+1):t>=s&&(n=e)}if(r.initialized&&n!==p){if(!r.allowSlideNext&&(u?w>r.translate&&w>r.minTranslate():w<r.translate&&w<r.minTranslate()))return!1;if(!r.allowSlidePrev&&w>r.translate&&w>r.maxTranslate()&&(p||0)!==n)return!1}let b;n!==(c||0)&&s&&r.emit("beforeSlideChangeStart"),r.updateProgress(w),b=n>p?"next":n<p?"prev":"reset";const y=r.virtual&&r.params.virtual.enabled;if(!(y&&i)&&(u&&-w===r.translate||!u&&w===r.translate))return r.updateActiveIndex(n),l.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==l.effect&&r.setTranslate(w),"reset"!==b&&(r.transitionStart(s,b),r.transitionEnd(s,b)),!1;if(l.cssMode){const e=r.isHorizontal(),s=u?w:-w;if(0===t)y&&(r.wrapperEl.style.scrollSnapType="none",r._immediateVirtual=!0),y&&!r._cssModeVirtualInitialSet&&r.params.initialSlide>0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{m[e?"scrollLeft":"scrollTop"]=s})):m[e?"scrollLeft":"scrollTop"]=s,y&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1});else{if(!r.support.smoothScroll)return h({swiper:r,targetPosition:s,side:e?"left":"top"}),!0;m.scrollTo({[e?"left":"top"]:s,behavior:"smooth"})}return!0}const E=k().isSafari;return y&&!i&&E&&r.isElement&&r.virtual.update(!1,!1,n),r.setTransition(t),r.setTranslate(w),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,a),r.transitionStart(s,b),0===t?r.transitionEnd(s,b):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(e){r&&!r.destroyed&&e.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(s,b))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t,s=!0,a){if("string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const r=i.grid&&i.params.grid&&i.params.grid.rows>1;let n=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)n+=i.virtual.slidesBefore;else{let e;if(r){const t=n*i.params.grid.rows;e=i.slides.find(e=>1*e.getAttribute("data-swiper-slide-index")===t).column}else e=i.getSlideIndexByData(n);const t=r?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:s,slidesOffsetBefore:l,slidesOffsetAfter:o}=i.params,d=s||!!l||!!o;let c=i.params.slidesPerView;"auto"===c?c=i.slidesPerViewDynamic():(c=Math.ceil(parseFloat(i.params.slidesPerView,10)),d&&c%2==0&&(c+=1));let p=t-e<c;if(d&&(p=p||e<Math.ceil(c/2)),a&&d&&"auto"!==i.params.slidesPerView&&!r&&(p=!1),p){const s=d?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:s,slideTo:!0,activeSlideIndex:"next"===s?e+1:e-t+1,slideRealIndex:"next"===s?i.realIndex:void 0})}if(r){const e=n*i.params.grid.rows;n=i.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e).column}else n=i.getSlideIndexByData(n)}return requestAnimationFrame(()=>{i.slideTo(n,t,s,a)}),i},slideNext:function(e,t=!0,s){const a=this,{enabled:i,params:r,animating:n}=a;if(!i||a.destroyed)return a;void 0===e&&(e=a.params.speed);let l=r.slidesPerGroup;"auto"===r.slidesPerView&&1===r.slidesPerGroup&&r.slidesPerGroupAuto&&(l=Math.max(a.slidesPerViewDynamic("current",!0),1));const o=a.activeIndex<r.slidesPerGroupSkip?1:l,d=a.virtual&&r.virtual.enabled;if(r.loop){if(n&&!d&&r.loopPreventsSliding)return!1;if(a.loopFix({direction:"next"}),a._clientLeft=a.wrapperEl.clientLeft,a.activeIndex===a.slides.length-1&&r.cssMode)return requestAnimationFrame(()=>{a.slideTo(a.activeIndex+o,e,t,s)}),!0}return r.rewind&&a.isEnd?a.slideTo(0,e,t,s):a.slideTo(a.activeIndex+o,e,t,s)},slidePrev:function(e,t=!0,s){const a=this,{params:i,snapGrid:r,slidesGrid:n,rtlTranslate:l,enabled:o,animating:d}=a;if(!o||a.destroyed)return a;void 0===e&&(e=a.params.speed);const c=a.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;a.loopFix({direction:"prev"}),a._clientLeft=a.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=p(l?a.translate:-a.translate),m=r.map(e=>p(e)),h=i.freeMode&&i.freeMode.enabled;let f=r[m.indexOf(u)-1];if(void 0===f&&(i.cssMode||h)){let e;r.forEach((t,s)=>{u>=t&&(e=s)}),void 0!==e&&(f=h?r[e]:r[e>0?e-1:e])}let g=0;if(void 0!==f&&(g=n.indexOf(f),g<0&&(g=a.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(g=g-a.slidesPerViewDynamic("previous",!0)+1,g=Math.max(g,0))),i.rewind&&a.isBeginning){const i=a.params.virtual&&a.params.virtual.enabled&&a.virtual?a.virtual.slides.length-1:a.slides.length-1;return a.slideTo(i,e,t,s)}return i.loop&&0===a.activeIndex&&i.cssMode?(requestAnimationFrame(()=>{a.slideTo(g,e,t,s)}),!0):a.slideTo(g,e,t,s)},slideReset:function(e,t=!0,s){const a=this;if(!a.destroyed)return void 0===e&&(e=a.params.speed),a.slideTo(a.activeIndex,e,t,s)},slideToClosest:function(e,t=!0,s,a=.5){const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);let r=i.activeIndex;const n=Math.min(i.params.slidesPerGroupSkip,r),l=n+Math.floor((r-n)/i.params.slidesPerGroup),o=i.rtlTranslate?i.translate:-i.translate;if(o>=i.snapGrid[l]){const e=i.snapGrid[l];o-e>(i.snapGrid[l+1]-e)*a&&(r+=i.params.slidesPerGroup)}else{const e=i.snapGrid[l-1];o-e<=(i.snapGrid[l]-e)*a&&(r-=i.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,i.slidesGrid.length-1),i.slideTo(r,e,t,s)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:s}=e,a="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,r=e.getSlideIndexWhenGrid(e.clickedIndex);const n=e.isElement?"swiper-slide":`.${t.slideClass}`,o=e.grid&&e.params.grid&&e.params.grid.rows>1;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?e.slideToLoop(i):r>(o?(e.slides.length-a)/2-(e.params.grid.rows-1):e.slides.length-a)?(e.loopFix(),r=e.getSlideIndex(g(s,`${n}[data-swiper-slide-index="${i}"]`)[0]),l(()=>{e.slideTo(r)})):e.slideTo(r)}else e.slideTo(r)}};var q={loopCreate:function(e,t){const s=this,{params:a,slidesEl:i}=s;if(!a.loop||s.virtual&&s.params.virtual.enabled)return;const r=()=>{g(i,`.${a.slideClass}, swiper-slide`).forEach((e,t)=>{e.setAttribute("data-swiper-slide-index",t)})},n=s.grid&&a.grid&&a.grid.rows>1;a.loopAddBlankSlides&&(a.slidesPerGroup>1||n)&&(()=>{const e=g(i,`.${a.slideBlankClass}`);e.forEach(e=>{e.remove()}),e.length>0&&(s.recalcSlides(),s.updateSlides())})();const l=a.slidesPerGroup*(n?a.grid.rows:1),o=s.slides.length%l!==0,d=n&&s.slides.length%a.grid.rows!==0,c=e=>{for(let t=0;t<e;t+=1){const e=s.isElement?w("swiper-slide",[a.slideBlankClass]):w("div",[a.slideClass,a.slideBlankClass]);s.slidesEl.append(e)}};if(o){if(a.loopAddBlankSlides){c(l-s.slides.length%l),s.recalcSlides(),s.updateSlides()}else v();r()}else if(d){if(a.loopAddBlankSlides){c(a.grid.rows-s.slides.length%a.grid.rows),s.recalcSlides(),s.updateSlides()}else v();r()}else r();const p=a.centeredSlides||!!a.slidesOffsetBefore||!!a.slidesOffsetAfter;s.loopFix({slideRealIndex:e,direction:p?void 0:"next",initial:t})},loopFix:function({slideRealIndex:e,slideTo:t=!0,direction:s,setTranslate:a,activeSlideIndex:i,initial:r,byController:n,byMousewheel:l}={}){const o=this;if(!o.params.loop)return;o.emit("beforeLoopFix");const{slides:d,allowSlidePrev:c,allowSlideNext:p,slidesEl:u,params:m}=o,{centeredSlides:h,slidesOffsetBefore:f,slidesOffsetAfter:g,initialSlide:w}=m,b=h||!!f||!!g;if(o.allowSlidePrev=!0,o.allowSlideNext=!0,o.virtual&&m.virtual.enabled)return t&&(b||0!==o.snapIndex?b&&o.snapIndex<m.slidesPerView?o.slideTo(o.virtual.slides.length+o.snapIndex,0,!1,!0):o.snapIndex===o.snapGrid.length-1&&o.slideTo(o.virtual.slidesBefore,0,!1,!0):o.slideTo(o.virtual.slides.length,0,!1,!0)),o.allowSlidePrev=c,o.allowSlideNext=p,void o.emit("loopFix");let y=m.slidesPerView;"auto"===y?y=o.slidesPerViewDynamic():(y=Math.ceil(parseFloat(m.slidesPerView,10)),b&&y%2==0&&(y+=1));const E=m.slidesPerGroupAuto?y:m.slidesPerGroup;let x=b?Math.max(E,Math.ceil(y/2)):E;x%E!==0&&(x+=E-x%E),x+=m.loopAdditionalSlides,o.loopedSlides=x;const S=o.grid&&m.grid&&m.grid.rows>1;(d.length<y+x||"cards"===o.params.effect&&d.length<y+2*x||S&&"row"===m.grid.fill)&&v();const T=[],M=[],C=S?Math.ceil(d.length/m.grid.rows):d.length,P=r&&C-w<y&&!b;let L=P?w:o.activeIndex;void 0===i?i=o.getSlideIndex(d.find(e=>e.classList.contains(m.slideActiveClass))):L=i;const z="next"===s||!s,I="prev"===s||!s;let A=0,$=0;const k=(S?d[i].column:i)+(b&&void 0===a?-y/2+.5:0);if(k<x){A=Math.max(x-k,E);for(let e=0;e<x-k;e+=1){const t=e-Math.floor(e/C)*C;if(S){const e=C-t-1;for(let t=d.length-1;t>=0;t-=1)d[t].column===e&&T.push(t)}else T.push(C-t-1)}}else if(k+y>C-x){$=Math.max(k-(C-2*x),E),P&&($=Math.max($,y-C+w+1));for(let e=0;e<$;e+=1){const t=e-Math.floor(e/C)*C;S?d.forEach((e,s)=>{e.column===t&&M.push(s)}):M.push(t)}}if(o.__preventObserver__=!0,requestAnimationFrame(()=>{o.__preventObserver__=!1}),"cards"===o.params.effect&&d.length<y+2*x&&(M.includes(i)&&M.splice(M.indexOf(i),1),T.includes(i)&&T.splice(T.indexOf(i),1)),I&&T.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.prepend(d[e]),d[e].swiperLoopMoveDOM=!1}),z&&M.forEach(e=>{d[e].swiperLoopMoveDOM=!0,u.append(d[e]),d[e].swiperLoopMoveDOM=!1}),o.recalcSlides(),"auto"===m.slidesPerView?o.updateSlides():S&&(T.length>0&&I||M.length>0&&z)&&o.slides.forEach((e,t)=>{o.grid.updateSlide(t,e,o.slides)}),m.watchSlidesProgress&&o.updateSlidesOffset(),t)if(T.length>0&&I){if(void 0===e){const e=o.slidesGrid[L],t=o.slidesGrid[L+A]-e;l?o.setTranslate(o.translate-t):(o.slideTo(L+Math.ceil(A),0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-t,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-t))}else if(a){const e=S?T.length/m.grid.rows:T.length;o.slideTo(o.activeIndex+e,0,!1,!0),o.touchEventsData.currentTranslate=o.translate}}else if(M.length>0&&z)if(void 0===e){const e=o.slidesGrid[L],t=o.slidesGrid[L-$]-e;l?o.setTranslate(o.translate-t):(o.slideTo(L-$,0,!1,!0),a&&(o.touchEventsData.startTranslate=o.touchEventsData.startTranslate-t,o.touchEventsData.currentTranslate=o.touchEventsData.currentTranslate-t))}else{const e=S?M.length/m.grid.rows:M.length;o.slideTo(o.activeIndex-e,0,!1,!0)}if(o.allowSlidePrev=c,o.allowSlideNext=p,o.controller&&o.controller.control&&!n){const r={slideRealIndex:e,direction:s,setTranslate:a,activeSlideIndex:i,byController:!0};Array.isArray(o.controller.control)?o.controller.control.forEach(e=>{!e.destroyed&&e.params.loop&&e.loopFix({...r,slideTo:e.params.slidesPerView===m.slidesPerView&&t})}):o.controller.control instanceof o.constructor&&o.controller.control.params.loop&&o.controller.control.loopFix({...r,slideTo:o.controller.control.params.slidesPerView===m.slidesPerView&&t})}o.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:s}=e;if(!t.loop||!s||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const a=[];e.slides.forEach(e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;a[t]=e}),e.slides.forEach(e=>{e.removeAttribute("data-swiper-slide-index")}),a.forEach(e=>{s.append(e)}),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function _(e,t,s){const a=r(),{params:i}=e,n=i.edgeSwipeDetection,l=i.edgeSwipeThreshold;return!n||!(s<=l||s>=a.innerWidth-l)||"prevent"===n&&(t.preventDefault(),!0)}function F(e){const t=this,s=a();let i=e;i.originalEvent&&(i=i.originalEvent);const n=t.touchEventsData;if("pointerdown"===i.type){if(null!==n.pointerId&&n.pointerId!==i.pointerId)return;n.pointerId=i.pointerId}else"touchstart"===i.type&&1===i.targetTouches.length&&(n.touchId=i.targetTouches[0].identifier);if("touchstart"===i.type)return void _(t,i,i.targetTouches[0].pageX);const{params:l,touches:d,enabled:c}=t;if(!c)return;if(!l.simulateTouch&&"mouse"===i.pointerType)return;if(t.animating&&l.preventInteractionOnTransition)return;!t.animating&&l.cssMode&&l.loop&&t.loopFix();let p=i.target;if("wrapper"===l.touchEventsTarget&&!function(e,t){const s=r();let a=t.contains(e);!a&&s.HTMLSlotElement&&t instanceof HTMLSlotElement&&(a=[...t.assignedElements()].includes(e),a||(a=function(e,t){const s=[t];for(;s.length>0;){const t=s.shift();if(e===t)return!0;s.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return a}(p,t.wrapperEl))return;if("which"in i&&3===i.which)return;if("button"in i&&i.button>0)return;if(n.isTouched&&n.isMoved)return;const u=!!l.noSwipingClass&&""!==l.noSwipingClass,m=i.composedPath?i.composedPath():i.path;u&&i.target&&i.target.shadowRoot&&m&&(p=m[0]);const h=l.noSwipingSelector?l.noSwipingSelector:`.${l.noSwipingClass}`,f=!(!i.target||!i.target.shadowRoot);if(l.noSwiping&&(f?function(e,t=this){return function t(s){if(!s||s===a()||s===r())return null;s.assignedSlot&&(s=s.assignedSlot);const i=s.closest(e);return i||s.getRootNode?i||t(s.getRootNode().host):null}(t)}(h,p):p.closest(h)))return void(t.allowClick=!0);if(l.swipeHandler&&!p.closest(l.swipeHandler))return;d.currentX=i.pageX,d.currentY=i.pageY;const g=d.currentX,v=d.currentY;if(!_(t,i,g))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),d.startX=g,d.startY=v,n.touchStartTime=o(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,l.threshold>0&&(n.allowThresholdMove=!1);let w=!0;p.matches(n.focusableElements)&&(w=!1,"SELECT"===p.nodeName&&(n.isTouched=!1)),s.activeElement&&s.activeElement.matches(n.focusableElements)&&s.activeElement!==p&&("mouse"===i.pointerType||"mouse"!==i.pointerType&&!p.matches(n.focusableElements))&&s.activeElement.blur();const b=w&&t.allowTouchMove&&l.touchStartPreventDefault;!l.touchStartForcePreventDefault&&!b||p.isContentEditable||i.preventDefault(),l.freeMode&&l.freeMode.enabled&&t.freeMode&&t.animating&&!l.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",i)}function W(e){const t=a(),s=this,i=s.touchEventsData,{params:r,touches:n,rtlTranslate:l,enabled:d}=s;if(!d)return;if(!r.simulateTouch&&"mouse"===e.pointerType)return;let c,p=e;if(p.originalEvent&&(p=p.originalEvent),"pointermove"===p.type){if(null!==i.touchId)return;if(p.pointerId!==i.pointerId)return}if("touchmove"===p.type){if(c=[...p.changedTouches].find(e=>e.identifier===i.touchId),!c||c.identifier!==i.touchId)return}else c=p;if(!i.isTouched)return void(i.startMoving&&i.isScrolling&&s.emit("touchMoveOpposite",p));const u=c.pageX,m=c.pageY;if(p.preventedByNestedSwiper)return n.startX=u,void(n.startY=m);if(!s.allowTouchMove)return p.target.matches(i.focusableElements)||(s.allowClick=!1),void(i.isTouched&&(Object.assign(n,{startX:u,startY:m,currentX:u,currentY:m}),i.touchStartTime=o()));if(r.touchReleaseOnEdges&&!r.loop)if(s.isVertical()){if(m<n.startY&&s.translate<=s.maxTranslate()||m>n.startY&&s.translate>=s.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else{if(l&&(u>n.startX&&-s.translate<=s.maxTranslate()||u<n.startX&&-s.translate>=s.minTranslate()))return;if(!l&&(u<n.startX&&s.translate<=s.maxTranslate()||u>n.startX&&s.translate>=s.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(i.focusableElements)&&t.activeElement!==p.target&&"mouse"!==p.pointerType&&t.activeElement.blur(),t.activeElement&&p.target===t.activeElement&&p.target.matches(i.focusableElements))return i.isMoved=!0,void(s.allowClick=!1);i.allowTouchCallbacks&&s.emit("touchMove",p),n.previousX=n.currentX,n.previousY=n.currentY,n.currentX=u,n.currentY=m;const h=n.currentX-n.startX,f=n.currentY-n.startY;if(s.params.threshold&&Math.sqrt(h**2+f**2)<s.params.threshold)return;if(void 0===i.isScrolling){let e;s.isHorizontal()&&n.currentY===n.startY||s.isVertical()&&n.currentX===n.startX?i.isScrolling=!1:h*h+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(h))/Math.PI,i.isScrolling=s.isHorizontal()?e>r.touchAngle:90-e>r.touchAngle)}if(i.isScrolling&&s.emit("touchMoveOpposite",p),void 0===i.startMoving&&(n.currentX===n.startX&&n.currentY===n.startY||(i.startMoving=!0)),i.isScrolling||"touchmove"===p.type&&i.preventTouchMoveFromPointerMove)return void(i.isTouched=!1);if(!i.startMoving)return;s.allowClick=!1,!r.cssMode&&p.cancelable&&p.preventDefault(),r.touchMoveStopPropagation&&!r.nested&&p.stopPropagation();let g=s.isHorizontal()?h:f,v=s.isHorizontal()?n.currentX-n.previousX:n.currentY-n.previousY;r.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),n.diff=g,g*=r.touchRatio,l&&(g=-g,v=-v);const w=s.touchesDirection;s.swipeDirection=g>0?"prev":"next",s.touchesDirection=v>0?"prev":"next";const b=s.params.loop&&!r.cssMode,y="next"===s.touchesDirection&&s.allowSlideNext||"prev"===s.touchesDirection&&s.allowSlidePrev;if(!i.isMoved){if(b&&y&&s.loopFix({direction:s.swipeDirection}),i.startTranslate=s.getTranslate(),s.setTransition(0),s.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});s.wrapperEl.dispatchEvent(e)}i.allowMomentumBounce=!1,!r.grabCursor||!0!==s.allowSlideNext&&!0!==s.allowSlidePrev||s.setGrabCursor(!0),s.emit("sliderFirstMove",p)}if((new Date).getTime(),!1!==r._loopSwapReset&&i.isMoved&&i.allowThresholdMove&&w!==s.touchesDirection&&b&&y&&Math.abs(g)>=1)return Object.assign(n,{startX:u,startY:m,currentX:u,currentY:m,startTranslate:i.currentTranslate}),i.loopSwapReset=!0,void(i.startTranslate=i.currentTranslate);s.emit("sliderMove",p),i.isMoved=!0,i.currentTranslate=g+i.startTranslate;let E=!0,x=r.resistanceRatio;if(r.touchReleaseOnEdges&&(x=0),g>0?(b&&y&&i.allowThresholdMove&&i.currentTranslate>(r.centeredSlides?s.minTranslate()-s.slidesSizesGrid[s.activeIndex+1]-("auto"!==r.slidesPerView&&s.slides.length-r.slidesPerView>=2?s.slidesSizesGrid[s.activeIndex+1]+s.params.spaceBetween:0)-s.params.spaceBetween:s.minTranslate())&&s.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),i.currentTranslate>s.minTranslate()&&(E=!1,r.resistance&&(i.currentTranslate=s.minTranslate()-1+(-s.minTranslate()+i.startTranslate+g)**x))):g<0&&(b&&y&&i.allowThresholdMove&&i.currentTranslate<(r.centeredSlides?s.maxTranslate()+s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween+("auto"!==r.slidesPerView&&s.slides.length-r.slidesPerView>=2?s.slidesSizesGrid[s.slidesSizesGrid.length-1]+s.params.spaceBetween:0):s.maxTranslate())&&s.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:s.slides.length-("auto"===r.slidesPerView?s.slidesPerViewDynamic():Math.ceil(parseFloat(r.slidesPerView,10)))}),i.currentTranslate<s.maxTranslate()&&(E=!1,r.resistance&&(i.currentTranslate=s.maxTranslate()+1-(s.maxTranslate()-i.startTranslate-g)**x))),E&&(p.preventedByNestedSwiper=!0),!s.allowSlideNext&&"next"===s.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!s.allowSlidePrev&&"prev"===s.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),s.allowSlidePrev||s.allowSlideNext||(i.currentTranslate=i.startTranslate),r.threshold>0){if(!(Math.abs(g)>r.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);if(!i.allowThresholdMove)return i.allowThresholdMove=!0,n.startX=n.currentX,n.startY=n.currentY,i.currentTranslate=i.startTranslate,void(n.diff=s.isHorizontal()?n.currentX-n.startX:n.currentY-n.startY)}r.followFinger&&!r.cssMode&&((r.freeMode&&r.freeMode.enabled&&s.freeMode||r.watchSlidesProgress)&&(s.updateActiveIndex(),s.updateSlidesClasses()),r.freeMode&&r.freeMode.enabled&&s.freeMode&&s.freeMode.onTouchMove(),s.updateProgress(i.currentTranslate),s.setTranslate(i.currentTranslate))}function j(e){const t=this,s=t.touchEventsData;let a,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(a=[...i.changedTouches].find(e=>e.identifier===s.touchId),!a||a.identifier!==s.touchId)return}else{if(null!==s.touchId)return;if(i.pointerId!==s.pointerId)return;a=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}s.pointerId=null,s.touchId=null;const{params:r,touches:n,rtlTranslate:d,slidesGrid:c,enabled:p}=t;if(!p)return;if(!r.simulateTouch&&"mouse"===i.pointerType)return;if(s.allowTouchCallbacks&&t.emit("touchEnd",i),s.allowTouchCallbacks=!1,!s.isTouched)return s.isMoved&&r.grabCursor&&t.setGrabCursor(!1),s.isMoved=!1,void(s.startMoving=!1);r.grabCursor&&s.isMoved&&s.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=o(),m=u-s.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),m<300&&u-s.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(s.lastClickTime=o(),l(()=>{t.destroyed||(t.allowClick=!0)}),!s.isTouched||!s.isMoved||!t.swipeDirection||0===n.diff&&!s.loopSwapReset||s.currentTranslate===s.startTranslate&&!s.loopSwapReset)return s.isTouched=!1,s.isMoved=!1,void(s.startMoving=!1);let h;if(s.isTouched=!1,s.isMoved=!1,s.startMoving=!1,h=r.followFinger?d?t.translate:-t.translate:-s.currentTranslate,r.cssMode)return;if(r.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:h});const f=h>=-t.maxTranslate()&&!t.params.loop;let g=0,v=t.slidesSizesGrid[0];for(let e=0;e<c.length;e+=e<r.slidesPerGroupSkip?1:r.slidesPerGroup){const t=e<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;void 0!==c[e+t]?(f||h>=c[e]&&h<c[e+t])&&(g=e,v=c[e+t]-c[e]):(f||h>=c[e])&&(g=e,v=c[c.length-1]-c[c.length-2])}let w=null,b=null;r.rewind&&(t.isBeginning?b=r.virtual&&r.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(w=0));const y=(h-c[g])/v,E=g<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(m>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?w:g+E):t.slideTo(g)),"prev"===t.swipeDirection&&(y>1-r.longSwipesRatio?t.slideTo(g+E):null!==b&&y<0&&Math.abs(y)>r.longSwipesRatio?t.slideTo(b):t.slideTo(g))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(g+E):t.slideTo(g):("next"===t.swipeDirection&&t.slideTo(null!==w?w:g+E),"prev"===t.swipeDirection&&t.slideTo(null!==b?b:g))}}function U(){const e=this,{params:t,el:s}=e;if(s&&0===s.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:a,allowSlidePrev:i,snapGrid:r}=e,n=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const l=n&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||l?e.params.loop&&!n?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout(()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()},500)),e.allowSlidePrev=i,e.allowSlideNext=a,e.params.watchOverflow&&r!==e.snapGrid&&e.checkOverflow()}function K(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function Z(){const e=this,{wrapperEl:t,rtlTranslate:s,enabled:a}=e;if(!a)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const r=e.maxTranslate()-e.minTranslate();i=0===r?0:(e.translate-e.minTranslate())/r,i!==e.progress&&e.updateProgress(s?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function Q(e){const t=this;X(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function J(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const ee=(e,t)=>{const s=a(),{params:i,el:r,wrapperEl:n,device:l}=e,o=!!i.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;r&&"string"!=typeof r&&(s[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:o}),r[d]("touchstart",e.onTouchStart,{passive:!1}),r[d]("pointerdown",e.onTouchStart,{passive:!1}),s[d]("touchmove",e.onTouchMove,{passive:!1,capture:o}),s[d]("pointermove",e.onTouchMove,{passive:!1,capture:o}),s[d]("touchend",e.onTouchEnd,{passive:!0}),s[d]("pointerup",e.onTouchEnd,{passive:!0}),s[d]("pointercancel",e.onTouchEnd,{passive:!0}),s[d]("touchcancel",e.onTouchEnd,{passive:!0}),s[d]("pointerout",e.onTouchEnd,{passive:!0}),s[d]("pointerleave",e.onTouchEnd,{passive:!0}),s[d]("contextmenu",e.onTouchEnd,{passive:!0}),(i.preventClicks||i.preventClicksPropagation)&&r[d]("click",e.onClick,!0),i.cssMode&&n[d]("scroll",e.onScroll),i.updateOnWindowResize?e[c](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",U,!0):e[c]("observerUpdate",U,!0),r[d]("load",e.onLoad,{capture:!0}))};const te=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var se={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function ae(e,t){return function(s={}){const a=Object.keys(s)[0],i=s[a];"object"==typeof i&&null!==i?(!0===e[a]&&(e[a]={enabled:!0}),"navigation"===a&&e[a]&&e[a].enabled&&!e[a].prevEl&&!e[a].nextEl&&(e[a].auto=!0),["pagination","scrollbar"].indexOf(a)>=0&&e[a]&&e[a].enabled&&!e[a].el&&(e[a].auto=!0),a in e&&"enabled"in i?("object"!=typeof e[a]||"enabled"in e[a]||(e[a].enabled=!0),e[a]||(e[a]={enabled:!1}),u(t,s)):u(t,s)):u(t,s)}}const ie={eventsEmitter:O,update:Y,translate:N,transition:{setTransition:function(e,t){const s=this;s.params.cssMode||(s.wrapperEl.style.transitionDuration=`${e}ms`,s.wrapperEl.style.transitionDelay=0===e?"0ms":""),s.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const s=this,{params:a}=s;a.cssMode||(a.autoHeight&&s.updateAutoHeight(),R({swiper:s,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const s=this,{params:a}=s;s.animating=!1,a.cssMode||(s.setTransition(0),R({swiper:s,runCallbacks:e,direction:t,step:"End"}))}},slide:V,loop:q,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const s="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),s.style.cursor="move",s.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1})},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1}))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=F.bind(e),e.onTouchMove=W.bind(e),e.onTouchEnd=j.bind(e),e.onDocumentTouchStart=J.bind(e),t.cssMode&&(e.onScroll=Z.bind(e)),e.onClick=K.bind(e),e.onLoad=Q.bind(e),ee(e,"on")},detachEvents:function(){ee(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:s,params:i,el:r}=e,n=i.breakpoints;if(!n||n&&0===Object.keys(n).length)return;const l=a(),o="window"!==i.breakpointsBase&&i.breakpointsBase?"container":i.breakpointsBase,d=["window","container"].includes(i.breakpointsBase)||!i.breakpointsBase?e.el:l.querySelector(i.breakpointsBase),c=e.getBreakpoint(n,o,d);if(!c||e.currentBreakpoint===c)return;const p=(c in n?n[c]:void 0)||e.originalParams,m=te(e,i),h=te(e,p),f=e.params.grabCursor,g=p.grabCursor,v=i.enabled;m&&!h?(r.classList.remove(`${i.containerModifierClass}grid`,`${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!m&&h&&(r.classList.add(`${i.containerModifierClass}grid`),(p.grid.fill&&"column"===p.grid.fill||!p.grid.fill&&"column"===i.grid.fill)&&r.classList.add(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!g?e.unsetGrabCursor():!f&&g&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(t=>{if(void 0===p[t])return;const s=i[t]&&i[t].enabled,a=p[t]&&p[t].enabled;s&&!a&&e[t].disable(),!s&&a&&e[t].enable()});const w=p.direction&&p.direction!==i.direction,b=i.loop&&(p.slidesPerView!==i.slidesPerView||w),y=i.loop;w&&s&&e.changeDirection(),u(e.params,p);const E=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),v&&!E?e.disable():!v&&E&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",p),s&&(b?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&x?(e.loopCreate(t),e.updateSlides()):y&&!x&&e.loopDestroy()),e.emit("breakpoint",p)},getBreakpoint:function(e,t="window",s){if(!e||"container"===t&&!s)return;let a=!1;const i=r(),n="window"===t?i.innerHeight:s.clientHeight,l=Object.keys(e).map(e=>{if("string"==typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:n*t,point:e}}return{value:e,point:e}});l.sort((e,t)=>parseInt(e.value,10)-parseInt(t.value,10));for(let e=0;e<l.length;e+=1){const{point:r,value:n}=l[e];"window"===t?i.matchMedia(`(min-width: ${n}px)`).matches&&(a=r):n<=s.clientWidth&&(a=r)}return a||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:s}=e,{slidesOffsetBefore:a}=s;if(a){const t=e.slides.length-1,s=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*a;e.isLocked=e.size>s}else e.isLocked=1===e.snapGrid.length;!0===s.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===s.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:s,rtl:a,el:i,device:r}=e,n=function(e,t){const s=[];return e.forEach(e=>{"object"==typeof e?Object.keys(e).forEach(a=>{e[a]&&s.push(t+a)}):"string"==typeof e&&s.push(t+e)}),s}(["initialized",s.direction,{"free-mode":e.params.freeMode&&s.freeMode.enabled},{autoheight:s.autoHeight},{rtl:a},{grid:s.grid&&s.grid.rows>1},{"grid-column":s.grid&&s.grid.rows>1&&"column"===s.grid.fill},{android:r.android},{ios:r.ios},{"css-mode":s.cssMode},{centered:s.cssMode&&s.centeredSlides},{"watch-progress":s.watchSlidesProgress}],s.containerModifierClass);t.push(...n),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},re={};class ne{constructor(...e){let t,s;1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?s=e[0]:[t,s]=e,s||(s={}),s=u({},s),t&&!s.el&&(s.el=t);const i=a();if(s.el&&"string"==typeof s.el&&i.querySelectorAll(s.el).length>1){const e=[];return i.querySelectorAll(s.el).forEach(t=>{const a=u({},s,{el:t});e.push(new ne(a))}),e}const r=this;r.__swiper__=!0,r.support=A(),r.device=$({userAgent:s.userAgent}),r.browser=k(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],s.modules&&Array.isArray(s.modules)&&r.modules.push(...s.modules);const n={};r.modules.forEach(e=>{e({params:s,swiper:r,extendParams:ae(s,n),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})});const l=u({},se,n);return r.params=u({},l,re,s),r.originalParams=u({},r.params),r.passedParams=u({},s),r.params&&r.params.on&&Object.keys(r.params.on).forEach(e=>{r.on(e,r.params.on[e])}),r.params&&r.params.onAny&&r.onAny(r.params.onAny),Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:t,params:s}=this,a=E(g(t,`.${s.slideClass}, swiper-slide`)[0]);return E(e)-a}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find(t=>1*t.getAttribute("data-swiper-slide-index")===e))}getSlideIndexWhenGrid(e){return this.grid&&this.params.grid&&this.params.grid.rows>1&&("column"===this.params.grid.fill?e=Math.floor(e/this.params.grid.rows):"row"===this.params.grid.fill&&(e%=Math.ceil(this.slides.length/this.params.grid.rows))),e}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=g(e,`.${t.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const s=this;e=Math.min(Math.max(e,0),1);const a=s.minTranslate(),i=(s.maxTranslate()-a)*e+a;s.translateTo(i,void 0===t?0:t),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter(t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter(e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass)).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.forEach(s=>{const a=e.getSlideClasses(s);t.push({slideEl:s,classNames:a}),e.emit("_slideClass",s,a)}),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:s,slides:a,slidesGrid:i,slidesSizesGrid:r,size:n,activeIndex:l}=this;let o=1;if("number"==typeof s.slidesPerView)return s.slidesPerView;if(s.centeredSlides){let e,t=a[l]?Math.ceil(a[l].swiperSlideSize):0;for(let s=l+1;s<a.length;s+=1)a[s]&&!e&&(t+=Math.ceil(a[s].swiperSlideSize),o+=1,t>n&&(e=!0));for(let s=l-1;s>=0;s-=1)a[s]&&!e&&(t+=a[s].swiperSlideSize,o+=1,t>n&&(e=!0))}else if("current"===e)for(let e=l+1;e<a.length;e+=1){(t?i[e]+r[e]-i[l]<n:i[e]-i[l]<n)&&(o+=1)}else for(let e=l-1;e>=0;e-=1){i[l]-i[e]<n&&(o+=1)}return o}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:s}=e;function a(){const t=e.rtlTranslate?-1*e.translate:e.translate,s=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(s),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(s.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach(t=>{t.complete&&X(e,t)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),s.freeMode&&s.freeMode.enabled&&!s.cssMode)a(),s.autoHeight&&e.updateAutoHeight();else{if(("auto"===s.slidesPerView||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const t=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||a()}s.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const s=this,a=s.params.direction;return e||(e="horizontal"===a?"vertical":"horizontal"),e===a||"horizontal"!==e&&"vertical"!==e||(s.el.classList.remove(`${s.params.containerModifierClass}${a}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(t=>{"vertical"===e?t.style.width="":t.style.height=""}),s.emit("changeDirection"),t&&s.update()),s}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.el.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let s=e||t.params.el;if("string"==typeof s&&(s=document.querySelector(s)),!s)return!1;s.swiper=t,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const a=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(s&&s.shadowRoot&&s.shadowRoot.querySelector){return s.shadowRoot.querySelector(a())}return g(s,a())[0]})();return!i&&t.params.createElements&&(i=w("div",t.params.wrapperClass),s.append(i),g(s,`.${t.params.slideClass}`).forEach(e=>{i.append(e)})),Object.assign(t,{el:s,wrapperEl:i,slidesEl:t.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:i,hostEl:t.isElement?s.parentNode.host:s,mounted:!0,rtl:"rtl"===s.dir.toLowerCase()||"rtl"===y(s,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===s.dir.toLowerCase()||"rtl"===y(s,"direction")),wrongRTL:"-webkit-box"===y(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const s=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&s.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),s.forEach(e=>{e.complete?X(t,e):e.addEventListener("load",e=>{X(t,e.target)})}),H(t),t.initialized=!0,H(t),t.emit("init"),t.emit("afterInit"),t}destroy(e=!0,t=!0){const s=this,{params:a,el:i,wrapperEl:r,slides:n}=s;return void 0===s.params||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),a.loop&&s.loopDestroy(),t&&(s.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),r&&r.removeAttribute("style"),n&&n.length&&n.forEach(e=>{e.classList.remove(a.slideVisibleClass,a.slideFullyVisibleClass,a.slideActiveClass,a.slideNextClass,a.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(e=>{s.off(e)}),!1!==e&&(s.el&&"string"!=typeof s.el&&(s.el.swiper=null),function(e){const t=e;Object.keys(t).forEach(e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})}(s)),s.destroyed=!0),null}static extendDefaults(e){u(re,e)}static get extendedDefaults(){return re}static get defaults(){return se}static installModule(e){ne.prototype.__modules__||(ne.prototype.__modules__=[]);const t=ne.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach(e=>ne.installModule(e)),ne):(ne.installModule(e),ne)}}function le(e,t,s,a){return e.params.createElements&&Object.keys(a).forEach(i=>{if(!s[i]&&!0===s.auto){let r=g(e.el,`.${a[i]}`)[0];r||(r=w("div",a[i]),r.className=a[i],e.el.append(r)),s[i]=r,t[i]=r}}),s}Object.keys(ie).forEach(e=>{Object.keys(ie[e]).forEach(t=>{ne.prototype[t]=ie[e][t]})}),ne.use([function({swiper:e,on:t,emit:s}){const a=r();let i=null,n=null;const l=()=>{e&&!e.destroyed&&e.initialized&&(s("beforeResize"),s("resize"))},o=()=>{e&&!e.destroyed&&e.initialized&&s("orientationchange")};t("init",()=>{e.params.resizeObserver&&void 0!==a.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver(t=>{n=a.requestAnimationFrame(()=>{const{width:s,height:a}=e;let i=s,r=a;t.forEach(({contentBoxSize:t,contentRect:s,target:a})=>{a&&a!==e.el||(i=s?s.width:(t[0]||t).inlineSize,r=s?s.height:(t[0]||t).blockSize)}),i===s&&r===a||l()})}),i.observe(e.el)):(a.addEventListener("resize",l),a.addEventListener("orientationchange",o))}),t("destroy",()=>{n&&a.cancelAnimationFrame(n),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),a.removeEventListener("resize",l),a.removeEventListener("orientationchange",o)})},function({swiper:e,extendParams:t,on:s,emit:a}){const i=[],n=r(),l=(t,s={})=>{const r=new(n.MutationObserver||n.WebkitMutationObserver)(t=>{if(e.__preventObserver__)return;if(1===t.length)return void a("observerUpdate",t[0]);const s=function(){a("observerUpdate",t[0])};n.requestAnimationFrame?n.requestAnimationFrame(s):n.setTimeout(s,0)});r.observe(t,{attributes:void 0===s.attributes||s.attributes,childList:e.isElement||(void 0===s.childList||s).childList,characterData:void 0===s.characterData||s.characterData}),i.push(r)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",()=>{if(e.params.observer){if(e.params.observeParents){const t=x(e.hostEl);for(let e=0;e<t.length;e+=1)l(t[e])}l(e.hostEl,{childList:e.params.observeSlideChildren}),l(e.wrapperEl,{attributes:!1})}}),s("destroy",()=>{i.forEach(e=>{e.disconnect()}),i.splice(0,i.length)})}]);function oe(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}function de(e){const t=this,{params:s,slidesEl:a}=t;s.loop&&t.loopDestroy();const i=e=>{if("string"==typeof e){const t=document.createElement("div");P(t,e),a.append(t.children[0]),P(t,"")}else a.append(e)};if("object"==typeof e&&"length"in e)for(let t=0;t<e.length;t+=1)e[t]&&i(e[t]);else i(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update()}function ce(e){const t=this,{params:s,activeIndex:a,slidesEl:i}=t;s.loop&&t.loopDestroy();let r=a+1;const n=e=>{if("string"==typeof e){const t=document.createElement("div");P(t,e),i.prepend(t.children[0]),P(t,"")}else i.prepend(e)};if("object"==typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&n(e[t]);r=a+e.length}else n(e);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),t.slideTo(r,0,!1)}function pe(e,t){const s=this,{params:a,activeIndex:i,slidesEl:r}=s;let n=i;a.loop&&(n-=s.loopedSlides,s.loopDestroy(),s.recalcSlides());const l=s.slides.length;if(e<=0)return void s.prependSlide(t);if(e>=l)return void s.appendSlide(t);let o=n>e?n+1:n;const d=[];for(let t=l-1;t>=e;t-=1){const e=s.slides[t];e.remove(),d.unshift(e)}if("object"==typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);o=n>e?n+t.length:n}else r.append(t);for(let e=0;e<d.length;e+=1)r.append(d[e]);s.recalcSlides(),a.loop&&s.loopCreate(),a.observer&&!s.isElement||s.update(),a.loop?s.slideTo(o+s.loopedSlides,0,!1):s.slideTo(o,0,!1)}function ue(e){const t=this,{params:s,activeIndex:a}=t;let i=a;s.loop&&(i-=t.loopedSlides,t.loopDestroy());let r,n=i;if("object"==typeof e&&"length"in e){for(let s=0;s<e.length;s+=1)r=e[s],t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1);n=Math.max(n,0)}else r=e,t.slides[r]&&t.slides[r].remove(),r<n&&(n-=1),n=Math.max(n,0);t.recalcSlides(),s.loop&&t.loopCreate(),s.observer&&!t.isElement||t.update(),s.loop?t.slideTo(n+t.loopedSlides,0,!1):t.slideTo(n,0,!1)}function me(){const e=this,t=[];for(let s=0;s<e.slides.length;s+=1)t.push(s);e.removeSlide(t)}function he(e){const{effect:t,swiper:s,on:a,setTranslate:i,setTransition:r,overwriteParams:n,perspective:l,recreateShadows:o,getEffectParams:d}=e;let c;a("beforeInit",()=>{if(s.params.effect!==t)return;s.classNames.push(`${s.params.containerModifierClass}${t}`),l&&l()&&s.classNames.push(`${s.params.containerModifierClass}3d`);const e=n?n():{};Object.assign(s.params,e),Object.assign(s.originalParams,e)}),a("setTranslate _virtualUpdated",()=>{s.params.effect===t&&i()}),a("setTransition",(e,a)=>{s.params.effect===t&&r(a)}),a("transitionEnd",()=>{if(s.params.effect===t&&o){if(!d||!d().slideShadows)return;s.slides.forEach(e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>e.remove())}),o()}}),a("virtualUpdate",()=>{s.params.effect===t&&(s.slides.length||(c=!0),requestAnimationFrame(()=>{c&&s.slides&&s.slides.length&&(i(),c=!1)}))})}function fe(e,t){const s=f(t);return s!==t&&(s.style.backfaceVisibility="hidden",s.style["-webkit-backface-visibility"]="hidden"),s}function ge({swiper:e,duration:t,transformElements:s,allSlides:a}){const{activeIndex:i}=e;if(e.params.virtualTranslate&&0!==t){let t,r=!1;t=a?s:s.filter(t=>{const s=t.classList.contains("swiper-slide-transform")?(t=>{if(!t.parentElement)return e.slides.find(e=>e.shadowRoot&&e.shadowRoot===t.parentNode);return t.parentElement})(t):t;return e.getSlideIndex(s)===i}),t.forEach(t=>{S(t,()=>{if(r)return;if(!e||e.destroyed)return;r=!0,e.animating=!1;const t=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});e.wrapperEl.dispatchEvent(t)})})}}function ve(e,t,s){const a=`swiper-slide-shadow${s?`-${s}`:""}${e?` swiper-slide-shadow-${e}`:""}`,i=f(t);let r=i.querySelector(`.${a.split(" ").join(".")}`);return r||(r=w("div",a.split(" ")),i.append(r)),r}const we=[function({swiper:e,extendParams:t,on:s,emit:i}){let r;t({virtual:{enabled:!1,slides:[],cache:!0,slidesPerViewAutoSlideSize:320,renderSlide:null,renderExternal:null,renderExternalUpdate:!0,addSlidesBefore:0,addSlidesAfter:0}});const n=a();e.virtual={cache:{},from:void 0,to:void 0,slides:[],offset:0,slidesGrid:[]};const l=n.createElement("div");function o(t,s){const a=e.params.virtual;if(a.cache&&e.virtual.cache[s])return e.virtual.cache[s];let i;return a.renderSlide?(i=a.renderSlide.call(e,t,s),"string"==typeof i&&(P(l,i),i=l.children[0])):i=e.isElement?w("swiper-slide"):w("div",e.params.slideClass),i.setAttribute("data-swiper-slide-index",s),a.renderSlide||P(i,t),a.cache&&(e.virtual.cache[s]=i),i}function d(t,s,a){const{slidesPerGroup:r,centeredSlides:n,slidesPerView:l,loop:d,initialSlide:c}=e.params;if(s&&!d&&c>0)return;const{addSlidesBefore:p,addSlidesAfter:u,slidesPerViewAutoSlideSize:m}=e.params.virtual,{from:h,to:f,slides:v,slidesGrid:w,offset:b}=e.virtual;e.params.cssMode||e.updateActiveIndex();const y=void 0===a?e.activeIndex||0:a;let E,x,S,T;if(E=e.rtlTranslate?"right":e.isHorizontal()?"left":"top","auto"===l)if(m){let t=e.size;t||(t=e.isHorizontal()?e.el.getBoundingClientRect().width:e.el.getBoundingClientRect().height),x=Math.max(1,Math.ceil(t/m))}else x=1;else x=l;n?(S=Math.floor(x/2)+r+u,T=Math.floor(x/2)+r+p):(S=x+(r-1)+u,T=(d?x:r)+p);let M=y-T,C=y+S;d||(M=Math.max(M,0),C=Math.min(C,v.length-1));let P=(e.slidesGrid[M]||0)-(e.slidesGrid[0]||0);function L(){e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),i("virtualUpdate")}if(d&&y>=T?(M-=T,n||(P+=e.slidesGrid[0])):d&&y<T&&(M=-T,n&&(P+=e.slidesGrid[0])),Object.assign(e.virtual,{from:M,to:C,offset:P,slidesGrid:e.slidesGrid,slidesBefore:T,slidesAfter:S}),h===M&&f===C&&!t)return e.slidesGrid!==w&&P!==b&&e.slides.forEach(t=>{t.style[E]=P-Math.abs(e.cssOverflowAdjustment())+"px"}),e.updateProgress(),void i("virtualUpdate");if(e.params.virtual.renderExternal)return e.params.virtual.renderExternal.call(e,{offset:P,from:M,to:C,slides:function(){const e=[];for(let t=M;t<=C;t+=1)e.push(v[t]);return e}()}),void(e.params.virtual.renderExternalUpdate?L():i("virtualUpdate"));const z=[],I=[],A=e=>{let t=e;return e<0?t=v.length+e:t>=v.length&&(t-=v.length),t};if(t)e.slides.filter(t=>t.matches(`.${e.params.slideClass}, swiper-slide`)).forEach(e=>{e.remove()});else for(let t=h;t<=f;t+=1)if(t<M||t>C){const s=A(t);e.slides.filter(t=>t.matches(`.${e.params.slideClass}[data-swiper-slide-index="${s}"], swiper-slide[data-swiper-slide-index="${s}"]`)).forEach(e=>{e.remove()})}const $=d?-v.length:0,k=d?2*v.length:v.length;for(let e=$;e<k;e+=1)if(e>=M&&e<=C){const s=A(e);void 0===f||t?I.push(s):(e>f&&I.push(s),e<h&&z.push(s))}if(I.forEach(t=>{e.slidesEl.append(o(v[t],t))}),d)for(let t=z.length-1;t>=0;t-=1){const s=z[t];e.slidesEl.prepend(o(v[s],s))}else z.sort((e,t)=>t-e),z.forEach(t=>{e.slidesEl.prepend(o(v[t],t))});g(e.slidesEl,".swiper-slide, swiper-slide").forEach(t=>{t.style[E]=P-Math.abs(e.cssOverflowAdjustment())+"px"}),L()}s("beforeInit",()=>{if(!e.params.virtual.enabled)return;let t;if(void 0===e.passedParams.virtual.slides){const s=[...e.slidesEl.children].filter(t=>t.matches(`.${e.params.slideClass}, swiper-slide`));s&&s.length&&(e.virtual.slides=[...s],t=!0,s.forEach((t,s)=>{t.setAttribute("data-swiper-slide-index",s),e.virtual.cache[s]=t,t.remove()}))}t||(e.virtual.slides=e.params.virtual.slides),e.classNames.push(`${e.params.containerModifierClass}virtual`),e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0,d(!1,!0)}),s("setTranslate",()=>{e.params.virtual.enabled&&(e.params.cssMode&&!e._immediateVirtual?(clearTimeout(r),r=setTimeout(()=>{d()},100)):d())}),s("init update resize",()=>{e.params.virtual.enabled&&e.params.cssMode&&m(e.wrapperEl,"--swiper-virtual-size",`${e.virtualSize}px`)}),Object.assign(e.virtual,{appendSlide:function(t){if("object"==typeof t&&"length"in t)for(let s=0;s<t.length;s+=1)t[s]&&e.virtual.slides.push(t[s]);else e.virtual.slides.push(t);d(!0)},prependSlide:function(t){const s=e.activeIndex;let a=s+1,i=1;if(Array.isArray(t)){for(let s=0;s<t.length;s+=1)t[s]&&e.virtual.slides.unshift(t[s]);a=s+t.length,i=t.length}else e.virtual.slides.unshift(t);if(e.params.virtual.cache){const t=e.virtual.cache,s={};Object.keys(t).forEach(e=>{const a=t[e],r=a.getAttribute("data-swiper-slide-index");r&&a.setAttribute("data-swiper-slide-index",parseInt(r,10)+i),s[parseInt(e,10)+i]=a}),e.virtual.cache=s}d(!0),e.slideTo(a,0)},removeSlide:function(t){if(null==t)return;let s=e.activeIndex;if(Array.isArray(t))for(let a=t.length-1;a>=0;a-=1)e.params.virtual.cache&&(delete e.virtual.cache[t[a]],Object.keys(e.virtual.cache).forEach(s=>{s>t&&(e.virtual.cache[s-1]=e.virtual.cache[s],e.virtual.cache[s-1].setAttribute("data-swiper-slide-index",s-1),delete e.virtual.cache[s])})),e.virtual.slides.splice(t[a],1),t[a]<s&&(s-=1),s=Math.max(s,0);else e.params.virtual.cache&&(delete e.virtual.cache[t],Object.keys(e.virtual.cache).forEach(s=>{s>t&&(e.virtual.cache[s-1]=e.virtual.cache[s],e.virtual.cache[s-1].setAttribute("data-swiper-slide-index",s-1),delete e.virtual.cache[s])})),e.virtual.slides.splice(t,1),t<s&&(s-=1),s=Math.max(s,0);d(!0),e.slideTo(s,0)},removeAllSlides:function(){e.virtual.slides=[],e.params.virtual.cache&&(e.virtual.cache={}),d(!0),e.slideTo(0,0)},update:d})},function({swiper:e,extendParams:t,on:s,emit:i}){const n=a(),l=r();function o(t){if(!e.enabled)return;const{rtlTranslate:s}=e;let a=t;a.originalEvent&&(a=a.originalEvent);const r=a.keyCode||a.charCode,o=e.params.keyboard.pageUpDown,d=o&&33===r,c=o&&34===r,p=37===r,u=39===r,m=38===r,h=40===r;if(!e.allowSlideNext&&(e.isHorizontal()&&u||e.isVertical()&&h||c))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&p||e.isVertical()&&m||d))return!1;if(!(a.shiftKey||a.altKey||a.ctrlKey||a.metaKey||n.activeElement&&(n.activeElement.isContentEditable||n.activeElement.nodeName&&("input"===n.activeElement.nodeName.toLowerCase()||"textarea"===n.activeElement.nodeName.toLowerCase())))){if(e.params.keyboard.onlyInViewport&&(d||c||p||u||m||h)){let t=!1;if(x(e.el,`.${e.params.slideClass}, swiper-slide`).length>0&&0===x(e.el,`.${e.params.slideActiveClass}`).length)return;const a=e.el,i=a.clientWidth,r=a.clientHeight,n=l.innerWidth,o=l.innerHeight,d=b(a);s&&(d.left-=a.scrollLeft);const c=[[d.left,d.top],[d.left+i,d.top],[d.left,d.top+r],[d.left+i,d.top+r]];for(let e=0;e<c.length;e+=1){const s=c[e];if(s[0]>=0&&s[0]<=n&&s[1]>=0&&s[1]<=o){if(0===s[0]&&0===s[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((d||c||p||u)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),((c||u)&&!s||(d||p)&&s)&&e.slideNext(),((d||p)&&!s||(c||u)&&s)&&e.slidePrev()):((d||c||m||h)&&(a.preventDefault?a.preventDefault():a.returnValue=!1),(c||h)&&e.slideNext(),(d||m)&&e.slidePrev()),i("keyPress",r)}}function d(){e.keyboard.enabled||(n.addEventListener("keydown",o),e.keyboard.enabled=!0)}function c(){e.keyboard.enabled&&(n.removeEventListener("keydown",o),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),s("init",()=>{e.params.keyboard.enabled&&d()}),s("destroy",()=>{e.keyboard.enabled&&c()}),Object.assign(e.keyboard,{enable:d,disable:c})},function({swiper:e,extendParams:t,on:s,emit:a}){const i=r();let n;t({mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarget:"container",thresholdDelta:null,thresholdTime:null,noMousewheelClass:"swiper-no-mousewheel"}}),e.mousewheel={enabled:!1};let d,c=o();const p=[];function u(){e.enabled&&(e.mouseEntered=!0)}function m(){e.enabled&&(e.mouseEntered=!1)}function h(t){return!(e.params.mousewheel.thresholdDelta&&t.delta<e.params.mousewheel.thresholdDelta)&&(!(e.params.mousewheel.thresholdTime&&o()-c<e.params.mousewheel.thresholdTime)&&(t.delta>=6&&o()-c<60||(t.direction<0?e.isEnd&&!e.params.loop||e.animating||(e.slideNext(),a("scroll",t.raw)):e.isBeginning&&!e.params.loop||e.animating||(e.slidePrev(),a("scroll",t.raw)),c=(new i.Date).getTime(),!1)))}function f(t){let s=t,i=!0;if(!e.enabled)return;if(t.target.closest(`.${e.params.mousewheel.noMousewheelClass}`))return;const r=e.params.mousewheel;e.params.cssMode&&s.preventDefault();let c=e.el;"container"!==e.params.mousewheel.eventsTarget&&(c=document.querySelector(e.params.mousewheel.eventsTarget));const u=c&&c.contains(s.target);if(!e.mouseEntered&&!u&&!r.releaseOnEdges)return!0;s.originalEvent&&(s=s.originalEvent);let m=0;const f=e.rtlTranslate?-1:1,g=function(e){let t=0,s=0,a=0,i=0;return"detail"in e&&(s=e.detail),"wheelDelta"in e&&(s=-e.wheelDelta/120),"wheelDeltaY"in e&&(s=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=s,s=0),a=10*t,i=10*s,"deltaY"in e&&(i=e.deltaY),"deltaX"in e&&(a=e.deltaX),e.shiftKey&&!a&&(a=i,i=0),(a||i)&&e.deltaMode&&(1===e.deltaMode?(a*=40,i*=40):(a*=800,i*=800)),a&&!t&&(t=a<1?-1:1),i&&!s&&(s=i<1?-1:1),{spinX:t,spinY:s,pixelX:a,pixelY:i}}(s);if(r.forceToAxis)if(e.isHorizontal()){if(!(Math.abs(g.pixelX)>Math.abs(g.pixelY)))return!0;m=-g.pixelX*f}else{if(!(Math.abs(g.pixelY)>Math.abs(g.pixelX)))return!0;m=-g.pixelY}else m=Math.abs(g.pixelX)>Math.abs(g.pixelY)?-g.pixelX*f:-g.pixelY;if(0===m)return!0;r.invert&&(m=-m);let v=e.getTranslate()+m*r.sensitivity;if(v>=e.minTranslate()&&(v=e.minTranslate()),v<=e.maxTranslate()&&(v=e.maxTranslate()),i=!!e.params.loop||!(v===e.minTranslate()||v===e.maxTranslate()),i&&e.params.nested&&s.stopPropagation(),e.params.freeMode&&e.params.freeMode.enabled){const t={time:o(),delta:Math.abs(m),direction:Math.sign(m)},i=d&&t.time<d.time+500&&t.delta<=d.delta&&t.direction===d.direction;if(!i){d=void 0;let o=e.getTranslate()+m*r.sensitivity;const c=e.isBeginning,u=e.isEnd;if(o>=e.minTranslate()&&(o=e.minTranslate()),o<=e.maxTranslate()&&(o=e.maxTranslate()),e.setTransition(0),e.setTranslate(o),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses(),(!c&&e.isBeginning||!u&&e.isEnd)&&e.updateSlidesClasses(),e.params.loop&&e.loopFix({direction:t.direction<0?"next":"prev",byMousewheel:!0}),e.params.freeMode.sticky){clearTimeout(n),n=void 0,p.length>=15&&p.shift();const s=p.length?p[p.length-1]:void 0,a=p[0];if(p.push(t),s&&(t.delta>s.delta||t.direction!==s.direction))p.splice(0);else if(p.length>=15&&t.time-a.time<500&&a.delta-t.delta>=1&&t.delta<=6){const s=m>0?.8:.2;d=t,p.splice(0),n=l(()=>{!e.destroyed&&e.params&&e.slideToClosest(e.params.speed,!0,void 0,s)},0)}n||(n=l(()=>{if(e.destroyed||!e.params)return;d=t,p.splice(0),e.slideToClosest(e.params.speed,!0,void 0,.5)},500))}if(i||a("scroll",s),e.params.autoplay&&e.params.autoplay.disableOnInteraction&&e.autoplay.stop(),r.releaseOnEdges&&(o===e.minTranslate()||o===e.maxTranslate()))return!0}}else{const s={time:o(),delta:Math.abs(m),direction:Math.sign(m),raw:t};p.length>=2&&p.shift();const a=p.length?p[p.length-1]:void 0;if(p.push(s),a?(s.direction!==a.direction||s.delta>a.delta||s.time>a.time+150)&&h(s):h(s),function(t){const s=e.params.mousewheel;if(t.direction<0){if(e.isEnd&&!e.params.loop&&s.releaseOnEdges)return!0}else if(e.isBeginning&&!e.params.loop&&s.releaseOnEdges)return!0;return!1}(s))return!0}return s.preventDefault?s.preventDefault():s.returnValue=!1,!1}function g(t){let s=e.el;"container"!==e.params.mousewheel.eventsTarget&&(s=document.querySelector(e.params.mousewheel.eventsTarget)),s[t]("mouseenter",u),s[t]("mouseleave",m),s[t]("wheel",f)}function v(){return e.params.cssMode?(e.wrapperEl.removeEventListener("wheel",f),!0):!e.mousewheel.enabled&&(g("addEventListener"),e.mousewheel.enabled=!0,!0)}function w(){return e.params.cssMode?(e.wrapperEl.addEventListener(event,f),!0):!!e.mousewheel.enabled&&(g("removeEventListener"),e.mousewheel.enabled=!1,!0)}s("init",()=>{!e.params.mousewheel.enabled&&e.params.cssMode&&w(),e.params.mousewheel.enabled&&v()}),s("destroy",()=>{e.params.cssMode&&v(),e.mousewheel.enabled&&w()}),Object.assign(e.mousewheel,{enable:v,disable:w})},function({swiper:e,extendParams:t,on:s,emit:a}){function i(t){let s;return t&&"string"==typeof t&&e.isElement&&(s=e.el.querySelector(t)||e.hostEl.querySelector(t),s)?s:(t&&("string"==typeof t&&(s=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&s&&s.length>1&&1===e.el.querySelectorAll(t).length?s=e.el.querySelector(t):s&&1===s.length&&(s=s[0])),t&&!s?t:s)}function r(t,s){const a=e.params.navigation;(t=M(t)).forEach(t=>{t&&(t.classList[s?"add":"remove"](...a.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=s),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](a.lockClass))})}function n(){const{nextEl:t,prevEl:s}=e.navigation;if(e.params.loop)return r(s,!1),void r(t,!1);r(s,e.isBeginning&&!e.params.rewind),r(t,e.isEnd&&!e.params.rewind)}function l(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),a("navigationPrev"))}function o(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),a("navigationNext"))}function d(){const t=e.params.navigation;if(e.params.navigation=le(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!t.nextEl&&!t.prevEl)return;let s=i(t.nextEl),a=i(t.prevEl);Object.assign(e.navigation,{nextEl:s,prevEl:a}),s=M(s),a=M(a);const r=(s,a)=>{s&&(s.matches(".swiper-button-next,.swiper-button-prev")&&!s.querySelector("svg")&&P(s,'<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>'),s.addEventListener("click","next"===a?o:l)),!e.enabled&&s&&s.classList.add(...t.lockClass.split(" "))};s.forEach(e=>r(e,"next")),a.forEach(e=>r(e,"prev"))}function c(){let{nextEl:t,prevEl:s}=e.navigation;t=M(t),s=M(s);const a=(t,s)=>{t.removeEventListener("click","next"===s?o:l),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>a(e,"next")),s.forEach(e=>a(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null},s("init",()=>{!1===e.params.navigation.enabled?p():(d(),n())}),s("toEdge fromEdge lock unlock",()=>{n()}),s("destroy",()=>{c()}),s("enable disable",()=>{let{nextEl:t,prevEl:s}=e.navigation;t=M(t),s=M(s),e.enabled?n():[...t,...s].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),s("click",(t,s)=>{let{nextEl:i,prevEl:r}=e.navigation;i=M(i),r=M(r);const n=s.target;let l=r.includes(n)||i.includes(n);if(e.isElement&&!l){const e=s.path||s.composedPath&&s.composedPath();e&&(l=e.find(e=>i.includes(e)||r.includes(e)))}if(e.params.navigation.hideOnClick&&!l){if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===n||e.pagination.el.contains(n)))return;let t;i.length?t=i[0].classList.contains(e.params.navigation.hiddenClass):r.length&&(t=r[0].classList.contains(e.params.navigation.hiddenClass)),a(!0===t?"navigationShow":"navigationHide"),[...i,...r].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});const p=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),c()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),d(),n()},disable:p,update:n,init:d,destroy:c})},function({swiper:e,extendParams:t,on:s,emit:a}){const i="swiper-pagination";let r;t({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${i}-bullet`,bulletActiveClass:`${i}-bullet-active`,modifierClass:`${i}-`,currentClass:`${i}-current`,totalClass:`${i}-total`,hiddenClass:`${i}-hidden`,progressbarFillClass:`${i}-progressbar-fill`,progressbarOppositeClass:`${i}-progressbar-opposite`,clickableClass:`${i}-clickable`,lockClass:`${i}-lock`,horizontalClass:`${i}-horizontal`,verticalClass:`${i}-vertical`,paginationDisabledClass:`${i}-disabled`}}),e.pagination={el:null,bullets:[]};let n=0;function l(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function o(t,s){const{bulletActiveClass:a}=e.params.pagination;t&&(t=t[("prev"===s?"previous":"next")+"ElementSibling"])&&(t.classList.add(`${a}-${s}`),(t=t[("prev"===s?"previous":"next")+"ElementSibling"])&&t.classList.add(`${a}-${s}-${s}`))}function d(t){const s=t.target.closest(oe(e.params.pagination.bulletClass));if(!s)return;t.preventDefault();const a=E(s)*e.params.slidesPerGroup;if(e.params.loop){if(e.realIndex===a)return;const t=(i=e.realIndex,r=a,n=e.slides.length,(r%=n)===1+(i%=n)?"next":r===i-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(a)}else e.slideTo(a);var i,r,n}function c(){const t=e.rtl,s=e.params.pagination;if(l())return;let i,d,c=e.pagination.el;c=M(c);const p=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,u=e.params.loop?Math.ceil(p/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(d=e.previousRealIndex||0,i=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(i=e.snapIndex,d=e.previousSnapIndex):(d=e.previousIndex||0,i=e.activeIndex||0),"bullets"===s.type&&e.pagination.bullets&&e.pagination.bullets.length>0){const a=e.pagination.bullets;let l,p,u;if(s.dynamicBullets&&(r=T(a[0],e.isHorizontal()?"width":"height",!0),c.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=r*(s.dynamicMainBullets+4)+"px"}),s.dynamicMainBullets>1&&void 0!==d&&(n+=i-(d||0),n>s.dynamicMainBullets-1?n=s.dynamicMainBullets-1:n<0&&(n=0)),l=Math.max(i-n,0),p=l+(Math.min(a.length,s.dynamicMainBullets)-1),u=(p+l)/2),a.forEach(e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${s.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),c.length>1)a.forEach(t=>{const a=E(t);a===i?t.classList.add(...s.bulletActiveClass.split(" ")):e.isElement&&t.setAttribute("part","bullet"),s.dynamicBullets&&(a>=l&&a<=p&&t.classList.add(...`${s.bulletActiveClass}-main`.split(" ")),a===l&&o(t,"prev"),a===p&&o(t,"next"))});else{const t=a[i];if(t&&t.classList.add(...s.bulletActiveClass.split(" ")),e.isElement&&a.forEach((e,t)=>{e.setAttribute("part",t===i?"bullet-active":"bullet")}),s.dynamicBullets){const e=a[l],t=a[p];for(let e=l;e<=p;e+=1)a[e]&&a[e].classList.add(...`${s.bulletActiveClass}-main`.split(" "));o(e,"prev"),o(t,"next")}}if(s.dynamicBullets){const i=Math.min(a.length,s.dynamicMainBullets+4),n=(r*i-r)/2-u*r,l=t?"right":"left";a.forEach(t=>{t.style[e.isHorizontal()?l:"top"]=`${n}px`})}}c.forEach((t,r)=>{if("fraction"===s.type&&(t.querySelectorAll(oe(s.currentClass)).forEach(e=>{e.textContent=s.formatFractionCurrent(i+1)}),t.querySelectorAll(oe(s.totalClass)).forEach(e=>{e.textContent=s.formatFractionTotal(u)})),"progressbar"===s.type){let a;a=s.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";const r=(i+1)/u;let n=1,l=1;"horizontal"===a?n=r:l=r,t.querySelectorAll(oe(s.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${n}) scaleY(${l})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===s.type&&s.renderCustom?(P(t,s.renderCustom(e,i+1,u)),0===r&&a("paginationRender",t)):(0===r&&a("paginationRender",t),a("paginationUpdate",t)),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](s.lockClass)})}function p(){const t=e.params.pagination;if(l())return;const s=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length;let i=e.pagination.el;i=M(i);let r="";if("bullets"===t.type){let a=e.params.loop?Math.ceil(s/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&a>s&&(a=s);for(let s=0;s<a;s+=1)t.renderBullet?r+=t.renderBullet.call(e,s,t.bulletClass):r+=`<${t.bulletElement} ${e.isElement?'part="bullet"':""} class="${t.bulletClass}"></${t.bulletElement}>`}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):`<span class="${t.currentClass}"></span> / <span class="${t.totalClass}"></span>`),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):`<span class="${t.progressbarFillClass}"></span>`),e.pagination.bullets=[],i.forEach(s=>{"custom"!==t.type&&P(s,r||""),"bullets"===t.type&&e.pagination.bullets.push(...s.querySelectorAll(oe(t.bulletClass)))}),"custom"!==t.type&&a("paginationRender",i[0])}function u(){e.params.pagination=le(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});const t=e.params.pagination;if(!t.el)return;let s;"string"==typeof t.el&&e.isElement&&(s=e.el.querySelector(t.el)),s||"string"!=typeof t.el||(s=[...document.querySelectorAll(t.el)]),s||(s=t.el),s&&0!==s.length&&(e.params.uniqueNavElements&&"string"==typeof t.el&&Array.isArray(s)&&s.length>1&&(s=[...e.el.querySelectorAll(t.el)],s.length>1&&(s=s.find(t=>x(t,".swiper")[0]===e.el))),Array.isArray(s)&&1===s.length&&(s=s[0]),Object.assign(e.pagination,{el:s}),s=M(s),s.forEach(s=>{"bullets"===t.type&&t.clickable&&s.classList.add(...(t.clickableClass||"").split(" ")),s.classList.add(t.modifierClass+t.type),s.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass),"bullets"===t.type&&t.dynamicBullets&&(s.classList.add(`${t.modifierClass}${t.type}-dynamic`),n=0,t.dynamicMainBullets<1&&(t.dynamicMainBullets=1)),"progressbar"===t.type&&t.progressbarOpposite&&s.classList.add(t.progressbarOppositeClass),t.clickable&&s.addEventListener("click",d),e.enabled||s.classList.add(t.lockClass)}))}function m(){const t=e.params.pagination;if(l())return;let s=e.pagination.el;s&&(s=M(s),s.forEach(s=>{s.classList.remove(t.hiddenClass),s.classList.remove(t.modifierClass+t.type),s.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(s.classList.remove(...(t.clickableClass||"").split(" ")),s.removeEventListener("click",d))})),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}s("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;const t=e.params.pagination;let{el:s}=e.pagination;s=M(s),s.forEach(s=>{s.classList.remove(t.horizontalClass,t.verticalClass),s.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),s("init",()=>{!1===e.params.pagination.enabled?h():(u(),p(),c())}),s("activeIndexChange",()=>{void 0===e.snapIndex&&c()}),s("snapIndexChange",()=>{c()}),s("snapGridLengthChange",()=>{p(),c()}),s("destroy",()=>{m()}),s("enable disable",()=>{let{el:t}=e.pagination;t&&(t=M(t),t.forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass)))}),s("lock unlock",()=>{c()}),s("click",(t,s)=>{const i=s.target,r=M(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&r&&r.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;const t=r[0].classList.contains(e.params.pagination.hiddenClass);a(!0===t?"paginationShow":"paginationHide"),r.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});const h=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=M(t),t.forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass))),m()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=M(t),t.forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass))),u(),p(),c()},disable:h,render:p,update:c,init:u,destroy:m})},function({swiper:e,extendParams:t,on:s,emit:i}){const r=a();let o,d,c,p,u=!1,m=null,h=null;function f(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t,rtlTranslate:s}=e,{dragEl:a,el:i}=t,r=e.params.scrollbar,n=e.params.loop?e.progressLoop:e.progress;let l=d,o=(c-d)*n;s?(o=-o,o>0?(l=d-o,o=0):-o+d>c&&(l=c+o)):o<0?(l=d+o,o=0):o+d>c&&(l=c-o),e.isHorizontal()?(a.style.transform=`translate3d(${o}px, 0, 0)`,a.style.width=`${l}px`):(a.style.transform=`translate3d(0px, ${o}px, 0)`,a.style.height=`${l}px`),r.hide&&(clearTimeout(m),i.style.opacity=1,m=setTimeout(()=>{i.style.opacity=0,i.style.transitionDuration="400ms"},1e3))}function g(){if(!e.params.scrollbar.el||!e.scrollbar.el)return;const{scrollbar:t}=e,{dragEl:s,el:a}=t;s.style.width="",s.style.height="",c=e.isHorizontal()?a.offsetWidth:a.offsetHeight,p=e.size/(e.virtualSize+e.params.slidesOffsetBefore-(e.params.centeredSlides?e.snapGrid[0]:0)),d="auto"===e.params.scrollbar.dragSize?c*p:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?s.style.width=`${d}px`:s.style.height=`${d}px`,a.style.display=p>=1?"none":"",e.params.scrollbar.hide&&(a.style.opacity=0),e.params.watchOverflow&&e.enabled&&t.el.classList[e.isLocked?"add":"remove"](e.params.scrollbar.lockClass)}function v(t){return e.isHorizontal()?t.clientX:t.clientY}function y(t){const{scrollbar:s,rtlTranslate:a}=e,{el:i}=s;let r;r=(v(t)-b(i)[e.isHorizontal()?"left":"top"]-(null!==o?o:d/2))/(c-d),r=Math.max(Math.min(r,1),0),a&&(r=1-r);const n=e.minTranslate()+(e.maxTranslate()-e.minTranslate())*r;e.updateProgress(n),e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}function E(t){const s=e.params.scrollbar,{scrollbar:a,wrapperEl:r}=e,{el:n,dragEl:l}=a;u=!0,o=t.target===l?v(t)-t.target.getBoundingClientRect()[e.isHorizontal()?"left":"top"]:null,t.preventDefault(),t.stopPropagation(),r.style.transitionDuration="100ms",l.style.transitionDuration="100ms",y(t),clearTimeout(h),n.style.transitionDuration="0ms",s.hide&&(n.style.opacity=1),e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="none"),i("scrollbarDragStart",t)}function x(t){const{scrollbar:s,wrapperEl:a}=e,{el:r,dragEl:n}=s;u&&(t.preventDefault&&t.cancelable?t.preventDefault():t.returnValue=!1,y(t),a.style.transitionDuration="0ms",r.style.transitionDuration="0ms",n.style.transitionDuration="0ms",i("scrollbarDragMove",t))}function S(t){const s=e.params.scrollbar,{scrollbar:a,wrapperEl:r}=e,{el:n}=a;u&&(u=!1,e.params.cssMode&&(e.wrapperEl.style["scroll-snap-type"]="",r.style.transitionDuration=""),s.hide&&(clearTimeout(h),h=l(()=>{n.style.opacity=0,n.style.transitionDuration="400ms"},1e3)),i("scrollbarDragEnd",t),s.snapOnRelease&&e.slideToClosest())}function T(t){const{scrollbar:s,params:a}=e,i=s.el;if(!i)return;const n=i,l=!!a.passiveListeners&&{passive:!1,capture:!1},o=!!a.passiveListeners&&{passive:!0,capture:!1};if(!n)return;const d="on"===t?"addEventListener":"removeEventListener";n[d]("pointerdown",E,l),r[d]("pointermove",x,l),r[d]("pointerup",S,o)}function C(){const{scrollbar:t,el:s}=e;e.params.scrollbar=le(e,e.originalParams.scrollbar,e.params.scrollbar,{el:"swiper-scrollbar"});const a=e.params.scrollbar;if(!a.el)return;let i,l;if("string"==typeof a.el&&e.isElement&&(i=e.el.querySelector(a.el)),i||"string"!=typeof a.el)i||(i=a.el);else if(i=r.querySelectorAll(a.el),!i.length)return;e.params.uniqueNavElements&&"string"==typeof a.el&&i.length>1&&1===s.querySelectorAll(a.el).length&&(i=s.querySelector(a.el)),i.length>0&&(i=i[0]),i.classList.add(e.isHorizontal()?a.horizontalClass:a.verticalClass),i&&(l=i.querySelector(oe(e.params.scrollbar.dragClass)),l||(l=w("div",e.params.scrollbar.dragClass),i.append(l))),Object.assign(t,{el:i,dragEl:l}),a.draggable&&e.params.scrollbar.el&&e.scrollbar.el&&T("on"),i&&i.classList[e.enabled?"remove":"add"](...n(e.params.scrollbar.lockClass))}function P(){const t=e.params.scrollbar,s=e.scrollbar.el;s&&s.classList.remove(...n(e.isHorizontal()?t.horizontalClass:t.verticalClass)),e.params.scrollbar.el&&e.scrollbar.el&&T("off")}t({scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0,lockClass:"swiper-scrollbar-lock",dragClass:"swiper-scrollbar-drag",scrollbarDisabledClass:"swiper-scrollbar-disabled",horizontalClass:"swiper-scrollbar-horizontal",verticalClass:"swiper-scrollbar-vertical"}}),e.scrollbar={el:null,dragEl:null},s("changeDirection",()=>{if(!e.scrollbar||!e.scrollbar.el)return;const t=e.params.scrollbar;let{el:s}=e.scrollbar;s=M(s),s.forEach(s=>{s.classList.remove(t.horizontalClass,t.verticalClass),s.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),s("init",()=>{!1===e.params.scrollbar.enabled?L():(C(),g(),f())}),s("update resize observerUpdate lock unlock changeDirection",()=>{g()}),s("setTranslate",()=>{f()}),s("setTransition",(t,s)=>{!function(t){e.params.scrollbar.el&&e.scrollbar.el&&(e.scrollbar.dragEl.style.transitionDuration=`${t}ms`)}(s)}),s("enable disable",()=>{const{el:t}=e.scrollbar;t&&t.classList[e.enabled?"remove":"add"](...n(e.params.scrollbar.lockClass))}),s("destroy",()=>{P()});const L=()=>{e.el.classList.add(...n(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.add(...n(e.params.scrollbar.scrollbarDisabledClass)),P()};Object.assign(e.scrollbar,{enable:()=>{e.el.classList.remove(...n(e.params.scrollbar.scrollbarDisabledClass)),e.scrollbar.el&&e.scrollbar.el.classList.remove(...n(e.params.scrollbar.scrollbarDisabledClass)),C(),g(),f()},disable:L,updateSize:g,setTranslate:f,init:C,destroy:P})},function({swiper:e,extendParams:t,on:s}){t({parallax:{enabled:!1}});const a="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",i=(t,s)=>{const{rtl:a}=e,i=a?-1:1,r=t.getAttribute("data-swiper-parallax")||"0";let n=t.getAttribute("data-swiper-parallax-x"),l=t.getAttribute("data-swiper-parallax-y");const o=t.getAttribute("data-swiper-parallax-scale"),d=t.getAttribute("data-swiper-parallax-opacity"),c=t.getAttribute("data-swiper-parallax-rotate");if(n||l?(n=n||"0",l=l||"0"):e.isHorizontal()?(n=r,l="0"):(l=r,n="0"),n=n.indexOf("%")>=0?parseInt(n,10)*s*i+"%":n*s*i+"px",l=l.indexOf("%")>=0?parseInt(l,10)*s+"%":l*s+"px",null!=d){const e=d-(d-1)*(1-Math.abs(s));t.style.opacity=e}let p=`translate3d(${n}, ${l}, 0px)`;if(null!=o){p+=` scale(${o-(o-1)*(1-Math.abs(s))})`}if(c&&null!=c){p+=` rotate(${c*s*-1}deg)`}t.style.transform=p},r=()=>{const{el:t,slides:s,progress:r,snapGrid:n,isElement:l}=e,o=g(t,a);e.isElement&&o.push(...g(e.hostEl,a)),o.forEach(e=>{i(e,r)}),s.forEach((t,s)=>{let l=t.progress;e.params.slidesPerGroup>1&&"auto"!==e.params.slidesPerView&&(l+=Math.ceil(s/2)-r*(n.length-1)),l=Math.min(Math.max(l,-1),1),t.querySelectorAll(`${a}, [data-swiper-parallax-rotate]`).forEach(e=>{i(e,l)})})};s("beforeInit",()=>{e.params.parallax.enabled&&(e.params.watchSlidesProgress=!0,e.originalParams.watchSlidesProgress=!0)}),s("init",()=>{e.params.parallax.enabled&&r()}),s("setTranslate",()=>{e.params.parallax.enabled&&r()}),s("setTransition",(t,s)=>{e.params.parallax.enabled&&((t=e.params.speed)=>{const{el:s,hostEl:i}=e,r=[...s.querySelectorAll(a)];e.isElement&&r.push(...i.querySelectorAll(a)),r.forEach(e=>{let s=parseInt(e.getAttribute("data-swiper-parallax-duration"),10)||t;0===t&&(s=0),e.style.transitionDuration=`${s}ms`})})(s)})},function({swiper:e,extendParams:t,on:s,emit:a}){const i=r();t({zoom:{enabled:!1,limitToOriginalSize:!1,maxRatio:3,minRatio:1,panOnMouseMove:!1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}}),e.zoom={enabled:!1};let n,l,o=1,c=!1,p=!1,u={x:0,y:0};const m=[],h={originX:0,originY:0,slideEl:void 0,slideWidth:void 0,slideHeight:void 0,imageEl:void 0,imageWrapEl:void 0,maxRatio:3},f={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:{}},v={x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0};let w,y=1;function E(){if(m.length<2)return 1;const e=m[0].pageX,t=m[0].pageY,s=m[1].pageX,a=m[1].pageY;return Math.sqrt((s-e)**2+(a-t)**2)}function S(){const t=e.params.zoom,s=h.imageWrapEl.getAttribute("data-swiper-zoom")||t.maxRatio;if(t.limitToOriginalSize&&h.imageEl&&h.imageEl.naturalWidth){const e=h.imageEl.naturalWidth/h.imageEl.offsetWidth;return Math.min(e,s)}return s}function T(t){const s=e.isElement?"swiper-slide":`.${e.params.slideClass}`;return!!t.target.matches(s)||e.slides.filter(e=>e.contains(t.target)).length>0}function M(t){const s=`.${e.params.zoom.containerClass}`;return!!t.target.matches(s)||[...e.hostEl.querySelectorAll(s)].filter(e=>e.contains(t.target)).length>0}function C(t){if("mouse"===t.pointerType&&m.splice(0,m.length),!T(t))return;const s=e.params.zoom;if(n=!1,l=!1,m.push(t),!(m.length<2)){if(n=!0,h.scaleStart=E(),!h.slideEl){h.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`),h.slideEl||(h.slideEl=e.slides[e.activeIndex]);let a=h.slideEl.querySelector(`.${s.containerClass}`);if(a&&(a=a.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=a,h.imageWrapEl=a?x(h.imageEl,`.${s.containerClass}`)[0]:void 0,!h.imageWrapEl)return void(h.imageEl=void 0);h.maxRatio=S()}if(h.imageEl){const[e,t]=function(){if(m.length<2)return{x:null,y:null};const e=h.imageEl.getBoundingClientRect();return[(m[0].pageX+(m[1].pageX-m[0].pageX)/2-e.x-i.scrollX)/o,(m[0].pageY+(m[1].pageY-m[0].pageY)/2-e.y-i.scrollY)/o]}();h.originX=e,h.originY=t,h.imageEl.style.transitionDuration="0ms"}c=!0}}function P(t){if(!T(t))return;const s=e.params.zoom,a=e.zoom,i=m.findIndex(e=>e.pointerId===t.pointerId);i>=0&&(m[i]=t),m.length<2||(l=!0,h.scaleMove=E(),h.imageEl&&(a.scale=h.scaleMove/h.scaleStart*o,a.scale>h.maxRatio&&(a.scale=h.maxRatio-1+(a.scale-h.maxRatio+1)**.5),a.scale<s.minRatio&&(a.scale=s.minRatio+1-(s.minRatio-a.scale+1)**.5),h.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`))}function L(t){if(!T(t))return;if("mouse"===t.pointerType&&"pointerout"===t.type)return;const s=e.params.zoom,a=e.zoom,i=m.findIndex(e=>e.pointerId===t.pointerId);i>=0&&m.splice(i,1),n&&l&&(n=!1,l=!1,h.imageEl&&(a.scale=Math.max(Math.min(a.scale,h.maxRatio),s.minRatio),h.imageEl.style.transitionDuration=`${e.params.speed}ms`,h.imageEl.style.transform=`translate3d(0,0,0) scale(${a.scale})`,o=a.scale,c=!1,a.scale>1&&h.slideEl?h.slideEl.classList.add(`${s.zoomedSlideClass}`):a.scale<=1&&h.slideEl&&h.slideEl.classList.remove(`${s.zoomedSlideClass}`),1===a.scale&&(h.originX=0,h.originY=0,h.slideEl=void 0)))}function z(){e.touchEventsData.preventTouchMoveFromPointerMove=!1}function I(t){const s="mouse"===t.pointerType&&e.params.zoom.panOnMouseMove;if(!T(t)||!M(t))return;const a=e.zoom;if(!h.imageEl)return;if(!f.isTouched||!h.slideEl)return void(s&&$(t));if(s)return void $(t);f.isMoved||(f.width=h.imageEl.offsetWidth||h.imageEl.clientWidth,f.height=h.imageEl.offsetHeight||h.imageEl.clientHeight,f.startX=d(h.imageWrapEl,"x")||0,f.startY=d(h.imageWrapEl,"y")||0,h.slideWidth=h.slideEl.offsetWidth,h.slideHeight=h.slideEl.offsetHeight,h.imageWrapEl.style.transitionDuration="0ms");const i=f.width*a.scale,r=f.height*a.scale;f.minX=Math.min(h.slideWidth/2-i/2,0),f.maxX=-f.minX,f.minY=Math.min(h.slideHeight/2-r/2,0),f.maxY=-f.minY,f.touchesCurrent.x=m.length>0?m[0].pageX:t.pageX,f.touchesCurrent.y=m.length>0?m[0].pageY:t.pageY;if(Math.max(Math.abs(f.touchesCurrent.x-f.touchesStart.x),Math.abs(f.touchesCurrent.y-f.touchesStart.y))>5&&(e.allowClick=!1),!f.isMoved&&!c){if(e.isHorizontal()&&(Math.floor(f.minX)===Math.floor(f.startX)&&f.touchesCurrent.x<f.touchesStart.x||Math.floor(f.maxX)===Math.floor(f.startX)&&f.touchesCurrent.x>f.touchesStart.x))return f.isTouched=!1,void z();if(!e.isHorizontal()&&(Math.floor(f.minY)===Math.floor(f.startY)&&f.touchesCurrent.y<f.touchesStart.y||Math.floor(f.maxY)===Math.floor(f.startY)&&f.touchesCurrent.y>f.touchesStart.y))return f.isTouched=!1,void z()}t.cancelable&&t.preventDefault(),t.stopPropagation(),clearTimeout(w),e.touchEventsData.preventTouchMoveFromPointerMove=!0,w=setTimeout(()=>{e.destroyed||z()}),f.isMoved=!0;const n=(a.scale-o)/(h.maxRatio-e.params.zoom.minRatio),{originX:l,originY:p}=h;f.currentX=f.touchesCurrent.x-f.touchesStart.x+f.startX+n*(f.width-2*l),f.currentY=f.touchesCurrent.y-f.touchesStart.y+f.startY+n*(f.height-2*p),f.currentX<f.minX&&(f.currentX=f.minX+1-(f.minX-f.currentX+1)**.8),f.currentX>f.maxX&&(f.currentX=f.maxX-1+(f.currentX-f.maxX+1)**.8),f.currentY<f.minY&&(f.currentY=f.minY+1-(f.minY-f.currentY+1)**.8),f.currentY>f.maxY&&(f.currentY=f.maxY-1+(f.currentY-f.maxY+1)**.8),v.prevPositionX||(v.prevPositionX=f.touchesCurrent.x),v.prevPositionY||(v.prevPositionY=f.touchesCurrent.y),v.prevTime||(v.prevTime=Date.now()),v.x=(f.touchesCurrent.x-v.prevPositionX)/(Date.now()-v.prevTime)/2,v.y=(f.touchesCurrent.y-v.prevPositionY)/(Date.now()-v.prevTime)/2,Math.abs(f.touchesCurrent.x-v.prevPositionX)<2&&(v.x=0),Math.abs(f.touchesCurrent.y-v.prevPositionY)<2&&(v.y=0),v.prevPositionX=f.touchesCurrent.x,v.prevPositionY=f.touchesCurrent.y,v.prevTime=Date.now(),h.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}function A(){const t=e.zoom;h.slideEl&&e.activeIndex!==e.slides.indexOf(h.slideEl)&&(h.imageEl&&(h.imageEl.style.transform="translate3d(0,0,0) scale(1)"),h.imageWrapEl&&(h.imageWrapEl.style.transform="translate3d(0,0,0)"),h.slideEl.classList.remove(`${e.params.zoom.zoomedSlideClass}`),t.scale=1,o=1,h.slideEl=void 0,h.imageEl=void 0,h.imageWrapEl=void 0,h.originX=0,h.originY=0)}function $(e){if(o<=1||!h.imageWrapEl)return;if(!T(e)||!M(e))return;const t=i.getComputedStyle(h.imageWrapEl).transform,s=new i.DOMMatrix(t);if(!p)return p=!0,u.x=e.clientX,u.y=e.clientY,f.startX=s.e,f.startY=s.f,f.width=h.imageEl.offsetWidth||h.imageEl.clientWidth,f.height=h.imageEl.offsetHeight||h.imageEl.clientHeight,h.slideWidth=h.slideEl.offsetWidth,void(h.slideHeight=h.slideEl.offsetHeight);const a=-3*(e.clientX-u.x),r=-3*(e.clientY-u.y),n=f.width*o,l=f.height*o,d=h.slideWidth,c=h.slideHeight,m=Math.min(d/2-n/2,0),g=-m,v=Math.min(c/2-l/2,0),w=-v,b=Math.max(Math.min(f.startX+a,g),m),y=Math.max(Math.min(f.startY+r,w),v);h.imageWrapEl.style.transitionDuration="0ms",h.imageWrapEl.style.transform=`translate3d(${b}px, ${y}px, 0)`,u.x=e.clientX,u.y=e.clientY,f.startX=b,f.startY=y,f.currentX=b,f.currentY=y}function k(t){const s=e.zoom,a=e.params.zoom;if(!h.slideEl){t&&t.target&&(h.slideEl=t.target.closest(`.${e.params.slideClass}, swiper-slide`)),h.slideEl||(e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.slideEl=g(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:h.slideEl=e.slides[e.activeIndex]);let s=h.slideEl.querySelector(`.${a.containerClass}`);s&&(s=s.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=s,h.imageWrapEl=s?x(h.imageEl,`.${a.containerClass}`)[0]:void 0}if(!h.imageEl||!h.imageWrapEl)return;let r,n,l,d,c,p,u,m,v,w,y,E,T,M,C,P,L,z;e.params.cssMode&&(e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.touchAction="none"),h.slideEl.classList.add(`${a.zoomedSlideClass}`),void 0===f.touchesStart.x&&t?(r=t.pageX,n=t.pageY):(r=f.touchesStart.x,n=f.touchesStart.y);const I=o,A="number"==typeof t?t:null;1===o&&A&&(r=void 0,n=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0);const $=S();s.scale=A||$,o=A||$,!t||1===o&&A?(u=0,m=0):(L=h.slideEl.offsetWidth,z=h.slideEl.offsetHeight,l=b(h.slideEl).left+i.scrollX,d=b(h.slideEl).top+i.scrollY,c=l+L/2-r,p=d+z/2-n,v=h.imageEl.offsetWidth||h.imageEl.clientWidth,w=h.imageEl.offsetHeight||h.imageEl.clientHeight,y=v*s.scale,E=w*s.scale,T=Math.min(L/2-y/2,0),M=Math.min(z/2-E/2,0),C=-T,P=-M,I>0&&A&&"number"==typeof f.currentX&&"number"==typeof f.currentY?(u=f.currentX*s.scale/I,m=f.currentY*s.scale/I):(u=c*s.scale,m=p*s.scale),u<T&&(u=T),u>C&&(u=C),m<M&&(m=M),m>P&&(m=P)),A&&1===s.scale&&(h.originX=0,h.originY=0),f.currentX=u,f.currentY=m,h.imageWrapEl.style.transitionDuration="300ms",h.imageWrapEl.style.transform=`translate3d(${u}px, ${m}px,0)`,h.imageEl.style.transitionDuration="300ms",h.imageEl.style.transform=`translate3d(0,0,0) scale(${s.scale})`}function O(){const t=e.zoom,s=e.params.zoom;if(!h.slideEl){e.params.virtual&&e.params.virtual.enabled&&e.virtual?h.slideEl=g(e.slidesEl,`.${e.params.slideActiveClass}`)[0]:h.slideEl=e.slides[e.activeIndex];let t=h.slideEl.querySelector(`.${s.containerClass}`);t&&(t=t.querySelectorAll("picture, img, svg, canvas, .swiper-zoom-target")[0]),h.imageEl=t,h.imageWrapEl=t?x(h.imageEl,`.${s.containerClass}`)[0]:void 0}h.imageEl&&h.imageWrapEl&&(e.params.cssMode&&(e.wrapperEl.style.overflow="",e.wrapperEl.style.touchAction=""),t.scale=1,o=1,f.currentX=void 0,f.currentY=void 0,f.touchesStart.x=void 0,f.touchesStart.y=void 0,h.imageWrapEl.style.transitionDuration="300ms",h.imageWrapEl.style.transform="translate3d(0,0,0)",h.imageEl.style.transitionDuration="300ms",h.imageEl.style.transform="translate3d(0,0,0) scale(1)",h.slideEl.classList.remove(`${s.zoomedSlideClass}`),h.slideEl=void 0,h.originX=0,h.originY=0,e.params.zoom.panOnMouseMove&&(u={x:0,y:0},p&&(p=!1,f.startX=0,f.startY=0)))}function D(t){const s=e.zoom;s.scale&&1!==s.scale?O():k(t)}function G(){return{passiveListener:!!e.params.passiveListeners&&{passive:!0,capture:!1},activeListenerWithCapture:!e.params.passiveListeners||{passive:!1,capture:!0}}}function X(){const t=e.zoom;if(t.enabled)return;t.enabled=!0;const{passiveListener:s,activeListenerWithCapture:a}=G();e.wrapperEl.addEventListener("pointerdown",C,s),e.wrapperEl.addEventListener("pointermove",P,a),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.addEventListener(t,L,s)}),e.wrapperEl.addEventListener("pointermove",I,a)}function B(){const t=e.zoom;if(!t.enabled)return;t.enabled=!1;const{passiveListener:s,activeListenerWithCapture:a}=G();e.wrapperEl.removeEventListener("pointerdown",C,s),e.wrapperEl.removeEventListener("pointermove",P,a),["pointerup","pointercancel","pointerout"].forEach(t=>{e.wrapperEl.removeEventListener(t,L,s)}),e.wrapperEl.removeEventListener("pointermove",I,a)}Object.defineProperty(e.zoom,"scale",{get:()=>y,set(e){if(y!==e){const t=h.imageEl,s=h.slideEl;a("zoomChange",e,t,s)}y=e}}),s("init",()=>{e.params.zoom.enabled&&X()}),s("destroy",()=>{B()}),s("touchStart",(t,s)=>{e.zoom.enabled&&function(t){const s=e.device;if(!h.imageEl)return;if(f.isTouched)return;s.android&&t.cancelable&&t.preventDefault(),f.isTouched=!0;const a=m.length>0?m[0]:t;f.touchesStart.x=a.pageX,f.touchesStart.y=a.pageY}(s)}),s("touchEnd",(t,s)=>{e.zoom.enabled&&function(){const t=e.zoom;if(m.length=0,!h.imageEl)return;if(!f.isTouched||!f.isMoved)return f.isTouched=!1,void(f.isMoved=!1);f.isTouched=!1,f.isMoved=!1;let s=300,a=300;const i=v.x*s,r=f.currentX+i,n=v.y*a,l=f.currentY+n;0!==v.x&&(s=Math.abs((r-f.currentX)/v.x)),0!==v.y&&(a=Math.abs((l-f.currentY)/v.y));const o=Math.max(s,a);f.currentX=r,f.currentY=l;const d=f.width*t.scale,c=f.height*t.scale;f.minX=Math.min(h.slideWidth/2-d/2,0),f.maxX=-f.minX,f.minY=Math.min(h.slideHeight/2-c/2,0),f.maxY=-f.minY,f.currentX=Math.max(Math.min(f.currentX,f.maxX),f.minX),f.currentY=Math.max(Math.min(f.currentY,f.maxY),f.minY),h.imageWrapEl.style.transitionDuration=`${o}ms`,h.imageWrapEl.style.transform=`translate3d(${f.currentX}px, ${f.currentY}px,0)`}()}),s("doubleTap",(t,s)=>{!e.animating&&e.params.zoom.enabled&&e.zoom.enabled&&e.params.zoom.toggle&&D(s)}),s("transitionEnd",()=>{e.zoom.enabled&&e.params.zoom.enabled&&A()}),s("slideChange",()=>{e.zoom.enabled&&e.params.zoom.enabled&&e.params.cssMode&&A()}),Object.assign(e.zoom,{enable:X,disable:B,in:k,out:O,toggle:D})},function({swiper:e,extendParams:t,on:s}){function a(e,t){const s=function(){let e,t,s;return(a,i)=>{for(t=-1,e=a.length;e-t>1;)s=e+t>>1,a[s]<=i?t=s:e=s;return e}}();let a,i;return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(i=s(this.x,e),a=i-1,(e-this.x[a])*(this.y[i]-this.y[a])/(this.x[i]-this.x[a])+this.y[a]):0},this}function i(){e.controller.control&&e.controller.spline&&(e.controller.spline=void 0,delete e.controller.spline)}t({controller:{control:void 0,inverse:!1,by:"slide"}}),e.controller={control:void 0},s("beforeInit",()=>{if("undefined"!=typeof window&&("string"==typeof e.params.controller.control||e.params.controller.control instanceof HTMLElement)){return void("string"==typeof e.params.controller.control?[...document.querySelectorAll(e.params.controller.control)]:[e.params.controller.control]).forEach(t=>{if(e.controller.control||(e.controller.control=[]),t&&t.swiper)e.controller.control.push(t.swiper);else if(t){const s=`${e.params.eventsPrefix}init`,a=i=>{e.controller.control.push(i.detail[0]),e.update(),t.removeEventListener(s,a)};t.addEventListener(s,a)}})}e.controller.control=e.params.controller.control}),s("update",()=>{i()}),s("resize",()=>{i()}),s("observerUpdate",()=>{i()}),s("setTranslate",(t,s,a)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTranslate(s,a)}),s("setTransition",(t,s,a)=>{e.controller.control&&!e.controller.control.destroyed&&e.controller.setTransition(s,a)}),Object.assign(e.controller,{setTranslate:function(t,s){const i=e.controller.control;let r,n;const l=e.constructor;function o(t){if(t.destroyed)return;const s=e.rtlTranslate?-e.translate:e.translate;"slide"===e.params.controller.by&&(!function(t){e.controller.spline=e.params.loop?new a(e.slidesGrid,t.slidesGrid):new a(e.snapGrid,t.snapGrid)}(t),n=-e.controller.spline.interpolate(-s)),n&&"container"!==e.params.controller.by||(r=(t.maxTranslate()-t.minTranslate())/(e.maxTranslate()-e.minTranslate()),!Number.isNaN(r)&&Number.isFinite(r)||(r=1),n=(s-e.minTranslate())*r+t.minTranslate()),e.params.controller.inverse&&(n=t.maxTranslate()-n),t.updateProgress(n),t.setTranslate(n,e),t.updateActiveIndex(),t.updateSlidesClasses()}if(Array.isArray(i))for(let e=0;e<i.length;e+=1)i[e]!==s&&i[e]instanceof l&&o(i[e]);else i instanceof l&&s!==i&&o(i)},setTransition:function(t,s){const a=e.constructor,i=e.controller.control;let r;function n(s){s.destroyed||(s.setTransition(t,e),0!==t&&(s.transitionStart(),s.params.autoHeight&&l(()=>{s.updateAutoHeight()}),S(s.wrapperEl,()=>{i&&s.transitionEnd()})))}if(Array.isArray(i))for(r=0;r<i.length;r+=1)i[r]!==s&&i[r]instanceof a&&n(i[r]);else i instanceof a&&s!==i&&n(i)}})},function({swiper:e,extendParams:t,on:s}){t({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,containerRole:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null,scrollOnFocus:!0,wrapperLiveRegion:!0}}),e.a11y={clicked:!1};let i,r,n=null,l=(new Date).getTime();function o(e){const t=n;0!==t.length&&P(t,e)}function d(e){(e=M(e)).forEach(e=>{e.setAttribute("tabIndex","0")})}function c(e){(e=M(e)).forEach(e=>{e.setAttribute("tabIndex","-1")})}function p(e,t){(e=M(e)).forEach(e=>{e.setAttribute("role",t)})}function u(e,t){(e=M(e)).forEach(e=>{e.setAttribute("aria-roledescription",t)})}function m(e,t){(e=M(e)).forEach(e=>{e.setAttribute("aria-label",t)})}function h(e){(e=M(e)).forEach(e=>{e.setAttribute("aria-disabled",!0)})}function f(e){(e=M(e)).forEach(e=>{e.setAttribute("aria-disabled",!1)})}function g(t){if(13!==t.keyCode&&32!==t.keyCode)return;const s=e.params.a11y,a=t.target;if(!e.pagination||!e.pagination.el||a!==e.pagination.el&&!e.pagination.el.contains(t.target)||t.target.matches(oe(e.params.pagination.bulletClass))){if(e.navigation&&e.navigation.prevEl&&e.navigation.nextEl){const t=M(e.navigation.prevEl);M(e.navigation.nextEl).includes(a)&&(e.isEnd&&!e.params.loop||e.slideNext(),e.isEnd?o(s.lastSlideMessage):o(s.nextSlideMessage)),t.includes(a)&&(e.isBeginning&&!e.params.loop||e.slidePrev(),e.isBeginning?o(s.firstSlideMessage):o(s.prevSlideMessage))}e.pagination&&a.matches(oe(e.params.pagination.bulletClass))&&a.click()}}function v(){return e.pagination&&e.pagination.bullets&&e.pagination.bullets.length}function b(){return v()&&e.params.pagination.clickable}const y=(e,t,s)=>{d(e),"BUTTON"!==e.tagName&&(p(e,"button"),e.addEventListener("keydown",g)),m(e,s),function(e,t){(e=M(e)).forEach(e=>{e.setAttribute("aria-controls",t)})}(e,t)},x=t=>{r&&r!==t.target&&!r.contains(t.target)&&(i=!0),e.a11y.clicked=!0},S=()=>{i=!1,requestAnimationFrame(()=>{requestAnimationFrame(()=>{e.destroyed||(e.a11y.clicked=!1)})})},T=e=>{l=(new Date).getTime()},C=t=>{if(e.a11y.clicked||!e.params.a11y.scrollOnFocus)return;if((new Date).getTime()-l<100)return;const s=t.target.closest(`.${e.params.slideClass}, swiper-slide`);if(!s||!e.slides.includes(s))return;r=s;const a=e.slides.indexOf(s)===e.activeIndex,n=e.params.watchSlidesProgress&&e.visibleSlides&&e.visibleSlides.includes(s);a||n||t.sourceCapabilities&&t.sourceCapabilities.firesTouchEvents||(e.isHorizontal()?e.el.scrollLeft=0:e.el.scrollTop=0,requestAnimationFrame(()=>{i||(e.params.loop?e.slideToLoop(e.getSlideIndexWhenGrid(parseInt(s.getAttribute("data-swiper-slide-index"))),0):e.slideTo(e.getSlideIndexWhenGrid(e.slides.indexOf(s)),0),i=!1)}))},L=()=>{const t=e.params.a11y;t.itemRoleDescriptionMessage&&u(e.slides,t.itemRoleDescriptionMessage),t.slideRole&&p(e.slides,t.slideRole);const s=e.slides.length;t.slideLabelMessage&&e.slides.forEach((a,i)=>{const r=e.params.loop?parseInt(a.getAttribute("data-swiper-slide-index"),10):i;m(a,t.slideLabelMessage.replace(/\{\{index\}\}/,r+1).replace(/\{\{slidesLength\}\}/,s))})},z=()=>{const t=e.params.a11y;e.el.append(n);const s=e.el;t.containerRoleDescriptionMessage&&u(s,t.containerRoleDescriptionMessage),t.containerMessage&&m(s,t.containerMessage),t.containerRole&&p(s,t.containerRole);const i=e.wrapperEl,r=t.id||i.getAttribute("id")||`swiper-wrapper-${function(e=16){return"x".repeat(e).replace(/x/g,()=>Math.round(16*Math.random()).toString(16))}(16)}`;var l;if(l=r,M(i).forEach(e=>{e.setAttribute("id",l)}),t.wrapperLiveRegion){!function(e,t){(e=M(e)).forEach(e=>{e.setAttribute("aria-live",t)})}(i,e.params.autoplay&&e.params.autoplay.enabled?"off":"polite")}L();let{nextEl:o,prevEl:d}=e.navigation?e.navigation:{};if(o=M(o),d=M(d),o&&o.forEach(e=>y(e,r,t.nextSlideMessage)),d&&d.forEach(e=>y(e,r,t.prevSlideMessage)),b()){M(e.pagination.el).forEach(e=>{e.addEventListener("keydown",g)})}a().addEventListener("visibilitychange",T),e.el.addEventListener("focus",C,!0),e.el.addEventListener("focus",C,!0),e.el.addEventListener("pointerdown",x,!0),e.el.addEventListener("pointerup",S,!0)};s("beforeInit",()=>{n=w("span",e.params.a11y.notificationClass),n.setAttribute("aria-live","assertive"),n.setAttribute("aria-atomic","true")}),s("afterInit",()=>{e.params.a11y.enabled&&z()}),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",()=>{e.params.a11y.enabled&&L()}),s("fromEdge toEdge afterInit lock unlock",()=>{e.params.a11y.enabled&&function(){if(e.params.loop||e.params.rewind||!e.navigation)return;const{nextEl:t,prevEl:s}=e.navigation;s&&(e.isBeginning?(h(s),c(s)):(f(s),d(s))),t&&(e.isEnd?(h(t),c(t)):(f(t),d(t)))}()}),s("paginationUpdate",()=>{e.params.a11y.enabled&&function(){const t=e.params.a11y;v()&&e.pagination.bullets.forEach(s=>{e.params.pagination.clickable&&(d(s),e.params.pagination.renderBullet||(p(s,"button"),m(s,t.paginationBulletMessage.replace(/\{\{index\}\}/,E(s)+1)))),s.matches(oe(e.params.pagination.bulletActiveClass))?s.setAttribute("aria-current","true"):s.removeAttribute("aria-current")})}()}),s("destroy",()=>{e.params.a11y.enabled&&function(){n&&n.remove();let{nextEl:t,prevEl:s}=e.navigation?e.navigation:{};t=M(t),s=M(s),t&&t.forEach(e=>e.removeEventListener("keydown",g)),s&&s.forEach(e=>e.removeEventListener("keydown",g)),b()&&M(e.pagination.el).forEach(e=>{e.removeEventListener("keydown",g)});a().removeEventListener("visibilitychange",T),e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("focus",C,!0),e.el.removeEventListener("pointerdown",x,!0),e.el.removeEventListener("pointerup",S,!0))}()})},function({swiper:e,extendParams:t,on:s}){t({history:{enabled:!1,root:"",replaceState:!1,key:"slides",keepQuery:!1}});let a=!1,i={};const n=e=>e.toString().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,""),l=e=>{const t=r();let s;s=e?new URL(e):t.location;const a=s.pathname.slice(1).split("/").filter(e=>""!==e),i=a.length;return{key:a[i-2],value:a[i-1]}},o=(t,s)=>{const i=r();if(!a||!e.params.history.enabled)return;let l;l=e.params.url?new URL(e.params.url):i.location;const o=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${s}"]`):e.slides[s];let d=n(o.getAttribute("data-history"));if(e.params.history.root.length>0){let s=e.params.history.root;"/"===s[s.length-1]&&(s=s.slice(0,s.length-1)),d=`${s}/${t?`${t}/`:""}${d}`}else l.pathname.includes(t)||(d=`${t?`${t}/`:""}${d}`);e.params.history.keepQuery&&(d+=l.search);const c=i.history.state;c&&c.value===d||(e.params.history.replaceState?i.history.replaceState({value:d},null,d):i.history.pushState({value:d},null,d))},d=(t,s,a)=>{if(s)for(let i=0,r=e.slides.length;i<r;i+=1){const r=e.slides[i];if(n(r.getAttribute("data-history"))===s){const s=e.getSlideIndex(r);e.slideTo(s,t,a)}}else e.slideTo(0,t,a)},c=()=>{i=l(e.params.url),d(e.params.speed,i.value,!1)};s("init",()=>{e.params.history.enabled&&(()=>{const t=r();if(e.params.history){if(!t.history||!t.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);a=!0,i=l(e.params.url),i.key||i.value?(d(0,i.value,e.params.runCallbacksOnInit),e.params.history.replaceState||t.addEventListener("popstate",c)):e.params.history.replaceState||t.addEventListener("popstate",c)}})()}),s("destroy",()=>{e.params.history.enabled&&(()=>{const t=r();e.params.history.replaceState||t.removeEventListener("popstate",c)})()}),s("transitionEnd _freeModeNoMomentumRelease",()=>{a&&o(e.params.history.key,e.activeIndex)}),s("slideChange",()=>{a&&e.params.cssMode&&o(e.params.history.key,e.activeIndex)})},function({swiper:e,extendParams:t,emit:s,on:i}){let n=!1;const l=a(),o=r();t({hashNavigation:{enabled:!1,replaceState:!1,watchState:!1,getSlideIndex(t,s){if(e.virtual&&e.params.virtual.enabled){const t=e.slides.find(e=>e.getAttribute("data-hash")===s);if(!t)return 0;return parseInt(t.getAttribute("data-swiper-slide-index"),10)}return e.getSlideIndex(g(e.slidesEl,`.${e.params.slideClass}[data-hash="${s}"], swiper-slide[data-hash="${s}"]`)[0])}}});const d=()=>{s("hashChange");const t=l.location.hash.replace("#",""),a=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex];if(t!==(a?a.getAttribute("data-hash"):"")){const s=e.params.hashNavigation.getSlideIndex(e,t);if(void 0===s||Number.isNaN(s))return;e.slideTo(s)}},c=()=>{if(!n||!e.params.hashNavigation.enabled)return;const t=e.virtual&&e.params.virtual.enabled?e.slidesEl.querySelector(`[data-swiper-slide-index="${e.activeIndex}"]`):e.slides[e.activeIndex],a=t?t.getAttribute("data-hash")||t.getAttribute("data-history"):"";e.params.hashNavigation.replaceState&&o.history&&o.history.replaceState?(o.history.replaceState(null,null,`#${a}`||""),s("hashSet")):(l.location.hash=a||"",s("hashSet"))};i("init",()=>{e.params.hashNavigation.enabled&&(()=>{if(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)return;n=!0;const t=l.location.hash.replace("#","");if(t){const s=0,a=e.params.hashNavigation.getSlideIndex(e,t);e.slideTo(a||0,s,e.params.runCallbacksOnInit,!0)}e.params.hashNavigation.watchState&&o.addEventListener("hashchange",d)})()}),i("destroy",()=>{e.params.hashNavigation.enabled&&e.params.hashNavigation.watchState&&o.removeEventListener("hashchange",d)}),i("transitionEnd _freeModeNoMomentumRelease",()=>{n&&c()}),i("slideChange",()=>{n&&e.params.cssMode&&c()})},function({swiper:e,extendParams:t,on:s,emit:i,params:r}){let n,l;e.autoplay={running:!1,paused:!1,timeLeft:0},t({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let o,d,c,p,u,m,h,f,g=r&&r.autoplay?r.autoplay.delay:3e3,v=r&&r.autoplay?r.autoplay.delay:3e3,w=(new Date).getTime();function b(t){e&&!e.destroyed&&e.wrapperEl&&t.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",b),f||t.detail&&t.detail.bySwiperTouchMove||M())}const y=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?d=!0:d&&(v=o,d=!1);const t=e.autoplay.paused?o:w+v-(new Date).getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/g),l=requestAnimationFrame(()=>{y()})},E=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(l),y();let s=void 0===t?e.params.autoplay.delay:t;g=e.params.autoplay.delay,v=e.params.autoplay.delay;const a=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex],!t)return;return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(a)&&a>0&&void 0===t&&(s=a,g=a,v=a),o=s;const r=e.params.speed,d=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(r,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,r,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(r,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,r,!0,!0),i("autoplay")),e.params.cssMode&&(w=(new Date).getTime(),requestAnimationFrame(()=>{E()})))};return s>0?(clearTimeout(n),n=setTimeout(()=>{d()},s)):requestAnimationFrame(()=>{d()}),s},x=()=>{w=(new Date).getTime(),e.autoplay.running=!0,E(),i("autoplayStart")},S=()=>{e.autoplay.running=!1,clearTimeout(n),cancelAnimationFrame(l),i("autoplayStop")},T=(t,s)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(n),t||(h=!0);const a=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):M()};if(e.autoplay.paused=!0,s)return m&&(o=e.params.autoplay.delay),m=!1,void a();const r=o||e.params.autoplay.delay;o=r-((new Date).getTime()-w),e.isEnd&&o<0&&!e.params.loop||(o<0&&(o=0),a())},M=()=>{e.isEnd&&o<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(w=(new Date).getTime(),h?(h=!1,E(o)):E(),e.autoplay.paused=!1,i("autoplayResume"))},C=()=>{if(e.destroyed||!e.autoplay.running)return;const t=a();"hidden"===t.visibilityState&&(h=!0,T(!0)),"visible"===t.visibilityState&&M()},P=t=>{"mouse"===t.pointerType&&(h=!0,f=!0,e.animating||e.autoplay.paused||T(!0))},L=t=>{"mouse"===t.pointerType&&(f=!1,e.autoplay.paused&&M())};s("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",P),e.el.addEventListener("pointerleave",L)),a().addEventListener("visibilitychange",C),x())}),s("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",P),e.el.removeEventListener("pointerleave",L)),a().removeEventListener("visibilitychange",C),e.autoplay.running&&S()}),s("_freeModeStaticRelease",()=>{(p||h)&&M()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?S():T(!0,!0)}),s("beforeTransitionStart",(t,s,a)=>{!e.destroyed&&e.autoplay.running&&(a||!e.params.autoplay.disableOnInteraction?T(!0,!0):S())}),s("sliderFirstMove",()=>{!e.destroyed&&e.autoplay.running&&(e.params.autoplay.disableOnInteraction?S():(c=!0,p=!1,h=!1,u=setTimeout(()=>{h=!0,p=!0,T(!0)},200)))}),s("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(u),clearTimeout(n),e.params.autoplay.disableOnInteraction)return p=!1,void(c=!1);p&&e.params.cssMode&&M(),p=!1,c=!1}}),s("slideChange",()=>{!e.destroyed&&e.autoplay.running&&(m=!0)}),Object.assign(e.autoplay,{start:x,stop:S,pause:T,resume:M})},function({swiper:e,extendParams:t,on:s}){t({thumbs:{swiper:null,multipleActiveThumbs:!0,autoScrollOffset:0,slideThumbActiveClass:"swiper-slide-thumb-active",thumbsContainerClass:"swiper-thumbs"}});let i=!1,r=!1;function n(){const t=e.thumbs.swiper;if(!t||t.destroyed)return;const s=t.clickedIndex,a=t.clickedSlide;if(a&&a.classList.contains(e.params.thumbs.slideThumbActiveClass))return;if(null==s)return;let i;i=t.params.loop?parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10):s,e.params.loop?e.slideToLoop(i):e.slideTo(i)}function l(){const{thumbs:t}=e.params;if(i)return!1;i=!0;const s=e.constructor;if(t.swiper instanceof s){if(t.swiper.destroyed)return i=!1,!1;e.thumbs.swiper=t.swiper,Object.assign(e.thumbs.swiper.originalParams,{watchSlidesProgress:!0,slideToClickedSlide:!1}),Object.assign(e.thumbs.swiper.params,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper.update()}else if(c(t.swiper)){const a=Object.assign({},t.swiper);Object.assign(a,{watchSlidesProgress:!0,slideToClickedSlide:!1}),e.thumbs.swiper=new s(a),r=!0}return e.thumbs.swiper.el.classList.add(e.params.thumbs.thumbsContainerClass),e.thumbs.swiper.on("tap",n),!0}function o(t){const s=e.thumbs.swiper;if(!s||s.destroyed)return;const a="auto"===s.params.slidesPerView?s.slidesPerViewDynamic():s.params.slidesPerView;let i=1;const r=e.params.thumbs.slideThumbActiveClass;if(e.params.slidesPerView>1&&!e.params.centeredSlides&&(i=e.params.slidesPerView),e.params.thumbs.multipleActiveThumbs||(i=1),i=Math.floor(i),s.slides.forEach(e=>e.classList.remove(r)),s.params.loop||s.params.virtual&&s.params.virtual.enabled)for(let t=0;t<i;t+=1)g(s.slidesEl,`[data-swiper-slide-index="${e.realIndex+t}"]`).forEach(e=>{e.classList.add(r)});else for(let t=0;t<i;t+=1)s.slides[e.realIndex+t]&&s.slides[e.realIndex+t].classList.add(r);const n=e.params.thumbs.autoScrollOffset,l=n&&!s.params.loop;if(e.realIndex!==s.realIndex||l){const i=s.activeIndex;let r,o;if(s.params.loop){const t=s.slides.find(t=>t.getAttribute("data-swiper-slide-index")===`${e.realIndex}`);r=s.slides.indexOf(t),o=e.activeIndex>e.previousIndex?"next":"prev"}else r=e.realIndex,o=r>e.previousIndex?"next":"prev";l&&(r+="next"===o?n:-1*n),s.visibleSlidesIndexes&&s.visibleSlidesIndexes.indexOf(r)<0&&(s.params.centeredSlides?r=r>i?r-Math.floor(a/2)+1:r+Math.floor(a/2)-1:r>i&&s.params.slidesPerGroup,s.slideTo(r,t?0:void 0))}}e.thumbs={swiper:null},s("beforeInit",()=>{const{thumbs:t}=e.params;if(t&&t.swiper)if("string"==typeof t.swiper||t.swiper instanceof HTMLElement){const s=a(),i=()=>{const a="string"==typeof t.swiper?s.querySelector(t.swiper):t.swiper;if(a&&a.swiper)t.swiper=a.swiper,l(),o(!0);else if(a){const s=`${e.params.eventsPrefix}init`,i=r=>{t.swiper=r.detail[0],a.removeEventListener(s,i),l(),o(!0),t.swiper.update(),e.update()};a.addEventListener(s,i)}return a},r=()=>{if(e.destroyed)return;i()||requestAnimationFrame(r)};requestAnimationFrame(r)}else l(),o(!0)}),s("slideChange update resize observerUpdate",()=>{o()}),s("setTransition",(t,s)=>{const a=e.thumbs.swiper;a&&!a.destroyed&&a.setTransition(s)}),s("beforeDestroy",()=>{const t=e.thumbs.swiper;t&&!t.destroyed&&r&&t.destroy()}),Object.assign(e.thumbs,{init:l,update:o})},function({swiper:e,extendParams:t,emit:s,once:a}){t({freeMode:{enabled:!1,momentum:!0,momentumRatio:1,momentumBounce:!0,momentumBounceRatio:1,momentumVelocityRatio:1,sticky:!1,minimumVelocity:.02}}),Object.assign(e,{freeMode:{onTouchStart:function(){if(e.params.cssMode)return;const t=e.getTranslate();e.setTranslate(t),e.setTransition(0),e.touchEventsData.velocities.length=0,e.freeMode.onTouchEnd({currentPos:e.rtl?e.translate:-e.translate})},onTouchMove:function(){if(e.params.cssMode)return;const{touchEventsData:t,touches:s}=e;0===t.velocities.length&&t.velocities.push({position:s[e.isHorizontal()?"startX":"startY"],time:t.touchStartTime}),t.velocities.push({position:s[e.isHorizontal()?"currentX":"currentY"],time:o()})},onTouchEnd:function({currentPos:t}){if(e.params.cssMode)return;const{params:i,wrapperEl:r,rtlTranslate:n,snapGrid:l,touchEventsData:d}=e,c=o()-d.touchStartTime;if(t<-e.minTranslate())e.slideTo(e.activeIndex);else if(t>-e.maxTranslate())e.slides.length<l.length?e.slideTo(l.length-1):e.slideTo(e.slides.length-1);else{if(i.freeMode.momentum){if(d.velocities.length>1){const t=d.velocities.pop(),s=d.velocities.pop(),a=t.position-s.position,r=t.time-s.time;e.velocity=a/r,e.velocity/=2,Math.abs(e.velocity)<i.freeMode.minimumVelocity&&(e.velocity=0),(r>150||o()-t.time>300)&&(e.velocity=0)}else e.velocity=0;e.velocity*=i.freeMode.momentumVelocityRatio,d.velocities.length=0;let t=1e3*i.freeMode.momentumRatio;const c=e.velocity*t;let p=e.translate+c;n&&(p=-p);let u,m=!1;const h=20*Math.abs(e.velocity)*i.freeMode.momentumBounceRatio;let f;if(p<e.maxTranslate())i.freeMode.momentumBounce?(p+e.maxTranslate()<-h&&(p=e.maxTranslate()-h),u=e.maxTranslate(),m=!0,d.allowMomentumBounce=!0):p=e.maxTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(p>e.minTranslate())i.freeMode.momentumBounce?(p-e.minTranslate()>h&&(p=e.minTranslate()+h),u=e.minTranslate(),m=!0,d.allowMomentumBounce=!0):p=e.minTranslate(),i.loop&&i.centeredSlides&&(f=!0);else if(i.freeMode.sticky){let t;for(let e=0;e<l.length;e+=1)if(l[e]>-p){t=e;break}p=Math.abs(l[t]-p)<Math.abs(l[t-1]-p)||"next"===e.swipeDirection?l[t]:l[t-1],p=-p}if(f&&a("transitionEnd",()=>{e.loopFix()}),0!==e.velocity){if(t=n?Math.abs((-p-e.translate)/e.velocity):Math.abs((p-e.translate)/e.velocity),i.freeMode.sticky){const s=Math.abs((n?-p:p)-e.translate),a=e.slidesSizesGrid[e.activeIndex];t=s<a?i.speed:s<2*a?1.5*i.speed:2.5*i.speed}}else if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode.momentumBounce&&m?(e.updateProgress(u),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating=!0,S(r,()=>{e&&!e.destroyed&&d.allowMomentumBounce&&(s("momentumBounce"),e.setTransition(i.speed),setTimeout(()=>{e.setTranslate(u),S(r,()=>{e&&!e.destroyed&&e.transitionEnd()})},0))})):e.velocity?(s("_freeModeNoMomentumRelease"),e.updateProgress(p),e.setTransition(t),e.setTranslate(p),e.transitionStart(!0,e.swipeDirection),e.animating||(e.animating=!0,S(r,()=>{e&&!e.destroyed&&e.transitionEnd()}))):e.updateProgress(p),e.updateActiveIndex(),e.updateSlidesClasses()}else{if(i.freeMode.sticky)return void e.slideToClosest();i.freeMode&&s("_freeModeNoMomentumRelease")}(!i.freeMode.momentum||c>=i.longSwipesMs)&&(s("_freeModeStaticRelease"),e.updateProgress(),e.updateActiveIndex(),e.updateSlidesClasses())}}}})},function({swiper:e,extendParams:t,on:s}){let a,i,r,n;t({grid:{rows:1,fill:"column"}});const l=()=>{let t=e.params.spaceBetween;return"string"==typeof t&&t.indexOf("%")>=0?t=parseFloat(t.replace("%",""))/100*e.size:"string"==typeof t&&(t=parseFloat(t)),t};s("init",()=>{n=e.params.grid&&e.params.grid.rows>1}),s("update",()=>{const{params:t,el:s}=e,a=t.grid&&t.grid.rows>1;n&&!a?(s.classList.remove(`${t.containerModifierClass}grid`,`${t.containerModifierClass}grid-column`),r=1,e.emitContainerClasses()):!n&&a&&(s.classList.add(`${t.containerModifierClass}grid`),"column"===t.grid.fill&&s.classList.add(`${t.containerModifierClass}grid-column`),e.emitContainerClasses()),n=a}),e.grid={initSlides:t=>{const{slidesPerView:s}=e.params,{rows:n,fill:l}=e.params.grid,o=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:t.length;r=Math.floor(o/n),a=Math.floor(o/n)===o/n?o:Math.ceil(o/n)*n,"auto"!==s&&"row"===l&&(a=Math.max(a,s*n)),i=a/n},unsetSlides:()=>{e.slides&&e.slides.forEach(t=>{t.swiperSlideGridSet&&(t.style.height="",t.style[e.getDirectionLabel("margin-top")]="")})},updateSlide:(t,s,n)=>{const{slidesPerGroup:o}=e.params,d=l(),{rows:c,fill:p}=e.params.grid,u=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:n.length;let m,h,f;if("row"===p&&o>1){const e=Math.floor(t/(o*c)),i=t-c*o*e,r=0===e?o:Math.min(Math.ceil((u-e*c*o)/c),o);f=Math.floor(i/r),h=i-f*r+e*o,m=h+f*a/c,s.style.order=m}else"column"===p?(h=Math.floor(t/c),f=t-h*c,(h>r||h===r&&f===c-1)&&(f+=1,f>=c&&(f=0,h+=1))):(f=Math.floor(t/i),h=t-f*i);s.row=f,s.column=h,s.style.height=`calc((100% - ${(c-1)*d}px) / ${c})`,s.style[e.getDirectionLabel("margin-top")]=0!==f?d&&`${d}px`:"",s.swiperSlideGridSet=!0},updateWrapperSize:(t,s)=>{const{centeredSlides:i,roundLengths:r}=e.params,n=l(),{rows:o}=e.params.grid;if(e.virtualSize=(t+n)*a,e.virtualSize=Math.ceil(e.virtualSize/o)-n,e.params.cssMode||(e.wrapperEl.style[e.getDirectionLabel("width")]=`${e.virtualSize+n}px`),i){const t=[];for(let a=0;a<s.length;a+=1){let i=s[a];r&&(i=Math.floor(i)),s[a]<e.virtualSize+s[0]&&t.push(i)}s.splice(0,s.length),s.push(...t)}}}},function({swiper:e}){Object.assign(e,{appendSlide:de.bind(e),prependSlide:ce.bind(e),addSlide:pe.bind(e),removeSlide:ue.bind(e),removeAllSlides:me.bind(e)})},function({swiper:e,extendParams:t,on:s}){t({fadeEffect:{crossFade:!1}}),he({effect:"fade",swiper:e,on:s,setTranslate:()=>{const{slides:t}=e;e.params.fadeEffect;for(let s=0;s<t.length;s+=1){const t=e.slides[s];let a=-t.swiperSlideOffset;e.params.virtualTranslate||(a-=e.translate);let i=0;e.isHorizontal()||(i=a,a=0);const r=e.params.fadeEffect.crossFade?Math.max(1-Math.abs(t.progress),0):1+Math.min(Math.max(t.progress,-1),0),n=fe(0,t);n.style.opacity=r,n.style.transform=`translate3d(${a}px, ${i}px, 0px)`}},setTransition:t=>{const s=e.slides.map(e=>f(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`}),ge({swiper:e,duration:t,transformElements:s,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}});const a=(e,t,s)=>{let a=s?e.querySelector(".swiper-slide-shadow-left"):e.querySelector(".swiper-slide-shadow-top"),i=s?e.querySelector(".swiper-slide-shadow-right"):e.querySelector(".swiper-slide-shadow-bottom");a||(a=w("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"left":"top")).split(" ")),e.append(a)),i||(i=w("div",("swiper-slide-shadow-cube swiper-slide-shadow-"+(s?"right":"bottom")).split(" ")),e.append(i)),a&&(a.style.opacity=Math.max(-t,0)),i&&(i.style.opacity=Math.max(t,0))};he({effect:"cube",swiper:e,on:s,setTranslate:()=>{const{el:t,wrapperEl:s,slides:i,width:r,height:n,rtlTranslate:l,size:o,browser:d}=e,c=C(e),p=e.params.cubeEffect,u=e.isHorizontal(),m=e.virtual&&e.params.virtual.enabled;let h,f=0;p.shadow&&(u?(h=e.wrapperEl.querySelector(".swiper-cube-shadow"),h||(h=w("div","swiper-cube-shadow"),e.wrapperEl.append(h)),h.style.height=`${r}px`):(h=t.querySelector(".swiper-cube-shadow"),h||(h=w("div","swiper-cube-shadow"),t.append(h))));for(let e=0;e<i.length;e+=1){const t=i[e];let s=e;m&&(s=parseInt(t.getAttribute("data-swiper-slide-index"),10));let r=90*s,n=Math.floor(r/360);l&&(r=-r,n=Math.floor(-r/360));const d=Math.max(Math.min(t.progress,1),-1);let h=0,g=0,v=0;s%4==0?(h=4*-n*o,v=0):(s-1)%4==0?(h=0,v=4*-n*o):(s-2)%4==0?(h=o+4*n*o,v=o):(s-3)%4==0&&(h=-o,v=3*o+4*o*n),l&&(h=-h),u||(g=h,h=0);const w=`rotateX(${c(u?0:-r)}deg) rotateY(${c(u?r:0)}deg) translate3d(${h}px, ${g}px, ${v}px)`;d<=1&&d>-1&&(f=90*s+90*d,l&&(f=90*-s-90*d)),t.style.transform=w,p.slideShadows&&a(t,d,u)}if(s.style.transformOrigin=`50% 50% -${o/2}px`,s.style["-webkit-transform-origin"]=`50% 50% -${o/2}px`,p.shadow)if(u)h.style.transform=`translate3d(0px, ${r/2+p.shadowOffset}px, ${-r/2}px) rotateX(89.99deg) rotateZ(0deg) scale(${p.shadowScale})`;else{const e=Math.abs(f)-90*Math.floor(Math.abs(f)/90),t=1.5-(Math.sin(2*e*Math.PI/360)/2+Math.cos(2*e*Math.PI/360)/2),s=p.shadowScale,a=p.shadowScale/t,i=p.shadowOffset;h.style.transform=`scale3d(${s}, 1, ${a}) translate3d(0px, ${n/2+i}px, ${-n/2/a}px) rotateX(-89.99deg)`}const g=(d.isSafari||d.isWebView)&&d.needPerspectiveFix?-o/2:0;s.style.transform=`translate3d(0px,0,${g}px) rotateX(${c(e.isHorizontal()?0:f)}deg) rotateY(${c(e.isHorizontal()?-f:0)}deg)`,s.style.setProperty("--swiper-cube-translate-z",`${g}px`)},setTransition:t=>{const{el:s,slides:a}=e;if(a.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),e.params.cubeEffect.shadow&&!e.isHorizontal()){const e=s.querySelector(".swiper-cube-shadow");e&&(e.style.transitionDuration=`${t}ms`)}},recreateShadows:()=>{const t=e.isHorizontal();e.slides.forEach(e=>{const s=Math.max(Math.min(e.progress,1),-1);a(e,s,t)})},getEffectParams:()=>e.params.cubeEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0})})},function({swiper:e,extendParams:t,on:s}){t({flipEffect:{slideShadows:!0,limitRotation:!0}});const a=(t,s)=>{let a=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),i=e.isHorizontal()?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");a||(a=ve("flip",t,e.isHorizontal()?"left":"top")),i||(i=ve("flip",t,e.isHorizontal()?"right":"bottom")),a&&(a.style.opacity=Math.max(-s,0)),i&&(i.style.opacity=Math.max(s,0))};he({effect:"flip",swiper:e,on:s,setTranslate:()=>{const{slides:t,rtlTranslate:s}=e,i=e.params.flipEffect,r=C(e);for(let n=0;n<t.length;n+=1){const l=t[n];let o=l.progress;e.params.flipEffect.limitRotation&&(o=Math.max(Math.min(l.progress,1),-1));const d=l.swiperSlideOffset;let c=-180*o,p=0,u=e.params.cssMode?-d-e.translate:-d,m=0;e.isHorizontal()?s&&(c=-c):(m=u,u=0,p=-c,c=0),l.style.zIndex=-Math.abs(Math.round(o))+t.length,i.slideShadows&&a(l,o);const h=`translate3d(${u}px, ${m}px, 0px) rotateX(${r(p)}deg) rotateY(${r(c)}deg)`;fe(0,l).style.transform=h}},setTransition:t=>{const s=e.slides.map(e=>f(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),ge({swiper:e,duration:t,transformElements:s})},recreateShadows:()=>{e.params.flipEffect,e.slides.forEach(t=>{let s=t.progress;e.params.flipEffect.limitRotation&&(s=Math.max(Math.min(t.progress,1),-1)),a(t,s)})},getEffectParams:()=>e.params.flipEffect,perspective:()=>!0,overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}}),he({effect:"coverflow",swiper:e,on:s,setTranslate:()=>{const{width:t,height:s,slides:a,slidesSizesGrid:i}=e,r=e.params.coverflowEffect,n=e.isHorizontal(),l=e.translate,o=n?t/2-l:s/2-l,d=n?r.rotate:-r.rotate,c=r.depth,p=C(e);for(let e=0,t=a.length;e<t;e+=1){const t=a[e],s=i[e],l=(o-t.swiperSlideOffset-s/2)/s,u="function"==typeof r.modifier?r.modifier(l):l*r.modifier;let m=n?d*u:0,h=n?0:d*u,f=-c*Math.abs(u),g=r.stretch;"string"==typeof g&&-1!==g.indexOf("%")&&(g=parseFloat(r.stretch)/100*s);let v=n?0:g*u,w=n?g*u:0,b=1-(1-r.scale)*Math.abs(u);Math.abs(w)<.001&&(w=0),Math.abs(v)<.001&&(v=0),Math.abs(f)<.001&&(f=0),Math.abs(m)<.001&&(m=0),Math.abs(h)<.001&&(h=0),Math.abs(b)<.001&&(b=0);const y=`translate3d(${w}px,${v}px,${f}px)  rotateX(${p(h)}deg) rotateY(${p(m)}deg) scale(${b})`;if(fe(0,t).style.transform=y,t.style.zIndex=1-Math.abs(Math.round(u)),r.slideShadows){let e=n?t.querySelector(".swiper-slide-shadow-left"):t.querySelector(".swiper-slide-shadow-top"),s=n?t.querySelector(".swiper-slide-shadow-right"):t.querySelector(".swiper-slide-shadow-bottom");e||(e=ve("coverflow",t,n?"left":"top")),s||(s=ve("coverflow",t,n?"right":"bottom")),e&&(e.style.opacity=u>0?u:0),s&&(s.style.opacity=-u>0?-u:0)}}},setTransition:t=>{e.slides.map(e=>f(e)).forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(e=>{e.style.transitionDuration=`${t}ms`})})},perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})},function({swiper:e,extendParams:t,on:s}){t({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const a=e=>"string"==typeof e?e:`${e}px`;he({effect:"creative",swiper:e,on:s,setTranslate:()=>{const{slides:t,wrapperEl:s,slidesSizesGrid:i}=e,r=e.params.creativeEffect,{progressMultiplier:n}=r,l=e.params.centeredSlides,o=C(e);if(l){const t=i[0]/2-e.params.slidesOffsetBefore||0;s.style.transform=`translateX(calc(50% - ${t}px))`}for(let s=0;s<t.length;s+=1){const i=t[s],d=i.progress,c=Math.min(Math.max(i.progress,-r.limitProgress),r.limitProgress);let p=c;l||(p=Math.min(Math.max(i.originalProgress,-r.limitProgress),r.limitProgress));const u=i.swiperSlideOffset,m=[e.params.cssMode?-u-e.translate:-u,0,0],h=[0,0,0];let f=!1;e.isHorizontal()||(m[1]=m[0],m[0]=0);let g={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};c<0?(g=r.next,f=!0):c>0&&(g=r.prev,f=!0),m.forEach((e,t)=>{m[t]=`calc(${e}px + (${a(g.translate[t])} * ${Math.abs(c*n)}))`}),h.forEach((e,t)=>{let s=g.rotate[t]*Math.abs(c*n);h[t]=s}),i.style.zIndex=-Math.abs(Math.round(d))+t.length;const v=m.join(", "),w=`rotateX(${o(h[0])}deg) rotateY(${o(h[1])}deg) rotateZ(${o(h[2])}deg)`,b=p<0?`scale(${1+(1-g.scale)*p*n})`:`scale(${1-(1-g.scale)*p*n})`,y=p<0?1+(1-g.opacity)*p*n:1-(1-g.opacity)*p*n,E=`translate3d(${v}) ${w} ${b}`;if(f&&g.shadow||!f){let e=i.querySelector(".swiper-slide-shadow");if(!e&&g.shadow&&(e=ve("creative",i)),e){const t=r.shadowPerProgress?c*(1/r.limitProgress):c;e.style.opacity=Math.min(Math.max(Math.abs(t),0),1)}}const x=fe(0,i);x.style.transform=E,x.style.opacity=y,g.origin&&(x.style.transformOrigin=g.origin)}},setTransition:t=>{const s=e.slides.map(e=>f(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),ge({swiper:e,duration:t,transformElements:s,allSlides:!0})},perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})},function({swiper:e,extendParams:t,on:s}){t({cardsEffect:{slideShadows:!0,rotate:!0,perSlideRotate:2,perSlideOffset:8}}),he({effect:"cards",swiper:e,on:s,setTranslate:()=>{const{slides:t,activeIndex:s,rtlTranslate:a}=e,i=e.params.cardsEffect,{startTranslate:r,isTouched:n}=e.touchEventsData,l=a?-e.translate:e.translate;for(let o=0;o<t.length;o+=1){const d=t[o],c=d.progress,p=Math.min(Math.max(c,-4),4);let u=d.swiperSlideOffset;e.params.centeredSlides&&!e.params.cssMode&&(e.wrapperEl.style.transform=`translateX(${e.minTranslate()}px)`),e.params.centeredSlides&&e.params.cssMode&&(u-=t[0].swiperSlideOffset);let m=e.params.cssMode?-u-e.translate:-u,h=0;const f=-100*Math.abs(p);let g=1,v=-i.perSlideRotate*p,w=i.perSlideOffset-.75*Math.abs(p);const b=e.virtual&&e.params.virtual.enabled?e.virtual.from+o:o,y=(b===s||b===s-1)&&p>0&&p<1&&(n||e.params.cssMode)&&l<r,E=(b===s||b===s+1)&&p<0&&p>-1&&(n||e.params.cssMode)&&l>r;if(y||E){const t=(1-Math.abs((Math.abs(p)-.5)/.5))**.5;v+=-28*p*t,g+=-.5*t,w+=96*t,h=(i.rotate||e.isHorizontal()?-25:0)*t*Math.abs(p)+"%"}if(m=p<0?`calc(${m}px ${a?"-":"+"} (${w*Math.abs(p)}%))`:p>0?`calc(${m}px ${a?"-":"+"} (-${w*Math.abs(p)}%))`:`${m}px`,!e.isHorizontal()){const e=h;h=m,m=e}const x=p<0?""+(1+(1-g)*p):""+(1-(1-g)*p),S=`\n        translate3d(${m}, ${h}, ${f}px)\n        rotateZ(${i.rotate?a?-v:v:0}deg)\n        scale(${x})\n      `;if(i.slideShadows){let e=d.querySelector(".swiper-slide-shadow");e||(e=ve("cards",d)),e&&(e.style.opacity=Math.min(Math.max((Math.abs(p)-.5)/.5,0),1))}d.style.zIndex=-Math.abs(Math.round(c))+t.length;fe(0,d).style.transform=S}},setTransition:t=>{const s=e.slides.map(e=>f(e));s.forEach(e=>{e.style.transitionDuration=`${t}ms`,e.querySelectorAll(".swiper-slide-shadow").forEach(e=>{e.style.transitionDuration=`${t}ms`})}),ge({swiper:e,duration:t,transformElements:s})},perspective:()=>!0,overwriteParams:()=>({_loopSwapReset:!1,watchSlidesProgress:!0,loopAdditionalSlides:e.params.cardsEffect.rotate?3:2,centeredSlides:!0,virtualTranslate:!e.params.cssMode})})}];return ne.use(we),ne}();
!function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var i=!1,r=this;n(this).one("bsTransitionEnd",function(){i=!0});return setTimeout(function(){i||n(r).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function(){var n=document.createElement("bootstrap"),t={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in t)if(void 0!==n.style[i])return{end:t[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery);
!function(t){"use strict";var e=["sanitize","whiteList","sanitizeFn"],i=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],o={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},n=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,s=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function r(e,o){var r=e.nodeName.toLowerCase();if(-1!==t.inArray(r,o))return-1===t.inArray(r,i)||Boolean(e.nodeValue.match(n)||e.nodeValue.match(s));for(var a=t(o).filter(function(t,e){return e instanceof RegExp}),l=0,p=a.length;l<p;l++)if(r.match(a[l]))return!0;return!1}function a(e,i,o){if(0===e.length)return e;if(o&&"function"==typeof o)return o(e);if(!document.implementation||!document.implementation.createHTMLDocument)return e;var n=document.implementation.createHTMLDocument("sanitization");n.body.innerHTML=e;for(var s=t.map(i,function(t,e){return e}),a=t(n.body).find("*"),l=0,p=a.length;l<p;l++){var h=a[l],f=h.nodeName.toLowerCase();if(-1!==t.inArray(f,s))for(var u=t.map(h.attributes,function(t){return t}),c=[].concat(i["*"]||[],i[f]||[]),d=0,m=u.length;d<m;d++)r(u[d],c)||h.removeAttribute(u[d].nodeName);else h.parentNode.removeChild(h)}return n.body.innerHTML}var l=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};l.VERSION="3.3.5",l.TRANSITION_DURATION=150,l.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:o},l.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(document).find(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},l.prototype.getDefaults=function(){return l.DEFAULTS},l.prototype.getOptions=function(i){var o=this.$element.data();for(var n in o)o.hasOwnProperty(n)&&-1!==t.inArray(n,e)&&delete o[n];return(i=t.extend({},this.getDefaults(),this.$element.data(),i)).delay&&"number"==typeof i.delay&&(i.delay={show:i.delay,hide:i.delay}),i.sanitize&&(i.template=a(i.template,i.whiteList,i.sanitizeFn)),i},l.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},l.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState)i.hoverState="in";else{if(clearTimeout(i.timeout),i.hoverState="in",!i.options.delay||!i.options.delay.show)return i.show();i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)}},l.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},l.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);if(i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),!i.isInStateTrue()){if(clearTimeout(i.timeout),i.hoverState="out",!i.options.delay||!i.options.delay.hide)return i.hide();i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)}},l.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var i=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!i)return;var o=this,n=this.tip(),s=this.getUID(this.type);this.setContent(),n.attr("id",s),this.$element.attr("aria-describedby",s),this.options.animation&&n.addClass("fade");var r="function"==typeof this.options.placement?this.options.placement.call(this,n[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,p=a.test(r);p&&(r=r.replace(a,"")||"top"),n.detach().css({top:0,left:0,display:"block"}).addClass(r).data("bs."+this.type,this).addClass(this.$element.data("class")),this.options.container?n.appendTo(t(document).find(this.options.container)):n.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),f=n[0].offsetWidth,u=n[0].offsetHeight;if(p){var c=r,d=this.getPosition(this.$viewport);r="bottom"==r&&h.bottom+u>d.bottom?"top":"top"==r&&h.top-u<d.top?"bottom":"right"==r&&h.right+f>d.width?"left":"left"==r&&h.left-f<d.left?"right":r,n.removeClass(c).addClass(r)}var m=this.getCalculatedOffset(r,h,f,u);this.applyPlacement(m,r);var g=function(){var t=o.hoverState;o.$element.trigger("shown.bs."+o.type),o.hoverState=null,"out"==t&&o.leave(o)};t.support.transition&&this.$tip.hasClass("fade")?n.one("bsTransitionEnd",g).emulateTransitionEnd(l.TRANSITION_DURATION):g()}},l.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,r=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,p=o[0].offsetHeight;"top"==i&&p!=s&&(e.top=e.top+s-p);var h=this.getViewportAdjustedDelta(i,e,l,p);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(i),u=f?2*h.left-n+l:2*h.top-s+p,c=f?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(u,o[0][c],f)},l.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},l.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=a(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},l.prototype.hide=function(e){var i=this,o=t(this.$tip),n=t.Event("hide.bs."+this.type);function s(){"in"!=i.hoverState&&o.detach(),i.$element.removeAttr("aria-describedby").trigger("hidden.bs."+i.type),e&&e()}if(this.$element.trigger(n),!n.isDefaultPrevented())return o.removeClass("in"),t.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",s).emulateTransitionEnd(l.TRANSITION_DURATION):s(),this.hoverState=null,this},l.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},l.prototype.hasContent=function(){return this.getTitle()},l.prototype.getPosition=function(e){var i=(e=e||this.$element)[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=o?{top:0,left:0}:e.offset(),r={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},a=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,r,a,s)},l.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},l.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,l=e.top+s-r.scroll+o;a<r.top?n.top=r.top-a:l>r.top+r.height&&(n.top=r.top+r.height-l)}else{var p=e.left-s,h=e.left+s+i;p<r.left?n.left=r.left-p:h>r.right&&(n.left=r.left+r.width-h)}return n},l.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},l.prototype.getUID=function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},l.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},l.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},l.prototype.enable=function(){this.enabled=!0},l.prototype.disable=function(){this.enabled=!1},l.prototype.toggleEnabled=function(){this.enabled=!this.enabled},l.prototype.toggle=function(e){var i=this;e&&((i=t(e.currentTarget).data("bs."+this.type))||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},l.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null})},l.prototype.sanitizeHtml=function(t){return a(t,this.options.whiteList,this.options.sanitizeFn)};var p=t.fn.tooltip;t.fn.tooltip=function(e){return this.each(function(){var i=t(this),o=i.data("bs.tooltip"),n="object"==typeof e&&e;!o&&/destroy|hide/.test(e)||(o||i.data("bs.tooltip",o=new l(this,n)),"string"==typeof e&&"function"==typeof o[e]&&o[e]())})},t.fn.tooltip.Constructor=l,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=p,this}}(jQuery);
!function(e,n){for(var t,i=0,a=function(e){t&&(n.requestAnimationFrame(a,e),jQuery.fx.tick())},m=["ms","moz","webkit","o"],r=0,o=m.length;r<o&&!n.requestAnimationFrame;++r)n.requestAnimationFrame=n[m[r]+"RequestAnimationFrame"],n.cancelAnimationFrame=n[m[r]+"CancelAnimationFrame"]||n[m[r]+"CancelRequestAnimationFrame"];n.requestAnimationFrame||(n.requestAnimationFrame=function(e,t){var a=(new Date).getTime(),m=a-i,r=Math.max(0,16-m),o=n.setTimeout(function(){e(a+r)},r);return i=a+r,o}),n.cancelAnimationFrame||(n.cancelAnimationFrame=function(e){clearTimeout(e)}),jQuery.fx.timer=function(e){e()&&jQuery.timers.push(e)&&!t&&(t=!0,a(e.elem))},jQuery.fx.stop=function(){t=!1}}(jQuery,this);
!function(n){"function"==typeof define&&define.amd?define(["jquery"],function(e){return n(e)}):"object"==typeof module&&"object"==typeof module.exports?exports=n(require("jquery")):n(jQuery)}(function(n){n.easing.jswing=n.easing.swing;var e=Math.pow,t=Math.sqrt,u=Math.sin,r=Math.cos,i=Math.PI,a=1.70158,c=1.525*a,o=a+1,s=2*i/3,f=2*i/4.5;function I(n){var e=7.5625,t=2.75;return n<1/t?e*n*n:n<2/t?e*(n-=1.5/t)*n+.75:n<2.5/t?e*(n-=2.25/t)*n+.9375:e*(n-=2.625/t)*n+.984375}n.extend(n.easing,{def:"easeOutQuad",swing:function(e){return n.easing[n.easing.def](e)},easeInQuad:function(n){return n*n},easeOutQuad:function(n){return 1-(1-n)*(1-n)},easeInOutQuad:function(n){return n<.5?2*n*n:1-e(-2*n+2,2)/2},easeInCubic:function(n){return n*n*n},easeOutCubic:function(n){return 1-e(1-n,3)},easeInOutCubic:function(n){return n<.5?4*n*n*n:1-e(-2*n+2,3)/2},easeInQuart:function(n){return n*n*n*n},easeOutQuart:function(n){return 1-e(1-n,4)},easeInOutQuart:function(n){return n<.5?8*n*n*n*n:1-e(-2*n+2,4)/2},easeInQuint:function(n){return n*n*n*n*n},easeOutQuint:function(n){return 1-e(1-n,5)},easeInOutQuint:function(n){return n<.5?16*n*n*n*n*n:1-e(-2*n+2,5)/2},easeInSine:function(n){return 1-r(n*i/2)},easeOutSine:function(n){return u(n*i/2)},easeInOutSine:function(n){return-(r(i*n)-1)/2},easeInExpo:function(n){return 0===n?0:e(2,10*n-10)},easeOutExpo:function(n){return 1===n?1:1-e(2,-10*n)},easeInOutExpo:function(n){return 0===n?0:1===n?1:n<.5?e(2,20*n-10)/2:(2-e(2,-20*n+10))/2},easeInCirc:function(n){return 1-t(1-e(n,2))},easeOutCirc:function(n){return t(1-e(n-1,2))},easeInOutCirc:function(n){return n<.5?(1-t(1-e(2*n,2)))/2:(t(1-e(-2*n+2,2))+1)/2},easeInElastic:function(n){return 0===n?0:1===n?1:-e(2,10*n-10)*u((10*n-10.75)*s)},easeOutElastic:function(n){return 0===n?0:1===n?1:e(2,-10*n)*u((10*n-.75)*s)+1},easeInOutElastic:function(n){return 0===n?0:1===n?1:n<.5?-e(2,20*n-10)*u((20*n-11.125)*f)/2:e(2,-20*n+10)*u((20*n-11.125)*f)/2+1},easeInBack:function(n){return o*n*n*n-a*n*n},easeOutBack:function(n){return 1+o*e(n-1,3)+a*e(n-1,2)},easeInOutBack:function(n){return n<.5?e(2*n,2)*(7.189819*n-c)/2:(e(2*n-2,2)*((c+1)*(2*n-2)+c)+2)/2},easeInBounce:function(n){return 1-I(1-n)},easeOutBounce:I,easeInOutBounce:function(n){return n<.5?(1-I(1-2*n))/2:(1+I(2*n-1))/2}})});
!function(t){"use strict";t.fn.fitVids=function(e){var i={customSelector:null,ignore:null};if(!document.getElementById("fit-vids-style")){var r=document.head||document.getElementsByTagName("head")[0],a=document.createElement("div");a.innerHTML='<p>x</p><style id="fit-vids-style">.fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}</style>',r.appendChild(a.childNodes[1])}return e&&t.extend(i,e),this.each(function(){var e=['iframe[src*="player.vimeo.com"]','iframe[src*="youtube.com"]','iframe[src*="youtube-nocookie.com"]','iframe[src*="kickstarter.com"][src*="video.html"]',"object","embed"];i.customSelector&&e.push(i.customSelector);var r=".fitvidsignore";i.ignore&&(r=r+", "+i.ignore);var a=t(this).find(e.join(","));(a=(a=a.not("object object")).not(r)).each(function(){var e=t(this);if(!(e.parents(r).length>0||"embed"===this.tagName.toLowerCase()&&e.parent("object").length||e.parent(".fluid-width-video-wrapper").length)){e.css("height")||e.css("width")||!isNaN(e.attr("height"))&&!isNaN(e.attr("width"))||(e.attr("height",9),e.attr("width",16));var i=("object"===this.tagName.toLowerCase()||e.attr("height")&&!isNaN(parseInt(e.attr("height"),10))?parseInt(e.attr("height"),10):e.height())/(isNaN(parseInt(e.attr("width"),10))?e.width():parseInt(e.attr("width"),10));if(!e.attr("name")){var a="fitvid"+t.fn.fitVids._count;e.attr("name",a),t.fn.fitVids._count++}e.wrap('<div class="fluid-width-video-wrapper"></div>').parent(".fluid-width-video-wrapper").css("padding-top",100*i+"%"),e.removeAttr("height").removeAttr("width")}})})},t.fn.fitVids._count=0}(window.jQuery||window.Zepto);
!function(e){var t=!0;e.flexslider=function(a,n){var i=e(a);void 0===n.rtl&&"rtl"==e("html").attr("dir")&&(n.rtl=!0),i.vars=e.extend({},e.flexslider.defaults,n);var s,r=i.vars.namespace,o=window.navigator&&window.navigator.msPointerEnabled&&window.MSGesture,l=("ontouchstart"in window||o||window.DocumentTouch&&document instanceof DocumentTouch)&&i.vars.touch,c="click touchend MSPointerUp keyup",d="",u="vertical"===i.vars.direction,v=i.vars.reverse,p=i.vars.itemWidth>0,m="fade"===i.vars.animation,f=""!==i.vars.asNavFor,h={};e.data(a,"flexslider",i),h={init:function(){i.animating=!1,i.currentSlide=parseInt(i.vars.startAt?i.vars.startAt:0,10),isNaN(i.currentSlide)&&(i.currentSlide=0),i.animatingTo=i.currentSlide,i.atEnd=0===i.currentSlide||i.currentSlide===i.last,i.containerSelector=i.vars.selector.substr(0,i.vars.selector.search(" ")),i.slides=e(i.vars.selector,i),i.container=e(i.containerSelector,i),i.count=i.slides.length,i.syncExists=e(i.vars.sync).length>0,"slide"===i.vars.animation&&(i.vars.animation="swing"),i.prop=u?"top":i.vars.rtl?"marginRight":"marginLeft",i.args={},i.manualPause=!1,i.stopped=!1,i.started=!1,i.startTimeout=null,i.transitions=!i.vars.video&&!m&&i.vars.useCSS&&function(){var e=document.createElement("div"),t=["perspectiveProperty","WebkitPerspective","MozPerspective","OPerspective","msPerspective"];for(var a in t)if(void 0!==e.style[t[a]])return i.pfx=t[a].replace("Perspective","").toLowerCase(),i.prop="-"+i.pfx+"-transform",!0;return!1}(),i.isFirefox=navigator.userAgent.toLowerCase().indexOf("firefox")>-1,i.ensureAnimationEnd="",""!==i.vars.controlsContainer&&(i.controlsContainer=e(i.vars.controlsContainer).length>0&&e(i.vars.controlsContainer)),""!==i.vars.manualControls&&(i.manualControls=e(i.vars.manualControls).length>0&&e(i.vars.manualControls)),""!==i.vars.customDirectionNav&&(i.customDirectionNav=2===e(i.vars.customDirectionNav).length&&e(i.vars.customDirectionNav)),i.vars.randomize&&(i.slides.sort(function(){return Math.round(Math.random())-.5}),i.container.empty().append(i.slides)),i.doMath(),i.setup("init"),i.vars.controlNav&&h.controlNav.setup(),i.vars.directionNav&&h.directionNav.setup(),i.vars.keyboard&&(1===e(i.containerSelector).length||i.vars.multipleKeyboard)&&e(document).on("keyup",function(e){var t=e.keyCode;if(!i.animating&&(39===t||37===t)){var a=i.vars.rtl?37===t?i.getTarget("next"):39===t&&i.getTarget("prev"):39===t?i.getTarget("next"):37===t&&i.getTarget("prev");i.flexAnimate(a,i.vars.pauseOnAction)}}),i.vars.mousewheel&&i.on("mousewheel",function(e,t,a,n){e.preventDefault();var s=t<0?i.getTarget("next"):i.getTarget("prev");i.flexAnimate(s,i.vars.pauseOnAction)}),i.vars.pausePlay&&h.pausePlay.setup(),i.vars.slideshow&&i.vars.pauseInvisible&&h.pauseInvisible.init(),i.vars.slideshow&&(i.vars.pauseOnHover&&i.hover(function(){i.manualPlay||i.manualPause||i.pause()},function(){i.manualPause||i.manualPlay||i.stopped||i.play()}),i.vars.pauseInvisible&&h.pauseInvisible.isHidden()||(i.vars.initDelay>0?i.startTimeout=setTimeout(i.play,i.vars.initDelay):i.play())),f&&h.asNav.setup(),l&&i.vars.touch&&h.touch(),(!m||m&&i.vars.smoothHeight)&&e(window).on("resize orientationchange focus",h.resize),i.find("img").attr("draggable","false"),setTimeout(function(){i.vars.start(i)},200)},asNav:{setup:function(){i.asNav=!0,i.animatingTo=Math.floor(i.currentSlide/i.move),i.currentItem=i.currentSlide,i.slides.removeClass(r+"active-slide").eq(i.currentItem).addClass(r+"active-slide"),o?(a._slider=i,i.slides.each(function(){var t=this;t._gesture=new MSGesture,t._gesture.target=t,t.addEventListener("MSPointerDown",function(e){e.preventDefault(),e.currentTarget._gesture&&e.currentTarget._gesture.addPointer(e.pointerId)},!1),t.addEventListener("MSGestureTap",function(t){t.preventDefault();var a=e(this),n=a.index();e(i.vars.asNavFor).data("flexslider").animating||a.hasClass("active")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))})})):i.slides.on(c,function(t){t.preventDefault();var a=e(this),n=a.index();(i.vars.rtl?-1*(a.offset().right-e(i).scrollLeft()):a.offset().left-e(i).scrollLeft())<=0&&a.hasClass(r+"active-slide")?i.flexAnimate(i.getTarget("prev"),!0):e(i.vars.asNavFor).data("flexslider").animating||a.hasClass(r+"active-slide")||(i.direction=i.currentItem<n?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction,!1,!0,!0))})}},controlNav:{setup:function(){i.manualControls?h.controlNav.setupManual():h.controlNav.setupPaging()},setupPaging:function(){var t,a,n="thumbnails"===i.vars.controlNav?"control-thumbs":"control-paging",s=1;if(i.controlNavScaffold=e('<ol class="'+r+"control-nav "+r+n+'"></ol>'),i.pagingCount>1)for(var o=0;o<i.pagingCount;o++){if(void 0===(a=i.slides.eq(o)).attr("data-thumb-alt")&&a.attr("data-thumb-alt",""),t=e("<a></a>").attr("href","#").text(s),"thumbnails"===i.vars.controlNav&&(t=e("<img/>").attr("src",a.attr("data-thumb"))),""!==a.attr("data-thumb-alt")&&t.attr("alt",a.attr("data-thumb-alt")),"thumbnails"===i.vars.controlNav&&!0===i.vars.thumbCaptions){var l=a.attr("data-thumbcaption");if(""!==l&&void 0!==l){var u=e("<span></span>").addClass(r+"caption").text(l);t.append(u)}}var v=e("<li>");t.appendTo(v),v.append("</li>"),i.controlNavScaffold.append(v),s++}i.controlsContainer?e(i.controlsContainer).append(i.controlNavScaffold):i.append(i.controlNavScaffold),h.controlNav.set(),h.controlNav.active(),i.controlNavScaffold.on(c,"a, img",function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(i.direction=n>i.currentSlide?"next":"prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),h.setToClearWatchedEvent()})},setupManual:function(){i.controlNav=i.manualControls,h.controlNav.active(),i.controlNav.on(c,function(t){if(t.preventDefault(),""===d||d===t.type){var a=e(this),n=i.controlNav.index(a);a.hasClass(r+"active")||(n>i.currentSlide?i.direction="next":i.direction="prev",i.flexAnimate(n,i.vars.pauseOnAction))}""===d&&(d=t.type),h.setToClearWatchedEvent()})},set:function(){var t="thumbnails"===i.vars.controlNav?"img":"a";i.controlNav=e("."+r+"control-nav li "+t,i.controlsContainer?i.controlsContainer:i)},active:function(){i.controlNav.removeClass(r+"active").eq(i.animatingTo).addClass(r+"active")},update:function(t,a){i.pagingCount>1&&"add"===t?i.controlNavScaffold.append(e('<li><a href="#">'+i.count+"</a></li>")):1===i.pagingCount?i.controlNavScaffold.find("li").remove():i.controlNav.eq(a).closest("li").remove(),h.controlNav.set(),i.pagingCount>1&&i.pagingCount!==i.controlNav.length?i.update(a,t):h.controlNav.active()}},directionNav:{setup:function(){var t=e('<ul class="'+r+'direction-nav"><li class="'+r+'nav-prev"><a class="'+r+'prev" href="#">'+i.vars.prevText+'</a></li><li class="'+r+'nav-next"><a class="'+r+'next" href="#">'+i.vars.nextText+"</a></li></ul>");i.customDirectionNav?i.directionNav=i.customDirectionNav:i.controlsContainer?(e(i.controlsContainer).append(t),i.directionNav=e("."+r+"direction-nav li a",i.controlsContainer)):(i.append(t),i.directionNav=e("."+r+"direction-nav li a",i)),h.directionNav.update(),i.directionNav.on(c,function(t){var a;t.preventDefault(),""!==d&&d!==t.type||(a=e(this).hasClass(r+"next")?i.getTarget("next"):i.getTarget("prev"),i.flexAnimate(a,i.vars.pauseOnAction)),""===d&&(d=t.type),h.setToClearWatchedEvent()})},update:function(){var e=r+"disabled";1===i.pagingCount?i.directionNav.addClass(e).attr("tabindex","-1"):i.vars.animationLoop?i.directionNav.removeClass(e).removeAttr("tabindex"):0===i.animatingTo?i.directionNav.removeClass(e).filter("."+r+"prev").addClass(e).attr("tabindex","-1"):i.animatingTo===i.last?i.directionNav.removeClass(e).filter("."+r+"next").addClass(e).attr("tabindex","-1"):i.directionNav.removeClass(e).removeAttr("tabindex")}},pausePlay:{setup:function(){var t=e('<div class="'+r+'pauseplay"><a href="#"></a></div>');i.controlsContainer?(i.controlsContainer.append(t),i.pausePlay=e("."+r+"pauseplay a",i.controlsContainer)):(i.append(t),i.pausePlay=e("."+r+"pauseplay a",i)),h.pausePlay.update(i.vars.slideshow?r+"pause":r+"play"),i.pausePlay.on(c,function(t){t.preventDefault(),""!==d&&d!==t.type||(e(this).hasClass(r+"pause")?(i.manualPause=!0,i.manualPlay=!1,i.pause()):(i.manualPause=!1,i.manualPlay=!0,i.play())),""===d&&(d=t.type),h.setToClearWatchedEvent()})},update:function(e){"play"===e?i.pausePlay.removeClass(r+"pause").addClass(r+"play").html(i.vars.playText):i.pausePlay.removeClass(r+"play").addClass(r+"pause").html(i.vars.pauseText)}},touch:function(){var e,t,n,s,r,l,c,d,f,h=!1,g=0,y=0;if(o){}else c=function(r){i.animating?r.preventDefault():(window.navigator.msPointerEnabled||1===r.touches.length)&&(i.pause(),s=u?i.h:i.w,l=Number(new Date),g=r.touches[0].pageX,y=r.touches[0].pageY,n=p&&v&&i.animatingTo===i.last?0:p&&v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:p&&i.currentSlide===i.last?i.limit:p?(i.itemW+i.vars.itemMargin)*i.move*i.currentSlide:v?(i.last-i.currentSlide+i.cloneOffset)*s:(i.currentSlide+i.cloneOffset)*s,e=u?y:g,t=u?g:y,a.addEventListener("touchmove",d,!1),a.addEventListener("touchend",f,!1))},d=function(a){g=a.touches[0].pageX,y=a.touches[0].pageY,r=u?e-y:(i.vars.rtl?-1:1)*(e-g);(!(h=u?Math.abs(r)<Math.abs(g-t):Math.abs(r)<Math.abs(y-t))||Number(new Date)-l>500)&&(a.preventDefault(),!m&&i.transitions&&(i.vars.animationLoop||(r/=0===i.currentSlide&&r<0||i.currentSlide===i.last&&r>0?Math.abs(r)/s+2:1),i.setProps(n+r,"setTouch")))},f=function(o){if(a.removeEventListener("touchmove",d,!1),i.animatingTo===i.currentSlide&&!h&&null!==r){var c=v?-r:r,u=c>0?i.getTarget("next"):i.getTarget("prev");i.canAdvance(u)&&(Number(new Date)-l<550&&Math.abs(c)>50||Math.abs(c)>s/2)?i.flexAnimate(u,i.vars.pauseOnAction):!m&&i.canAdvance(u)&&i.flexAnimate(i.currentSlide,i.vars.pauseOnAction,!0)}a.removeEventListener("touchend",f,!1),i.vars.slideshow&&null!==r&&50>Math.abs(c)&&i.play(),e=null,t=null,r=null,n=null},a.addEventListener("touchstart",c,{passive:!0,capture:!1})},resize:function(){!i.animating&&i.is(":visible")&&(p||i.doMath(),m?h.smoothHeight():p?(i.slides.width(i.computedW),i.update(i.pagingCount),i.setProps()):u?(i.viewport.height(i.h),i.setProps(i.h,"setTotal")):(i.vars.smoothHeight&&h.smoothHeight(),i.newSlides.width(i.computedW),i.setProps(i.computedW,"setTotal")))},smoothHeight:function(e){if(!u||m){var t=m?i:i.viewport;e?t.animate({height:i.slides.eq(i.animatingTo).innerHeight()},e):t.innerHeight(i.slides.eq(i.animatingTo).innerHeight())}},sync:function(t){var a=e(i.vars.sync).data("flexslider"),n=i.animatingTo;switch(t){case"animate":a.flexAnimate(n,i.vars.pauseOnAction,!1,!0);break;case"play":a.playing||a.asNav||a.play();break;case"pause":a.pause()}},uniqueID:function(t){return t.filter("[id]").add(t.find("[id]")).each(function(){var t=e(this);t.attr("id",t.attr("id")+"_clone")}),t},pauseInvisible:{visProp:null,init:function(){var e=h.pauseInvisible.getHiddenProp();if(e){var t=e.replace(/[H|h]idden/,"")+"visibilitychange";document.addEventListener(t,function(){h.pauseInvisible.isHidden()?i.startTimeout?clearTimeout(i.startTimeout):i.pause():i.started?i.play():i.vars.initDelay>0?setTimeout(i.play,i.vars.initDelay):i.play()})}},isHidden:function(){var e=h.pauseInvisible.getHiddenProp();return!!e&&document[e]},getHiddenProp:function(){var e=["webkit","moz","ms","o"];if("hidden"in document)return"hidden";for(var t=0;t<e.length;t++)if(e[t]+"Hidden"in document)return e[t]+"Hidden";return null}},setToClearWatchedEvent:function(){clearTimeout(s),s=setTimeout(function(){d=""},3e3)}},i.flexAnimate=function(t,a,n,s,o){if(i.vars.animationLoop||t===i.currentSlide||(i.direction=t>i.currentSlide?"next":"prev"),f&&1===i.pagingCount&&(i.direction=i.currentItem<t?"next":"prev"),!i.animating&&(i.canAdvance(t,o)||n)&&i.is(":visible")){if(f&&s){var c=e(i.vars.asNavFor).data("flexslider");if(i.atEnd=0===t||t===i.count-1,c.flexAnimate(t,!0,!1,!0,o),i.direction=i.currentItem<t?"next":"prev",c.direction=i.direction,Math.ceil((t+1)/i.visible)-1===i.currentSlide||0===t)return i.currentItem=t,i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),!1;i.currentItem=t,i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),t=Math.floor(t/i.visible)}if(i.animating=!0,i.animatingTo=t,a&&i.pause(),i.vars.before(i),i.syncExists&&!o&&h.sync("animate"),i.vars.controlNav&&h.controlNav.active(),p||i.slides.removeClass(r+"active-slide").eq(t).addClass(r+"active-slide"),i.atEnd=0===t||t===i.last,i.vars.directionNav&&h.directionNav.update(),t===i.last&&(i.vars.end(i),i.vars.animationLoop||i.pause()),m)l?(i.slides.eq(i.currentSlide).css({opacity:0,zIndex:1}),i.slides.eq(t).css({opacity:1,zIndex:2}),i.wrapup(x)):(i.slides.eq(i.currentSlide).css({zIndex:1}).animate({opacity:0},i.vars.animationSpeed,i.vars.easing),i.slides.eq(t).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing,i.wrapup));else{var d,g,y,x=u?i.slides.filter(":first").height():i.computedW;p?(d=i.vars.itemMargin,g=(y=(i.itemW+d)*i.move*i.animatingTo)>i.limit&&1!==i.visible?i.limit:y):g=0===i.currentSlide&&t===i.count-1&&i.vars.animationLoop&&"next"!==i.direction?v?(i.count+i.cloneOffset)*x:0:i.currentSlide===i.last&&0===t&&i.vars.animationLoop&&"prev"!==i.direction?v?0:(i.count+1)*x:v?(i.count-1-t+i.cloneOffset)*x:(t+i.cloneOffset)*x,i.setProps(g,"",i.vars.animationSpeed),i.transitions?(i.vars.animationLoop&&i.atEnd||(i.animating=!1,i.currentSlide=i.animatingTo),i.container.off("webkitTransitionEnd transitionend"),i.container.on("webkitTransitionEnd transitionend",function(){clearTimeout(i.ensureAnimationEnd),i.wrapup(x)}),clearTimeout(i.ensureAnimationEnd),i.ensureAnimationEnd=setTimeout(function(){i.wrapup(x)},i.vars.animationSpeed+100)):i.container.animate(i.args,i.vars.animationSpeed,i.vars.easing,function(){i.wrapup(x)})}i.vars.smoothHeight&&h.smoothHeight(i.vars.animationSpeed)}},i.wrapup=function(e){m||p||(0===i.currentSlide&&i.animatingTo===i.last&&i.vars.animationLoop?i.setProps(e,"jumpEnd"):i.currentSlide===i.last&&0===i.animatingTo&&i.vars.animationLoop&&i.setProps(e,"jumpStart")),i.animating=!1,i.currentSlide=i.animatingTo,i.vars.after(i)},i.animateSlides=function(){!i.animating&&t&&i.flexAnimate(i.getTarget("next"))},i.pause=function(){clearInterval(i.animatedSlides),i.animatedSlides=null,i.playing=!1,i.vars.pausePlay&&h.pausePlay.update("play"),i.syncExists&&h.sync("pause")},i.play=function(){i.playing&&clearInterval(i.animatedSlides),i.animatedSlides=i.animatedSlides||setInterval(i.animateSlides,i.vars.slideshowSpeed),i.started=i.playing=!0,i.vars.pausePlay&&h.pausePlay.update("pause"),i.syncExists&&h.sync("play")},i.stop=function(){i.pause(),i.stopped=!0},i.canAdvance=function(e,t){var a=f?i.pagingCount-1:i.last;return!!t||(!(!f||i.currentItem!==i.count-1||0!==e||"prev"!==i.direction)||(!f||0!==i.currentItem||e!==i.pagingCount-1||"next"===i.direction)&&(!(e===i.currentSlide&&!f)&&(!!i.vars.animationLoop||(!i.atEnd||0!==i.currentSlide||e!==a||"next"===i.direction)&&(!i.atEnd||i.currentSlide!==a||0!==e||"next"!==i.direction))))},i.getTarget=function(e){return i.direction=e,"next"===e?i.currentSlide===i.last?0:i.currentSlide+1:0===i.currentSlide?i.last:i.currentSlide-1},i.setProps=function(e,t,a){var n,s=(n=e||(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo,function(){if(p)return"setTouch"===t?e:v&&i.animatingTo===i.last?0:v?i.limit-(i.itemW+i.vars.itemMargin)*i.move*i.animatingTo:i.animatingTo===i.last?i.limit:n;switch(t){case"setTotal":return v?(i.count-1-i.currentSlide+i.cloneOffset)*e:(i.currentSlide+i.cloneOffset)*e;case"setTouch":default:return e;case"jumpEnd":return v?e:i.count*e;case"jumpStart":return v?i.count*e:e}}()*(i.vars.rtl?1:-1)+"px");i.transitions&&(s=u?"translate3d(0,"+s+",0)":"translate3d("+parseInt(s)+"px,0,0)",a=void 0!==a?a/1e3+"s":"0s",i.container.css("-"+i.pfx+"-transition-duration",a),i.container.css("transition-duration",a)),i.args[i.prop]=s,(i.transitions||void 0===a)&&i.container.css(i.args),i.container.css("transform",s)},i.setup=function(t){var a,n;m?(i.vars.rtl?i.slides.css({width:"100%",float:"right",marginLeft:"-100%",position:"relative"}):i.slides.css({width:"100%",float:"left",marginRight:"-100%",position:"relative"}),"init"===t&&(l?i.slides.css({opacity:0,display:"block",webkitTransition:"opacity "+i.vars.animationSpeed/1e3+"s ease",zIndex:1}).eq(i.currentSlide).css({opacity:1,zIndex:2}):0==i.vars.fadeFirstSlide?i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).css({opacity:1}):i.slides.css({opacity:0,display:"block",zIndex:1}).eq(i.currentSlide).css({zIndex:2}).animate({opacity:1},i.vars.animationSpeed,i.vars.easing)),i.vars.smoothHeight&&h.smoothHeight()):("init"===t&&(i.viewport=e('<div class="'+r+'viewport"></div>').css({overflow:"hidden",position:"relative"}).appendTo(i).append(i.container),i.cloneCount=0,i.cloneOffset=0,v&&(n=e.makeArray(i.slides).reverse(),i.slides=e(n),i.container.empty().append(i.slides))),i.vars.animationLoop&&!p&&(i.cloneCount=2,i.cloneOffset=1,"init"!==t&&i.container.find(".clone").remove(),h.uniqueID(i.slides.first().clone().addClass("clone").attr("aria-hidden","true")).appendTo(i.container),h.uniqueID(i.slides.last().clone().addClass("clone").attr("aria-hidden","true")).prependTo(i.container)),i.newSlides=e(i.vars.selector,i),a=v?i.count-1-i.currentSlide+i.cloneOffset:i.currentSlide+i.cloneOffset,u&&!p?(i.container.height(200*(i.count+i.cloneCount)+"%").css("position","absolute").width("100%"),setTimeout(function(){i.newSlides.css({display:"block"}),i.doMath(),i.viewport.height(i.h),i.setProps(a*i.h,"init")},"init"===t?100:0)):(i.container.width(200*(i.count+i.cloneCount)+"%"),i.setProps(a*i.computedW,"init"),setTimeout(function(){i.is(":visible")&&i.doMath(),i.vars.rtl?i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"right",display:"block"}):i.newSlides.css({width:i.computedW,marginRight:i.computedM,float:"left",display:"block"}),i.vars.smoothHeight&&h.smoothHeight()},"init"===t?100:0)));p||i.slides.removeClass(r+"active-slide").eq(i.currentSlide).addClass(r+"active-slide"),i.vars.init(i)},i.doMath=function(){var e=i.slides.first(),t=i.vars.itemMargin,a=i.vars.minItems,n=i.vars.maxItems;i.w=void 0===i.viewport?i.width():i.viewport.width(),i.isFirefox&&(i.w=i.width()),i.h=e.height(),i.boxPadding=e.outerWidth()-e.width(),p?(i.itemT=i.vars.itemWidth+t,i.itemM=t,i.minW=a?a*i.itemT:i.w,i.maxW=n?n*i.itemT-t:i.w,i.itemW=i.minW>i.w?(i.w-t*(a-1))/a:i.maxW<i.w?(i.w-t*(n-1))/n:i.vars.itemWidth>i.w?i.w:i.vars.itemWidth,i.visible=Math.floor(i.w/(i.itemW+t)),i.move=i.vars.move>0&&i.vars.move<i.visible?i.vars.move:i.visible,i.pagingCount=Math.ceil((i.count-i.visible)/i.move+1),i.last=i.pagingCount-1,i.limit=1===i.pagingCount?0:i.vars.itemWidth>i.w?i.itemW*(i.count-1)+t*(i.count-1):(i.itemW+t)*i.count-i.w-t):(i.itemW=i.w,jQuery(i).children(".flex-viewport").length&&i.w!==jQuery(i).children(".flex-viewport").width()&&(i.itemW=jQuery(i).children(".flex-viewport").width()),i.itemM=t,i.pagingCount=i.count,i.last=i.count-1),i.computedW=i.itemW-i.boxPadding,i.computedM=i.itemM},i.update=function(e,t){i.doMath(),p||(e<i.currentSlide?i.currentSlide+=1:e<=i.currentSlide&&0!==e&&(i.currentSlide-=1),i.animatingTo=i.currentSlide),i.vars.controlNav&&!i.manualControls&&("add"===t&&!p||i.pagingCount>i.controlNav.length?h.controlNav.update("add"):("remove"===t&&!p||i.pagingCount<i.controlNav.length)&&(p&&i.currentSlide>i.last&&(i.currentSlide-=1,i.animatingTo-=1),h.controlNav.update("remove",i.last))),i.vars.directionNav&&h.directionNav.update()},i.addSlide=function(t,a){var n=e(t);i.count+=1,i.last=i.count-1,u&&v?void 0!==a?i.slides.eq(i.count-a).after(n):i.container.prepend(n):void 0!==a?i.slides.eq(a).before(n):i.container.append(n),i.update(a,"add"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.added(i)},i.removeSlide=function(t){var a=isNaN(t)?i.slides.index(e(t)):t;i.count-=1,i.last=i.count-1,isNaN(t)?e(t,i.slides).remove():u&&v?i.slides.eq(i.last).remove():i.slides.eq(t).remove(),i.doMath(),i.update(a,"remove"),i.slides=e(i.vars.selector+":not(.clone)",i),i.setup(),i.vars.removed(i)},i.destroy=function(){var t="."+i.vars.namespace;i.vars.controlNav&&i.controlNav.closest(t+"control-nav").remove(),i.vars.directionNav&&i.directionNav.closest(t+"direction-nav").remove(),i.vars.pausePlay&&i.pausePlay.closest(t+"pauseplay").remove(),i.find(".clone").remove(),i.off(i.vars.eventNamespace),"fade"!=i.vars.animation&&i.container.unwrap(),i.container.removeAttr("style"),i.container.off(i.vars.eventNamespace),i.slides.removeAttr("style"),i.slides.filter(t+"active-slide").removeClass(i.vars.namespace+"active-slide"),i.slides.off(i.vars.eventNamespace),e(document).off(i.vars.eventNamespace+"-"+i.id),e(window).off(i.vars.eventNamespace+"-"+i.id),i.stop(),i.removeData("flexslider")},h.init()},e(window).on({blur:function(e){t=!1},focus:function(e){t=!0}}),e.flexslider.defaults={namespace:"flex-",selector:".slides > li",animation:"fade",easing:"swing",direction:"horizontal",reverse:!1,animationLoop:!0,smoothHeight:!1,startAt:0,slideshow:!0,slideshowSpeed:7e3,animationSpeed:600,initDelay:0,randomize:!1,fadeFirstSlide:!0,thumbCaptions:!1,pauseOnAction:!0,pauseOnHover:!1,pauseInvisible:!0,useCSS:!0,touch:!0,video:!1,controlNav:!0,directionNav:!0,prevText:"&#xf104;",nextText:"&#xf105;",keyboard:!0,multipleKeyboard:!1,mousewheel:!1,pausePlay:!1,pauseText:"Pause",playText:"Play",controlsContainer:"",manualControls:"",customDirectionNav:"",sync:"",asNavFor:"",itemWidth:0,itemMargin:0,minItems:1,maxItems:0,move:0,allowOneSlide:!0,isFirefox:!1,start:function(){},before:function(){},after:function(){},end:function(){},added:function(){},removed:function(){},init:function(){},rtl:!1},e.fn.flexslider=function(t){if(void 0===t&&(t={}),"object"==typeof t)return this.each(function(){var a=e(this),n=t.selector?t.selector:".slides > li",i=a.find(n);1===i.length&&!1===t.allowOneSlide||0===i.length?(i.fadeIn(400),t.start&&t.start(a)):void 0===a.data("flexslider")&&new e.flexslider(this,t)});var a=e(this).data("flexslider");switch(t){case"play":a.play();break;case"pause":a.pause();break;case"stop":a.stop();break;case"next":a.flexAnimate(a.getTarget("next"),!0);break;case"prev":case"previous":a.flexAnimate(a.getTarget("prev"),!0);break;case"destroy":a.destroy();break;default:"number"==typeof t&&a.flexAnimate(t,!0)}}}(jQuery);
var fusionLightboxVideoVars={"lightbox_video_width":"1280","lightbox_video_height":"720"};(function($,window,undefined){var extensions={flash:["swf"],image:["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","webp","avif"],iframe:["asp","aspx","cgi","cfm","htm","html","jsp","php","pl","php3","php4","php5","phtml","rb","rhtml","shtml","txt"],video:["avi","mov","mpg","mpeg","movie","mp4","webm","ogv","ogg","3gp","m4v"]},$win=$(window),$doc=$(document),browser,transform,gpuAcceleration,fullScreenApi="",userAgent=navigator.userAgent||navigator.vendor||window.opera,supportTouch="ontouchstart"in window||navigator.msMaxTouchPoints,isMobile=/(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.test(userAgent)||/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)|sy(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.test(userAgent.substr(0,4)),clickEvent=supportTouch?"click itap":"click",touchStartEvent=supportTouch?"mousedown.iLightBox touchstart.iLightBox":"mousedown.iLightBox",touchStopEvent=supportTouch?"mouseup.iLightBox touchend.iLightBox":"mouseup.iLightBox",touchMoveEvent=supportTouch?"mousemove.iLightBox touchmove.iLightBox":"mousemove.iLightBox",abs=Math.abs,sqrt=Math.sqrt,round=Math.round,max=Math.max,min=Math.min,floor=Math.floor,random=Math.random,pluginspages={quicktime:"http://www.apple.com/quicktime/download",flash:"http://www.adobe.com/go/getflash"},iLightBox=function(e,t,o,i){var n=this;if(n.options=t,n.selector=e.selector||e,n.context=e.context,n.instant=i,o.length<1?n.attachItems():n.items=o,n.vars={total:n.items.length,start:0,current:null,next:null,prev:null,BODY:$("body"),loadRequests:0,overlay:$('<div class="ilightbox-overlay"></div>'),loader:$('<div class="ilightbox-loader"><div></div></div>'),toolbar:$('<div class="ilightbox-toolbar"></div>'),innerToolbar:$('<div class="ilightbox-inner-toolbar"></div>'),title:$('<div class="ilightbox-title"></div>'),closeButton:$('<a class="ilightbox-close" role="button" title="'+n.options.text.close+'"></a>'),fullScreenButton:$('<a class="ilightbox-fullscreen" role="button" title="'+n.options.text.enterFullscreen+'"></a>'),innerPlayButton:$('<a class="ilightbox-play" role="button" title="'+n.options.text.slideShow+'"></a>'),innerNextButton:$('<a class="ilightbox-next-button" role="button" title="'+n.options.text.next+'"></a>'),innerPrevButton:$('<a class="ilightbox-prev-button" role="button" title="'+n.options.text.previous+'"></a>'),holder:$('<div class="ilightbox-holder'+(supportTouch?" supportTouch":"")+'" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextPhoto:$('<div class="ilightbox-holder'+(supportTouch?" supportTouch":"")+' ilightbox-next" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),prevPhoto:$('<div class="ilightbox-holder'+(supportTouch?" supportTouch":"")+' ilightbox-prev" ondragstart="return false;"><div class="ilightbox-container"></div></div>'),nextButton:$('<a class="ilightbox-button ilightbox-next-button" role="button" ondragstart="return false;" title="'+n.options.text.next+'"><span></span></a>'),prevButton:$('<a class="ilightbox-button ilightbox-prev-button" role="button" ondragstart="return false;" title="'+n.options.text.previous+'"><span></span></a>'),thumbnails:$('<div class="ilightbox-thumbnails" ondragstart="return false;"><div class="ilightbox-thumbnails-container"><a class="ilightbox-thumbnails-dragger"></a><div class="ilightbox-thumbnails-grid"></div></div></div>'),thumbs:!1,nextLock:!1,prevLock:!1,hashLock:!1,isMobile:!1,mobileMaxWidth:980,isInFullScreen:!1,isSwipe:!1,mouseID:0,cycleID:0,isPaused:0},n.vars.hideableElements=n.vars.nextButton.add(n.vars.prevButton),n.normalizeItems(),n.availPlugins(),n.options.startFrom=n.options.startFrom>0&&n.options.startFrom>=n.vars.total?n.vars.total-1:n.options.startFrom,n.options.startFrom=n.options.randomStart?floor(random()*n.vars.total):n.options.startFrom,n.vars.start=n.options.startFrom,i?n.instantCall():n.patchItemsEvents(),n.options.linkId&&(n.hashChangeHandler(),$win.iLightBoxHashChange(function(){n.hashChangeHandler()})),supportTouch){var a=/(click|mouseenter|mouseleave|mouseover|mouseout)/gi,r="itap";n.options.caption.show=n.options.caption.show.replace(a,r),n.options.caption.hide=n.options.caption.hide.replace(a,r),n.options.social.show=n.options.social.show.replace(a,r),n.options.social.hide=n.options.social.hide.replace(a,r)}n.options.controls.arrows&&$.extend(n.options.styles,{nextOffsetX:0,prevOffsetX:0,nextOpacity:0,prevOpacity:0})},matched;function getPixel(e,t){return parseInt(e.css(t),10)||0}function within(e,t,o){return e<t?t:e>o?o:e}function getViewport(){var e=window,t="inner";return"innerWidth"in window||(t="client",e=document.documentElement||document.body),{width:e[t+"Width"],height:e[t+"Height"]}}function removeHash(){var e=getScrollXY();window.location.hash="",window.scrollTo(e.x,e.y)}function doAjax(e,t){e="//ilightbox.net/getSource/jsonp.php?url="+encodeURIComponent(e).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A");$.ajax({url:e,dataType:"jsonp"}),iLCallback=function(e){t.call(this,e)}}function findImageInElement(e){var t=$("*",e),o=new Array;return t.each(function(){var e="",t=this;if("none"!=$(t).css("background-image")?e=$(t).css("background-image"):void 0!==$(t).attr("src")&&"img"==t.nodeName.toLowerCase()&&(e=$(t).attr("src")),-1==e.indexOf("gradient"))for(var i=(e=(e=(e=(e=e.replace(/url\(\"/g,"")).replace(/url\(/g,"")).replace(/\"\)/g,"")).replace(/\)/g,"")).split(","),n=0;n<i.length;n++)if(i[n].length>0&&-1==$.inArray(i[n],o)){var a="";browser.msie&&browser.version<9&&(a="?"+floor(3e3*random())),o.push(i[n]+a)}}),o}function getExtension(e){var t=e.split(".").pop().toLowerCase(),o=-1!==t.indexOf("?")?"?"+t.split("?").pop():"";return t.replace(o,"")}function getTypeByExtension(e,t){var o,i=getExtension(e);if(o=-1!==extensions.image.indexOf(i)?"image":-1!==extensions.flash.indexOf(i)?"flash":-1!==extensions.video.indexOf(i)?"video":"iframe",t){const e=(t=jQuery(t)).attr("data-media-type");e&&(o=e)}return o}function percentToValue(e,t){return parseInt(t/100*e)}function parseURI(e){var t=String(e).replace(/^\s+|\s+$/g,"").match(/^([^:\/?#]+:)?(\/\/(?:[^:@]*(?::[^:@]*)?@)?(([^:\/?#]*)(?::(\d*))?))?([^?#]*)(\?[^#]*)?(#[\s\S]*)?/);return t?{href:t[0]||"",protocol:t[1]||"",authority:t[2]||"",host:t[3]||"",hostname:t[4]||"",port:t[5]||"",pathname:t[6]||"",search:t[7]||"",hash:t[8]||""}:null}function absolutizeURI(e,t){var o,i;return t=parseURI(t||""),e=parseURI(e||""),t&&e?(t.protocol||e.protocol)+(t.protocol||t.authority?t.authority:e.authority)+(o=t.protocol||t.authority||"/"===t.pathname.charAt(0)?t.pathname:t.pathname?(e.authority&&!e.pathname?"/":"")+e.pathname.slice(0,e.pathname.lastIndexOf("/")+1)+t.pathname:e.pathname,i=[],o.replace(/^(\.\.?(\/|$))+/,"").replace(/\/(\.(\/|$))+/g,"/").replace(/\/\.\.$/,"/../").replace(/\/?[^\/]*/g,function(e){"/.."===e?i.pop():i.push(e)}),i.join("").replace(/^\//,"/"===o.charAt(0)?"/":""))+(t.protocol||t.authority||t.pathname?t.search:t.search||e.search)+t.hash:null}function version_compare(e,t,o){this.php_js=this.php_js||{},this.php_js.ENV=this.php_js.ENV||{};var i,n=0,a=0,r={dev:-6,alpha:-5,a:-5,beta:-4,b:-4,RC:-3,rc:-3,"#":-2,p:1,pl:1},s=function(e){return(e=(e=(""+e).replace(/[_\-+]/g,".")).replace(/([^.\d]+)/g,".$1.").replace(/\.{2,}/g,".")).length?e.split("."):[-8]},l=function(e){return e?isNaN(e)?r[e]||-7:parseInt(e,10):0};for(e=s(e),t=s(t),i=max(e.length,t.length),n=0;n<i;n++)if(e[n]!=t[n]){if(e[n]=l(e[n]),t[n]=l(t[n]),e[n]<t[n]){a=-1;break}if(e[n]>t[n]){a=1;break}}if(!o)return a;switch(o){case">":case"gt":return a>0;case">=":case"ge":return a>=0;case"<=":case"le":return a<=0;case"==":case"=":case"eq":return 0===a;case"<>":case"!=":case"ne":return 0!==a;case"":case"<":case"lt":return a<0;default:return null}}function getScrollXY(){var e=0,t=0;return"number"==typeof window.pageYOffset?(t=window.pageYOffset,e=window.pageXOffset):document.body&&(document.body.scrollLeft||document.body.scrollTop)?(t=document.body.scrollTop,e=document.body.scrollLeft):document.documentElement&&(document.documentElement.scrollLeft||document.documentElement.scrollTop)&&(t=document.documentElement.scrollTop,e=document.documentElement.scrollLeft),{x:e,y:t}}iLightBox.prototype={showLoader:function(){var e=this;e.vars.loadRequests+=1,"horizontal"==e.options.path.toLowerCase()?e.vars.loader.addClass("ilightbox-show").stop().animate({top:"-30px"},e.options.show.speed,"easeOutCirc"):e.vars.loader.addClass("ilightbox-show").stop().animate({left:"-30px"},e.options.show.speed,"easeOutCirc")},hideLoader:function(){var e=this;e.vars.loadRequests-=1,e.vars.loadRequests=e.vars.loadRequests<0?0:e.vars.loadRequests,"horizontal"==e.options.path.toLowerCase()?e.vars.loadRequests<=0&&e.vars.loader.removeClass("ilightbox-show").stop().animate({top:"-192px"},e.options.show.speed,"easeInCirc"):e.vars.loadRequests<=0&&e.vars.loader.removeClass("ilightbox-show").stop().animate({left:"-192px"},e.options.show.speed,"easeInCirc")},createUI:function(){var e=this;e.ui={currentElement:e.vars.holder,nextElement:e.vars.nextPhoto,prevElement:e.vars.prevPhoto,currentItem:e.vars.current,nextItem:e.vars.next,prevItem:e.vars.prev,hide:function(){e.closeAction()},refresh:function(){arguments.length>0?e.repositionPhoto(!0):e.repositionPhoto()},fullscreen:function(){e.fullScreenAction()}}},attachItems:function(){var iL=this,itemsObject=new Array,items=new Array;$(iL.selector,iL.context).each(function(){var t=$(this),URL=t.attr(iL.options.attr)||null,options=t.data("options")&&eval("({"+t.data("options")+"})")||{},caption=t.data("caption")?t.data("caption").toString().replace(/(<([^>]+)>)/gi,""):"",title=t.data("title")?t.data("title").toString().replace(/(<([^>]+)>)/gi,""):"",alt=t.data("alt")?t.data("alt").toString().replace(/(<([^>]+)>)/gi,""):"",type=t.data("type")||getTypeByExtension(URL,this);items.push({URL,caption,title,alt,type,options}),iL.instant||itemsObject.push(t)}),iL.items=items,iL.itemsObject=itemsObject,iL.vars&&(iL.vars.total=items.length)},normalizeItems:function(){var e=this,t=new Array;$.each(e.items,function(o,i){"string"==typeof i&&(i={url:i});var n=i.url||i.URL||null,a=i.options||{},r=i.caption||null,s=i.title||null,l=i.alt||null,c=i.type?i.type.toLowerCase():getTypeByExtension(n),u="object"!=typeof n?getExtension(n):"";if(a.thumbnail=a.thumbnail||("image"==c?n:null),a.videoType=a.videoType||null,a.skin=a.skin||e.options.skin,a.width=a.width||null,a.height=a.height||null,a.mousewheel=void 0===a.mousewheel||a.mousewheel,a.swipe=void 0===a.swipe||a.swipe,a.social=void 0!==a.social?a.social:e.options.social.buttons&&$.extend({},{},e.options.social.buttons),"video"==c&&(a.html5video=void 0!==a.html5video?a.html5video:{},a.html5video.webm=a.html5video.webm||a.html5video.WEBM||null,a.html5video.controls=void 0!==a.html5video.controls?a.html5video.controls:"controls",a.html5video.preload=a.html5video.preload||"metadata",a.html5video.autoplay=void 0!==a.html5video.autoplay&&a.html5video.autoplay),"iframe"===c)if(-1!==n.indexOf("youtube.com")){var h=n.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/);h&&11===h[7].length&&(a.thumbnail="//img.youtube.com/vi/"+h[7]+"/mqdefault.jpg")}else if(-1!==n.indexOf("vimeo.com")&&-1===n.indexOf("preview=0")){var d=n.split(/[?#]/)[0];d.replace(/[^\d]/g,"");$.getJSON("https://vimeo.com/api/oembed.json?url="+d,{format:"json"},function(e){a.thumbnail=e.thumbnail_url})}a.width&&a.height||"video"!==c&&"iframe"!==c&&"flash"!==c||(a.width=parseInt(fusionLightboxVideoVars.lightbox_video_width),a.height=parseInt(fusionLightboxVideoVars.lightbox_video_height)),delete i.url,i.index=o,i.URL=n,i.caption=r,i.title=s,i.type=c,i.alt=l,i.options=a,i.ext=u,t.push(i)}),e.items=t},instantCall:function(){var e=this,t=e.vars.start;e.vars.current=t,e.vars.next=e.items[t+1]?t+1:null,e.vars.prev=e.items[t-1]?t-1:null,e.addContents(),e.patchEvents()},addContents:function(){var e=this,t=e.vars,o=e.options,i=getViewport(),n=o.path.toLowerCase(),a=t.total>0&&e.items.filter(function(e,t,i){return-1===["image","flash","video"].indexOf(e.type)&&void 0===e.recognized&&(o.smartRecognition||e.options.smartRecognition)}),r=a.length>0;o.mobileOptimizer&&!o.innerToolbar&&(t.isMobile=i.width<=t.mobileMaxWidth),t.overlay.addClass(o.skin).hide().css("opacity",o.overlay.opacity),o.linkId&&t.overlay[0].setAttribute("linkid",o.linkId),o.controls.toolbar&&(t.toolbar.addClass(o.skin).append(t.closeButton),o.controls.fullscreen&&t.toolbar.append(t.fullScreenButton),o.controls.slideshow&&t.toolbar.append(t.innerPlayButton),t.total>1&&t.toolbar.append(t.innerPrevButton).append(t.innerNextButton)),t.BODY.addClass("ilightbox-noscroll").append(t.overlay).append(t.loader).append(t.holder).append(t.nextPhoto).append(t.prevPhoto),o.innerToolbar||t.BODY.append(t.toolbar),o.controls.arrows&&t.BODY.append(t.nextButton).append(t.prevButton),o.controls.thumbnail&&t.total>1&&(t.BODY.append(t.thumbnails),t.thumbnails.addClass(o.skin).addClass("ilightbox-"+n),$("div.ilightbox-thumbnails-grid",t.thumbnails).empty(),t.thumbs=!0);var s="horizontal"==o.path.toLowerCase()?{left:parseInt(i.width/2-t.loader.outerWidth()/2)}:{top:parseInt(i.height/2-t.loader.outerHeight()/2)};t.loader.addClass(o.skin).css(s),t.nextButton.add(t.prevButton).addClass(o.skin),"horizontal"==n&&t.loader.add(t.nextButton).add(t.prevButton).addClass("horizontal"),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),o.infinite||(t.prevButton.add(t.prevButton).add(t.innerPrevButton).add(t.innerNextButton).removeClass("disabled"),0==t.current&&t.prevButton.add(t.innerPrevButton).addClass("disabled"),t.current>=t.total-1&&t.nextButton.add(t.innerNextButton).addClass("disabled")),o.show.effect?(t.overlay.stop().fadeIn(o.show.speed),t.toolbar.stop().fadeIn(o.show.speed)):(t.overlay.show(),t.toolbar.show());var l=a.length;r?(e.showLoader(),$.each(a,function(i,n){e.ogpRecognition(this,function(i){var n=-1,a=(e.items.filter(function(e,t,o){return e.URL==i.url&&(n=t),e.URL==i.url}),e.items[n]);i&&$.extend(!0,a,{URL:i.source,type:i.type,recognized:!0,options:{html5video:i.html5video,width:"image"==i.type?0:i.width||a.width,height:"image"==i.type?0:i.height||a.height,thumbnail:a.options.thumbnail||i.thumbnail}}),0==--l&&(e.hideLoader(),t.dontGenerateThumbs=!1,e.generateThumbnails(),o.show.effect?setTimeout(function(){e.generateBoxes()},o.show.speed):e.generateBoxes())})})):o.show.effect?setTimeout(function(){e.generateBoxes()},o.show.speed):e.generateBoxes(),e.createUI(),window.iLightBox={close:function(){e.closeAction()},fullscreen:function(){e.fullScreenAction()},moveNext:function(){e.moveTo("next")},movePrev:function(){e.moveTo("prev")},goTo:function(t){e.goTo(t)},refresh:function(){e.refresh()},reposition:function(){arguments.length>0?e.repositionPhoto(!0):e.repositionPhoto()},setOption:function(t){e.setOption(t)},destroy:function(){e.closeAction(),e.dispatchItemsEvents()}},o.linkId&&(t.hashLock=!0,window.location.hash=o.linkId+"/"+t.current,setTimeout(function(){t.hashLock=!1},55)),o.slideshow.startPaused||(e.resume(),t.innerPlayButton.removeClass("ilightbox-play").addClass("ilightbox-pause")),"function"==typeof e.options.callback.onOpen&&e.options.callback.onOpen.call(e)},loadContent:function(e,t,o){var i,n,a=this;switch(a.createUI(),e.speed=o||a.options.effects.loadedFadeSpeed,"current"==t&&(e.options.mousewheel?a.vars.lockWheel=!1:a.vars.lockWheel=!0,e.options.swipe?a.vars.lockSwipe=!1:a.vars.lockSwipe=!0),t){case"current":i=a.vars.holder,n=a.vars.current;break;case"next":i=a.vars.nextPhoto,n=a.vars.next;break;case"prev":i=a.vars.prevPhoto,n=a.vars.prev}if(i.removeAttr("style class").addClass("ilightbox-holder"+(supportTouch?" supportTouch":"")).addClass(e.options.skin),$("div.ilightbox-inner-toolbar",i).remove(),e.title||a.options.innerToolbar){var r=a.vars.innerToolbar.clone();if(e.title&&a.options.show.title){var s=a.vars.title.clone();s.empty().html(e.title),r.append(s)}a.options.innerToolbar&&r.append(a.vars.total>1?a.vars.toolbar.clone():a.vars.toolbar),i.prepend(r)}a.loadSwitcher(e,i,n,t)},loadSwitcher:function(e,t,o,i){var n=this,a=n.options,r={element:t,position:o};switch(e.type){case"image":"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.loadImage(e.URL,function(s){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r);var l=s?s.width:400,c=s?s.height:200;t.data({naturalWidth:l,naturalHeight:c}),$("div.ilightbox-container",t).empty().append(s?'<img src="'+e.URL+'" class="ilightbox-image" alt="'+e.alt+'" />':'<span class="ilightbox-alert">'+a.errors.loadImage+"</span>"),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),n.configureHolder(e,i,t)});break;case"video":t.data({naturalWidth:e.options.width,naturalHeight:e.options.height}),n.addContent(t,e),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),n.configureHolder(e,i,t);break;case"iframe":for(var s=e.URL.substring(e.URL.indexOf("?")+1).split("&"),l={},c=0;c<s.length;++c){var u=s[c].split("=");2==u.length&&("w"==u[0]&&(u[0]="width"),"h"==u[0]&&(u[0]="height"),l[u[0]]=decodeURIComponent(u[1].replace(/\+/g," ")))}n.showLoader(),t.data({naturalWidth:e.options.width,naturalHeight:e.options.height});var h=n.addContent(t,e);"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.configureHolder(e,i,t);var d=!1;h.on("load",function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),d=!0,n.hideLoader(),h.off("load")}),setTimeout(function(){var e=h[0].getBoundingClientRect();0===e.width&&0===e.height&&!d&&n.hideLoader()},1500);break;case"inline":h=$(e.URL);var p=n.addContent(t,e),f=findImageInElement(t);t.data({naturalWidth:n.items[o].options.width||h.outerWidth(),naturalHeight:n.items[o].options.height||h.outerHeight()}),p.children().eq(0).show(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.loadImage(f,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.configureHolder(e,i,t)});break;case"flash":h=n.addContent(t,e);t.data({naturalWidth:n.items[o].options.width||h.outerWidth(),naturalHeight:n.items[o].options.height||h.outerHeight()}),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r),n.configureHolder(e,i,t);break;case"ajax":var g=e.options.ajax||{};"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.showLoader(),$.ajax({url:e.URL||a.ajaxSetup.url,data:g.data||null,dataType:g.dataType||"html",type:g.type||a.ajaxSetup.type,cache:g.cache||a.ajaxSetup.cache,crossDomain:g.crossDomain||a.ajaxSetup.crossDomain,global:g.global||a.ajaxSetup.global,ifModified:g.ifModified||a.ajaxSetup.ifModified,username:g.username||a.ajaxSetup.username,password:g.password||a.ajaxSetup.password,beforeSend:g.beforeSend||a.ajaxSetup.beforeSend,complete:g.complete||a.ajaxSetup.complete}).done(function(s,l,c){n.hideLoader();var u=$(s),h=$("div.ilightbox-container",t),d=n.items[o].options.width||parseInt(u[0].getAttribute("width")),p=n.items[o].options.height||parseInt(u[0].getAttribute("height")),f=u[0].getAttribute("width")&&u[0].getAttribute("height")?{overflow:"hidden"}:{};h.empty().append($('<div class="ilightbox-wrapper"></div>').css(f).html(u)),t.show().data({naturalWidth:d||h.outerWidth(),naturalHeight:p||h.outerHeight()}).hide(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r);var m=findImageInElement(t);n.loadImage(m,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.configureHolder(e,i,t)}),a.ajaxSetup.success(s,l,c),"function"==typeof g.success&&g.success(s,l,c)}).fail(function(s,l,c){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),n.hideLoader(),$("div.ilightbox-container",t).empty().append('<span class="ilightbox-alert">'+a.errors.loadContents+"</span>"),n.configureHolder(e,i,t),a.ajaxSetup.error(s,l,c),"function"==typeof g.error&&g.error(s,l,c)});break;case"html":var m=e.URL;if(container=$("div.ilightbox-container",t),m[0].nodeName)h=m.clone();else{var v=$(m);h=v.selector?$("<div>"+v+"</div>"):v}var b=n.items[o].options.width||parseInt(h.attr("width")),x=n.items[o].options.height||parseInt(h.attr("height"));n.addContent(t,e),h.appendTo(document.documentElement).hide(),"function"==typeof a.callback.onRender&&a.callback.onRender.call(n,n.ui,o),"function"==typeof e.options.onRender&&e.options.onRender.call(n,r);f=findImageInElement(t);"function"==typeof a.callback.onBeforeLoad&&a.callback.onBeforeLoad.call(n,n.ui,o),"function"==typeof e.options.onBeforeLoad&&e.options.onBeforeLoad.call(n,r),n.loadImage(f,function(){"function"==typeof a.callback.onAfterLoad&&a.callback.onAfterLoad.call(n,n.ui,o),"function"==typeof e.options.onAfterLoad&&e.options.onAfterLoad.call(n,r),t.show().data({naturalWidth:b||container.outerWidth(),naturalHeight:x||container.outerHeight()}).hide(),h.remove(),n.configureHolder(e,i,t)})}},configureHolder:function(e,t,o){var i=this,n=i.vars,a=i.options;if("current"!=t&&("next"==t?o.addClass("ilightbox-next"):o.addClass("ilightbox-prev")),"current"==t)var r=n.current;else if("next"==t){var s=a.styles.nextOpacity;r=n.next}else s=a.styles.prevOpacity,r=n.prev;var l={element:o,position:r};i.items[r].options.width=i.items[r].options.width||0,i.items[r].options.height=i.items[r].options.height||0,"current"==t?a.show.effect?o.css(transform,gpuAcceleration).fadeIn(e.speed,function(){if(o.css(transform,""),e.caption){i.setCaption(e,o);var t=$("div.ilightbox-caption",o),n=parseInt(t.outerHeight()/o.outerHeight()*100);a.caption.start&n<=50&&t.fadeIn(a.effects.fadeSpeed)}var s=e.options.social;s&&(i.setSocial(s,e.URL,o),a.social.start&&$("div.ilightbox-social",o).fadeIn(a.effects.fadeSpeed)),i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)}):(o.show(),i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)):a.show.effect?o.fadeTo(e.speed,s,function(){"next"==t?n.nextLock=!1:n.prevLock=!1,i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)}):(o.css({opacity:s}).show(),"next"==t?n.nextLock=!1:n.prevLock=!1,i.generateThumbnails(),"function"==typeof a.callback.onShow&&a.callback.onShow.call(i,i.ui,r),"function"==typeof e.options.onShow&&e.options.onShow.call(i,l)),setTimeout(function(){i.repositionPhoto()},0)},generateBoxes:function(){var e=this,t=e.vars,o=e.options;o.infinite&&t.total>=3?(t.current==t.total-1&&(t.next=0),0==t.current&&(t.prev=t.total-1)):o.infinite=!1,e.loadContent(e.items[t.current],"current",o.show.speed),e.items[t.next]&&e.loadContent(e.items[t.next],"next",o.show.speed),e.items[t.prev]&&e.loadContent(e.items[t.prev],"prev",o.show.speed)},generateThumbnails:function(){var e=this,t=e.vars,o=e.options,i=null;if(t.thumbs&&!e.vars.dontGenerateThumbs){var n=t.thumbnails,a=$("div.ilightbox-thumbnails-container",n),r=$("div.ilightbox-thumbnails-grid",a),s=0;r.removeAttr("style").empty(),$.each(e.items,function(l,c){var u=t.current==l?"ilightbox-active":"",h=t.current==l?o.thumbnails.activeOpacity:o.thumbnails.normalOpacity,d=c.options.thumbnail,p=$('<div class="ilightbox-thumbnail"></div>'),f=$('<div class="ilightbox-thumbnail-icon"></div>');p.css({opacity:0}).addClass(u),"video"!=c.type&&"flash"!=c.type||void 0!==c.options.icon?c.options.icon&&(f.addClass("ilightbox-thumbnail-"+c.options.icon),p.append(f)):(f.addClass("ilightbox-thumbnail-video"),p.append(f)),d&&e.loadImage(d,function(t){s++,t?p.data({naturalWidth:t.width,naturalHeight:t.height}).append('<img src="'+d+'" border="0" />'):p.data({naturalWidth:o.thumbnails.maxWidth,naturalHeight:o.thumbnails.maxHeight}),clearTimeout(i),i=setTimeout(function(){e.positionThumbnails(n,a,r)},20),setTimeout(function(){p.fadeTo(o.effects.loadedFadeSpeed,h)},20*s)}),r.append(p)}),e.vars.dontGenerateThumbs=!0}},positionThumbnails:function(e,t,o){var i=this,n=i.vars,a=i.options,r=getViewport(),s=a.path.toLowerCase();e||(e=n.thumbnails),t||(t=$("div.ilightbox-thumbnails-container",e)),o||(o=$("div.ilightbox-thumbnails-grid",t));var l=$(".ilightbox-thumbnail",o),c="horizontal"==s?r.width-a.styles.pageOffsetX:l.eq(0).outerWidth()-a.styles.pageOffsetX,u="horizontal"==s?l.eq(0).outerHeight()-a.styles.pageOffsetY:r.height-a.styles.pageOffsetY,h="horizontal"==s?0:c,d="horizontal"==s?u:0,p=$(".ilightbox-active",o),f={};arguments.length<3&&(l.css({opacity:a.thumbnails.normalOpacity}),p.css({opacity:a.thumbnails.activeOpacity})),l.each(function(e){var t=$(this),o=t.data(),n="horizontal"==s?0:a.thumbnails.maxWidth;height="horizontal"==s?a.thumbnails.maxHeight:0,dims=i.getNewDimenstions(n,height,o.naturalWidth,o.naturalHeight,!0),t.css({width:dims.width,height:dims.height}),"horizontal"==s&&t.css({float:"left"}),"horizontal"==s?h+=t.outerWidth(!0):d+=t.outerHeight()}),f={width:h,height:d},o.css(f),f={};var g=o.offset(),m=p.length?p.offset():{top:parseInt(u/2),left:parseInt(c/2)};g.top=g.top-$doc.scrollTop(),g.left=g.left-$doc.scrollLeft(),m.top=m.top-g.top-$doc.scrollTop(),m.left=m.left-g.left-$doc.scrollLeft(),"horizontal"==s?(f.top=0,f.left=parseInt(c/2-m.left-p.outerWidth()/2)):(f.top=parseInt(u/2-m.top-p.outerHeight()/2),f.left=0),arguments.length<3?o.stop().animate(f,a.effects.repositionSpeed,"easeOutCirc"):o.css(f)},loadImage:function(e,t){Array.isArray(e)||(e=[e]);var o=this,i=e.length;i>0?(o.showLoader(),$.each(e,function(n,a){var r=new Image;r.onload=function(){0==(i-=1)&&(o.hideLoader(),t(r))},r.onerror=r.onabort=function(){0==(i-=1)&&(o.hideLoader(),t(!1))},r.src=e[n]})):t(!1)},patchItemsEvents:function(){var e=this,t=e.vars,o=supportTouch?"click.iL itap.iL":"click.iL",i=supportTouch?"click.iL itap.iL":"itap.iL";if(e.context&&e.selector){var n=$(e.selector,e.context);$(e.context).on(o,e.selector,function(){var o=$(this),i=n.index(o);return t.current=i,t.next=e.items[i+1]?i+1:null,t.prev=e.items[i-1]?i-1:null,e.addContents(),e.patchEvents(),!1}).on(i,e.selector,function(){return!1})}else $.each(e.itemsObject,function(n,a){a.on(o,function(){return t.current=n,t.next=e.items[n+1]?n+1:null,t.prev=e.items[n-1]?n-1:null,e.addContents(),e.patchEvents(),!1}).on(i,function(){return!1})})},dispatchItemsEvents:function(){var e=this;e.vars,e.options;e.context&&e.selector?$(e.context).off(".iL",e.selector):$.each(e.itemsObject,function(e,t){t.off(".iL")})},refresh:function(){var e=this;e.dispatchItemsEvents(),e.attachItems(),e.normalizeItems(),e.patchItemsEvents()},patchEvents:function(){var e=this,t=e.vars,o=e.options,i=o.path.toLowerCase(),n=$(".ilightbox-holder"),a=fullScreenApi.fullScreenEventName+".iLightBox",r=verticalDistanceThreshold=100,s=[t.nextButton[0],t.prevButton[0],t.nextButton[0].firstChild,t.prevButton[0].firstChild];$win.on("resize.iLightBox",function(){var i=getViewport();o.mobileOptimizer&&!o.innerToolbar&&(t.isMobile=i.width<=t.mobileMaxWidth),t.BODY[t.isMobile?"addClass":"removeClass"]("isMobile"),t.nextLock||t.prevLock||e.repositionPhoto(null),supportTouch&&(clearTimeout(t.setTime),t.setTime=setTimeout(function(){var e=getScrollXY().y;window.scrollTo(0,e-30),window.scrollTo(0,e+30),window.scrollTo(0,e)},2e3)),t.thumbs&&e.positionThumbnails()}).on("keydown.iLightBox",function(i){if(o.controls.keyboard)switch(i.keyCode){case 13:i.shiftKey&&o.keyboard.shift_enter&&e.fullScreenAction();break;case 27:o.keyboard.esc&&e.closeAction();break;case 37:o.keyboard.left&&!t.lockKey&&e.moveTo("prev");break;case 38:o.keyboard.up&&!t.lockKey&&e.moveTo("prev");break;case 39:o.keyboard.right&&!t.lockKey&&e.moveTo("next");break;case 40:o.keyboard.down&&!t.lockKey&&e.moveTo("next")}}),fullScreenApi.supportsFullScreen&&$win.on(a,function(){e.doFullscreen()});var l=[o.caption.show+".iLightBox",o.caption.hide+".iLightBox",o.social.show+".iLightBox",o.social.hide+".iLightBox"].filter(function(e,t,o){return o.lastIndexOf(e)===t}),c="";$.each(l,function(e,t){0!=e&&(c+=" "),c+=t}),$doc.on(clickEvent,".ilightbox-overlay",function(){o.overlay.blur&&e.closeAction()}).on(clickEvent,".ilightbox-next, .ilightbox-next-button",function(){e.moveTo("next")}).on(clickEvent,".ilightbox-prev, .ilightbox-prev-button",function(){e.moveTo("prev")}).on(clickEvent,".ilightbox-thumbnail",function(){var o=$(this),i=$(".ilightbox-thumbnail",t.thumbnails).index(o);i!=t.current&&e.goTo(i)}).on(c,".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(e){var i=$("div.ilightbox-caption",t.holder),n=$("div.ilightbox-social",t.holder),a=o.effects.fadeSpeed;t.nextLock||t.prevLock?(e.type!=o.caption.show||i.is(":visible")?e.type==o.caption.hide&&i.is(":visible")&&i.fadeOut(a):i.fadeIn(a),e.type!=o.social.show||n.is(":visible")?e.type==o.social.hide&&n.is(":visible")&&n.fadeOut(a):n.fadeIn(a)):(e.type!=o.caption.show||i.is(":visible")?e.type==o.caption.hide&&i.is(":visible")&&i.stop().fadeOut(a):i.stop().fadeIn(a),e.type!=o.social.show||n.is(":visible")?e.type==o.social.hide&&n.is(":visible")&&n.stop().fadeOut(a):n.stop().fadeIn(a))}).on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-wrapper",function(e){"mouseenter"==e.type?t.lockWheel=!0:t.lockWheel=!1}).on(clickEvent,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause",function(){var t=$(this);t.hasClass("fusion-updated")||(t.hasClass("ilightbox-fullscreen")?e.fullScreenAction():t.hasClass("ilightbox-play")?(e.resume(),t.addClass("ilightbox-pause").removeClass("ilightbox-play")):t.hasClass("ilightbox-pause")?(e.pause(),t.addClass("ilightbox-play").removeClass("ilightbox-pause")):e.closeAction(),t.addClass("fusion-updated"),setTimeout(function(){t.removeClass("fusion-updated")},100))}).on(touchMoveEvent,".ilightbox-overlay, .ilightbox-thumbnails-container",function(e){e.preventDefault()}),o.controls.arrows&&!supportTouch&&$doc.on("mousemove.iLightBox",function(e){t.isMobile||(t.mouseID||t.hideableElements.show(),t.mouseID=clearTimeout(t.mouseID),-1===s.indexOf(e.target)&&(t.mouseID=setTimeout(function(){t.hideableElements.hide(),t.mouseID=clearTimeout(t.mouseID)},3e3)))}),o.controls.slideshow&&o.slideshow.pauseOnHover&&$doc.on("mouseenter.iLightBox mouseleave.iLightBox",".ilightbox-holder:not(.ilightbox-next, .ilightbox-prev)",function(o){"mouseenter"==o.type&&t.cycleID?e.pause():"mouseleave"==o.type&&t.isPaused&&e.resume()});var u=$(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails");o.controls.mousewheel&&u.on("mousewheel.iLightBox",function(o,i){t.lockWheel||(o.preventDefault(),i<0?e.moveTo("next"):i>0&&e.moveTo("prev"))}),o.controls.swipe&&n.on(touchStartEvent,function(a){if(!(t.nextLock||t.prevLock||1==t.total||t.lockSwipe)){t.BODY.addClass("ilightbox-closedhand");var s,l=a.originalEvent.touches?a.originalEvent.touches[0]:a,c=$doc.scrollTop(),u=$doc.scrollLeft(),h=[n.eq(0).offset(),n.eq(1).offset(),n.eq(2).offset()],d=[{top:h[0].top-c,left:h[0].left-u},{top:h[1].top-c,left:h[1].left-u},{top:h[2].top-c,left:h[2].left-u}],p={time:(new Date).getTime(),coords:[l.pageX-u,l.pageY-c]};n.on(touchMoveEvent,g),$doc.one(touchStopEvent,function(a){n.off(touchMoveEvent,g),t.BODY.removeClass("ilightbox-closedhand"),p&&s&&("horizontal"==i&&s.time-p.time<1e3&&abs(p.coords[0]-s.coords[0])>r&&abs(p.coords[1]-s.coords[1])<verticalDistanceThreshold?p.coords[0]>s.coords[0]?t.current!=t.total-1||o.infinite?(t.isSwipe=!0,e.moveTo("next")):m():0!=t.current||o.infinite?(t.isSwipe=!0,e.moveTo("prev")):m():"vertical"==i&&s.time-p.time<1e3&&abs(p.coords[1]-s.coords[1])>r&&abs(p.coords[0]-s.coords[0])<verticalDistanceThreshold?p.coords[1]>s.coords[1]?t.current!=t.total-1||o.infinite?(t.isSwipe=!0,e.moveTo("next")):m():0!=t.current||o.infinite?(t.isSwipe=!0,e.moveTo("prev")):m():m()),p=s=undefined})}function f(e){var t=$(this),o=d[e],n=[p.coords[0]-s.coords[0],p.coords[1]-s.coords[1]];t[0].style["horizontal"==i?"left":"top"]=("horizontal"==i?o.left-n[0]:o.top-n[1])+"px"}function g(e){if(p){var t=e.originalEvent.touches?e.originalEvent.touches[0]:e;s={time:(new Date).getTime(),coords:[t.pageX-u,t.pageY-c]},n.each(f),e.preventDefault()}}function m(){n.each(function(){var e=$(this),t=e.data("offset")||{top:e.offset().top-c,left:e.offset().left-u},o=t.top,i=t.left;e.css(transform,gpuAcceleration).stop().animate({top:o,left:i},500,"easeOutCirc",function(){e.css(transform,"")})})}})},goTo:function(e){var t=this,o=t.vars,i=t.options,n=e-o.current;if(i.infinite&&(e==o.total-1&&0==o.current&&(n=-1),o.current==o.total-1&&0==e&&(n=1)),1==n)t.moveTo("next");else if(-1==n)t.moveTo("prev");else{if(o.nextLock||o.prevLock)return!1;"function"==typeof i.callback.onBeforeChange&&i.callback.onBeforeChange.call(t,t.ui),i.linkId&&(o.hashLock=!0,window.location.hash=i.linkId+"/"+e),t.items[e]&&(t.items[e].options.mousewheel?t.vars.lockWheel=!1:o.lockWheel=!0,t.items[e].options.swipe?o.lockSwipe=!1:o.lockSwipe=!0),$.each([o.holder,o.nextPhoto,o.prevPhoto],function(e,t){t.css(transform,gpuAcceleration).fadeOut(i.effects.loadedFadeSpeed)}),o.current=e,o.next=e+1,o.prev=e-1,t.createUI(),setTimeout(function(){t.generateBoxes()},i.effects.loadedFadeSpeed+50),$(".ilightbox-thumbnail",o.thumbnails).removeClass("ilightbox-active").eq(e).addClass("ilightbox-active"),t.positionThumbnails(),i.linkId&&setTimeout(function(){o.hashLock=!1},55),i.infinite||(o.nextButton.add(o.prevButton).add(o.innerPrevButton).add(o.innerNextButton).removeClass("disabled"),0==o.current&&o.prevButton.add(o.innerPrevButton).addClass("disabled"),o.current>=o.total-1&&o.nextButton.add(o.innerNextButton).addClass("disabled")),t.resetCycle(),"function"==typeof i.callback.onAfterChange&&i.callback.onAfterChange.call(t,t.ui)}},moveTo:function(e){var t=this,o=t.vars,i=t.options,n=i.path.toLowerCase(),a=getViewport(),r=i.effects.switchSpeed,s=t.vars.holder,l=s.find("iframe").length?s.find("iframe").attr("src"):"";if(l&&-1!==l.indexOf("vimeo.com")&&s.find("iframe").attr("src",l),o.nextLock||o.prevLock)return!1;var c="next"==e?o.next:o.prev;if(i.linkId&&c&&(o.hashLock=!0,window.location.hash=i.linkId+"/"+c),"next"==e){if(!t.items[c])return!1;var u=o.nextPhoto,h=o.holder,d=o.prevPhoto,p="ilightbox-prev",f="ilightbox-next"}else if("prev"==e){if(!t.items[c])return!1;u=o.prevPhoto,h=o.holder,d=o.nextPhoto,p="ilightbox-next",f="ilightbox-prev"}"function"==typeof i.callback.onBeforeChange&&i.callback.onBeforeChange.call(t,t.ui),"next"==e?o.nextLock=!0:o.prevLock=!0;var g=$("div.ilightbox-caption",h),m=$("div.ilightbox-social",h);if(g.length&&g.stop().fadeOut(r,function(){$(this).remove()}),m.length&&m.stop().fadeOut(r,function(){$(this).remove()}),t.items[c].caption){t.setCaption(t.items[c],u);var v=$("div.ilightbox-caption",u),b=parseInt(v.outerHeight()/u.outerHeight()*100);i.caption.start&&b<=50&&v.fadeIn(r)}var x=t.items[c].options.social;x&&(t.setSocial(x,t.items[c].URL,u),i.social.start&&$("div.ilightbox-social",u).fadeIn(i.effects.fadeSpeed)),$.each([u,h,d],function(e,t){t.removeClass("ilightbox-next ilightbox-prev")});var w=u.data("offset"),y=a.width-i.styles.pageOffsetX,k=a.height-i.styles.pageOffsetY,S=w.newDims.width,L=w.newDims.height,T=w.thumbsOffset,A=w.diff,I=parseInt(k/2-L/2-A.H-T.H/2),C=parseInt(y/2-S/2-A.W-T.W/2);u.css(transform,gpuAcceleration).animate({top:I,left:C,opacity:1},r,o.isSwipe?"easeOutCirc":"easeInOutCirc",function(){u.css(transform,"")}),$("div.ilightbox-container",u).animate({width:S,height:L},r,o.isSwipe?"easeOutCirc":"easeInOutCirc");var O=h.data("offset"),B=O.object;A=O.diff,S=O.newDims.width,L=O.newDims.height,S=parseInt(S*i.styles["next"==e?"prevScale":"nextScale"]),L=parseInt(L*i.styles["next"==e?"prevScale":"nextScale"]),I="horizontal"==n?parseInt(k/2-B.offsetY-L/2-A.H-T.H/2):parseInt(k-B.offsetX-A.H-T.H/2),"prev"==e?C="horizontal"==n?parseInt(y-B.offsetX-A.W-T.W/2):parseInt(y/2-S/2-A.W-B.offsetY-T.W/2):(I="horizontal"==n?I:parseInt(B.offsetX-A.H-L-T.H/2),C="horizontal"==n?parseInt(B.offsetX-A.W-S-T.W/2):parseInt(y/2-B.offsetY-S/2-A.W-T.W/2)),$("div.ilightbox-container",h).animate({width:S,height:L},r,o.isSwipe?"easeOutCirc":"easeInOutCirc"),h.addClass(p).css(transform,gpuAcceleration).animate({top:I,left:C,opacity:i.styles.prevOpacity},r,o.isSwipe?"easeOutCirc":"easeInOutCirc",function(){h.css(transform,""),$(".ilightbox-thumbnail",o.thumbnails).removeClass("ilightbox-active").eq(c).addClass("ilightbox-active"),t.positionThumbnails(),t.items[c]&&(t.items[c].options.mousewheel?o.lockWheel=!1:o.lockWheel=!0,t.items[c].options.swipe?o.lockSwipe=!1:o.lockSwipe=!0),o.isSwipe=!1,"next"==e?(o.nextPhoto=d,o.prevPhoto=h,o.holder=u,o.nextPhoto.hide(),o.next=o.next+1,o.prev=o.current,o.current=o.current+1,i.infinite&&(o.current>o.total-1&&(o.current=0),o.current==o.total-1&&(o.next=0),0==o.current&&(o.prev=o.total-1)),t.createUI(),t.items[o.next]?t.loadContent(t.items[o.next],"next"):o.nextLock=!1):(o.prevPhoto=d,o.nextPhoto=h,o.holder=u,o.prevPhoto.hide(),o.next=o.current,o.current=o.prev,o.prev=o.current-1,i.infinite&&(o.current==o.total-1&&(o.next=0),0==o.current&&(o.prev=o.total-1)),t.createUI(),t.items[o.prev]?t.loadContent(t.items[o.prev],"prev"):o.prevLock=!1),i.linkId&&setTimeout(function(){o.hashLock=!1},55),i.infinite||(o.nextButton.add(o.prevButton).add(o.innerPrevButton).add(o.innerNextButton).removeClass("disabled"),0==o.current&&o.prevButton.add(o.innerPrevButton).addClass("disabled"),o.current>=o.total-1&&o.nextButton.add(o.innerNextButton).addClass("disabled")),t.repositionPhoto(),t.resetCycle(),"function"==typeof i.callback.onAfterChange&&i.callback.onAfterChange.call(t,t.ui)}),I="horizontal"==n?getPixel(d,"top"):"next"==e?parseInt(-k/2-d.outerHeight()):parseInt(2*I),C="horizontal"==n?"next"==e?parseInt(-y/2-d.outerWidth()):parseInt(2*C):getPixel(d,"left"),d.css(transform,gpuAcceleration).animate({top:I,left:C,opacity:i.styles.nextOpacity},r,o.isSwipe?"easeOutCirc":"easeInOutCirc",function(){d.css(transform,"")}).addClass(f)},setCaption:function(e,t){var o=$('<div class="ilightbox-caption"></div>');e.caption&&(o.html(e.caption),$("div.ilightbox-container",t).append(o))},normalizeSocial:function(e,t){this.vars;var o=this.options,i=window.location.href;return $.each(e,function(n,a){if(!a)return!0;var r,s;switch(n.toLowerCase()){case"facebook":r="http://www.facebook.com/share.php?v=4&src=bm&u={URL}",s="Share on Facebook";break;case"twitter":r="http://twitter.com/home?status={URL}",s="Share on Twitter";break;case"delicious":r="http://delicious.com/post?url={URL}",s="Share on Delicious";break;case"digg":r="http://digg.com/submit?phase=2&url={URL}",s="Share on Digg";break;case"reddit":r="http://reddit.com/submit?url={URL}",s="Share on reddit"}e[n]={URL:a.URL&&absolutizeURI(i,a.URL)||o.linkId&&window.location.href||"string"!=typeof t&&i||t&&absolutizeURI(i,t)||i,source:a.source||r||a.URL&&absolutizeURI(i,a.URL)||t&&absolutizeURI(i,t),text:a.text||s||"Share on "+n,width:void 0===a.width||isNaN(a.width)?640:parseInt(a.width),height:a.height||360}}),e},setSocial:function(e,t,o){var i=$('<div class="ilightbox-social"></div>'),n="<ul>";e=this.normalizeSocial(e,t),$.each(e,function(e,t){e.toLowerCase();var o=t.source.replace(/\{URL\}/g,encodeURIComponent(t.URL).replace(/!/g,"%21").replace(/'/g,"%27").replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/\*/g,"%2A").replace(/%20/g,"+")),i="mail"===e?"":'onclick="javascript:window.open(this.href'+(t.width<=0||t.height<=0?"":", '', 'menubar=no,toolbar=no,resizable=yes,scrollbars=yes,height="+t.height+",width="+t.width+",left=40,top=40'")+');return false;"';n+='<li class="'+e+'"><a class="awb-icon-'+e+'" href="'+o+'"'+i+' title="'+t.text+'" target="_blank" role="button"></a></li>'}),n+="</ul>",i.html(n),$("div.ilightbox-container",o).append(i)},fullScreenAction:function(){this.vars;fullScreenApi.supportsFullScreen?fullScreenApi.isFullScreen()?fullScreenApi.cancelFullScreen(document.documentElement):fullScreenApi.requestFullScreen(document.documentElement):this.doFullscreen()},doFullscreen:function(){var e=this,t=e.vars,o=getViewport(),i=e.options;if(i.fullAlone){var n=t.holder,a=e.items[t.current],r=o.width,s=o.height,l=[n,t.nextPhoto,t.prevPhoto,t.nextButton,t.prevButton,t.overlay,t.toolbar,t.thumbnails,t.loader],c=[t.loader,t.thumbnails];if(t.isInFullScreen)t.isInFullScreen=t.lockKey=t.lockWheel=t.lockSwipe=!1,t.overlay.css({opacity:e.options.overlay.opacity}),$.each(c,function(e,t){t.show()}),t.fullScreenButton.attr("title",i.text.enterFullscreen),n.data({naturalWidth:n.data("naturalWidthOld"),naturalHeight:n.data("naturalHeightOld"),naturalWidthOld:null,naturalHeightOld:null}),$.each(l,function(e,t){t.removeClass("ilightbox-fullscreen")}),"function"==typeof i.callback.onExitFullScreen&&i.callback.onExitFullScreen.call(e,e.ui);else{if(t.isInFullScreen=t.lockKey=t.lockWheel=t.lockSwipe=!0,t.overlay.css({opacity:1}),$.each(c,function(e,t){t.hide()}),t.fullScreenButton.attr("title",i.text.exitFullscreen),-1!=i.fullStretchTypes.indexOf(a.type))n.data({naturalWidthOld:n.data("naturalWidth"),naturalHeightOld:n.data("naturalHeight"),naturalWidth:r,naturalHeight:s});else{o=a.options.fullViewPort||i.fullViewPort||"";var u=r,h=s,d=n.data("naturalWidth"),p=n.data("naturalHeight");if("fill"==o.toLowerCase())(h=u/d*p)<s&&(u=s/p*d,h=s);else if("fit"==o.toLowerCase()){u=(f=e.getNewDimenstions(u,h,d,p,!0)).width,h=f.height}else if("stretch"==o.toLowerCase());else{var f,g=d>u||p>h;u=(f=e.getNewDimenstions(u,h,d,p,g)).width,h=f.height}n.data({naturalWidthOld:n.data("naturalWidth"),naturalHeightOld:n.data("naturalHeight"),naturalWidth:u,naturalHeight:h})}$.each(l,function(e,t){t.addClass("ilightbox-fullscreen")}),"function"==typeof i.callback.onEnterFullScreen&&i.callback.onEnterFullScreen.call(e,e.ui)}}else t.isInFullScreen?t.isInFullScreen=!1:t.isInFullScreen=!0;e.repositionPhoto(!0)},closeAction:function(){var e=this,t=e.vars,o=e.options;$win.off(".iLightBox"),$doc.off(".iLightBox"),$doc.off(clickEvent,".ilightbox-overlay"),$doc.off(clickEvent,".ilightbox-next, .ilightbox-next-button"),$doc.off(clickEvent,".ilightbox-prev, .ilightbox-prev-button"),$doc.off(clickEvent,".ilightbox-thumbnail"),$doc.off(clickEvent,".ilightbox-toolbar a.ilightbox-close, .ilightbox-toolbar a.ilightbox-fullscreen, .ilightbox-toolbar a.ilightbox-play, .ilightbox-toolbar a.ilightbox-pause"),t.isInFullScreen&&fullScreenApi.cancelFullScreen(document.documentElement),$(".ilightbox-overlay, .ilightbox-holder, .ilightbox-thumbnails").off(".iLightBox"),o.hide.effect?t.overlay.stop().fadeOut(o.hide.speed,function(){t.overlay.remove(),t.BODY.removeClass("ilightbox-noscroll").off(".iLightBox")}):(t.overlay.remove(),t.BODY.removeClass("ilightbox-noscroll").off(".iLightBox"));var i=[t.toolbar,t.holder,t.nextPhoto,t.prevPhoto,t.nextButton,t.prevButton,t.loader,t.thumbnails];$.each(i,function(e,t){t.removeAttr("style").remove()}),t.prevButton.removeClass("disabled"),t.nextButton.removeClass("disabled"),t.dontGenerateThumbs=t.isInFullScreen=!1,window.iLightBox=null,o.linkId&&(t.hashLock=!0,removeHash(),setTimeout(function(){t.hashLock=!1},55)),"function"==typeof o.callback.onHide&&o.callback.onHide.call(e,e.ui)},repositionPhoto:function(){var e=this,t=e.vars,o=e.options,i=o.path.toLowerCase(),n=getViewport(),a=n.width,r=n.height,s=t.isInFullScreen&&o.fullAlone||t.isMobile||"horizontal"==i?0:t.thumbnails.outerWidth(),l=t.isMobile?t.toolbar.outerHeight():t.isInFullScreen&&o.fullAlone?0:"horizontal"==i?t.thumbnails.outerHeight():0,c=t.isInFullScreen&&o.fullAlone?a:a-o.styles.pageOffsetX,u=t.isInFullScreen&&o.fullAlone?r:r-o.styles.pageOffsetY,h="horizontal"==i?parseInt(e.items[t.next]||e.items[t.prev]?2*(o.styles.nextOffsetX+o.styles.prevOffsetX):c/10<=30?30:c/10):parseInt(c/10<=30?30:c/10)+s,d="horizontal"==i?parseInt(u/10<=30?30:u/10)+l:parseInt(e.items[t.next]||e.items[t.prev]?2*(o.styles.nextOffsetX+o.styles.prevOffsetX):u/10<=30?30:u/10),p={type:"current",width:c,height:u,item:e.items[t.current],offsetW:h,offsetH:d,thumbsOffsetW:s,thumbsOffsetH:l,animate:arguments.length,holder:t.holder};e.repositionEl(p),e.items[t.next]&&(p=$.extend(p,{type:"next",item:e.items[t.next],offsetX:o.styles.nextOffsetX,offsetY:o.styles.nextOffsetY,holder:t.nextPhoto}),e.repositionEl(p)),e.items[t.prev]&&(p=$.extend(p,{type:"prev",item:e.items[t.prev],offsetX:o.styles.prevOffsetX,offsetY:o.styles.prevOffsetY,holder:t.prevPhoto}),e.repositionEl(p));var f="horizontal"==i?{left:parseInt(c/2-t.loader.outerWidth()/2)}:{top:parseInt(u/2-t.loader.outerHeight()/2)};t.loader.css(f)},repositionEl:function(e){var t=this,o=t.vars,i=t.options,n=i.path.toLowerCase(),a="current"==e.type&&o.isInFullScreen&&i.fullAlone?e.width:e.width-e.offsetW,r="current"==e.type&&o.isInFullScreen&&i.fullAlone?e.height:e.height-e.offsetH,s=e.item,l=e.item.options,c=e.holder,u=e.offsetX||0,h=e.offsetY||0,d=e.thumbsOffsetW,p=e.thumbsOffsetH;"current"==e.type?("number"==typeof l.width&&l.width&&(a=o.isInFullScreen&&i.fullAlone&&(-1!=i.fullStretchTypes.indexOf(s.type)||l.fullViewPort||i.fullViewPort)||l.width>a?a:l.width),"number"==typeof l.height&&l.height&&(r=o.isInFullScreen&&i.fullAlone&&(-1!=i.fullStretchTypes.indexOf(s.type)||l.fullViewPort||i.fullViewPort)||l.height>r?r:l.height)):("number"==typeof l.width&&l.width&&(a=l.width>a?a:l.width),"number"==typeof l.height&&l.height&&(r=l.height>r?r:l.height)),$(".ilightbox-inner-toolbar",c).length&&(r=parseInt(r-$(".ilightbox-inner-toolbar",c).outerHeight()));var f="string"==typeof l.width&&-1!=l.width.indexOf("%")?percentToValue(parseInt(l.width.replace("%","")),e.width):c.data("naturalWidth"),g="string"==typeof l.height&&-1!=l.height.indexOf("%")?percentToValue(parseInt(l.height.replace("%","")),e.height):c.data("naturalHeight"),m="string"==typeof l.width&&-1!=l.width.indexOf("%")||"string"==typeof l.height&&-1!=l.height.indexOf("%")?{width:f,height:g}:t.getNewDimenstions(a,r,f,g),v=$.extend({},m,{});"prev"==e.type||"next"==e.type?(f=parseInt(m.width*("next"==e.type?i.styles.nextScale:i.styles.prevScale)),g=parseInt(m.height*("next"==e.type?i.styles.nextScale:i.styles.prevScale))):(f=m.width,g=m.height);var b=parseInt((getPixel(c,"padding-left")+getPixel(c,"padding-right")+getPixel(c,"border-left-width")+getPixel(c,"border-right-width"))/2),x=parseInt((getPixel(c,"padding-top")+getPixel(c,"padding-bottom")+getPixel(c,"border-top-width")+getPixel(c,"border-bottom-width")+($(".ilightbox-inner-toolbar",c).outerHeight()||0))/2);switch(e.type){case"current":var w=parseInt(e.height/2-g/2-x-p/2),y=parseInt(e.width/2-f/2-b-d/2);break;case"next":w="horizontal"==n?parseInt(e.height/2-h-g/2-x-p/2):parseInt(e.height-u-x-p/2),y="horizontal"==n?parseInt(e.width-u-b-d/2):parseInt(e.width/2-f/2-b-h-d/2);break;case"prev":w="horizontal"==n?parseInt(e.height/2-h-g/2-x-p/2):parseInt(u-x-g-p/2),y="horizontal"==n?parseInt(u-b-f-d/2):parseInt(e.width/2-h-f/2-b-d/2)}c.data("offset",{top:w,left:y,newDims:v,diff:{W:b,H:x},thumbsOffset:{W:d,H:p},object:e}),e.animate>0&&i.effects.reposition?(c.css(transform,gpuAcceleration).stop().animate({top:w,left:y},i.effects.repositionSpeed,"easeOutCirc",function(){c.css(transform,"")}),$("div.ilightbox-container",c).stop().animate({width:f,height:g},i.effects.repositionSpeed,"easeOutCirc"),$("div.ilightbox-inner-toolbar",c).stop().animate({width:f},i.effects.repositionSpeed,"easeOutCirc",function(){$(this).css("overflow","visible")})):(c.css({top:w,left:y}),$("div.ilightbox-container",c).css({width:f,height:g}),$("div.ilightbox-inner-toolbar",c).css({width:f}))},resume:function(e){var t=this,o=t.vars,i=t.options;!i.slideshow.pauseTime||i.controls.slideshow&&o.total<=1||e<o.isPaused||(o.isPaused=0,o.cycleID&&(o.cycleID=clearTimeout(o.cycleID)),o.cycleID=setTimeout(function(){o.current==o.total-1?t.goTo(0):t.moveTo("next")},i.slideshow.pauseTime))},pause:function(e){var t=this.vars;this.options;e<t.isPaused||(t.isPaused=e||100,t.cycleID&&(t.cycleID=clearTimeout(t.cycleID)))},resetCycle:function(){var e=this,t=e.vars;e.options.controls.slideshow&&t.cycleID&&!t.isPaused&&e.resume()},getNewDimenstions:function(e,t,o,i,n){var a=this;return factor=e?t?min(e/o,t/i):e/o:t/i,n||(factor>a.options.maxScale?factor=a.options.maxScale:factor<a.options.minScale&&(factor=a.options.minScale)),{width:a.options.keepAspectRatio?round(o*factor):e,height:a.options.keepAspectRatio?round(i*factor):t,ratio:factor}},setOption:function(e){var t=this;t.options=$.extend(!0,t.options,e||{}),t.refresh()},availPlugins:function(){var e=document.createElement("video");this.plugins={flash:!isMobile,quicktime:parseInt(PluginDetect.getVersion("QuickTime"))>=0,html5H264:!(!e.canPlayType||!e.canPlayType("video/mp4").replace(/no/,"")),html5WebM:!(!e.canPlayType||!e.canPlayType("video/webm").replace(/no/,"")),html5Vorbis:!(!e.canPlayType||!e.canPlayType("video/ogg").replace(/no/,"")),html5QuickTime:!(!e.canPlayType||!e.canPlayType("video/quicktime").replace(/no/,""))}},addContent:function(e,t){var o=this;switch(t.type){case"video":var i=!1,n=t.videoType,a=t.options.html5video;("video/mp4"==(n=!n&&t.options.videoType?t.options.videoType:n)||"mp4"==t.ext||"m4v"==t.ext||a.h264)&&o.plugins.html5H264?(t.ext="mp4",t.URL=a.h264||t.URL):a.webm&&o.plugins.html5WebM?(t.ext="webm",t.URL=a.webm||t.URL):a.ogg&&o.plugins.html5Vorbis&&(t.ext="ogv",t.URL=a.ogg||t.URL),!o.plugins.html5H264||"video/mp4"!=n&&"mp4"!=t.ext&&"m4v"!=t.ext?!o.plugins.html5WebM||"video/webm"!=n&&"webm"!=t.ext?!o.plugins.html5Vorbis||"video/ogg"!=n&&"ogv"!=t.ext?!o.plugins.html5QuickTime||"video/quicktime"!=n&&"mov"!=t.ext&&"qt"!=t.ext||(i=!0,n="video/quicktime"):(i=!0,n="video/ogg"):(i=!0,n="video/webm"):(i=!0,n="video/mp4"),i?m=$("<video />",{width:"100%",height:"100%",preload:a.preload,autoplay:a.autoplay,poster:a.poster,controls:a.controls}).append($("<source />",{src:t.URL,type:n})):o.plugins.quicktime?(m=$("<object />",{type:"video/quicktime",pluginspage:pluginspages.quicktime}).attr({data:t.URL,width:"100%",height:"100%"}).append($("<param />",{name:"src",value:t.URL})).append($("<param />",{name:"autoplay",value:"false"})).append($("<param />",{name:"loop",value:"false"})).append($("<param />",{name:"scale",value:"tofit"})),browser.msie&&(m=QT_GenerateOBJECTText(t.URL,"100%","100%","","SCALE","tofit","AUTOPLAY","false","LOOP","false"))):m=$("<span />",{class:"ilightbox-alert",html:o.options.errors.missingPlugin.replace("{pluginspage}",pluginspages.quicktime).replace("{type}","QuickTime")});break;case"flash":if(o.plugins.flash){var r="",s=0;t.options.flashvars?$.each(t.options.flashvars,function(e,t){0!=s&&(r+="&"),r+=e+"="+encodeURIComponent(t),s++}):r=null,m=$("<embed />").attr({type:"application/x-shockwave-flash",src:t.URL,width:"number"==typeof t.options.width&&t.options.width&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.height:"100%",quality:"high",bgcolor:"#000000",play:"true",loop:"true",menu:"true",wmode:"transparent",scale:"showall",allowScriptAccess:"always",allowFullScreen:"true",flashvars:r,fullscreen:"yes"})}else m=$("<span />",{class:"ilightbox-alert",html:o.options.errors.missingPlugin.replace("{pluginspage}",pluginspages.flash).replace("{type}","Adobe Flash player")});break;case"iframe":var l=t.URL.substring(t.URL.indexOf("?")+1).split("&"),c="?";if(-1!=t.URL.indexOf("vimeo.com")){var u=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/;if(p=t.URL.match(u)){c="?title=0&amp;byline=0&amp;portrait=0";for(var h=0;h<l.length;++h){1<(f=l[h].split("="))[0].length&&2===f.length&&-1===c.indexOf(f[0])&&(c+="&"+f[0]+"="+decodeURIComponent(f[1].replace(/\+/g," ")))}var d="//player.vimeo.com/video/"+p[3]+c}else d=t.URL}else if(-1!==t.URL.indexOf("cdninstagram.com")||-1!==t.URL.indexOf("instagram.")&&-1!==t.URL.indexOf("fbcdn.net"))d=t.URL;else{var p;u=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/;if(p=t.URL.match(u)){c="?enablejsapi=1";for(h=0;h<l.length;++h){var f;1<(f=l[h].split("="))[0].length&&2===f.length&&-1===c.indexOf(f[0])&&(c+="&"+f[0]+"="+decodeURIComponent(f[1].replace(/\+/g," ")))}d="//www.youtube.com/embed/"+p[7]+c}else d=t.URL}var g="";-1!==c.indexOf("autoplay=1")&&(g+="autoplay"),m=$("<iframe />").attr({width:"number"==typeof t.options.width&&t.options.width&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.width:"100%",height:"number"==typeof t.options.height&&t.options.height&&"1"==o.options.minScale&&"1"==o.options.maxScale?t.options.height:"100%",src:d,frameborder:0,hspace:0,vspace:0,scrolling:supportTouch?"auto":"scroll",webkitAllowFullScreen:"",mozallowfullscreen:"",allowFullScreen:"",allow:g});break;case"inline":m=$('<div class="ilightbox-wrapper"></div>').html($(t.URL).clone(!0));break;case"html":var m,v=t.URL;if(v[0].nodeName)m=$('<div class="ilightbox-wrapper"></div>').html(v);else{var b=$(t.URL),x=b.selector?$("<div>"+b+"</div>"):b;m=$('<div class="ilightbox-wrapper"></div>').html(x)}}return $("div.ilightbox-container",e).empty().html(m),"video"===m[0].tagName.toLowerCase()&&browser.webkit&&setTimeout(function(){var e=m[0].currentSrc+"?"+floor(3e4*random());m[0].currentSrc=e,m[0].src=e}),m},ogpRecognition:function(e,t){var o=this,i=e.URL;o.showLoader(),doAjax(i,function(e){if(o.hideLoader(),e){var i=new Object;if(i.length=!1,i.url=e.url,200==e.status){for(var n=e.results,a=n.type,r=n.source,s=n.url.substring(n.url.indexOf("?")+1).split("&"),l=r.src,c=0;c<s.length;++c)-1===l.indexOf(s[c])&&(l+="&"+s[c]);i.source=l,i.width=r.width&&parseInt(r.width)||0,i.height=r.height&&parseInt(r.height)||0,i.type=a,i.thumbnail=r.thumbnail||n.images[0],i.html5video=n.html5video||{},i.length=!0,"application/x-shockwave-flash"==r.type?i.type="flash":-1!=r.type.indexOf("video/")?i.type="video":-1!=r.type.indexOf("/html")?i.type="iframe":-1!=r.type.indexOf("image/")&&(i.type="image")}else if(void 0!==e.response)throw e.response;t.call(this,!!i.length&&i)}})},hashChangeHandler:function(e){var t=this,o=t.vars,i=t.options,n=parseURI(e||window.location.href).hash,a=n.split("/"),r=a[1];if(!(o.hashLock||"#"+i.linkId!=a[0].replace("%5B","[").replace("%5D","]")&&n.length>1))if(r){var s=a[1]||0;if(t.items[s])(l=$(".ilightbox-overlay")).length&&l.attr("linkid")==i.linkId?t.goTo(s):t.itemsObject[s].trigger(supportTouch?"itap":"click");else(l=$(".ilightbox-overlay")).length&&t.closeAction()}else{var l;(l=$(".ilightbox-overlay")).length&&t.closeAction()}}},$.fn.iLightBox=function(){var e=arguments,t=$.isPlainObject(e[0])?e[0]:e[1],o=Array.isArray(e[0])||"string"==typeof e[0]?e[0]:e[1];t||(t={});var i=$.extend(!0,{attr:"href",path:"vertical",skin:"dark",linkId:!1,infinite:!1,startFrom:0,randomStart:!1,keepAspectRatio:!0,maxScale:1,minScale:.2,innerToolbar:!1,smartRecognition:!1,mobileOptimizer:!0,fullAlone:!0,fullViewPort:null,fullStretchTypes:"flash, video",overlay:{blur:!0,opacity:.85},controls:{arrows:!1,slideshow:!1,toolbar:!0,fullscreen:!0,thumbnail:!0,keyboard:!0,mousewheel:!0,swipe:!0},keyboard:{left:!0,right:!0,up:!0,down:!0,esc:!0,shift_enter:!0},show:{effect:!0,speed:300,title:!0},hide:{effect:!0,speed:300},caption:{start:!0,show:"mouseenter",hide:"mouseleave"},social:{start:!0,show:"mouseenter",hide:"mouseleave",buttons:!1},styles:{pageOffsetX:0,pageOffsetY:0,nextOffsetX:45,nextOffsetY:0,nextOpacity:1,nextScale:1,prevOffsetX:45,prevOffsetY:0,prevOpacity:1,prevScale:1},thumbnails:{maxWidth:120,maxHeight:80,normalOpacity:1,activeOpacity:.6},effects:{reposition:!0,repositionSpeed:200,switchSpeed:500,loadedFadeSpeed:180,fadeSpeed:200},slideshow:{pauseTime:5e3,pauseOnHover:!1,startPaused:!0},text:{close:"Press Esc to close",enterFullscreen:"Enter Fullscreen (Shift+Enter)",exitFullscreen:"Exit Fullscreen (Shift+Enter)",slideShow:"Slideshow",next:"Next",previous:"Previous"},errors:{loadImage:"An error occurred when trying to load photo.",loadContents:"An error occurred when trying to load contents.",missingPlugin:"The content your are attempting to view requires the <a href='{pluginspage}' role='button' target='_blank'>{type} plugin</a>."},ajaxSetup:{url:"",beforeSend:function(e,t){},cache:!1,complete:function(e,t){},crossDomain:!1,error:function(e,t,o){},success:function(e,t,o){},global:!0,ifModified:!1,username:null,password:null,type:"GET"},callback:{}},t),n=!(!Array.isArray(o)&&"string"!=typeof o);if(o=Array.isArray(o)?o:new Array,"string"==typeof e[0]&&(o[0]=e[0]),version_compare($.fn.jquery,"1.8",">=")){var a=new iLightBox($(this),i,o,n);return{close:function(){a.closeAction()},fullscreen:function(){a.fullScreenAction()},moveNext:function(){a.moveTo("next")},movePrev:function(){a.moveTo("prev")},goTo:function(e){a.goTo(e)},refresh:function(){a.refresh()},reposition:function(){arguments.length>0?a.repositionPhoto(!0):a.repositionPhoto()},setOption:function(e){a.setOption(e)},destroy:function(){a.closeAction(),$win.off("iLightBoxHashChange"),a.dispatchItemsEvents()}}}throw"The jQuery version that was loaded is too old. iLightBox requires jQuery 1.8+"},$.iLightBox=function(){return $.fn.iLightBox(arguments[0],arguments[1])},$.extend($.easing,{easeInCirc:function(e,t,o,i,n){return-i*(sqrt(1-(t/=n)*t)-1)+o},easeOutCirc:function(e,t,o,i,n){return i*sqrt(1-(t=t/n-1)*t)+o},easeInOutCirc:function(e,t,o,i,n){return(t/=n/2)<1?-i/2*(sqrt(1-t*t)-1)+o:i/2*(sqrt(1-(t-=2)*t)+1)+o}}),function(){$.each("touchstart touchmove touchend tap taphold swipeleft swiperight scrollstart scrollstop".split(" "),function(e,t){$.fn[t]=function(e){return e?this.on(t,e):this.trigger(t)}});var e="touchstart.iTap",t="touchend.iTap";$.event.special.itap={setup:function(){var o,i,n=this,a=$(this);a.on(e,function(e){o=getScrollXY(),a.one(t,function(e){i=getScrollXY();var t=e||window.event;(e=$.event.fix(t)).type="itap",o&&i&&o.x==i.x&&o.y==i.y&&($.event.dispatch||$.event.handle).call(n,e),o=i=undefined})})},teardown:function(){$(this).off(e)}}}(),function(){if(fullScreenApi={supportsFullScreen:!1,isFullScreen:function(){return!1},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},browserPrefixes="webkit moz o ms khtml".split(" "),void 0!==document.cancelFullScreen)fullScreenApi.supportsFullScreen=!0;else for(var e=0,t=browserPrefixes.length;e<t;e++)if(fullScreenApi.prefix=browserPrefixes[e],void 0!==document[fullScreenApi.prefix+"CancelFullScreen"]){fullScreenApi.supportsFullScreen=!0;break}fullScreenApi.supportsFullScreen&&(fullScreenApi.fullScreenEventName=fullScreenApi.prefix+"fullscreenchange",fullScreenApi.isFullScreen=function(){switch(this.prefix){case"":return document.fullScreen;case"webkit":return document.webkitIsFullScreen;default:return document[this.prefix+"FullScreen"]}},fullScreenApi.requestFullScreen=function(e){return""===this.prefix?e.requestFullScreen():e[this.prefix+"RequestFullScreen"]()},fullScreenApi.cancelFullScreen=function(e){return""===this.prefix?document.cancelFullScreen():document[this.prefix+"CancelFullScreen"]()})}(),matched=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}}(navigator.userAgent),browser={},matched.browser&&(browser[matched.browser]=!0,browser.version=matched.version),browser.chrome?browser.webkit=!0:browser.webkit&&(browser.safari=!0),function(){var e=["","webkit","moz","ms","o"],t=document.createElement("div");function o(o){for(var i=0,n=e.length;i<n;i++){var a=e[i]?e[i]+o.charAt(0).toUpperCase()+o.slice(1):o;if(t.style[a]!==undefined)return a}}transform=o("transform")||"",gpuAcceleration=o("perspective")?"translateZ(0) ":""}();var PluginDetect={version:"0.7.9",name:"PluginDetect",handler:function(e,t,o){return function(){e(t,o)}},openTag:"<",isDefined:function(e){return void 0!==e},isArray:function(e){return/array/i.test(Object.prototype.toString.call(e))},isFunc:function(e){return"function"==typeof e},isString:function(e){return"string"==typeof e},isNum:function(e){return"number"==typeof e},isStrNum:function(e){return"string"==typeof e&&/\d/.test(e)},getNumRegx:/[\d][\d\.\_,-]*/,splitNumRegx:/[\.\_,-]/g,getNum:function(e,t){var o=this,i=o.isStrNum(e)?(o.isDefined(t)?new RegExp(t):o.getNumRegx).exec(e):null;return i?i[0]:null},compareNums:function(e,t,o){var i,n,a,r=this,s=parseInt;if(r.isStrNum(e)&&r.isStrNum(t)){if(r.isDefined(o)&&o.compareNums)return o.compareNums(e,t);for(i=e.split(r.splitNumRegx),n=t.split(r.splitNumRegx),a=0;a<min(i.length,n.length);a++){if(s(i[a],10)>s(n[a],10))return 1;if(s(i[a],10)<s(n[a],10))return-1}}return 0},formatNum:function(e,t){var o,i,n=this;if(!n.isStrNum(e))return null;for(n.isNum(t)||(t=4),t--,i=e.replace(/\s/g,"").split(n.splitNumRegx).concat(["0","0","0","0"]),o=0;o<4;o++)/^(0+)(.+)$/.test(i[o])&&(i[o]=RegExp.$2),(o>t||!/\d/.test(i[o]))&&(i[o]="0");return i.slice(0,4).join(",")},$$hasMimeType:function(e){return function(t){if(!e.isIE&&t){var o,i,n,a=e.isArray(t)?t:e.isString(t)?[t]:[];for(n=0;n<a.length;n++)if(e.isString(a[n])&&/[^\s]/.test(a[n])&&(i=(o=navigator.mimeTypes[a[n]])?o.enabledPlugin:0)&&(i.name||i.description))return o}return null}},findNavPlugin:function(e,t,o){var i,n,a,r=new RegExp(e,"i"),s=!this.isDefined(t)||t?/\d/:0,l=o?new RegExp(o,"i"):0,c=navigator.plugins;for(i=0;i<c.length;i++)if(a=c[i].description||"",n=c[i].name||"",(r.test(a)&&(!s||s.test(RegExp.leftContext+RegExp.rightContext))||r.test(n)&&(!s||s.test(RegExp.leftContext+RegExp.rightContext)))&&(!l||!l.test(a)&&!l.test(n)))return c[i];return null},getMimeEnabledPlugin:function(e,t,o){var i,n,a,r,s=new RegExp(t,"i"),l=o?new RegExp(o,"i"):0,c=this.isString(e)?[e]:e;for(r=0;r<c.length;r++)if((i=this.hasMimeType(c[r]))&&(i=i.enabledPlugin)&&(a=i.description||"",n=i.name||"",(s.test(a)||s.test(n))&&(!l||!l.test(a)&&!l.test(n))))return i;return 0},getPluginFileVersion:function(e,t){var o,i,n,a,r=this,s=-1;if(r.OS>2||!e||!e.version||!(o=r.getNum(e.version)))return t;if(!t)return o;for(o=r.formatNum(o),i=(t=r.formatNum(t)).split(r.splitNumRegx),n=o.split(r.splitNumRegx),a=0;a<i.length;a++){if(s>-1&&a>s&&"0"!=i[a])return t;if(n[a]!=i[a]&&(-1==s&&(s=a),"0"!=i[a]))return t}return o},AXO:window.ActiveXObject,getAXO:function(e){var t=null;try{t=new this.AXO(e)}catch(e){}return t},convertFuncs:function(e){var t,o,i=/^[\$][\$]/;for(t in e)if(i.test(t))try{(o=t.slice(2)).length>0&&!e[o]&&(e[o]=e[t](e),delete e[t])}catch(e){}},initObj:function(e,t,o){var i,n;if(e){if(1==e[t[0]]||o)for(i=0;i<t.length;i+=2)e[t[i]]=t[i+1];for(i in e)(n=e[i])&&1==n[t[0]]&&this.initObj(n,t)}},initScript:function(){var e=this,t=navigator,o=document,i=t.userAgent||"",n=t.vendor||"",a=t.platform||"",r=t.product||"";for(u in e.initObj(e,["$",e]),e.Plugins)e.Plugins[u]&&e.initObj(e.Plugins[u],["$",e,"$$",e.Plugins[u]],1);if(e.convertFuncs(e),e.OS=100,a){var s=["Win",1,"Mac",2,"Linux",3,"FreeBSD",4,"iPhone",21.1,"iPod",21.2,"iPad",21.3,"Win.*CE",22.1,"Win.*Mobile",22.2,"Pocket\\s*PC",22.3,"",100];for(u=s.length-2;u>=0;u-=2)if(s[u]&&new RegExp(s[u],"i").test(a)){e.OS=s[u+1];break}}if(e.head=o.getElementsByTagName("head")[0]||o.getElementsByTagName("body")[0]||o.body||null,e.isIE=/*@cc_on!@*/!1,e.verIE=e.isIE&&/MSIE\s*(\d+\.?\d*)/i.test(i)?parseFloat(RegExp.$1,10):null,e.verIEfull=null,e.docModeIE=null,e.isIE){var l,c=document.createElement("div");try{c.style.behavior="url(#default#clientcaps)",e.verIEfull=c.getComponentVersion("{89820200-ECBD-11CF-8B85-00AA005B4383}","componentid").replace(/,/g,".")}catch(e){}l=parseFloat(e.verIEfull||"0",10),e.docModeIE=o.documentMode||(/back/i.test(o.compatMode||"")?5:l)||e.verIE,e.verIE=l||e.docModeIE}if(e.ActiveXEnabled=!1,e.isIE){var u,h=["Msxml2.XMLHTTP","Msxml2.DOMDocument","Microsoft.XMLDOM","ShockwaveFlash.ShockwaveFlash","TDCCtl.TDCCtl","Shell.UIHelper","Scripting.Dictionary","wmplayer.ocx"];for(u=0;u<h.length;u++)if(e.getAXO(h[u])){e.ActiveXEnabled=!0;break}}e.isGecko=/Gecko/i.test(r)&&/Gecko\s*\/\s*\d/i.test(i),e.verGecko=e.isGecko?e.formatNum(/rv\s*\:\s*([\.\,\d]+)/i.test(i)?RegExp.$1:"0.9"):null,e.isChrome=/Chrome\s*\/\s*(\d[\d\.]*)/i.test(i),e.verChrome=e.isChrome?e.formatNum(RegExp.$1):null,e.isSafari=(/Apple/i.test(n)||!n&&!e.isChrome)&&/Safari\s*\/\s*(\d[\d\.]*)/i.test(i),e.verSafari=e.isSafari&&/Version\s*\/\s*(\d[\d\.]*)/i.test(i)?e.formatNum(RegExp.$1):null,e.isOpera=/Opera\s*[\/]?\s*(\d+\.?\d*)/i.test(i),e.verOpera=e.isOpera&&(/Version\s*\/\s*(\d+\.?\d*)/i.test(i),1)?parseFloat(RegExp.$1,10):null,e.addWinEvent("load",e.handler(e.runWLfuncs,e))},init:function(e){var t,o=this,i={status:-3,plugin:0};return o.isString(e)?1==e.length?(o.getVersionDelimiter=e,i):(e=e.toLowerCase().replace(/\s/g,""),(t=o.Plugins[e])&&t.getVersion?(i.plugin=t,o.isDefined(t.installed)||(t.installed=null,t.version=null,t.version0=null,t.getVersionDone=null,t.pluginName=e),o.garbage=!1,o.isIE&&!o.ActiveXEnabled&&"java"!==e?(i.status=-2,i):(i.status=1,i)):i):i},fPush:function(e,t){var o=this;o.isArray(t)&&(o.isFunc(e)||o.isArray(e)&&e.length>0&&o.isFunc(e[0]))&&t.push(e)},callArray:function(e){var t;if(this.isArray(e))for(t=0;t<e.length;t++){if(null===e[t])return;this.call(e[t]),e[t]=null}},call:function(e){var t=this,o=t.isArray(e)?e.length:-1;o>0&&t.isFunc(e[0])?e[0](t,o>1?e[1]:0,o>2?e[2]:0,o>3?e[3]:0):t.isFunc(e)&&e(t)},getVersionDelimiter:",",$$getVersion:function(e){return function(t,o,i){var n,a,r=e.init(t);return r.status<0?null:(1!=(n=r.plugin).getVersionDone&&(n.getVersion(null,o,i),null===n.getVersionDone&&(n.getVersionDone=1)),e.cleanup(),a=(a=n.version||n.version0)?a.replace(e.splitNumRegx,e.getVersionDelimiter):a)}},cleanup:function(){this.garbage&&this.isDefined(window.CollectGarbage)&&window.CollectGarbage()},isActiveXObject:function(e,t){var o=this,i=!1,n='<object width="1" height="1" style="display:none" '+e.getCodeBaseVersion(t)+">"+e.HTML+o.openTag+"/object>";if(!o.head)return i;o.head.insertBefore(document.createElement("object"),o.head.firstChild),o.head.firstChild.outerHTML=n;try{o.head.firstChild.classid=e.classID}catch(e){}try{o.head.firstChild.object&&(i=!0)}catch(e){}try{i&&o.head.firstChild.readyState<4&&(o.garbage=!0)}catch(e){}return o.head.removeChild(o.head.firstChild),i},codebaseSearch:function(e,t){var o=this;if(!o.ActiveXEnabled||!e)return null;e.BIfuncs&&e.BIfuncs.length&&null!==e.BIfuncs[e.BIfuncs.length-1]&&o.callArray(e.BIfuncs);var i,n=e.SEARCH;if(o.isStrNum(t))return!!(n.match&&n.min&&o.compareNums(t,n.min)<=0)||!(n.match&&n.max&&o.compareNums(t,n.max)>=0)&&((i=o.isActiveXObject(e,t))&&(!n.min||o.compareNums(t,n.min)>0)&&(n.min=t),i||n.max&&!(o.compareNums(t,n.max)<0)||(n.max=t),i);var a,r,s,l,c,u=[0,0,0,0],h=[].concat(n.digits),d=n.min?1:0,p=function(t,i){var n=[].concat(u);return n[t]=i,o.isActiveXObject(e,n.join(","))};if(n.max){for(l=n.max.split(o.splitNumRegx),a=0;a<l.length;a++)l[a]=parseInt(l[a],10);l[0]<h[0]&&(h[0]=l[0])}if(n.min){for(c=n.min.split(o.splitNumRegx),a=0;a<c.length;a++)c[a]=parseInt(c[a],10);c[0]>u[0]&&(u[0]=c[0])}if(c&&l)for(a=1;a<c.length&&c[a-1]==l[a-1];a++)l[a]<h[a]&&(h[a]=l[a]),c[a]>u[a]&&(u[a]=c[a]);if(n.max)for(a=1;a<h.length;a++)if(l[a]>0&&0==h[a]&&h[a-1]<n.digits[a-1]){h[a-1]+=1;break}for(a=0;a<h.length;a++){for(s={},r=0;r<20&&!(h[a]-u[a]<1)&&!s["a"+(i=round((h[a]+u[a])/2))];r++)s["a"+i]=1,p(a,i)?(u[a]=i,d=1):h[a]=i;if(h[a]=u[a],!d&&p(a,u[a])&&(d=1),!d)break}return d?u.join(","):null},addWinEvent:function(e,t){var o,i=window;this.isFunc(t)&&(i.addEventListener?i.addEventListener(e,t,!1):i.attachEvent?i.attachEvent("on"+e,t):(o=i["on"+e],i["on"+e]=this.winHandler(t,o)))},winHandler:function(e,t){return function(){e(),"function"==typeof t&&t()}},WLfuncs0:[],WLfuncs:[],runWLfuncs:function(e){e.winLoaded=!0,e.callArray(e.WLfuncs0),e.callArray(e.WLfuncs),e.onDoneEmptyDiv&&e.onDoneEmptyDiv()},winLoaded:!1,$$onWindowLoaded:function(e){return function(t){e.winLoaded?e.call(t):e.fPush(t,e.WLfuncs)}},div:null,divID:"plugindetect",divWidth:50,pluginSize:1,emptyDiv:function(){var e,t,o,i,n,a=this;if(a.div&&a.div.childNodes)for(e=a.div.childNodes.length-1;e>=0;e--){if((o=a.div.childNodes[e])&&o.childNodes)for(t=o.childNodes.length-1;t>=0;t--){n=o.childNodes[t];try{o.removeChild(n)}catch(e){}}if(o)try{a.div.removeChild(o)}catch(e){}}if(a.div||(i=document.getElementById(a.divID))&&(a.div=i),a.div&&a.div.parentNode){try{a.div.parentNode.removeChild(a.div)}catch(e){}a.div=null}},DONEfuncs:[],onDoneEmptyDiv:function(){var e,t,o=this;if(o.winLoaded&&(!o.WLfuncs||!o.WLfuncs.length||null===o.WLfuncs[o.WLfuncs.length-1])){for(e in o)if((t=o[e])&&t.funcs){if(3==t.OTF)return;if(t.funcs.length&&null!==t.funcs[t.funcs.length-1])return}for(e=0;e<o.DONEfuncs.length;e++)o.callArray(o.DONEfuncs);o.emptyDiv()}},getWidth:function(e){if(e){var t=e.scrollWidth||e.offsetWidth;if(this.isNum(t))return t}return-1},getTagStatus:function(e,t,o,i){var n=this,a=e.span,r=n.getWidth(a),s=o.span,l=n.getWidth(s),c=t.span,u=n.getWidth(c);if(!(a&&s&&c&&n.getDOMobj(e)))return-2;if(l<u||r<0||l<0||u<0||u<=n.pluginSize||n.pluginSize<1)return 0;if(r>=u)return-1;try{if(r==n.pluginSize&&(!n.isIE||4==n.getDOMobj(e).readyState)){if(!e.winLoaded&&n.winLoaded)return 1;if(e.winLoaded&&n.isNum(i)&&(n.isNum(e.count)||(e.count=i),i-e.count>=10))return 1}}catch(e){}return 0},getDOMobj:function(e,t){var o=e?e.span:0,i=o&&o.firstChild?1:0;try{i&&t&&this.div.focus()}catch(e){}return i?o.firstChild:null},setStyle:function(e,t){var o,i=e.style;if(i&&t)for(o=0;o<t.length;o+=2)try{i[t[o]]=t[o+1]}catch(e){}},insertDivInBody:function(e,t){var o="pd33993399",i=null,n=t?window.top.document:window.document,a=n.getElementsByTagName("body")[0]||n.body;if(!a)try{n.write('<div id="'+o+'">.'+this.openTag+"/div>"),i=n.getElementById(o)}catch(e){}(a=n.getElementsByTagName("body")[0]||n.body)&&(a.insertBefore(e,a.firstChild),i&&a.removeChild(i))},insertHTML:function(e,t,o,i,n){var a,r,s,l=document,c=this,u=l.createElement("span"),h=["outlineStyle","none","borderStyle","none","padding","0px","margin","0px","visibility","visible"];if(c.isDefined(i)||(i=""),c.isString(e)&&/[^\s]/.test(e)){for(e=e.toLowerCase().replace(/\s/g,""),a=c.openTag+e+' width="'+c.pluginSize+'" height="'+c.pluginSize+'" ',a+='style="outline-style:none;border-style:none;padding:0px;margin:0px;visibility:visible;display:inline;" ',r=0;r<t.length;r+=2)/[^\s]/.test(t[r+1])&&(a+=t[r]+'="'+t[r+1]+'" ');for(a+=">",r=0;r<o.length;r+=2)/[^\s]/.test(o[r+1])&&(a+=c.openTag+'param name="'+o[r]+'" value="'+o[r+1]+'" />');a+=i+c.openTag+"/"+e+">"}else a=i;if(c.div||((s=l.getElementById(c.divID))?c.div=s:(c.div=l.createElement("div"),c.div.id=c.divID),c.setStyle(c.div,h.concat(["width",c.divWidth+"px","height",c.pluginSize+3+"px","fontSize",c.pluginSize+3+"px","lineHeight",c.pluginSize+3+"px","verticalAlign","baseline","display","block"])),s||(c.setStyle(c.div,["position","absolute","right","0px","top","0px"]),c.insertDivInBody(c.div))),c.div&&c.div.parentNode){c.setStyle(u,h.concat(["fontSize",c.pluginSize+3+"px","lineHeight",c.pluginSize+3+"px","verticalAlign","baseline","display","inline"]));try{u.innerHTML=a}catch(e){}try{c.div.appendChild(u)}catch(e){}return{span:u,winLoaded:c.winLoaded,tagName:e,outerHTML:a}}return{span:null,winLoaded:c.winLoaded,tagName:"",outerHTML:a}},Plugins:{quicktime:{mimeType:["video/quicktime","application/x-quicktimeplayer","image/x-macpaint","image/x-quicktime"],progID:"QuickTimeCheckObject.QuickTimeCheck.1",progID0:"QuickTime.QuickTime",classID:"clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",minIEver:7,HTML:'<param name="src" value="" /><param name="controller" value="false" />',getCodeBaseVersion:function(e){return'codebase="#version='+e+'"'},SEARCH:{min:0,max:0,match:0,digits:[16,128,128,0]},getVersion:function(e){var t,o=this,i=o.$,n=null,a=null;if(i.isIE){if(i.isStrNum(e)&&((t=e.split(i.splitNumRegx)).length>3&&parseInt(t[3],10)>0&&(t[3]="9999"),e=t.join(",")),i.isStrNum(e)&&i.verIE>=o.minIEver&&o.canUseIsMin()>0)return o.installed=o.isMin(e),void(o.getVersionDone=0);o.getVersionDone=1,!n&&i.verIE>=o.minIEver&&(n=o.CDBASE2VER(i.codebaseSearch(o))),n||(a=i.getAXO(o.progID))&&a.QuickTimeVersion&&(n=a.QuickTimeVersion.toString(16),n=parseInt(n.charAt(0),16)+"."+parseInt(n.charAt(1),16)+"."+parseInt(n.charAt(2),16))}else i.hasMimeType(o.mimeType)&&(a=3!=i.OS?i.findNavPlugin("QuickTime.*Plug-?in",0):null)&&a.name&&(n=i.getNum(a.name));o.installed=n?1:a?0:-1,o.version=i.formatNum(n,3)},cdbaseUpper:["7,60,0,0","0,0,0,0"],cdbaseLower:["7,50,0,0",null],cdbase2ver:[function(e,t){var o=t.split(e.$.splitNumRegx);return[o[0],o[1].charAt(0),o[1].charAt(1),o[2]].join(",")},null],CDBASE2VER:function(e){var t,o=this,i=o.$,n=o.cdbaseUpper,a=o.cdbaseLower;if(e)for(e=i.formatNum(e),t=0;t<n.length;t++)if(n[t]&&i.compareNums(e,n[t])<0&&a[t]&&i.compareNums(e,a[t])>=0&&o.cdbase2ver[t])return o.cdbase2ver[t](o,e);return e},canUseIsMin:function(){var e,t=this,o=t.$,i=t.canUseIsMin,n=t.cdbaseUpper,a=t.cdbaseLower;if(!i.value)for(i.value=-1,e=0;e<n.length;e++){if(n[e]&&o.codebaseSearch(t,n[e])){i.value=1;break}if(a[e]&&o.codebaseSearch(t,a[e])){i.value=-1;break}}return t.SEARCH.match=1==i.value?1:0,i.value},isMin:function(e){return this.$.codebaseSearch(this,e)?.7:-1}},flash:{mimeType:"application/x-shockwave-flash",progID:"ShockwaveFlash.ShockwaveFlash",classID:"clsid:D27CDB6E-AE6D-11CF-96B8-444553540000",getVersion:function(){var e,t,o,i,n=function(e){if(!e)return null;var t=/[\d][\d\,\.\s]*[rRdD]{0,1}[\d\,]*/.exec(e);return t?t[0].replace(/[rRdD\.]/g,",").replace(/\s/g,""):null},a=this,r=a.$,s=null,l=null,c=null;if(r.isIE){for(e=15;e>2;e--)if(l=r.getAXO(a.progID+"."+e)){c=e.toString();break}if(l||(l=r.getAXO(a.progID)),"6"==c)try{l.AllowScriptAccess="always"}catch(e){return"6,0,21,0"}try{s=n(l.GetVariable("$version"))}catch(e){}!s&&c&&(s=c)}else{if(o=r.hasMimeType(a.mimeType)){t=r.getDOMobj(r.insertHTML("object",["type",a.mimeType],[],"",a));try{s=r.getNum(t.GetVariable("$version"))}catch(e){}}s||((i=o?o.enabledPlugin:null)&&i.description&&(s=n(i.description)),s&&(s=r.getPluginFileVersion(i,s)))}return a.installed=s?1:-1,a.version=r.formatNum(s),!0}},shockwave:{mimeType:"application/x-director",progID:"SWCtl.SWCtl",classID:"clsid:166B1BCA-3F9C-11CF-8075-444553540000",getVersion:function(){var e,t=null,o=null,i=this,n=i.$;if(n.isIE){try{o=n.getAXO(i.progID).ShockwaveVersion("")}catch(e){}n.isString(o)&&o.length>0?t=n.getNum(o):n.getAXO(i.progID+".8")?t="8":n.getAXO(i.progID+".7")?t="7":n.getAXO(i.progID+".1")&&(t="6")}else(e=n.findNavPlugin("Shockwave\\s*for\\s*Director"))&&e.description&&n.hasMimeType(i.mimeType)&&(t=n.getNum(e.description)),t&&(t=n.getPluginFileVersion(e,t));i.installed=t?1:-1,i.version=n.formatNum(t)}},zz:0}};PluginDetect.initScript();var gArgCountErr='The "%%" function requires an even number of arguments.\nArguments should be in the form "atttributeName", "attributeValue", ...',gTagAttrs=null,gQTGeneratorVersion=1;function AC_QuickTimeVersion(){return gQTGeneratorVersion}function _QTComplain(e,t){t=t.replace("%%",e),alert(t)}function _QTAddAttribute(e,t,o){var i;return null==(i=gTagAttrs[e+t])&&(i=gTagAttrs[t]),null!=i?(0==t.indexOf(e)&&null==o&&(o=t.substring(e.length)),null==o&&(o=t),o+'="'+i+'" '):""}function _QTAddObjectAttr(e,t){return 0==e.indexOf("emb#")?"":(0==e.indexOf("obj#")&&null==t&&(t=e.substring(4)),_QTAddAttribute("obj#",e,t))}function _QTAddEmbedAttr(e,t){return 0==e.indexOf("obj#")?"":(0==e.indexOf("emb#")&&null==t&&(t=e.substring(4)),_QTAddAttribute("emb#",e,t))}function _QTAddObjectParam(e,t){var o,i="",n=t?" />":">";return-1==e.indexOf("emb#")&&(null==(o=gTagAttrs["obj#"+e])&&(o=gTagAttrs[e]),0==e.indexOf("obj#")&&(e=e.substring(4)),null!=o&&(i='  <param name="'+e+'" value="'+o+'"'+n+"\n")),i}function _QTDeleteTagAttrs(){for(var e=0;e<arguments.length;e++){var t=arguments[e];delete gTagAttrs[t],delete gTagAttrs["emb#"+t],delete gTagAttrs["obj#"+t]}}function _QTGenerate(e,t,o){if(4>o.length||0!=o.length%2)return _QTComplain(e,gArgCountErr),"";(gTagAttrs=[]).src=o[0],gTagAttrs.width=o[1],gTagAttrs.height=o[2],gTagAttrs.classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B",gTagAttrs.pluginspage="http://www.apple.com/quicktime/download/",null!=(e=o[3])&&""!=e||(e="6,0,2,0"),gTagAttrs.codebase="http://www.apple.com/qtactivex/qtplugin.cab#version="+e;for(var i,n=4;n<o.length;n+=2)i=o[n].toLowerCase(),e=o[n+1],"name"==i||"id"==i?gTagAttrs.name=e:gTagAttrs[i]=e;for(i in o="<object "+_QTAddObjectAttr("classid")+_QTAddObjectAttr("width")+_QTAddObjectAttr("height")+_QTAddObjectAttr("codebase")+_QTAddObjectAttr("name","id")+_QTAddObjectAttr("tabindex")+_QTAddObjectAttr("hspace")+_QTAddObjectAttr("vspace")+_QTAddObjectAttr("border")+_QTAddObjectAttr("align")+_QTAddObjectAttr("class")+_QTAddObjectAttr("title")+_QTAddObjectAttr("accesskey")+_QTAddObjectAttr("noexternaldata")+">\n"+_QTAddObjectParam("src",t),n="  <embed "+_QTAddEmbedAttr("src")+_QTAddEmbedAttr("width")+_QTAddEmbedAttr("height")+_QTAddEmbedAttr("pluginspage")+_QTAddEmbedAttr("name")+_QTAddEmbedAttr("align")+_QTAddEmbedAttr("tabindex"),_QTDeleteTagAttrs("src","width","height","pluginspage","classid","codebase","name","tabindex","hspace","vspace","border","align","noexternaldata","class","title","accesskey"),gTagAttrs)null!=(e=gTagAttrs[i])&&(n+=_QTAddEmbedAttr(i),o+=_QTAddObjectParam(i,t));return o+n+"> </embed>\n</object>"}function QT_GenerateOBJECTText(){return _QTGenerate("QT_GenerateOBJECTText",!1,arguments)}!function(){function e(e){return"#"+(e=e||location.href).replace(/^[^#]*#?(.*)$/,"$1")}var t,o=document,i=$.event.special,n=o.documentMode,a="oniLightBoxHashChange"in window&&(void 0===n||7<n);$.fn.iLightBoxHashChange=function(e){return e?this.on("iLightBoxHashChange",e):this.trigger("iLightBoxHashChange")},$.fn.iLightBoxHashChange.delay=50,i.iLightBoxHashChange=$.extend(i.iLightBoxHashChange,{setup:function(){if(a)return!1;$(t.start)},teardown:function(){if(a)return!1;$(t.stop)}}),t=function(){function t(){var o=e(),n=h(l);o!==l?(u(l=o,n),$(window).trigger("iLightBoxHashChange")):n!==l&&(location.href=location.href.replace(/#.*/,"")+n),i=setTimeout(t,$.fn.iLightBoxHashChange.delay)}var i,n,r,s={},l=e(),c=function(e){return e},u=c,h=c;return s.start=function(){i||t()},s.stop=function(){i&&clearTimeout(i),i=void 0},browser.msie&&!a&&(s.start=function(){n||(r=(r=$.fn.iLightBoxHashChange.src)&&r+e(),n=$('<iframe tabindex="-1" title="empty"/>').hide().one("load",function(){r||u(e()),t()}).attr("src",r||"javascript:0").insertAfter("body")[0].contentWindow,o.onpropertychange=function(){try{"title"===event.propertyName&&(n.document.title=o.title)}catch(e){}})},s.stop=c,h=function(){return e(n.location.href)},u=function(e,t){var i=n.document,a=$.fn.iLightBoxHashChange.domain;e!==t&&(i.title=o.title,i.open(),a&&i.write('<script>document.domain="'+a+'"<\/script>'),i.close(),n.location.hash=e)}),s}()}(),Array.prototype.filter||(Array.prototype.filter=function(e){"use strict";if(null==this)throw new TypeError;var t=Object(this),o=t.length>>>0;if("function"!=typeof e)throw new TypeError;for(var i=[],n=arguments[1],a=0;a<o;a++)if(a in t){var r=t[a];e.call(n,r,a,t)&&i.push(r)}return i}),Array.prototype.indexOf||(Array.prototype.indexOf=function(e,t){var o;if(null==this)throw new TypeError('"this" is null or not defined');var i=Object(this),n=i.length>>>0;if(0===n)return-1;var a=+t||0;if(abs(a)===1/0&&(a=0),a>=n)return-1;for(o=max(a>=0?a:n-abs(a),0);o<n;){if(o in i&&i[o]===e)return o;o++}return-1}),Array.prototype.lastIndexOf||(Array.prototype.lastIndexOf=function(e){"use strict";if(null==this)throw new TypeError;var t=Object(this),o=t.length>>>0;if(0===o)return-1;var i=o;arguments.length>1&&((i=Number(arguments[1]))!=i?i=0:0!=i&&i!=1/0&&i!=-1/0&&(i=(i>0||-1)*floor(abs(i))));for(var n=i>=0?min(i,o-1):o-abs(i);n>=0;n--)if(n in t&&t[n]===e)return n;return-1})})(jQuery,this);
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):e(jQuery)}(function(e,i){"use strict";e.infinitescroll=function(i,t,o){this.element=e(o),this._create(i,t)||(this.failed=!0)},e.infinitescroll.defaults={loading:{finished:i,finishedMsg:"<em>Congratulations, you've reached the end of the internet.</em>",img:"data:image/gif;base64,R0lGODlh3AATAPQeAPDy+MnQ6LW/4N3h8MzT6rjC4sTM5r/I5NHX7N7j8c7U6tvg8OLl8uXo9Ojr9b3G5MfP6Ovu9tPZ7PT1+vX2+tbb7vf4+8/W69jd7rC73vn5/O/x+K243ai02////wAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQECgD/ACwAAAAA3AATAAAF/6AnjmRpnmiqrmzrvnAsz3Rt33iu73zv/8CgcEj0BAScpHLJbDqf0Kh0Sq1ar9isdioItAKGw+MAKYMFhbF63CW438f0mg1R2O8EuXj/aOPtaHx7fn96goR4hmuId4qDdX95c4+RBIGCB4yAjpmQhZN0YGYGXitdZBIVGAsLoq4BBKQDswm1CQRkcG6ytrYKubq8vbfAcMK9v7q7EMO1ycrHvsW6zcTKsczNz8HZw9vG3cjTsMIYqQkCLBwHCgsMDQ4RDAYIqfYSFxDxEfz88/X38Onr16+Bp4ADCco7eC8hQYMAEe57yNCew4IVBU7EGNDiRn8Z831cGLHhSIgdFf9chIeBg7oA7gjaWUWTVQAGE3LqBDCTlc9WOHfm7PkTqNCh54rePDqB6M+lR536hCpUqs2gVZM+xbrTqtGoWqdy1emValeXKzggYBBB5y1acFNZmEvXAoN2cGfJrTv3bl69Ffj2xZt3L1+/fw3XRVw4sGDGcR0fJhxZsF3KtBTThZxZ8mLMgC3fRatCbYMNFCzwLEqLgE4NsDWs/tvqdezZf13Hvk2A9Szdu2X3pg18N+68xXn7rh1c+PLksI/Dhe6cuO3ow3NfV92bdArTqC2Ebd3A8vjf5QWfH6Bg7Nz17c2fj69+fnq+8N2Lty+fuP78/eV2X13neIcCeBRwxorbZrA1ANoCDGrgoG8RTshahQ9iSKEEzUmYIYfNWViUhheCGJyIP5E4oom7WWjgCeBFAJNv1DVV01MAdJhhjdkplWNzO/5oXI846njjVEIqR2OS2B1pE5PVscajkxhMycqLJghQSwT40PgfAl4GqNSXYdZXJn5gSkmmmmJu1aZYb14V51do+pTOCmA40AqVCIhG5IJ9PvYnhIFOxmdqhpaI6GeHCtpooisuutmg+Eg62KOMKuqoTaXgicQWoIYq6qiklmoqFV0UoeqqrLbq6quwxirrrLTWauutJ4QAACH5BAUKABwALAcABADOAAsAAAX/IPd0D2dyRCoUp/k8gpHOKtseR9yiSmGbuBykler9XLAhkbDavXTL5k2oqFqNOxzUZPU5YYZd1XsD72rZpBjbeh52mSNnMSC8lwblKZGwi+0QfIJ8CncnCoCDgoVnBHmKfByGJimPkIwtiAeBkH6ZHJaKmCeVnKKTHIihg5KNq4uoqmEtcRUtEREMBggtEr4QDrjCuRC8h7/BwxENeicSF8DKy82pyNLMOxzWygzFmdvD2L3P0dze4+Xh1Arkyepi7dfFvvTtLQkZBC0T/FX3CRgCMOBHsJ+EHYQY7OinAGECgQsB+Lu3AOK+CewcWjwxQeJBihtNGHSoQOE+iQ3//4XkwBBhRZMcUS6YSXOAwIL8PGqEaSJCiYt9SNoCmnJPAgUVLChdaoFBURN8MAzl2PQphwQLfDFd6lTowglHve6rKpbjhK7/pG5VinZP1qkiz1rl4+tr2LRwWU64cFEihwEtZgbgR1UiHaMVvxpOSwBA37kzGz9e8G+B5MIEKLutOGEsAH2ATQwYfTmuX8aETWdGPZmiZcccNSzeTCA1Sw0bdiitC7LBWgu8jQr8HRzqgpK6gX88QbrB14z/kF+ELpwB8eVQj/JkqdylAudji/+ts3039vEEfK8Vz2dlvxZKG0CmbkKDBvllRd6fCzDvBLKBDSCeffhRJEFebFk1k/Mv9jVIoIJZSeBggwUaNeB+Qk34IE0cXlihcfRxkOAJFFhwGmKlmWDiakZhUJtnLBpnWWcnKaAZcxI0piFGGLBm1mc90kajSCveeBVWKeYEoU2wqeaQi0PetoE+rr14EpVC7oAbAUHqhYExbn2XHHsVqbcVew9tx8+XJKk5AZsqqdlddGpqAKdbAYBn1pcczmSTdWvdmZ17c1b3FZ99vnTdCRFM8OEcAhLwm1NdXnWcBBSMRWmfkWZqVlsmLIiAp/o1gGV2vpS4lalGYsUOqXrddcKCmK61aZ8SjEpUpVFVoCpTj4r661Km7kBHjrDyc1RAIQAAIfkEBQoAGwAsBwAEAM4ACwAABf/gtmUCd4goQQgFKj6PYKi0yrrbc8i4ohQt12EHcal+MNSQiCP8gigdz7iCioaCIvUmZLp8QBzW0EN2vSlCuDtFKaq4RyHzQLEKZNdiQDhRDVooCwkbfm59EAmKi4SGIm+AjIsKjhsqB4mSjT2IOIOUnICeCaB/mZKFNTSRmqVpmJqklSqskq6PfYYCDwYHDC4REQwGCBLGxxIQDsHMwhAIX8bKzcENgSLGF9PU1j3Sy9zX2NrgzQziChLk1BHWxcjf7N046tvN82715czn9Pryz6Ilc4ACj4EBOCZM8KEnAYYADBRKnACAYUMFv1wotIhCEcaJCisqwJFgAUSQGyX/kCSVUUTIdKMwJlyo0oXHlhskwrTJciZHEXsgaqS4s6PJiCAr1uzYU8kBBSgnWFqpoMJMUjGtDmUwkmfVmVypakWhEKvXsS4nhLW5wNjVroJIoc05wSzTr0PtiigpYe4EC2vj4iWrFu5euWIMRBhacaVJhYQBEFjA9jHjyQ0xEABwGceGAZYjY0YBOrRLCxUp29QM+bRkx5s7ZyYgVbTqwwti2ybJ+vLtDYpycyZbYOlptxdx0kV+V7lC5iJAyyRrwYKxAdiz82ng0/jnAdMJFz0cPi104Ec1Vj9/M6F173vKL/feXv156dw11tlqeMMnv4V5Ap53GmjQQH97nFfg+IFiucfgRX5Z8KAgbUlQ4IULIlghhhdOSB6AgX0IVn8eReghen3NRIBsRgnH4l4LuEidZBjwRpt6NM5WGwoW0KSjCwX6yJSMab2GwwAPDXfaBCtWpluRTQqC5JM5oUZAjUNS+VeOLWpJEQ7VYQANW0INJSZVDFSnZphjSikfmzE5N4EEbQI1QJmnWXCmHulRp2edwDXF43txukenJwvI9xyg9Q26Z3MzGUcBYFEChZh6DVTq34AU8Iflh51Sd+CnKFYQ6mmZkhqfBKfSxZWqA9DZanWjxmhrWwi0qtCrt/43K6WqVjjpmhIqgEGvculaGKklKstAACEAACH5BAUKABwALAcABADOAAsAAAX/ICdyQmaMYyAUqPgIBiHPxNpy79kqRXH8wAPsRmDdXpAWgWdEIYm2llCHqjVHU+jjJkwqBTecwItShMXkEfNWSh8e1NGAcLgpDGlRgk7EJ/6Ae3VKfoF/fDuFhohVeDeCfXkcCQqDVQcQhn+VNDOYmpSWaoqBlUSfmowjEA+iEAEGDRGztAwGCDcXEA60tXEiCrq8vREMEBLIyRLCxMWSHMzExnbRvQ2Sy7vN0zvVtNfU2tLY3rPgLdnDvca4VQS/Cpk3ABwSLQkYAQwT/P309vcI7OvXr94jBQMJ/nskkGA/BQBRLNDncAIAiDcG6LsxAWOLiQzmeURBKWSLCQbv/1F0eDGinJUKR47YY1IEgQASKk7Yc7ACRwZm7mHweRJoz59BJUogisKCUaFMR0x4SlJBVBFTk8pZivTR0K73rN5wqlXEAq5Fy3IYgHbEzQ0nLy4QSoCjXLoom96VOJEeCosK5n4kkFfqXjl94wa+l1gvAcGICbewAOAxY8l/Ky/QhAGz4cUkGxu2HNozhwMGBnCUqUdBg9UuW9eUynqSwLHIBujePef1ZGQZXcM+OFuEBeBhi3OYgLyqcuaxbT9vLkf4SeqyWxSQpKGB2gQpm1KdWbu72rPRzR9Ne2Nu9Kzr/1Jqj0yD/fvqP4aXOt5sW/5qsXXVcv1Nsp8IBUAmgswGF3llGgeU1YVXXKTN1FlhWFXW3gIE+DVChApysACHHo7Q4A35lLichh+ROBmLKAzgYmYEYDAhCgxKGOOMn4WR4kkDaoBBOxJtdNKQxFmg5JIWIBnQc07GaORfUY4AEkdV6jHlCEISSZ5yTXpp1pbGZbkWmcuZmQCaE6iJ0FhjMaDjTMsgZaNEHFRAQVp3bqXnZED1qYcECOz5V6BhSWCoVJQIKuKQi2KFKEkEFAqoAo7uYSmO3jk61wUUMKmknJ4SGimBmAa0qVQBhAAAIfkEBQoAGwAsBwAEAM4ACwAABf/gJm5FmRlEqhJC+bywgK5pO4rHI0D3pii22+Mg6/0Ej96weCMAk7cDkXf7lZTTnrMl7eaYoy10JN0ZFdco0XAuvKI6qkgVFJXYNwjkIBcNBgR8TQoGfRsJCRuCYYQQiI+ICosiCoGOkIiKfSl8mJkHZ4U9kZMbKaI3pKGXmJKrngmug4WwkhA0lrCBWgYFCCMQFwoQDRHGxwwGCBLMzRLEx8iGzMMO0cYNeCMKzBDW19lnF9DXDIY/48Xg093f0Q3s1dcR8OLe8+Y91OTv5wrj7o7B+7VNQqABIoRVCMBggsOHE36kSoCBIcSH3EbFangxogJYFi8CkJhqQciLJEf/LDDJEeJIBT0GsOwYUYJGBS0fjpQAMidGmyVP6sx4Y6VQhzs9VUwkwqaCCh0tmKoFtSMDmBOf9phg4SrVrROuasRQAaxXpVUhdsU6IsECZlvX3kwLUWzRt0BHOLTbNlbZG3vZinArge5Dvn7wbqtQkSYAAgtKmnSsYKVKo2AfW048uaPmG386i4Q8EQMBAIAnfB7xBxBqvapJ9zX9WgRS2YMpnvYMGdPK3aMjt/3dUcNI4blpj7iwkMFWDXDvSmgAlijrt9RTR78+PS6z1uAJZIe93Q8g5zcsWCi/4Y+C8bah5zUv3vv89uft30QP23punGCx5954oBBwnwYaNCDY/wYrsYeggnM9B2Fpf8GG2CEUVWhbWAtGouEGDy7Y4IEJVrbSiXghqGKIo7z1IVcXIkKWWR361QOLWWnIhwERpLaaCCee5iMBGJQmJGyPFTnbkfHVZGRtIGrg5HALEJAZbu39BuUEUmq1JJQIPtZilY5hGeSWsSk52G9XqsmgljdIcABytq13HyIM6RcUA+r1qZ4EBF3WHWB29tBgAzRhEGhig8KmqKFv8SeCeo+mgsF7YFXa1qWSbkDpom/mqR1PmHCqJ3fwNRVXjC7S6CZhFVCQ2lWvZiirhQq42SACt25IK2hv8TprriUV1usGgeka7LFcNmCldMLi6qZMgFLgpw16Cipb7bC1knXsBiEAACH5BAUKABsALAcABADOAAsAAAX/4FZsJPkUmUGsLCEUTywXglFuSg7fW1xAvNWLF6sFFcPb42C8EZCj24EJdCp2yoegWsolS0Uu6fmamg8n8YYcLU2bXSiRaXMGvqV6/KAeJAh8VgZqCX+BexCFioWAYgqNi4qAR4ORhRuHY408jAeUhAmYYiuVlpiflqGZa5CWkzc5fKmbbhIpsAoQDRG8vQwQCBLCwxK6vb5qwhfGxxENahvCEA7NzskSy7vNzzzK09W/PNHF1NvX2dXcN8K55cfh69Luveol3vO8zwi4Yhj+AQwmCBw4IYclDAAJDlQggVOChAoLKkgFkSCAHDwWLKhIEOONARsDKryogFPIiAUb/95gJNIiw4wnI778GFPhzBKFOAq8qLJEhQpiNArjMcHCmlTCUDIouTKBhApELSxFWiGiVKY4E2CAekPgUphDu0742nRrVLJZnyrFSqKQ2ohoSYAMW6IoDpNJ4bLdILTnAj8KUF7UeENjAKuDyxIgOuGiOI0EBBMgLNew5AUrDTMGsFixwBIaNCQuAXJB57qNJ2OWm2Aj4skwCQCIyNkhhtMkdsIuodE0AN4LJDRgfLPtn5YDLdBlraAByuUbBgxQwICxMOnYpVOPej074OFdlfc0TqC62OIbcppHjV4o+LrieWhfT8JC/I/T6W8oCl29vQ0XjLdBaA3s1RcPBO7lFvpX8BVoG4O5jTXRQRDuJ6FDTzEWF1/BCZhgbyAKE9qICYLloQYOFtahVRsWYlZ4KQJHlwHS/IYaZ6sZd9tmu5HQm2xi1UaTbzxYwJk/wBF5g5EEYOBZeEfGZmNdFyFZmZIR4jikbLThlh5kUUVJGmRT7sekkziRWUIACABk3T4qCsedgO4xhgGcY7q5pHJ4klBBTQRJ0CeHcoYHHUh6wgfdn9uJdSdMiebGJ0zUPTcoS286FCkrZxnYoYYKWLkBowhQoBeaOlZAgVhLidrXqg2GiqpQpZ4apwSwRtjqrB3muoF9BboaXKmshlqWqsWiGt2wphJkQbAU5hoCACH5BAUKABsALAcABADOAAsAAAX/oGFw2WZuT5oZROsSQnGaKjRvilI893MItlNOJ5v5gDcFrHhKIWcEYu/xFEqNv6B1N62aclysF7fsZYe5aOx2yL5aAUGSaT1oTYMBwQ5VGCAJgYIJCnx1gIOBhXdwiIl7d0p2iYGQUAQBjoOFSQR/lIQHnZ+Ue6OagqYzSqSJi5eTpTxGcjcSChANEbu8DBAIEsHBChe5vL13G7fFuscRDcnKuM3H0La3EA7Oz8kKEsXazr7Cw9/Gztar5uHHvte47MjktznZ2w0G1+D3BgirAqJmJMAQgMGEgwgn5Ei0gKDBhBMALGRYEOJBb5QcWlQo4cbAihZz3GgIMqFEBSM1/4ZEOWPAgpIIJXYU+PIhRG8ja1qU6VHlzZknJNQ6UanCjQkWCIGSUGEjAwVLjc44+DTqUQtPPS5gejUrTa5TJ3g9sWCr1BNUWZI161StiQUDmLYdGfesibQ3XMq1OPYthrwuA2yU2LBs2cBHIypYQPPlYAKFD5cVvNPtW8eVGbdcQADATsiNO4cFAPkvHpedPzc8kUcPgNGgZ5RNDZG05reoE9s2vSEP79MEGiQGy1qP8LA4ZcdtsJE48ONoLTBtTV0B9LsTnPceoIDBDQvS7W7vfjVY3q3eZ4A339J4eaAmKqU/sV58HvJh2RcnIBsDUw0ABqhBA5aV5V9XUFGiHfVeAiWwoFgJJrIXRH1tEMiDFV4oHoAEGlaWhgIGSGBO2nFomYY3mKjVglidaNYJGJDkWW2xxTfbjCbVaOGNqoX2GloR8ZeTaECS9pthRGJH2g0b3Agbk6hNANtteHD2GJUucfajCQBy5OOTQ25ZgUPvaVVQmbKh9510/qQpwXx3SQdfk8tZJOd5b6JJFplT3ZnmmX3qd5l1eg5q00HrtUkUn0AKaiGjClSAgKLYZcgWXwocGRcCFGCKwSB6ceqphwmYRUFYT/1WKlOdUpipmxW0mlCqHjYkAaeoZlqrqZ4qd+upQKaapn/AmgAegZ8KUtYtFAQQAgAh+QQFCgAbACwHAAQAzgALAAAF/+C2PUcmiCiZGUTrEkKBis8jQEquKwU5HyXIbEPgyX7BYa5wTNmEMwWsSXsqFbEh8DYs9mrgGjdK6GkPY5GOeU6ryz7UFopSQEzygOGhJBjoIgMDBAcBM0V/CYqLCQqFOwobiYyKjn2TlI6GKC2YjJZknouaZAcQlJUHl6eooJwKooobqoewrJSEmyKdt59NhRKFMxLEEA4RyMkMEAjDEhfGycqAG8TQx9IRDRDE3d3R2ctD1RLg0ttKEnbY5wZD3+zJ6M7X2RHi9Oby7u/r9g38UFjTh2xZJBEBMDAboogAgwkQI07IMUORwocSJwCgWDFBAIwZOaJIsOBjRogKJP8wTODw5ESVHVtm3AhzpEeQElOuNDlTZ0ycEUWKWFASqEahGwYUPbnxoAgEdlYSqDBkgoUNClAlIHbSAoOsqCRQnQHxq1axVb06FWFxLIqyaze0Tft1JVqyE+pWXMD1pF6bYl3+HTqAWNW8cRUFzmih0ZAAB2oGKukSAAGGRHWJgLiR6AylBLpuHKKUMlMCngMpDSAa9QIUggZVVvDaJobLeC3XZpvgNgCmtPcuwP3WgmXSq4do0DC6o2/guzcseECtUoO0hmcsGKDgOt7ssBd07wqesAIGZC1YIBa7PQHvb1+SFo+++HrJSQfB33xfav3i5eX3Hnb4CTJgegEq8tH/YQEOcIJzbm2G2EoYRLgBXFpVmFYDcREV4HIcnmUhiGBRouEMJGJGzHIspqgdXxK0yCKHRNXoIX4uorCdTyjkyNtdPWrA4Up82EbAbzMRxxZRR54WXVLDIRmRcag5d2R6ugl3ZXzNhTecchpMhIGVAKAYpgJjjsSklBEd99maZoo535ZvdamjBEpusJyctg3h4X8XqodBMx0tiNeg/oGJaKGABpogS40KSqiaEgBqlQWLUtqoVQnytekEjzo0hHqhRorppOZt2p923M2AAV+oBtpAnnPNoB6HaU6mAAIU+IXmi3j2mtFXuUoHKwXpzVrsjcgGOauKEjQrwq157hitGq2NoWmjh7z6Wmxb0m5w66+2VRAuXN/yFUAIACH5BAUKABsALAcABADOAAsAAAX/4CZuRiaM45MZqBgIRbs9AqTcuFLE7VHLOh7KB5ERdjJaEaU4ClO/lgKWjKKcMiJQ8KgumcieVdQMD8cbBeuAkkC6LYLhOxoQ2PF5Ys9PKPBMen17f0CCg4VSh32JV4t8jSNqEIOEgJKPlkYBlJWRInKdiJdkmQlvKAsLBxdABA4RsbIMBggtEhcQsLKxDBC2TAS6vLENdJLDxMZAubu8vjIbzcQRtMzJz79S08oQEt/guNiyy7fcvMbh4OezdAvGrakLAQwyABsELQkY9BP+//ckyPDD4J9BfAMh1GsBoImMeQUN+lMgUJ9CiRMa5msxoB9Gh/o8GmxYMZXIgxtR/yQ46S/gQAURR0pDwYDfywoyLPip5AdnCwsMFPBU4BPFhKBDi444quCmDKZOfwZ9KEGpCKgcN1jdALSpPqIYsabS+nSqvqplvYqQYAeDPgwKwjaMtiDl0oaqUAyo+3TuWwUAMPpVCfee0cEjVBGQq2ABx7oTWmQk4FglZMGN9fGVDMCuiH2AOVOu/PmyxM630gwM0CCn6q8LjVJ8GXvpa5Uwn95OTC/nNxkda1/dLSK475IjCD6dHbK1ZOa4hXP9DXs5chJ00UpVm5xo2qRpoxptwF2E4/IbJpB/SDz9+q9b1aNfQH08+p4a8uvX8B53fLP+ycAfemjsRUBgp1H20K+BghHgVgt1GXZXZpZ5lt4ECjxYR4ScUWiShEtZqBiIInRGWnERNnjiBglw+JyGnxUmGowsyiiZg189lNtPGACjV2+S9UjbU0JWF6SPvEk3QZEqsZYTk3UAaRSUnznJI5LmESCdBVSyaOWUWLK4I5gDUYVeV1T9l+FZClCAUVA09uSmRHBCKAECFEhW51ht6rnmWBXkaR+NjuHpJ40D3DmnQXt2F+ihZxlqVKOfQRACACH5BAUKABwALAcABADOAAsAAAX/ICdyUCkUo/g8mUG8MCGkKgspeC6j6XEIEBpBUeCNfECaglBcOVfJFK7YQwZHQ6JRZBUqTrSuVEuD3nI45pYjFuWKvjjSkCoRaBUMWxkwBGgJCXspQ36Bh4EEB0oKhoiBgyNLjo8Ki4QElIiWfJqHnISNEI+Ql5J9o6SgkqKkgqYihamPkW6oNBgSfiMMDQkGCBLCwxIQDhHIyQwQCGMKxsnKVyPCF9DREQ3MxMPX0cu4wt7J2uHWx9jlKd3o39MiuefYEcvNkuLt5O8c1ePI2tyELXGQwoGDAQf+iEC2xByDCRAjTlAgIUWCBRgCPJQ4AQBFXAs0coT40WLIjRxL/47AcHLkxIomRXL0CHPERZkpa4q4iVKiyp0tR/7kwHMkTUBBJR5dOCEBAVcKKtCAyOHpowXCpk7goABqBZdcvWploACpBKkpIJI1q5OD2rIWE0R1uTZu1LFwbWL9OlKuWb4c6+o9i3dEgw0RCGDUG9KlRw56gDY2qmCByZBaASi+TACA0TucAaTteCcy0ZuOK3N2vJlx58+LRQyY3Xm0ZsgjZg+oPQLi7dUcNXi0LOJw1pgNtB7XG6CBy+U75SYfPTSQAgZTNUDnQHt67wnbZyvwLgKiMN3oCZB3C76tdewpLFgIP2C88rbi4Y+QT3+8S5USMICZXWj1pkEDeUU3lOYGB3alSoEiMIjgX4WlgNF2EibIwQIXauWXSRg2SAOHIU5IIIMoZkhhWiJaiFVbKo6AQEgQXrTAazO1JhkBrBG3Y2Y6EsUhaGn95hprSN0oWpFE7rhkeaQBchGOEWnwEmc0uKWZj0LeuNV3W4Y2lZHFlQCSRjTIl8uZ+kG5HU/3sRlnTG2ytyadytnD3HrmuRcSn+0h1dycexIK1KCjYaCnjCCVqOFFJTZ5GkUUjESWaUIKU2lgCmAKKQIUjHapXRKE+t2og1VgankNYnohqKJ2CmKplso6GKz7WYCgqxeuyoF8u9IQAgA7",msg:null,msgText:"<em>Loading the next set of posts...</em>",selector:null,speed:"fast",start:i},state:{isDuringAjax:!1,isInvalidPage:!1,isDestroyed:!1,isDone:!1,isPaused:!1,isBeyondMaxPage:!1,currPage:1},debug:!1,behavior:i,binder:e(window),nextSelector:"div.navigation a:first",navSelector:"div.navigation",contentSelector:null,extraScrollPx:150,itemSelector:"div.post",animate:!1,pathParse:i,dataType:"html",appendCallback:!0,bufferPx:40,errorCallback:function(){},infid:0,pixelsFromNavToBottom:i,path:i,prefill:!1,maxPage:i},e.infinitescroll.prototype={_binding:function(e){var t=this,o=t.options;if(o.v="2.0b2.120520",o.behavior&&this["_binding_"+o.behavior]!==i)this["_binding_"+o.behavior].call(this);else{if("bind"!==e&&"unbind"!==e)return this._debug("Binding value  "+e+" not valid"),!1;"unbind"===e?this.options.binder.off("smartscroll.infscr."+t.options.infid):this.options.binder.on("smartscroll.infscr."+t.options.infid,function(){t.scroll()}),this._debug("Binding",e)}},_create:function(t,o){var n=e.extend(!0,{},e.infinitescroll.defaults,t);this.options=n;var a=e(window);if(!this._validate(t))return!1;var s=e(n.nextSelector).attr("href");if(!s)return this._debug("Navigation selector not found"),!1;n.path=n.path||this._determinepath(s),n.contentSelector=n.contentSelector||this.element,n.loading.selector=n.loading.selector||n.contentSelector,n.loading.msg=n.loading.msg||e('<div id="infscr-loading"><img alt="Loading..." src="'+n.loading.img+'" /><div>'+n.loading.msgText+"</div></div>"),(new Image).src=n.loading.img,n.pixelsFromNavToBottom===i&&(n.pixelsFromNavToBottom=e(document).height()-e(n.navSelector).offset().top,this._debug("pixelsFromNavToBottom: "+n.pixelsFromNavToBottom));var r=this;return n.loading.start=n.loading.start||function(){e(n.navSelector).hide(),n.loading.msg.insertAfter(n.loading.selector).show(n.loading.speed,e.proxy(function(){this.beginAjax(n)},r))},n.loading.finished=n.loading.finished||function(){n.state.isBeyondMaxPage||n.loading.msg.fadeOut(n.loading.speed)},n.callback=function(t,s,r){n.behavior&&t["_callback_"+n.behavior]!==i&&t["_callback_"+n.behavior].call(e(n.contentSelector)[0],s,r),o&&o.call(e(n.contentSelector)[0],s,n,r),n.prefill&&a.on("resize.infinite-scroll",t._prefill)},t.debug&&(!Function.prototype.bind||"object"!=typeof console&&"function"!=typeof console||"object"!=typeof console.log||["log","info","warn","error","assert","dir","clear","profile","profileEnd"].forEach(function(e){console[e]=this.call(console[e],console)},Function.prototype.bind)),this._setup(),n.prefill&&this._prefill(),!0},_prefill:function(){var i=this,t=e(window);function o(){return e(i.options.contentSelector).height()<=t.height()}this._prefill=function(){o()&&i.scroll(),t.on("resize.infinite-scroll",function(){o()&&(t.off("resize.infinite-scroll"),i.scroll())})},this._prefill()},_debug:function(){!0===this.options.debug&&("undefined"!=typeof console&&"function"==typeof console.log?1===Array.prototype.slice.call(arguments).length&&Array.prototype.slice.call(arguments)[0]:Function.prototype.on||"undefined"==typeof console||"object"!=typeof console.log||Function.prototype.call.call(console.log,console,Array.prototype.slice.call(arguments)))},_determinepath:function(e){var t=this.options;if(t.behavior&&this["_determinepath_"+t.behavior]!==i)return this["_determinepath_"+t.behavior].call(this,e);if(t.pathParse)return this._debug("pathParse manual"),t.pathParse(e,this.options.state.currPage+1);if(e.match(/^(.*2?)\b2\b(.*?$)/))e=e.match(/^(.*2?)\b2\b(.*?$)/).slice(1);else if(e.match(/^(.*?)\b2\b(.*?$)/))e=e.match(/^(.*?)\b2\b(.*?$)/).slice(1);else if(e.match(/^(.*?)2(.*?$)/)){if(e.match(/^(.*?page=)2(\/.*|$)/))return e=e.match(/^(.*?page=)2(\/.*|$)/).slice(1);e=e.match(/^(.*?)2(.*?$)/).slice(1)}else{if(e.match(/^(.*?page=)1(\/.*|$)/))return e=e.match(/^(.*?page=)1(\/.*|$)/).slice(1);this._debug("Sorry, we couldn't parse your Next (Previous Posts) URL. Verify your the css selector points to the correct A tag. If you still get this error: yell, scream, and kindly ask for help at infinite-scroll.com."),t.state.isInvalidPage=!0}return this._debug("determinePath",e),e},_error:function(e){var t=this.options;t.behavior&&this["_error_"+t.behavior]!==i?this["_error_"+t.behavior].call(this,e):("destroy"!==e&&"end"!==e&&(e="unknown"),this._debug("Error",e),("end"===e||t.state.isBeyondMaxPage)&&this._showdonemsg(),t.state.isDone=!0,t.state.currPage=1,t.state.isPaused=!1,t.state.isBeyondMaxPage=!1,this._binding("unbind"))},_loadcallback:function(t,o,n){var a,s=this.options,r=this.options.callback,l=s.state.isDone?"done":s.appendCallback?"append":"no-append";if(s.behavior&&this["_loadcallback_"+s.behavior]!==i)this["_loadcallback_"+s.behavior].call(this,t,o,n);else{switch(l){case"done":return this._showdonemsg(),!1;case"no-append":if("html"===s.dataType&&(o=e(o="<div>"+o+"</div>").find(s.itemSelector)),0===o.length)return this._error("end");break;case"append":var c=t.children();if(0===c.length)return this._error("end");for(a=document.createDocumentFragment();t[0].firstChild;)a.appendChild(t[0].firstChild);this._debug("contentSelector",e(s.contentSelector)[0]),e(s.contentSelector)[0].appendChild(a),o=c.get()}if(s.loading.finished.call(e(s.contentSelector)[0],s),s.animate){var h=e(window).scrollTop()+e(s.loading.msg).height()+s.extraScrollPx+"px";e("html,body").animate({scrollTop:h},800,function(){s.state.isDuringAjax=!1})}s.animate||(s.state.isDuringAjax=!1),r(this,o,n),s.prefill&&this._prefill()}},_nearbottom:function(){var t=this.options,o=0+e(document).height()-t.binder.scrollTop()-e(window).height();return t.behavior&&this["_nearbottom_"+t.behavior]!==i?this["_nearbottom_"+t.behavior].call(this):(this._debug("math:",o,t.pixelsFromNavToBottom),o-t.bufferPx<t.pixelsFromNavToBottom)},_pausing:function(e){var t=this.options;if(!t.behavior||this["_pausing_"+t.behavior]===i){switch("pause"!==e&&"resume"!==e&&null!==e&&this._debug("Invalid argument. Toggling pause value instead"),e=!e||"pause"!==e&&"resume"!==e?"toggle":e){case"pause":t.state.isPaused=!0;break;case"resume":t.state.isPaused=!1;break;case"toggle":t.state.isPaused=!t.state.isPaused}return this._debug("Paused",t.state.isPaused),!1}this["_pausing_"+t.behavior].call(this,e)},_setup:function(){var e=this.options;if(!e.behavior||this["_setup_"+e.behavior]===i)return this._binding("bind"),!1;this["_setup_"+e.behavior].call(this)},_showdonemsg:function(){var t=this.options;t.behavior&&this["_showdonemsg_"+t.behavior]!==i?this["_showdonemsg_"+t.behavior].call(this):(t.loading.msg.find(".fusion-loading-spinner").hide().parent().find(".fusion-loading-msg").html(t.loading.finishedMsg).animate({opacity:1},2e3,function(){e(this).parent().fadeOut(t.loading.speed),e(this).parent().parent().find(".fusion-load-more-button").fadeOut(t.loading.speed)}),t.errorCallback.call(e(t.contentSelector)[0],"done"))},_validate:function(i){for(var t in i)if(t.indexOf&&t.indexOf("Selector")>-1&&0===e(i[t]).length)return this._debug("Your "+t+" found no elements."),!1;return!0},bind:function(){this._binding("bind")},destroy:function(){return this.options.state.isDestroyed=!0,this.options.loading.finished(),this._error("destroy")},pause:function(){this._pausing("pause")},resume:function(){this._pausing("resume")},beginAjax:function(t){var o,n,a,s,r=this,l=t.path;if(t.state.currPage++,t.maxPage!==i&&t.state.currPage>t.maxPage)return t.state.isBeyondMaxPage=!0,void this.destroy();switch(l="string"==typeof l?[l]:l,o=e(t.contentSelector).is("table, tbody")?e("<tbody/>"):e("<div/>"),n="function"==typeof l?l(t.state.currPage):l.join(t.state.currPage),r._debug("heading into ajax",n),a="html"===t.dataType||"json"===t.dataType?t.dataType:"html+callback",t.appendCallback&&"html"===t.dataType&&(a+="+callback"),a){case"html+callback":r._debug("Using HTML via .load() method"),o.load(n+" "+t.itemSelector,i,function(e){r._loadcallback(o,e,n)});break;case"html":r._debug("Using "+a.toUpperCase()+" via $.ajax() method"),e.ajax({url:n,dataType:t.dataType,complete:function(e,i){(s=void 0!==e.isResolved?e.isResolved():"success"===i||"notmodified"===i)?r._loadcallback(o,e.responseText,n):r._error("end")}});break;case"json":r._debug("Using "+a.toUpperCase()+" via $.ajax() method"),e.ajax({dataType:"json",type:"GET",url:n}).done(function(e,a,l){if(s=void 0!==l.isResolved?l.isResolved():"success"===a||"notmodified"===a,t.appendCallback)if(t.template!==i){var c=t.template(e);o.append(c),s?r._loadcallback(o,c):r._error("end")}else r._debug("template must be defined."),r._error("end");else s?r._loadcallback(o,e,n):r._error("end")}).fail(function(){r._debug("JSON ajax request failed."),r._error("end")})}},retrieve:function(t){t=t||null;var o=this.options;if(o.behavior&&this["retrieve_"+o.behavior]!==i)this["retrieve_"+o.behavior].call(this,t);else{if(o.state.isDestroyed)return this._debug("Instance is destroyed"),!1;o.state.isDuringAjax=!0,o.loading.start.call(e(o.contentSelector)[0],o)}},scroll:function(){var e=this.options,t=e.state;e.behavior&&this["scroll_"+e.behavior]!==i?this["scroll_"+e.behavior].call(this):t.isDuringAjax||t.isInvalidPage||t.isDone||t.isDestroyed||t.isPaused||this._nearbottom()&&this.retrieve()},toggle:function(){this._pausing()},unbind:function(){this._binding("unbind")},update:function(i){e.isPlainObject(i)&&(this.options=e.extend(!0,this.options,i))}},e.fn.infinitescroll=function(i,t){switch(typeof i){case"string":var o=Array.prototype.slice.call(arguments,1);this.each(function(){var t=e.data(this,"infinitescroll");return!!t&&(!(!e.isFunction(t[i])||"_"===i.charAt(0))&&void t[i].apply(t,o))});break;case"object":this.each(function(){var o=e.data(this,"infinitescroll");o?o.update(i):(o=new e.infinitescroll(i,t,this)).failed||e.data(this,"infinitescroll",o)})}return this};var t,o=e.event;o.special.smartscroll={setup:function(){e(this).on("scroll",o.special.smartscroll.handler)},teardown:function(){e(this).off("scroll",o.special.smartscroll.handler)},handler:function(i,o){var n=this,a=arguments;i.type="smartscroll",t&&clearTimeout(t),t=setTimeout(function(){e(n).trigger("smartscroll",a)},"execAsap"===o?0:100)}},e.fn.smartscroll=function(e){return e?this.on("smartscroll",e):this.trigger("smartscroll",["execAsap"])}});
!function(e){"function"==typeof define&&define.amd?define(["jquery"],e):"object"==typeof exports?module.exports=e:e(jQuery)}(function(e){var t,i,n=["wheel","mousewheel","DOMMouseScroll","MozMousePixelScroll"],o="onwheel"in document||document.documentMode>=9?["wheel"]:["mousewheel","DomMouseScroll","MozMousePixelScroll"],l=Array.prototype.slice;if(e.event.fixHooks)for(var s=n.length;s;)e.event.fixHooks[n[--s]]=e.event.mouseHooks;var a=e.event.special.mousewheel={version:"3.1.12",setup:function(){if(this.addEventListener)for(var t=o.length;t;)this.addEventListener(o[--t],h,{passive:!0,capture:!1});else this.onmousewheel=h;e.data(this,"mousewheel-line-height",a.getLineHeight(this)),e.data(this,"mousewheel-page-height",a.getPageHeight(this))},teardown:function(){if(this.removeEventListener)for(var t=o.length;t;)this.removeEventListener(o[--t],h,!1);else this.onmousewheel=null;e.removeData(this,"mousewheel-line-height"),e.removeData(this,"mousewheel-page-height")},getLineHeight:function(t){var i=e(t),n=i["offsetParent"in e.fn?"offsetParent":"parent"]();return n.length||(n=e("body")),parseInt(n.css("fontSize"),10)||parseInt(i.css("fontSize"),10)||16},getPageHeight:function(t){return e(t).height()},settings:{adjustOldDeltas:!0,normalizeOffset:!0}};function h(n){var o,s=n||window.event,h=l.call(arguments,1),f=0,d=0,c=0,m=0,g=0;if((n=e.event.fix(s)).type="mousewheel","detail"in s&&(c=-1*s.detail),"wheelDelta"in s&&(c=s.wheelDelta),"wheelDeltaY"in s&&(c=s.wheelDeltaY),"wheelDeltaX"in s&&(d=-1*s.wheelDeltaX),"axis"in s&&s.axis===s.HORIZONTAL_AXIS&&(d=-1*c,c=0),f=0===c?d:c,"deltaY"in s&&(f=c=-1*s.deltaY),"deltaX"in s&&(d=s.deltaX,0===c&&(f=-1*d)),0!==c||0!==d){if(1===s.deltaMode){var w=e.data(this,"mousewheel-line-height");f*=w,c*=w,d*=w}else if(2===s.deltaMode){var v=e.data(this,"mousewheel-page-height");f*=v,c*=v,d*=v}if(o=Math.max(Math.abs(c),Math.abs(d)),(!i||o<i)&&(i=o,u(s,o)&&(i/=40)),u(s,o)&&(f/=40,d/=40,c/=40),f=Math[f>=1?"floor":"ceil"](f/i),d=Math[d>=1?"floor":"ceil"](d/i),c=Math[c>=1?"floor":"ceil"](c/i),a.settings.normalizeOffset&&this.getBoundingClientRect){var p=this.getBoundingClientRect();m=n.clientX-p.left,g=n.clientY-p.top}return n.deltaX=d,n.deltaY=c,n.deltaFactor=i,n.offsetX=m,n.offsetY=g,n.deltaMode=0,h.unshift(n,f,d,c),t&&clearTimeout(t),t=setTimeout(r,200),(e.event.dispatch||e.event.handle).apply(this,h)}}function r(){i=null}function u(e,t){return a.settings.adjustOldDeltas&&"mousewheel"===e.type&&t%120==0}e.fn.extend({mousewheel:function(e){return e?this.bind("mousewheel",e):this.trigger("mousewheel")},unmousewheel:function(e){return this.unbind("mousewheel",e)}})});
!function(t){"use strict";t.fn.fusionScroller=function(e){var f=t.extend({type:"opacity",offset:0,endOffset:""},e);t(this).each(function(){var e,i,r,o=this;t(window).on("scroll",function(){var s,l,p,c;e=t(o).offset().top,t("body").hasClass("admin-bar")&&(e=t(o).offset().top-t("#wpadminbar").outerHeight()),0<f.offset&&(e=t(o).offset().top-f.offset),i=t(o).outerHeight(),r=e+i,f.endOffset&&t(f.endOffset).length&&(r=t(f.endOffset).offset().top),(s=t(this).scrollTop())>=e&&s<=r&&(l=(r-s)/i*100,"opacity"===f.type?(p=l/100*1,t(o).css({opacity:p})):"blur"===f.type?(c="blur("+(l=100-l)/100*50+"px)",t(o).css({"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c})):"fading_blur"===f.type&&(p=l/100*1,c="blur("+(l=100-l)/100*50+"px)",t(o).css({"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c,opacity:p}))),s<e&&("opacity"===f.type?t(o).css({opacity:1}):"blur"===f.type?(c="blur(0px)",t(o).css({"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c})):"fading_blur"===f.type&&(c="blur(0px)",t(o).css({opacity:1,"-webkit-filter":c,"-ms-filter":c,"-o-filter":c,"-moz-filter":c,filter:c})))})})}}(jQuery);
(function(){function e(){}var t=e.prototype,n=this,i=n.EventEmitter;function r(e,t){for(var n=e.length;n--;)if(e[n].listener===t)return n;return-1}function o(e){return function(){return this[e].apply(this,arguments)}}t.getListeners=function(e){var t,n,i=this._getEvents();if("object"==typeof e)for(n in t={},i)i.hasOwnProperty(n)&&e.test(n)&&(t[n]=i[n]);else t=i[e]||(i[e]=[]);return t},t.flattenListeners=function(e){var t,n=[];for(t=0;t<e.length;t+=1)n.push(e[t].listener);return n},t.getListenersAsObject=function(e){var t,n=this.getListeners(e);return n instanceof Array&&((t={})[e]=n),t||n},t.addListener=function(e,t){var n,i=this.getListenersAsObject(e),o="object"==typeof t;for(n in i)i.hasOwnProperty(n)&&-1===r(i[n],t)&&i[n].push(o?t:{listener:t,once:!1});return this},t.on=o("addListener"),t.addOnceListener=function(e,t){return this.addListener(e,{listener:t,once:!0})},t.once=o("addOnceListener"),t.defineEvent=function(e){return this.getListeners(e),this},t.defineEvents=function(e){for(var t=0;t<e.length;t+=1)this.defineEvent(e[t]);return this},t.removeListener=function(e,t){var n,i,o=this.getListenersAsObject(e);for(i in o)o.hasOwnProperty(i)&&-1!==(n=r(o[i],t))&&o[i].splice(n,1);return this},t.off=o("removeListener"),t.addListeners=function(e,t){return this.manipulateListeners(!1,e,t)},t.removeListeners=function(e,t){return this.manipulateListeners(!0,e,t)},t.manipulateListeners=function(e,t,n){var i,r,o=e?this.removeListener:this.addListener,s=e?this.removeListeners:this.addListeners;if("object"!=typeof t||t instanceof RegExp)for(i=n.length;i--;)o.call(this,t,n[i]);else for(i in t)t.hasOwnProperty(i)&&(r=t[i])&&("function"==typeof r?o.call(this,i,r):s.call(this,i,r));return this},t.removeEvent=function(e){var t,n=typeof e,i=this._getEvents();if("string"===n)delete i[e];else if("object"===n)for(t in i)i.hasOwnProperty(t)&&e.test(t)&&delete i[t];else delete this._events;return this},t.removeAllListeners=o("removeEvent"),t.emitEvent=function(e,t){var n,i,r,o=this.getListenersAsObject(e);for(r in o)if(o.hasOwnProperty(r))for(i=o[r].length;i--;)!0===(n=o[r][i]).once&&this.removeListener(e,n.listener),n.listener.apply(this,t||[])===this._getOnceReturnValue()&&this.removeListener(e,n.listener);return this},t.trigger=o("emitEvent"),t.emit=function(e){var t=Array.prototype.slice.call(arguments,1);return this.emitEvent(e,t)},t.setOnceReturnValue=function(e){return this._onceReturnValue=e,this},t._getOnceReturnValue=function(){return!this.hasOwnProperty("_onceReturnValue")||this._onceReturnValue},t._getEvents=function(){return this._events||(this._events={})},e.noConflict=function(){return n.EventEmitter=i,e},"function"==typeof define&&define.amd?define("eventEmitter/EventEmitter",[],function(){return e}):"object"==typeof module&&module.exports?module.exports=e:this.EventEmitter=e}).call(this),
function(e){var t=document.documentElement,n=function(){};function i(t){var n=e.event;return n.target=n.target||n.srcElement||t,n}t.addEventListener?n=function(e,t,n){e.addEventListener(t,n,!1)}:t.attachEvent&&(n=function(e,t,n){e[t+n]=n.handleEvent?function(){var t=i(e);n.handleEvent.call(n,t)}:function(){var t=i(e);n.call(e,t)},e.attachEvent("on"+t,e[t+n])});var r=function(){};t.removeEventListener?r=function(e,t,n){e.removeEventListener(t,n,!1)}:t.detachEvent&&(r=function(e,t,n){e.detachEvent("on"+t,e[t+n]);try{delete e[t+n]}catch(i){e[t+n]=void 0}});var o={bind:n,unbind:r};"function"==typeof define&&define.amd?define("eventie/eventie",o):e.eventie=o}(this),
function(e,t){"function"==typeof define&&define.amd?define(["eventEmitter/EventEmitter","eventie/eventie"],function(n,i){return t(e,n,i)}):"object"==typeof exports?module.exports=t(e,require("wolfy87-eventemitter"),require("eventie")):e.imagesLoaded=t(e,e.EventEmitter,e.eventie)}(window,function(e,t,n){var i=e.jQuery,r=e.console,o=void 0!==r;function s(e,t){for(var n in t)e[n]=t[n];return e}var f=Object.prototype.toString;function c(e){var t=[];if(function(e){return"[object Array]"===f.call(e)}(e))t=e;else if("number"==typeof e.length)for(var n=0,i=e.length;n<i;n++)t.push(e[n]);else t.push(e);return t}function a(e,t,n){if(!(this instanceof a))return new a(e,t);"string"==typeof e&&(e=document.querySelectorAll(e)),this.elements=c(e),this.options=s({},this.options),"function"==typeof t?n=t:s(this.options,t),n&&this.on("always",n),this.getImages(),i&&(this.jqDeferred=new i.Deferred);var r=this;setTimeout(function(){r.check()})}function h(e){this.img=e}a.prototype=new t,a.prototype.options={},a.prototype.getImages=function(){this.images=[];for(var e=0,t=this.elements.length;e<t;e++){var n=this.elements[e];"IMG"===n.nodeName&&this.addImage(n);var i=n.nodeType;if(i&&(1===i||9===i||11===i))for(var r=n.querySelectorAll("img"),o=0,s=r.length;o<s;o++){var f=r[o];this.addImage(f)}}},a.prototype.addImage=function(e){var t=new h(e);this.images.push(t)},a.prototype.check=function(){var e=this,t=0,n=this.images.length;if(this.hasAnyBroken=!1,n)for(var i=0;i<n;i++){var s=this.images[i];s.on("confirm",f),s.check()}else this.complete();function f(i,s){return e.options.debug&&o&&r.log("confirm",i,s),e.progress(i),++t===n&&e.complete(),!0}},a.prototype.progress=function(e){this.hasAnyBroken=this.hasAnyBroken||!e.isLoaded;var t=this;setTimeout(function(){t.emit("progress",t,e),t.jqDeferred&&t.jqDeferred.notify&&t.jqDeferred.notify(t,e)})},a.prototype.complete=function(){var e=this.hasAnyBroken?"fail":"done";this.isComplete=!0;var t=this;setTimeout(function(){if(t.emit(e,t),t.emit("always",t),t.jqDeferred){var n=t.hasAnyBroken?"reject":"resolve";t.jqDeferred[n](t)}})},i&&(i.fn.imagesLoaded=function(e,t){return new a(this,e,t).jqDeferred.promise(i(this))}),h.prototype=new t,h.prototype.check=function(){var e=u[this.img.src]||new d(this.img.src);if(e.isConfirmed)this.confirm(e.isLoaded,"cached was confirmed");else if(this.img.complete&&void 0!==this.img.naturalWidth)this.confirm(0!==this.img.naturalWidth,"naturalWidth");else{var t=this;e.on("confirm",function(e,n){return t.confirm(e.isLoaded,n),!0}),e.check()}},h.prototype.confirm=function(e,t){this.isLoaded=e,this.emit("confirm",this,t)};var u={};function d(e){this.src=e,u[e]=this}return d.prototype=new t,d.prototype.check=function(){if(!this.isChecked){var e=new Image;n.bind(e,"load",this),n.bind(e,"error",this),e.src=this.src,this.isChecked=!0}},d.prototype.handleEvent=function(e){var t="on"+e.type;this[t]&&this[t](e)},d.prototype.onload=function(e){this.confirm(!0,"onload"),this.unbindProxyEvents(e)},d.prototype.onerror=function(e){this.confirm(!1,"onerror"),this.unbindProxyEvents(e)},d.prototype.confirm=function(e,t){this.isConfirmed=!0,this.isLoaded=e,this.emit("confirm",this,t)},d.prototype.unbindProxyEvents=function(e){n.unbind(e.target,"load",this),n.unbind(e.target,"error",this)},a});
var fusionEqualHeightVars={"content_break_point":"800"};!function(t){"use strict";t.fn.equalHeights=function(i,n){var e,s=t(this).parents().find(".fusion-portfolio-wrapper"),o=t(this).closest(".fusion-row").hasClass("fusion-builder-row-inner")?".fusion-column-content-centered":".fusion-column-content-centered:not(.fusion-builder-row-inner .fusion-column-content-centered)";if(e=i=i||0,this.each(function(){t(this).css({"min-height":"0",height:"auto"}),t(this).find(o).css({"min-height":"0",height:"auto"})}),Modernizr.mq("only screen and (min-width: "+(parseInt(fusionEqualHeightVars.content_break_point,10)+1)+"px)")||Modernizr.mq("only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait)")){if(t(this).parents("#main").length&&t("body").hasClass("tax-portfolio_category"))return;return this.each(function(){e=Math.max(t(this).outerHeight(),e)}),n&&(e=Math.min(n,e)),this.each(function(){var i=e,n=t(this).find(o);0===parseInt(i,10)&&t(this).attr("data-empty-column","true"),n.length&&(i=e-(t(this).outerHeight()-t(this).height())),t(this).css("min-height",i),n.length&&n.css("min-height",i),t("body").hasClass("fusion-builder-live")&&!t(this).parent().hasClass("fusion-column-no-min-height")&&t(this).parent().is(":visible")&&t(this).parent().next(".fusion-column-spacer").height(i)})}s.data("isotope")&&!s.data("relayout")&&(s.isotope("layout"),s.data("relayout",!0))}}(jQuery);
function _fusionRefreshScroll(){window._fusionScrollTop=window.pageYOffset,window._fusionScrollLeft=window.pageXOffset}function _fusionParallaxAll(){var t;for(_fusionRefreshScroll(),t=0;t<window._fusionImageParallaxImages.length;t++)window._fusionImageParallaxImages[t].doParallax()}function _fusionRefreshWindow(){window._fusionScrollTop=window.pageYOffset,window._fusionWindowHeight=jQuery(window).height(),window._fusionScrollLeft=window.pageXOffset,window._fusionWindowWidth=jQuery(window).width()}!function(t){var i;i=0,t.requestAnimationFrame||(t.webkitRequestAnimationFrame&&(t.requestAnimationFrame=t.webkitRequestAnimationFrame,t.cancelAnimationFrame=t.webkitCancelAnimationFrame||t.webkitCancelRequestAnimationFrame),t.requestAnimationFrame=function(e){var s=(new Date).getTime(),a=Math.max(0,16-(s-i)),n=t.setTimeout(function(){e(s+a)},a);return i=s+a,n},t.cancelAnimationFrame=function(t){clearTimeout(t)}),"function"==typeof define&&define(function(){return t.requestAnimationFrame})}(window),void 0===window._fusionImageParallaxImages&&(window._fusionImageParallaxImages=[]),function(t,i){var e="fusionImageParallax",s={direction:"up",mobileenabled:!1,mobiledevice:!1,width:"",height:"",align:"center",opacity:"1",velocity:".3",image:"",target:"",repeat:!1,loopScroll:"",loopScrollTime:"2",removeOrig:!1,complete:function(){}};function a(i,a){var n;this.element=i,this.settings=t.extend({},s,a),n=this.settings.align.split(" "),this.settings.xpos=n[0],2===n.length?this.settings.ypos=n[1]:this.settings.ypos="center",this._defaults=s,this._name=e,this.init()}t.extend(a.prototype,{init:function(){var e;""===this.settings.target&&(this.settings.target=t(this.element)),""===this.settings.image&&void 0!==t(this.element).css("backgroundImage")&&""!==t(this.element).css("backgroundImage")&&(this.settings.image=t(this.element).css("backgroundImage").replace(/url\(|\)|"|'/g,"")),this.settings.imageMedium&&Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_medium+"px)")&&(this.settings.image=this.settings.imageMedium),this.settings.imageSmall&&Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_small+"px)")&&(this.settings.image=this.settings.imageSmall),e=i._fusionImageParallaxImages.push(this),jQuery(this.element).attr("data-parallax-index",e-1),this.setup(),this.settings.complete(),this.containerWidth=0,this.containerHeight=0},setup:function(){!1!==this.settings.removeOrig&&t(this.element).remove(),this.resizeParallaxBackground()},doParallax:function(){var t,e,s,a,n,o,r,d,g=this.settings.target.find(".parallax-inner");this.settings.mobiledevice&&!this.settings.mobileenabled||this.isInView()&&(g.css({minHeight:"150px"}),t=this.settings.target.width()+parseInt(this.settings.target.css("paddingRight"),10)+parseInt(this.settings.target.css("paddingLeft"),10),e=this.settings.target.height()+parseInt(this.settings.target.css("paddingTop"),10)+parseInt(this.settings.target.css("paddingBottom"),10),0===this.containerWidth||0===this.containerHeight||t===this.containerWidth&&e===this.containerHeight||this.resizeParallaxBackground(),this.containerWidth=t,this.containerHeight=e,void 0!==g&&0!==g.length&&(s=(i._fusionScrollTop-this.scrollTopMin)/(this.scrollTopMax-this.scrollTopMin),a=this.moveMax*s,"down"===this.settings.direction&&(a*=1.25),"left"!==this.settings.direction&&"up"!==this.settings.direction||(a*=-1),n="translate3d(",o="px, -2px, 0px)",r="translate3d(0, ",d="px, 0)",jQuery("html").hasClass("ua-safari")&&g.parent().find(".fusion-section-separator").length&&(n="translate(",o="px, 0)",r="translate(0, ",d="px)"),"no-repeat"===g.css("background-repeat")&&("down"===this.settings.direction&&0>a||"up"===this.settings.direction&&0<a||"right"===this.settings.direction&&0>a||"left"===this.settings.direction&&0<a)&&(a=0),"fixed"===this.settings.direction||("left"===this.settings.direction||"right"===this.settings.direction?g.css({webkitTransform:n+a+o,mozTransform:n+a+o,msTransform:n+a+o,oTransform:n+a+o,transform:n+a+o}):g.css({webkitTransform:r+a+d,mozTransform:r+a+d,msTransform:r+a+d,oTransform:r+a+d,transform:r+a+d}))))},isInView:function(){var t,e=this.settings.target;if(void 0!==e&&0!==e.length)return!((t=e.offset().top)+(e.height()+parseInt(e.css("paddingTop"),10)+parseInt(e.css("paddingBottom"),10))<i._fusionScrollTop||i._fusionScrollTop+i._fusionWindowHeight<t)},setBackgroundStyling:function(t,i){var e="none"===this.settings.blendMode?"":this.settings.blendMode,s=this.settings.backgroundColor;this.settings.backgroundColorMedium&&Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_medium+"px)")&&(s=this.settings.backgroundColorMedium),this.settings.backgroundColorSmall&&Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_small+"px)")&&(s=this.settings.backgroundColorSmall),this.settings.blendModeMedium&&Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_medium+"px)")&&(e=this.settings.blendModeMedium),this.settings.blendModeSmall&&Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_small+"px)")&&(e=this.settings.blendModeSmall),t.find(".parallax-inner").css({"background-color":s,"background-blend-mode":e}),""!==i&&t.find(".parallax-inner").css({"background-image":i})},resizeParallaxBackground:function(){var t,e,s,a,n,o,r,d,g,l,h,u,c=this.settings.target,m="";void 0!==c&&0!==c.length&&c.is(":visible")&&(u=c.hasClass("lazyload"),t="true"===this.settings.repeat||!0===this.settings.repeat||1===this.settings.repeat,""===this.settings.gradientStartColor&&""===this.settings.gradientStartPosition||("linear"===this.settings.gradientType?m+="linear-gradient("+this.settings.gradientAngle+"deg, ":"radial"===this.settings.gradientType&&(m+="radial-gradient(circle at "+this.settings.gradientRadialDirection+", "),m+=this.settings.gradientStartColor+" "+this.settings.gradientStartPosition+"%,",m+=this.settings.gradientEndColor+" "+this.settings.gradientEndPosition+"%)",""!==this.settings.image&&"none"!==this.settings.image&&(m+=",url('"+this.settings.image+"')")),"none"===this.settings.direction?(e=c.width()+parseInt(c.css("paddingRight"),10)+parseInt(c.css("paddingLeft"),10),a=c.offset().left,"center"===this.settings.align?a="50% 50%":"left"===this.settings.align?a="0% 50%":"right"===this.settings.align?a="100% 50%":"top"===this.settings.align?a="50% 0%":"bottom"===this.settings.align&&(a="50% 100%"),c.css({opacity:Math.abs(parseFloat(this.settings.opacity)/100),backgroundSize:"cover",backgroundAttachment:"scroll",backgroundPosition:a,backgroundRepeat:"no-repeat"}),""!==this.settings.image&&"none"!==this.settings.image&&c.css({opacity:Math.abs(parseFloat(this.settings.opacity)/100),backgroundImage:u?"":"url("+this.settings.image+")"})):"fixed"===this.settings.direction?(c.css({backgroundAttachment:"fixed",backgroundRepeat:"repeat"}),""!==this.settings.image&&"none"!==this.settings.image&&c.attr("style","background-image: url("+this.settings.image+") !important;"+c.attr("style"))):"left"===this.settings.direction||"right"===this.settings.direction?(e=c.width()+parseInt(c.css("paddingRight"),10)+parseInt(c.css("paddingLeft"),10),s=c.height()+4+parseInt(c.css("paddingTop"),10)+parseInt(c.css("paddingBottom"),10),n=e,e+=400*Math.abs(parseFloat(this.settings.velocity)),o=0,"right"===this.settings.direction&&(o-=e-n),1>c.find(".parallax-inner").length&&c.prepend('<div class="parallax-inner"></div>'),c.css({position:"relative",overflow:"hidden",zIndex:1,"background-image":"none"}).attr("style",c.attr("style")).find(".parallax-inner").css({pointerEvents:"none",width:e,height:s,position:"absolute",zIndex:-1,top:0,left:o,opacity:Math.abs(parseFloat(this.settings.opacity)/100),backgroundPosition:t?"0 0 ":this.settings.xpos+" "+this.settings.ypos,backgroundRepeat:t?"repeat":"no-repeat",backgroundSize:t?"auto":"cover"}),""!==this.settings.image&&"none"!==this.settings.image&&(c.find(".parallax-inner").css({opacity:Math.abs(parseFloat(this.settings.opacity)/100),backgroundImage:u?"":"url("+this.settings.image+")"}),this.setBackgroundStyling(c,m)),d=0,c.offset().top>i._fusionWindowHeight&&(d=c.offset().top-i._fusionWindowHeight),g=c.offset().top+c.height()+parseInt(c.css("paddingTop"),10)+parseInt(c.css("paddingBottom"),10),this.moveMax=e-n,this.scrollTopMin=d,this.scrollTopMax=g):(900,r=jQuery(i).height(),e=c.width()+parseInt(c.css("paddingRight"),10)+parseInt(c.css("paddingLeft"),10),l=s=c.height()+parseInt(c.css("paddingTop"),10)+parseInt(c.css("paddingBottom"),10),s+=r*Math.abs(parseFloat(this.settings.velocity)),h=0,"down"===this.settings.direction&&(h-=s-l),1>c.find(".parallax-inner").length&&c.prepend('<div class="parallax-inner"></div>'),c.css({position:"relative",overflow:"hidden",zIndex:1,"background-image":"none"}).attr("style",c.attr("style")).find(".parallax-inner").css({pointerEvents:"none",width:e,height:s,position:"absolute",zIndex:-1,top:h,left:0,opacity:Math.abs(parseFloat(this.settings.opacity)/100),backgroundPosition:t?"0 0 ":this.settings.xpos+" "+this.settings.ypos,backgroundRepeat:t?"repeat":"no-repeat",backgroundSize:t?"auto":"cover"}),""!==this.settings.image&&"none"!==this.settings.image&&(c.find(".parallax-inner").css({opacity:Math.abs(parseFloat(this.settings.opacity)/100),backgroundImage:u?"":"url("+this.settings.image+")"}),this.setBackgroundStyling(c,m)),d=0,c.offset().top>i._fusionWindowHeight&&(d=c.offset().top-i._fusionWindowHeight),g=c.offset().top+c.height()+parseInt(c.css("paddingTop"),10)+parseInt(c.css("paddingBottom"),10),this.moveMax=s-l,this.scrollTopMin=d,this.scrollTopMax=g),u&&c.find(".parallax-inner").attr("data-bg",this.settings.image).addClass("lazyload"))},isMobile:function(){return cssua.ua.mobile}}),t.fn[e]=function(i){return this.each(function(){t.data(this,"plugin_"+e)||t.data(this,"plugin_"+e,new a(this,i))}),this}}(jQuery,window,document),jQuery(document).ready(function(t){"use strict";t(window).on("scroll touchmove touchstart touchend gesturechange",function(){requestAnimationFrame(_fusionParallaxAll)}),cssua.ua.mobile&&requestAnimationFrame(function(){var t;for(_fusionRefreshScroll(),t=0;t<window._fusionImageParallaxImages.length;t++)window._fusionImageParallaxImages[t].doParallax()}),t(window).on("resize",function(){setTimeout(function(){_fusionRefreshWindow(),jQuery.each(window._fusionImageParallaxImages,function(t,i){i.resizeParallaxBackground()})},1)}),setTimeout(function(){_fusionRefreshWindow(),jQuery.each(window._fusionImageParallaxImages,function(t,i){i.resizeParallaxBackground()})},1),setTimeout(function(){_fusionRefreshWindow(),jQuery.each(window._fusionImageParallaxImages,function(t,i){i.resizeParallaxBackground()})},100),jQuery.each(window._fusionImageParallaxImages,function(t,i){jQuery(i.element).next().on("lazyloaded",function(){i.resizeParallaxBackground()})})}),jQuery(window).on("load",function(){setTimeout(function(){_fusionRefreshWindow(),jQuery.each(window._fusionImageParallaxImages,function(t,i){i.resizeParallaxBackground()})},1),setTimeout(function(){_fusionRefreshWindow(),jQuery.each(window._fusionImageParallaxImages,function(t,i){i.resizeParallaxBackground()})},1e3)}),jQuery(document).on("ready fusion-element-render-fusion_builder_container",function(t,i){"use strict";var e=void 0!==i?jQuery('div[data-cid="'+i+'"]').find(".fusion-bg-parallax"):jQuery(".fusion-bg-parallax");function s(){return cssua.ua.mobile}s()&&jQuery(".fusion-bg-parallax.video > div").remove(),e.next().addClass("bg-parallax-parent"),e.attr("style","").css("display","none"),e.each(function(){cssua.ua.mobile&&!jQuery(this).data("mobile-enabled")||(jQuery(this).removeData(),jQuery(this).fusionImageParallax({image:jQuery(this).data("bg-image"),imageMedium:jQuery(this).data("bg-image-medium"),imageSmall:jQuery(this).data("bg-image-small"),backgroundColor:void 0!==jQuery(this).data("bg-color")?jQuery(this).data("bg-color"):"",backgroundColorMedium:void 0!==jQuery(this).data("bg-color-medium")?jQuery(this).data("bg-color-medium"):"",backgroundColorSmall:void 0!==jQuery(this).data("bg-color-small")?jQuery(this).data("bg-color-small"):"",blendMode:void 0!==jQuery(this).data("blend-mode")?jQuery(this).data("blend-mode"):"none",blendModeMedium:void 0!==jQuery(this).data("blend-mode-medium")?jQuery(this).data("blend-mode-medium"):"",blendModeSmall:void 0!==jQuery(this).data("blend-mode-small")?jQuery(this).data("blend-mode-small"):"",direction:jQuery(this).data("direction"),mobileenabled:jQuery(this).data("mobile-enabled"),mobiledevice:s(),bgAlpha:jQuery(this).data("bg-alpha"),opacity:jQuery(this).data("opacity"),width:jQuery(this).data("bg-width"),height:jQuery(this).data("bg-height"),velocity:jQuery(this).data("velocity"),align:jQuery(this).data("bg-align"),repeat:jQuery(this).data("bg-repeat"),target:jQuery(this).next(),gradientType:void 0!==jQuery(this).data("bg-gradient-type")?jQuery(this).data("bg-gradient-type"):"",gradientAngle:void 0!==jQuery(this).data("bg-gradient-angle")?jQuery(this).data("bg-gradient-angle"):"",gradientStartColor:void 0!==jQuery(this).data("bg-gradient-start-color")?jQuery(this).data("bg-gradient-start-color"):"",gradientStartPosition:void 0!==jQuery(this).data("bg-gradient-start-position")?jQuery(this).data("bg-gradient-start-position"):"",gradientEndColor:void 0!==jQuery(this).data("bg-gradient-end-color")?jQuery(this).data("bg-gradient-end-color"):"",gradientEndPosition:void 0!==jQuery(this).data("bg-gradient-end-position")?jQuery(this).data("bg-gradient-end-position"):"",gradientRadialDirection:void 0!==jQuery(this).data("bg-radial-direction")?jQuery(this).data("bg-radial-direction"):"",complete:function(){}}))})});
var fusionVideoGeneralVars={"status_vimeo":"0","status_yt":"0"};function playVideoAndPauseOthers(e){var i=jQuery(e).find("[data-youtube-video-id]").find("iframe"),t=jQuery(e).data("flexslider").slides.eq(jQuery(e).data("flexslider").currentSlide),o=t.find("[data-youtube-video-id]").find("iframe");i.each(function(){jQuery(this).attr("id")!==o.attr("id")&&void 0!==window.$youtube_players&&void 0!==window.$youtube_players[jQuery(this).attr("id")]&&window.$youtube_players[jQuery(this).attr("id")].stopVideo()}),o.length&&("function"!=typeof fusionGetConsent||fusionGetConsent("youtube"))&&void 0!==window.$youtube_players&&(!o.parents("li").hasClass("clone")&&o.parents("li").hasClass("flex-active-slide")&&"yes"===o.parents("li").attr("data-autoplay")&&(void 0===window.$youtube_players||void 0===window.$youtube_players[o.attr("id")]||void 0===window.$youtube_players[o.attr("id")].playVideo?fusionYouTubeTimeout(o.attr("id")):"slide"===jQuery(e).data("animation")&&0===e.currentSlide&&void 0===jQuery(e).data("iteration")?window.$youtube_players[o.attr("id")]&&setTimeout(function(){window.$youtube_players[o.attr("id")].playVideo(),jQuery(e).data("iteration",1),e.stop(),setTimeout(function(){e.play()},1e3*window.$youtube_players[o.attr("id")].getDuration()-6e3)},2e3):window.$youtube_players[o.attr("id")].playVideo()),"yes"===t.attr("data-mute")&&void 0!==window.$youtube_players[o.attr("id")]&&void 0!==window.$youtube_players[o.attr("id")].mute&&window.$youtube_players[o.attr("id")].mute()),Number(fusionVideoGeneralVars.status_vimeo)&&("function"!=typeof fusionGetConsent||fusionGetConsent("vimeo"))&&setTimeout(function(){jQuery(e).find("[data-vimeo-video-id] > iframe").each(function(){new Vimeo.Player(jQuery(this)[0]).pause()}),0!==e.slides.eq(e.currentSlide).find("[data-vimeo-video-id] > iframe").length&&("yes"===jQuery(e.slides.eq(e.currentSlide)).data("autoplay")&&new Vimeo.Player(e.slides.eq(e.currentSlide).find("iframe")[0]).play(),"yes"===jQuery(e.slides.eq(e.currentSlide)).data("mute")&&new Vimeo.Player(e.slides.eq(e.currentSlide).find("iframe")[0]).setVolume(0))},300),jQuery(e).find("video").each(function(){"function"==typeof jQuery(this)[0].pause&&jQuery(this)[0].pause(),!jQuery(this).parents("li").hasClass("clone")&&jQuery(this).parents("li").hasClass("flex-active-slide")&&"yes"===jQuery(this).parents("li").attr("data-autoplay")&&"function"==typeof jQuery(this)[0].play&&jQuery(this)[0].play()})}jQuery(document).ready(function(){var e;e=jQuery("iframe"),jQuery.each(e,function(e,i){var t=jQuery(this).attr("src"),o=jQuery(this).data("privacy-src"),s=!t&&o?o:t;s&&Number(fusionVideoGeneralVars.status_vimeo)&&1<=s.indexOf("vimeo")&&jQuery(this).attr("id","player_"+(e+1))}),jQuery("body").hasClass("fusion-builder-live")?setTimeout(function(){jQuery(".full-video, .video-shortcode, .wooslider .slide-content, .fusion-portfolio-carousel .fusion-video").not("#bbpress-forums .full-video, #bbpress-forums .video-shortcode, #bbpress-forums .wooslider .slide-content, #bbpress-forums .fusion-portfolio-carousel .fusion-video").fitVids(),jQuery("#bbpress-forums").fitVids()},350):(jQuery(".full-video, .video-shortcode, .wooslider .slide-content, .fusion-portfolio-carousel .fusion-video").not("#bbpress-forums .full-video, #bbpress-forums .video-shortcode, #bbpress-forums .wooslider .slide-content, #bbpress-forums .fusion-portfolio-carousel .fusion-video").fitVids(),jQuery("#bbpress-forums").fitVids())});
var fusionVideoBgVars={"status_vimeo":"0","status_yt":"0"};var $youtubeBGVideos={};function _fbRowGetAllElementsWithAttribute(e){var t,i,o=[],a=document.getElementsByTagName("*");for(t=0,i=a.length;t<i;t++)a[t].getAttribute(e)&&!jQuery(a[t]).parents(".tfs-slider").length&&o.push(a[t]);return o}function _fbRowOnPlayerReady(e){var t,i,o=e.target,a=0,d=!0;o.playVideo(),o.isMute&&o.mute(),0!==jQuery("[data-youtube-video-id="+o.getVideoData().video_id+"]").data("loop")&&(t=o.getCurrentTime(),i=+new Date/1e3,o.loopInterval=setInterval(function(){void 0!==o.loopTimeout&&clearTimeout(o.loopTimeout),t===o.getCurrentTime()?a=t+(+new Date/1e3-i):(a=o.getCurrentTime(),i=+new Date/1e3),t=o.getCurrentTime(),a+(d?.45:.21)>=o.getDuration()&&(o.pauseVideo(),o.seekTo(0),o.playVideo(),d=!1)},150))}function _fbRowOnPlayerStateChange(e){e.data===YT.PlayerState.ENDED?(void 0!==e.target.loopTimeout&&clearTimeout(e.target.loopTimeout),0!==jQuery("[data-youtube-video-id="+e.target.getVideoData().video_id+"]").data("loop")&&e.target.seekTo(0)):e.data===YT.PlayerState.PLAYING&&jQuery(e.target.getIframe()).parent().css("opacity","1")}function resizeVideo(e){var t,i,o,a,d,n,r,s,u,f,v,c,m,l,p,y=e.parent();y.find("iframe").hasClass("fusion-hidden")&&y.find("iframe").attr("data-privacy-src")||(null!==y.find("iframe").width()?((t=e).css({width:"auto",height:"auto",left:"auto",top:"auto"}),t.css("position","absolute"),l=y.find("> div").data("display"),a=y.width(),d=y.height(),i=y.outerWidth(),o=y.outerHeight(),s=[16,9],void 0!==e.attr("data-video-aspect-ratio")&&-1!==e.attr("data-video-aspect-ratio").indexOf(":")&&((s=e.attr("data-video-aspect-ratio").split(":"))[0]=parseFloat(s[0]),s[1]=parseFloat(s[1])),r=o,n=s[0]/s[1]*o,"contain"===l?(y.css("paddingTop",y.parent("li").find(".slide-content-container").css("paddingTop")),r>=o&&(u=o,f=s[0]/s[1]*o),f>=i&&(f=i,u=s[1]/s[0]*i)):n>=i&&r>=o?(u=o,f=s[0]/s[1]*o):(f=i,u=s[1]/s[0]*i),v=-(u-d)/2,y.hasClass("fusion-flex-container")?(c="auto",m="auto"):(c=-(f-a)/2,m="0"),1>y.find(".fusion-video-cover").length&&y.find("iframe").parent().prepend('<div class="fusion-video-cover">&nbsp;</div>'),y.is(":visible")&&(y.find(".fusion-video-cover").css({"z-index":0,width:f,height:u,position:"absolute"}),p="iframe",y.hasClass("video-background")&&(p="iframe.fusion-container-video-bg"),jQuery("body").hasClass("rtl")?y.find(p).parent().css({marginRight:c,marginLeft:m,marginTop:v}):y.find(p).parent().css({marginRight:m,marginLeft:c,marginTop:v}),y.find(p).css({width:f,height:u,"z-index":-1}))):setTimeout(function(){resizeVideo(e)},500))}function vimeoReady(e){var t,i=jQuery("#"+e).parents("[data-vimeo-video-id]").first();("function"!=typeof fusionGetConsent||fusionGetConsent("vimeo"))&&(t=new Vimeo.Player(e),"yes"===i.data("mute")&&t.setVolume(0),"no"===i.data("mute")&&t.setVolume(1),t.on("timeupdate",function(e){i.css("opacity","1"),t.off("timeupdate")}),jQuery("#"+e).attr("data-privacy-src")&&resizeVideo(i))}function fusionInitVimeoPlayers(){var e,t,i,o,a;if(("function"!=typeof fusionGetConsent||fusionGetConsent("vimeo"))&&Number(fusionVideoBgVars.status_vimeo)&&0<(e=jQuery("[data-vimeo-video-id]")).length)for(i=(t=e.find('> iframe, iframe[data-privacy-type="vimeo"]')).length,a=0;a<i;a++)o=t[a],"function"==typeof vimeoReady&&vimeoReady(o.getAttribute("id"))}jQuery(document).ready(function(e){e("body").hasClass("vc_editor")||(e(".bg-parallax.video, .fusion-bg-parallax.video").each(function(){e(this).prependTo(e(this).next().addClass("video")),e(this).css({opacity:Math.abs(parseFloat(e(this).attr("data-opacity"))/100)})}),e("[data-youtube-video-id], [data-vimeo-video-id]").parent().css("overflow","hidden"),e("[data-youtube-video-id], [data-vimeo-video-id]").each(function(){var t=e(this);setTimeout(function(){resizeVideo(t)},100)}),e("[data-youtube-video-id], [data-vimeo-video-id]").each(function(){var t=e(this);setTimeout(function(){resizeVideo(t)},1e3)}),e(window).on("resize",function(){e("[data-youtube-video-id], [data-vimeo-video-id]").each(function(){var t=e(this);setTimeout(function(){resizeVideo(t)},2)})}),fusionInitVimeoPlayers())}),jQuery(window).on("load fusion-element-render-fusion_builder_container",function(e,t){var i=void 0!==t?jQuery('div[data-cid="'+t+'"]').find("[data-youtube-video-id], [data-vimeo-video-id]"):jQuery("[data-youtube-video-id], [data-vimeo-video-id]");void 0!==t&&(Number(fusionVideoBgVars.status_yt)&&"undefined"!=typeof onYouTubeIframeAPIReady&&onYouTubeIframeAPIReady(),jQuery("[data-youtube-video-id], [data-vimeo-video-id]").parent().css("overflow","hidden")),i.each(function(){var e=jQuery(this);setTimeout(function(){resizeVideo(e)},500)})});
var fusionLightboxVars={"status_lightbox":"1","lightbox_gallery":"1","lightbox_skin":"metro-white","lightbox_title":"1","lightbox_zoom":"1","lightbox_arrows":"1","lightbox_slideshow_speed":"5000","lightbox_loop":"0","lightbox_autoplay":"","lightbox_opacity":"0.90","lightbox_desc":"1","lightbox_social":"1","lightbox_social_links":{"facebook":{"source":"https:\/\/www.facebook.com\/sharer.php?u={URL}","text":"Share on Facebook"},"twitter":{"source":"https:\/\/x.com\/intent\/post?url={URL}","text":"Share on X"},"reddit":{"source":"https:\/\/reddit.com\/submit?url={URL}","text":"Share on Reddit"},"linkedin":{"source":"https:\/\/www.linkedin.com\/shareArticle?mini=true&url={URL}","text":"Share on LinkedIn"},"whatsapp":{"source":"https:\/\/api.whatsapp.com\/send?text={URL}","text":"Share on WhatsApp"},"telegram":{"source":"https:\/\/t.me\/share\/url?url={URL}","text":"Share on Telegram"},"tumblr":{"source":"https:\/\/www.tumblr.com\/share\/link?url={URL}","text":"Share on Tumblr"},"pinterest":{"source":"https:\/\/pinterest.com\/pin\/create\/button\/?url={URL}","text":"Share on Pinterest"},"vk":{"source":"https:\/\/vk.com\/share.php?url={URL}","text":"Share on Vk"},"xing":{"source":"https:\/\/www.xing.com\/social_plugins\/share\/new?sc_p=xing-share&amp;h=1&amp;url={URL}","text":"Share on Xing"},"mail":{"source":"mailto:?body={URL}","text":"Share by Email"}},"lightbox_deeplinking":"1","lightbox_path":"vertical","lightbox_post_images":"1","lightbox_animation_speed":"normal","l10n":{"close":"Press Esc to close","enterFullscreen":"Enter Fullscreen (Shift+Enter)","exitFullscreen":"Exit Fullscreen (Shift+Enter)","slideShow":"Slideshow","next":"Next","previous":"Previous"}};
function avadaLightBoxInitializeLightbox(){window.$ilInstances&&jQuery.each(window.$ilInstances,function(t,i){window.$ilInstances[t].destroy()}),window.avadaLightBox.initialize_lightbox()}window.avadaLightBox={},void 0===window.$ilInstances&&(window.$ilInstances={}),window.avadaLightBox.initialize_lightbox=function(){"use strict";1===Number(fusionLightboxVars.status_lightbox)&&(window.avadaLightBox.set_title_and_caption(),window.avadaLightBox.activate_lightbox())},window.avadaLightBox.activate_lightbox=function(t){"use strict";var i,e=[],o=1;void 0===t&&(t=jQuery("body")),t.find('[data-rel^="prettyPhoto["], [rel^="prettyPhoto["], [data-rel^="iLightbox["], [rel^="iLightbox["]').each(function(){var t,i,o,a,n=["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","svg","mp4","ogg","webm","webp","avif"],r=0,s=jQuery(this).attr("href");for(void 0===s&&(s=""),t=0;t<n.length;t++)r+=String(s).toLowerCase().indexOf("."+n[t]);i=/http(s?):\/\/(www\.)?vimeo.com\/(\d+)/,s.match(i)&&(r=1),i=/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\?))\??v?=?([^#\&\?]*).*/,s.match(i)&&(r=1),-1*n.length===parseInt(r,10)&&(jQuery(this).addClass("fusion-no-lightbox"),jQuery(this).removeAttr("data-rel rel")),jQuery(this).hasClass("fusion-no-lightbox")||(null!=(o=this.getAttribute("data-rel"))&&-1===jQuery.inArray(o,e)&&e.push(o),null!=(a=this.getAttribute("data-rel"))&&(jQuery(this).parents(".gallery").length&&(a=a.replace("postimages",jQuery(this).parents(".gallery").attr("id")),jQuery(this).attr("data-rel",a)),-1===jQuery.inArray(a,e)&&e.push(a)))}),i=1,t.find(".tiled-gallery").each(function(){jQuery(this).find(".tiled-gallery-item > a").each(function(){var t=this.getAttribute("data-rel");null==t&&(t="iLightbox[tiled-gallery-"+i+"]",jQuery(this).attr("data-rel",t)),-1===jQuery.inArray(t,e)&&e.push(t)}),i++}),jQuery.each(e,function(t,i){o++,1===jQuery('[data-rel="'+i+'"], [rel="'+i+'"]').length?window.$ilInstances[i]=jQuery('[data-rel="'+i+'"], [rel="'+i+'"]').iLightBox(window.avadaLightBox.prepare_options(i,!1)):window.$ilInstances[i]=jQuery('[data-rel="'+i+'"], [rel="'+i+'"]').iLightBox(window.avadaLightBox.prepare_options(i))}),t.find('a[rel="prettyPhoto"], a[data-rel="prettyPhoto"], a[rel="iLightbox"], a[data-rel="iLightbox"]').each(function(){var t=jQuery(this).attr("href");""!==t&&void 0!==t&&(window.$ilInstances["single_"+o]=jQuery(this).iLightBox(window.avadaLightBox.prepare_options("single")),o++)}),t.find("#lightbox-link, .lightbox-link, .fusion-lightbox-link").each(function(){var t=jQuery(this).attr("href");""!==t&&void 0!==t&&(window.$ilInstances["single_"+o]=jQuery(this).iLightBox(window.avadaLightBox.prepare_options("single")),o++)}),fusionLightboxVars.lightbox_post_images&&t.find(".type-post .post-content a, #posts-container .post .post-content a, .fusion-blog-shortcode .post .post-content a, .type-avada_portfolio .project-content a, .fusion-portfolio .fusion-portfolio-wrapper .fusion-post-content, .summary-container .post-content a, .woocommerce-tabs .post-content a").has("img").each(function(){var t,i=["bmp","gif","jpeg","jpg","png","tiff","tif","jfif","jpe","svg","mp4","ogg","webm","webp","avif"],e=0;for(t=0;t<i.length;t++)e+=String(jQuery(this).attr("href")).toLowerCase().indexOf("."+i[t]);-1*i.length===parseInt(e,10)&&(jQuery(this).addClass("fusion-no-lightbox"),jQuery(this).removeAttr("data-rel rel")),-1!==String(jQuery(this).attr("rel")).indexOf("prettyPhoto")||-1!==String(jQuery(this).attr("data-rel")).indexOf("prettyPhoto")||-1!==String(jQuery(this).attr("rel")).indexOf("iLightbox")||-1!==String(jQuery(this).attr("data-rel")).indexOf("iLightbox")||jQuery(this).hasClass("fusion-no-lightbox")||(jQuery(this).attr("data-caption",jQuery(this).parent().find("p.wp-caption-text").text()),window.$ilInstances["single_"+o]=jQuery(this).iLightBox(window.avadaLightBox.prepare_options("post")),o++)})},window.avadaLightBox.set_title_and_caption=function(){"use strict";jQuery('a[rel^="prettyPhoto"], a[data-rel^="prettyPhoto"]').each(function(){if(jQuery(this).attr("data-caption")||(jQuery(this).attr("title")?jQuery(this).attr("data-caption",jQuery(this).attr("title").replace(/(<([^>]+)>)/gi,"")):jQuery(this).attr("data-caption",jQuery(this).parents(".gallery-item").find(".gallery-caption").text())),!jQuery(this).attr("data-title")){const t=jQuery(this).find("img").attr("alt")?jQuery(this).find("img").attr("alt").replace(/(<([^>]+)>)/gi,""):"";jQuery(this).attr("data-title",t)}const t=jQuery(this).find("img").attr("alt")?jQuery(this).find("img").attr("alt").replace(/(<([^>]+)>)/gi,""):"";jQuery(this).attr("data-alt",t)}),jQuery('a[rel^="iLightbox"], a[data-rel^="iLightbox"]').each(function(){jQuery(this).attr("data-caption")||jQuery(this).attr("data-caption",jQuery(this).parents(".gallery-item").find(".gallery-caption").text());const t=jQuery(this).find("img").attr("alt")?jQuery(this).find("img").attr("alt").replace(/(<([^>]+)>)/gi,""):"";jQuery(this).attr("data-alt",t)})},window.avadaLightBox.prepare_options=function(t,i){"use strict";var e,o,a=!0;return void 0===i&&(i=fusionLightboxVars.lightbox_gallery,a=!(!0===fusionLightboxVars.lightbox_autoplay||"true"===fusionLightboxVars.lightbox_autoplay||1===fusionLightboxVars.lightbox_autoplay||"1"===fusionLightboxVars.lightbox_autoplay)),e={fast:100,slow:800,normal:400},o={skin:fusionLightboxVars.lightbox_skin,smartRecognition:!1,minScale:.075,show:{title:fusionLightboxVars.lightbox_title,speed:e[fusionLightboxVars.lightbox_animation_speed.toLowerCase()]},path:fusionLightboxVars.lightbox_path,controls:{slideshow:i,arrows:fusionLightboxVars.lightbox_arrows},slideshow:{pauseTime:fusionLightboxVars.lightbox_slideshow_speed,pauseOnHover:!1,startPaused:a},overlay:{opacity:fusionLightboxVars.lightbox_opacity},caption:{start:fusionLightboxVars.lightbox_desc,show:"",hide:""},infinite:"1"===fusionLightboxVars.lightbox_loop,isMobile:!0,callback:{onShow:function(t,i){var e=jQuery(t.currentElement).find('iframe[src*="youtube.com"]');jQuery('.ilightbox-container iframe[src*="youtube.com"]').not(e).each(function(){this.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),jQuery(t.currentElement).trapFocus()},onAfterChange:function(t){var i=jQuery(t.currentElement).find('iframe[src*="youtube.com"]'),e=i.length?i.attr("src"):"";jQuery('.ilightbox-container iframe[src*="youtube.com"]').not(i).each(function(){this.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")}),i.length&&-1!==e.indexOf("autoplay=1")&&i[0].contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*")},onHide:function(t){jQuery(document).off(".fusionLightbox")}}},fusionLightboxVars.lightbox_social&&(o.social={buttons:fusionLightboxVars.lightbox_social_links}),Number(fusionLightboxVars.lightbox_deeplinking)&&(o.linkId=t),o.text=window.fusionLightboxVars.l10n,o},window.avadaLightBox.refresh_lightbox=function(){"use strict";window.avadaLightBox.set_title_and_caption(),jQuery.each(window.$ilInstances,function(t,i){i.hasOwnProperty("refresh")&&i.refresh()})},jQuery(document).ajaxComplete(function(t,i,e){"use strict";-1===e.url.indexOf("https://vimeo.com/api/oembed.json")&&window.avadaLightBox.refresh_lightbox()}),jQuery(window).on("load",function(){"use strict";avadaLightBoxInitializeLightbox()}),jQuery.fn.trapFocus=function(){var t,i,e=jQuery(this).find('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');e.length&&(t=e[0],i=e[e.length-1],jQuery(document).on("keydown.fusionLightbox",function(e){("Tab"===e.key||9===e.keyCode)&&(e.shiftKey?t===document.activeElement&&(i.focus(),e.preventDefault()):i===document.activeElement&&(t.focus(),e.preventDefault()))}),t.focus())},jQuery(document).ready(function(){function t(t,i,e){const o=t.find(".ilightbox-image"),a=t.offset(),n=i-a.left,r=e-a.top,s=n/t.width()*100,h=r/t.height()*100;o.css({"transform-origin":s+"% "+h+"%",transform:"scale("+fusionLightboxVars.lightbox_zoom+")"})}"1.00"!==fusionLightboxVars.lightbox_zoom&&jQuery(document).on("mousemove",".ilightbox-container",function(i){t(jQuery(this),i.pageX,i.pageY)}).on("mouseleave touchend",".ilightbox-container",function(){jQuery(this).find(".ilightbox-image").css({transform:"scale(1)","transform-origin":"center center"})}).on("touchmove",".ilightbox-container",function(i){const e=i.originalEvent.touches[0];e&&t(jQuery(this),e.pageX,e.pageY)}).on("touchstart",".ilightbox-container",function(i){const e=i.originalEvent.touches[0];e&&t(jQuery(this),e.pageX,e.pageY)})});
var fusionFlexSliderVars={"status_vimeo":"","slideshow_autoplay":"1","slideshow_speed":"7000","pagination_video_slide":"","status_yt":"","flex_smoothHeight":"false"};function fusionInitPostFlexSlider(){jQuery(".fusion-flexslider.fusion-flexslider-loading, .flexslider.fusion-flexslider-loading:not(.tfs-slider)").not(".woocommerce .images #slider").each(function(){var e="false"!==fusionFlexSliderVars.flex_smoothHeight,i=Boolean(Number(fusionFlexSliderVars.slideshow_autoplay)),s=Number(fusionFlexSliderVars.slideshow_speed),r="fade",t=!0,n=!0,o='<i class="awb-icon-angle-left"></i>',d='<i class="awb-icon-angle-right"></i>';2>jQuery(this).find(".slides li").length||(e=void 0!==jQuery(this).data("slideshow_smooth_height")?Boolean(Number(jQuery(this).data("slideshow_smooth_height"))):e,i=void 0!==jQuery(this).data("slideshow_autoplay")?Boolean(Number(jQuery(this).data("slideshow_autoplay"))):i,s=void 0!==jQuery(this).data("slideshow_speed")?Number(jQuery(this).data("slideshow_speed")):s,r=void 0!==jQuery(this).data("slideshow_animation")?String(jQuery(this).data("slideshow_animation")):r,t=void 0!==jQuery(this).data("slideshow_control_nav")?fusionFlexSliderStrToBool(jQuery(this).data("slideshow_control_nav")):t,n=void 0!==jQuery(this).data("slideshow_direction_nav")?fusionFlexSliderStrToBool(jQuery(this).data("slideshow_direction_nav")):n,o=void 0!==jQuery(this).data("slideshow_prev_text")?'<i class="'+jQuery(this).data("slideshow_prev_text")+'"></i>':o,d=void 0!==jQuery(this).data("slideshow_next_text")?'<i class="'+jQuery(this).data("slideshow_next_text")+'"></i>':d,jQuery().isotope&&0<jQuery(this).closest(".fusion-blog-layout-grid").length&&(e=!1),jQuery(this).flexslider({slideshow:i,slideshowSpeed:s,video:!0,smoothHeight:e,pauseOnHover:!1,useCSS:!1,prevText:o,nextText:d,animation:r,controlNav:t,directionNav:n,start:function(e){e.removeClass("fusion-flexslider-loading"),jQuery(window).trigger("resize"),void 0!==e.slides&&0!==e.slides.eq(e.currentSlide).find("iframe").length?(Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","-20px"):jQuery(e).find(".flex-control-nav").hide(),Number(fusionFlexSliderVars.status_yt)&&!0===window.yt_vid_exists&&window.YTReady(function(){new YT.Player(e.slides.eq(e.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(e.slides.eq(e.currentSlide).find("iframe").attr("id"),e)}})})):Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","0"):jQuery(e).find(".flex-control-nav").show(),jQuery.isFunction(jQuery.fn.initElementAnimations)&&jQuery(window).initElementAnimations(jQuery(this))},before:function(e){0!==e.slides.eq(e.currentSlide).find("iframe").length&&(Number(fusionFlexSliderVars.status_vimeo)&&-1!==e.slides.eq(e.currentSlide).find("iframe")[0].src.indexOf("vimeo")&&(void 0!==window.fusionVimeoPlayers[e.slides.eq(e.currentSlide).find("iframe")[0].getAttribute("id")]?window.fusionVimeoPlayers[e.slides.eq(e.currentSlide).find("iframe")[0].getAttribute("id")].pause():new Vimeo.Player(e.slides.eq(e.currentSlide).find("iframe")[0]).pause()),Number(fusionFlexSliderVars.status_yt)&&!0===window.yt_vid_exists&&window.YTReady(function(){new YT.Player(e.slides.eq(e.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(e.slides.eq(e.currentSlide).find("iframe").attr("id"),e)}})}),playVideoAndPauseOthers(e))},after:function(e){0!==e.slides.eq(e.currentSlide).find("iframe").length?(Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","-20px"):jQuery(e).find(".flex-control-nav").hide(),Number(fusionFlexSliderVars.status_yt)&&!0===window.yt_vid_exists&&window.YTReady(function(){new YT.Player(e.slides.eq(e.currentSlide).find("iframe").attr("id"),{events:{onStateChange:onPlayerStateChange(e.slides.eq(e.currentSlide).find("iframe").attr("id"),e)}})})):Number(fusionFlexSliderVars.pagination_video_slide)?jQuery(e).find(".flex-control-nav").css("bottom","0"):jQuery(e).find(".flex-control-nav").show(),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")})}}),e="false"!==fusionFlexSliderVars.flex_smoothHeight)})}function fusionDestroyPostFlexSlider(){jQuery(".fusion-flexslider").not(".woocommerce .images #slider").flexslider("destroy")}function fusionFlexSliderStrToBool(e){return/^\s*(true|1|on)\s*$/i.test(e)}jQuery(window).on("load",function(){var e,i="false"!==fusionFlexSliderVars.flex_smoothHeight;window.fusionVimeoPlayers=[],jQuery().flexslider&&(Number(fusionFlexSliderVars.status_vimeo)&&jQuery(".flexslider").find("iframe").each(function(){var i=jQuery(this).attr("id"),s=jQuery(this).attr("src");i&&-1!==s.indexOf("vimeo")&&(window.fusionVimeoPlayers[i]=new Vimeo.Player(i),e=jQuery("#"+i).parents("li"),window.fusionVimeoPlayers[i].on("play",function(){jQuery("#"+i).parents("li").parent().parent().flexslider("pause")}),window.fusionVimeoPlayers[i].on("pause",function(){jQuery(e).attr("data-vimeo-paused","true"),"yes"===jQuery(e).attr("data-loop")?jQuery("#"+i).parents("li").parent().parent().flexslider("pause"):jQuery("#"+i).parents("li").parent().parent().flexslider("play")}),window.fusionVimeoPlayers[i].on("ended",function(){"yes"!==jQuery(e).attr("data-loop")&&"true"!==jQuery(e).attr("data-vimeo-paused")&&jQuery("#"+i).parents("li").parent().parent().flexslider("next"),"true"===jQuery(e).attr("data-vimeo-paused","true")&&jQuery(e).attr("data-vimeo-paused","false")}))}),fusionInitPostFlexSlider(),1<=jQuery(".flexslider-attachments").length&&jQuery.each(jQuery(".flexslider-attachments"),function(){void 0!==jQuery(this).data("flexslider")&&jQuery(this).flexslider("destroy"),jQuery(this).flexslider({slideshow:Boolean(Number(fusionFlexSliderVars.slideshow_autoplay)),slideshowSpeed:fusionFlexSliderVars.slideshow_speed,video:!1,smoothHeight:i,pauseOnHover:!1,useCSS:!1,prevText:"&#xf104;",nextText:"&#xf105;",controlNav:"thumbnails",start:function(e){jQuery(e).find(".fusion-slider-loading").remove(),e.removeClass("fusion-flexslider-loading")}}),i&&jQuery(this).find(".flex-control-nav").css("position","absolute")}))}),jQuery(window).on("fusion-element-render-fusion_recent_posts fusion-element-render-fusion_postslider",function(e,i){(void 0!==i?jQuery('div[data-cid="'+i+'"]'):jQuery(document)).find(".fusion-flexslider").not(".woocommerce .images #slider").flexslider()}),jQuery(window).on("fusion-element-render-fusion_slider",function(e,i){var s=(void 0!==i?jQuery('div[data-cid="'+i+'"]'):jQuery(document)).find(".flexslider:not(.tfs-slider):not(.fusion-slider-sc)");void 0!==s&&s.flexslider()}),jQuery(window).on("fusion-element-render-fusion_slide",function(e,i){var s=jQuery('li[data-cid="'+i+'"]');0<s.length&&void 0!==s.data("parent-cid")&&(void 0!==s.closest(".flexslider:not(.tfs-slider)").data("flexslider")&&jQuery(s.closest(".flexslider:not(.tfs-slider)")).flexslider("destroy"),jQuery(window).trigger("fusion-element-render-fusion_slider",s.data("parent-cid")))}),jQuery(window).on("fusion-element-render-fusion_post_cards",function(e,i){fusionInitPostFlexSlider()}),window.addEventListener("fusion-reinit-single-post-slideshow",function(){fusionInitPostFlexSlider()});
function fusionInitTooltips(){jQuery('[data-toggle="tooltip"]').each(function(){var e;e=jQuery(this).parents(".fusion-header-wrapper").length?".fusion-header-wrapper":jQuery(this).parents("#side-header").length?"#side-header":"body",(!cssua.ua.mobile||cssua.ua.mobile&&"_blank"!==jQuery(this).attr("target"))&&jQuery(this).tooltip({container:e})})}jQuery(window).on("load",function(){fusionInitTooltips()}),jQuery(window).on("fusion-element-render-fusion_text fusion-element-render-fusion_social_links",function(e,t){var i,n=jQuery('div[data-cid="'+t+'"]').find('[data-toggle="tooltip"]');i=n.parents(".fusion-header-wrapper").length?".fusion-header-wrapper":n.parents("#side-header").length?"#side-header":"body",n.each(function(){(!cssua.ua.mobile||cssua.ua.mobile&&"_blank"!==jQuery(this).attr("target"))&&jQuery(this).tooltip({container:i})})});
function copyPageUrl(e){e.preventDefault();const t=window.location.origin+window.location.pathname;if(navigator.clipboard)navigator.clipboard.writeText(t).then(()=>{});else{const e=document.createElement("input");document.body.appendChild(e),e.value=t,e.select(),document.execCommand ("copy"),document.body.removeChild(e)}}jQuery(document).ready(function(){jQuery(".fusion-sharing-box").each(function(){jQuery('meta[property="og:title"]').length||(jQuery("head title").after('<meta property="og:title" content="'+jQuery(this).data("title")+'"/>'),jQuery("head title").after('<meta property="og:description" content="'+jQuery(this).data("description")+'"/>'),jQuery("head title").after('<meta property="og:type" content="article"/>'),jQuery("head title").after('<meta property="og:url" content="'+jQuery(this).data("link")+'"/>'),jQuery("head title").after('<meta property="og:image" content="'+jQuery(this).data("image")+'"/>'))}),cssua.ua.mobile&&jQuery(".fusion-social-network-icon, .fusion-facebook-sharer-icon, .fusion-social-networks span a").each(function(e,t){"string"==typeof t.href&&0===t.href.indexOf("https://www.facebook.com/sharer.php")&&t.setAttribute("href",t.href.replace("https://www.facebook.com/sharer.php","https://m.facebook.com/sharer.php"))})});
(function(){var t,i;t=this.jQuery||window.jQuery,i=t(window),t.fn.stick_in_parent=function(s){var o,n,e,r,c,a,f,l,u,g,d,k,h,p,y,v,m,b,_,C;for(null==s&&(s={}),k=s.sticky_class,a=s.inner_scrolling,d=s.recalc_every,g=s.parent,u=s.offset_top,l=s.spacer,e=s.bottoming,h=void 0!==s.transition_offset&&parseFloat(s.transition_offset),p=void 0!==s.observer&&s.observer,y=void 0!==s.scroll_transition&&parseFloat(s.scroll_transition),v=void 0!==s.clone&&s.clone,m=!1,adminBarHeight=fusion.getAdminbarHeight(),null==u&&(u=0),"fusion-container-stuck"===k&&"object"==typeof fusion&&"function"==typeof fusion.getHeight&&(u=fusion.getHeight(u)+adminBarHeight),null==g&&(g=void 0),null==a&&(a=!0),null==k&&(k="is_stuck"),o=t(document),null==e&&(e=!0),r=function(n,r,c,f,w,x,j,H){var z,I,A,O,Q,B,F,M,R,T,D,G,S;if(!n.data("sticky_kit")){if(n.attr("data-sticky_kit",!0),Q=o.height(),F=n.parent(),null!=g&&(F=F.closest(g)),!F.length)throw"failed to find stick parent";if(A=!1,z=!1,null!=l?D=l&&n.closest(l):v?(D=n.clone(!1)).addClass("fusion-sticky-spacer").removeClass("fusion-sticky-transition"):D=jQuery('<div class="fusion-sticky-spacer" />'),D&&D.css("position",n.css("position")),overlap=function(t,i){"object"==typeof t&&"object"==typeof t[0]&&(t[0].isIntersecting?n.removeClass("fusion-sticky-transition"):n.addClass("fusion-sticky-transition"))},p&&(S=new IntersectionObserver(overlap,{rootMargin:"0px",threshold:1})),e&&"function"==typeof ResizeObserver&&new ResizeObserver(function(t){let i=t[0].contentRect;f=i.height,_()}).observe(F[0]),(M=function(){var t,i,s,e,a,g;if(!H)return Q=o.height(),t=parseInt(F.css("border-top-width"),10),i=parseInt(F.css("padding-top"),10),r=parseInt(F.css("padding-bottom"),10),c=F.offset().top+t+i,f=F.height(),A&&(A=!1,z=!1,null==l&&(n.next(".fusion-sticky-spacer").length?D=n.next(".fusion-sticky-spacer"):n.insertAfter(D)),n.css({position:"",top:"",width:"",bottom:""}).removeClass(k),s=!0),a=0,(g=n.css("transform")).includes("matrix(")&&n.hasClass("fusion-sticky-scroll-transition")&&void 0!==(g=g.slice(7,g.length-1).split(", "))[5]&&(a=-parseFloat(g[5])),w=a+n.offset().top-(parseInt(n.css("margin-top"),10)||0)-u,x=n.outerHeight(!0),j=n.css("float"),D&&(e={width:n.outerWidth(!0),display:n.css("display"),"vertical-align":n.css("vertical-align"),float:j},v||(e.height=x),D.css(e)),s?G():void 0})(),x!==f){if(O=void 0,B=u,T=d,G=function(){var t,s,g,v,m,b;if(!H)return g=!1,null!=T&&0>=(T-=1)&&(T=d,M(),g=!0),null==T||g||o.height()===Q||(M(),g=!0),v=i.scrollTop(),null!=O&&(s=v-O),O=v,A?(e&&(m=v+x+B>f+c,z&&!m&&(z=!1,n.css({position:"fixed",bottom:"",top:B}).trigger("sticky_kit:unbottom"))),v<w&&(A=!1,B=u,null==l&&("left"!==j&&"right"!==j||n.insertAfter(D),D&&D.detach()),t={position:"",width:"",top:""},n.css(t).removeClass(k).trigger("sticky_kit:unstick"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-change")),a&&(b=i.height(),x+u>b&&(z||(B-=s,B=Math.max(b-x,B),B=Math.min(u,B),A&&n.css({top:B+"px"}))))):(v>w||v===w)&&(A=!0,(t={position:"fixed",top:B}).width="border-box"===n.css("box-sizing")?n.outerWidth()+"px":n.width()+"px",n.css(t).addClass(k),null==l&&(n.after(D),"left"!==j&&"right"!==j||D.append(n)),n.trigger("sticky_kit:stick"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-change")),!1===h||p||(!n.is(".fusion-sticky-transition")&&v-w>h?(n.addClass("fusion-sticky-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-transition-change")):n.is(".fusion-sticky-transition")&&v-w<=h&&(n.removeClass("fusion-sticky-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-transition-change"))),!1!==y&&0!==y&&(0>s&&!window.scrollDisabled?n.hasClass("fusion-scrolling-up")||(n.addClass("fusion-scrolling-up").removeClass("fusion-scrolling-down"),i.trigger("fusion-sticky-scroll-change")):n.hasClass("fusion-scrolling-down")||(n.addClass("fusion-scrolling-down").removeClass("fusion-scrolling-up"),i.trigger("fusion-sticky-scroll-change")),!n.is(".fusion-sticky-scroll-transition")&&v-w>y?(n.addClass("fusion-sticky-scroll-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-scroll-change")):n.is(".fusion-sticky-scroll-transition")&&v-w<=y&&(n.removeClass("fusion-sticky-scroll-transition"),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-scroll-change"))),A&&e&&(null==m&&(m=v+x+B>f+c),!z&&m)?(z=!0,"static"===F.css("position")&&F.css({position:"relative"}),n.css({position:"absolute",bottom:r,top:"auto"}).trigger("sticky_kit:bottom")):void 0},R=function(){return M(),G()},_=function(t){var i;"object"==typeof fusion&&"function"==typeof fusion.getHeight&&(u=void 0===s.offset_top?0:s.offset_top,"fusion-container-stuck"===k?u=fusion.getHeight(u)+adminBarHeight:"fusion-sidebar-stuck"===k&&jQuery(".fusion-tb-header").length&&"function"==typeof fusionGetStickyOffset&&(i=fusionGetStickyOffset())&&(u=i+adminBarHeight+50),B=u),R(),void 0!==t&&"string"==typeof t.type&&"resize"===t.type&&"function"==typeof W&&W()},"object"==typeof fusion&&"function"==typeof fusion.debounce)var W=fusion.debounce(_,350);return C=function(t){m||(m=!0,_(t),W(),setTimeout(function(){m=!1},100))},b=function(){p&&S.observe(n.next()[0])},I=function(){if(H=!0,i.off("touchmove",G),i.off("scroll",G),i.off("resize",_),t(document.body).off("sticky_kit:recalc",R),"fusion-container-stuck"===k&&i.trigger("fusion-sticky-change"),n.off("sticky_kit:detach",I),n.removeData("sticky_kit"),n.removeAttr("data-sticky_kit"),n.css({position:"",bottom:"",top:"",width:""}),n.removeClass("fusion-sticky-transition"),F.position("position",""),A)return null==l&&("left"!==j&&"right"!==j||n.insertAfter(D),D.remove()),n.removeClass(k);n.next(".fusion-sticky-spacer").length&&n.next(".fusion-sticky-spacer").remove()},D&&D.detach(),"fusion-sidebar-stuck"===k&&jQuery(".fusion-tb-header").length&&i.on("fusion-sticky-change fusion-sticky-scroll-change fusion-sticky-transition-change",C),i.on("touchmove",G),i.on("scroll",G),i.on("resize",_),t(document.body).on("sticky_kit:recalc",R),n.on("sticky_kit:detach",I),n.on("sticky_kit:stick",b),setTimeout(G,0)}}},c=0,f=this.length;c<f;c++)n=this[c],r(t(n));return this}}).call(this);
function checkHoverTouchState(){var e,t=!1;document.addEventListener("touchstart",function(){clearTimeout(e),t=!0,jQuery("body").addClass("fusion-touch"),jQuery("body").removeClass("fusion-no-touch"),e=setTimeout(function(){t=!1},500)},{passive:!0}),document.addEventListener("mouseover",function(){t||(t=!1,jQuery("body").addClass("fusion-no-touch"),jQuery("body").removeClass("fusion-touch"))})}checkHoverTouchState(),jQuery(document).on("click",'a[href*="awb-cb-copy--"]',function(e){e.preventDefault();let t=this.hash.replace("#","");t=t.split("--");const o=t[1];t=t[0];const n=jQuery("#"+o)[0].textContent;if("clipboard"in navigator)navigator.clipboard.writeText(n).then(()=>{});else{const e=document.createElement("textarea");e.value=n,e.style.position="fixed",e.style.opacity=0,document.body.appendChild(e),e.select();document.execCommand ("copy");document.body.removeChild(e)}});
!function(e){var t=function(e,t,a){"use strict";var i,n;if(function(){var t,a={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-orig-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(t in n=e.lazySizesConfig||e.lazysizesConfig||{},a)t in n||(n[t]=a[t])}(),!t||!t.getElementsByClassName)return{init:function(){},cfg:n,noSupport:!0};var r=t.documentElement,s=e.HTMLPictureElement,o="addEventListener",l="getAttribute",d=e[o].bind(e),c=e.setTimeout,u=e.requestAnimationFrame||c,f=e.requestIdleCallback,m=/^picture$/i,g=["load","error","lazyincluded","_lazyloaded"],y={},h=Array.prototype.forEach,z=function(e,t){return y[t]||(y[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),y[t].test(e[l]("class")||"")&&y[t]},v=function(e,t){z(e,t)||e.setAttribute("class",(e[l]("class")||"").trim()+" "+t)},p=function(e,t){var a;(a=z(e,t))&&e.setAttribute("class",(e[l]("class")||"").replace(a," "))},b=function(e,t,a){var i=a?o:"removeEventListener";a&&b(e,t),g.forEach(function(a){e[i](a,t)})},A=function(e,a,n,r,s){var o=t.createEvent("Event");return n||(n={}),n.instance=i,o.initEvent(a,!r,!s),o.detail=n,e.dispatchEvent(o),o},C=function(t,a){var i;!s&&(i=e.picturefill||n.pf)?(a&&a.src&&!t[l]("srcset")&&t.setAttribute("srcset",a.src),i({reevaluate:!0,elements:[t]})):a&&a.src&&(t.src=a.src)},w=function(e,t){return(getComputedStyle(e,null)||{})[t]},E=function(e,t,a){for(a=a||e.offsetWidth;a<n.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},_=(ve=[],pe=[],be=ve,Ae=function(){var e=be;for(be=ve.length?pe:ve,he=!0,ze=!1;e.length;)e.shift()();he=!1},Ce=function(e,a){he&&!a?e.apply(this,arguments):(be.push(e),ze||(ze=!0,(t.hidden?c:u)(Ae)))},Ce._lsFlush=Ae,Ce),M=function(e,t){return t?function(){_(e)}:function(){var t=this,a=arguments;_(function(){e.apply(t,a)})}},N=function(e){var t,i=0,r=n.throttleDelay,s=n.ricTimeout,o=function(){t=!1,i=a.now(),e()},l=f&&s>49?function(){f(o,{timeout:s}),s!==n.ricTimeout&&(s=n.ricTimeout)}:M(function(){c(o)},!0);return function(e){var n;(e=!0===e)&&(s=33),t||(t=!0,(n=r-(a.now()-i))<0&&(n=0),e||n<9?l():c(l,n))}},L=function(e){var t,i,n=99,r=function(){t=null,e()},s=function(){var e=a.now()-i;e<n?c(s,n-e):(f||r)(r)};return function(){i=a.now(),t||(t=c(s,n))}},S=(U=/^img$/i,G=/^iframe$/i,K="onscroll"in e&&!/(gle|ing)bot/.test(navigator.userAgent),X=0,Y=0,Z=0,ee=-1,te=function(e){Z--,(!e||Z<0||!e.target)&&(Z=0)},ae=function(e){return null==J&&(J="hidden"==w(t.body,"visibility")),J||!("hidden"==w(e.parentNode,"visibility")&&"hidden"==w(e,"visibility"))},ie=function(e,a){var i,n=e,s=ae(e);for(H-=a,V+=a,Q-=a,O+=a;s&&(n=n.offsetParent)&&n!=t.body&&n!=r;)(s=(w(n,"opacity")||1)>0)&&"visible"!=w(n,"overflow")&&(i=n.getBoundingClientRect(),s=O>i.left&&Q<i.right&&V>i.top-1&&H<i.bottom+1);return s},ne=function(){var e,a,s,o,d,c,u,f,m,g,y,h,z=i.elements;if((q=n.loadMode)&&Z<8&&(e=z.length)){for(a=0,ee++;a<e;a++)if(z[a]&&!z[a]._lazyRace)if(!K||i.prematureUnveil&&i.prematureUnveil(z[a]))fe(z[a]);else if((f=z[a][l]("data-expand"))&&(c=1*f)||(c=Y),g||(g=!n.expand||n.expand<1?r.clientHeight>500&&r.clientWidth>500?500:370:n.expand,i._defEx=g,y=g*n.expFactor,h=n.hFac,J=null,Y<y&&Z<1&&ee>2&&q>2&&!t.hidden?(Y=y,ee=0):Y=q>1&&ee>1&&Z<6?g:X),m!==c&&($=innerWidth+c*h,D=innerHeight+c,u=-1*c,m=c),s=z[a].getBoundingClientRect(),(V=s.bottom)>=u&&(H=s.top)<=D&&(O=s.right)>=u*h&&(Q=s.left)<=$&&(V||O||Q||H)&&(n.loadHidden||ae(z[a]))&&(k&&Z<3&&!f&&(q<3||ee<4)||ie(z[a],c))){if(fe(z[a]),d=!0,Z>9)break}else!d&&k&&!o&&Z<4&&ee<4&&q>2&&(j[0]||n.preloadAfterLoad)&&(j[0]||!f&&(V||O||Q||H||"auto"!=z[a][l](n.sizesAttr)))&&(o=j[0]||z[a]);o&&!d&&fe(o)}},re=N(ne),se=function(e){var t=e.target;t._lazyCache?delete t._lazyCache:(te(e),v(t,n.loadedClass),p(t,n.loadingClass),b(t,le),A(t,"lazyloaded"))},oe=M(se),le=function(e){oe({target:e.target})},de=function(e,t){var a=e.getAttribute("data-load-mode")||n.iframeLoadMode;0==a?e.contentWindow.location.replace(t):1==a&&(e.src=t)},ce=function(e){var t,a=e[l](n.srcsetAttr);(t=n.customMedia[e[l]("data-media")||e[l]("media")])&&e.setAttribute("media",t),a&&e.setAttribute("srcset",a)},ue=M(function(e,t,a,i,r){var s,o,d,u,f,g;(f=A(e,"lazybeforeunveil",t)).defaultPrevented||(i&&(a?v(e,n.autosizesClass):e.setAttribute("sizes",i)),o=e[l](n.srcsetAttr),s=e[l](n.srcAttr),r&&(u=(d=e.parentNode)&&m.test(d.nodeName||"")),g=t.firesLoad||"src"in e&&(o||s||u),f={target:e},v(e,n.loadingClass),g&&(clearTimeout(T),T=c(te,2500),b(e,le,!0)),u&&h.call(d.getElementsByTagName("source"),ce),o?e.setAttribute("srcset",o):s&&!u&&(G.test(e.nodeName)?de(e,s):e.src=s),r&&(o||u)&&C(e,{src:s})),e._lazyRace&&delete e._lazyRace,p(e,n.lazyClass),_(function(){var t=e.complete&&e.naturalWidth>1;g&&!t||(t&&v(e,n.fastLoadedClass),se(f),e._lazyCache=!0,c(function(){"_lazyCache"in e&&delete e._lazyCache},9)),"lazy"==e.loading&&Z--},!0)}),fe=function(e){if(!e._lazyRace){var t,a=U.test(e.nodeName),i=a&&(e[l](n.sizesAttr)||e[l]("sizes")),r="auto"==i;(!r&&k||!a||!e[l]("src")&&!e.srcset||e.complete||z(e,n.errorClass)||!z(e,n.lazyClass))&&(t=A(e,"lazyunveilread").detail,r&&x.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,Z++,ue(e,t,r,i,a))}},me=L(function(){n.loadMode=3,re()}),ge=function(){3==n.loadMode&&(n.loadMode=2),me()},ye=function(){k||(a.now()-I<999?c(ye,999):(k=!0,n.loadMode=3,re(),d("scroll",ge,!0)))},{_:function(){I=a.now(),i.elements=t.getElementsByClassName(n.lazyClass),j=t.getElementsByClassName(n.lazyClass+" "+n.preloadClass),d("scroll",re,!0),d("resize",re,!0),d("pageshow",function(e){if(e.persisted){var a=t.querySelectorAll("."+n.loadingClass);a.length&&a.forEach&&u(function(){a.forEach(function(e){e.complete&&fe(e)})})}}),e.MutationObserver?new MutationObserver(re).observe(r,{childList:!0,subtree:!0,attributes:!0}):(r[o]("DOMNodeInserted",re,!0),r[o]("DOMAttrModified",re,!0),setInterval(re,999)),d("hashchange",re,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){t[o](e,re,!0)}),/d$|^c/.test(t.readyState)?ye():(d("load",ye),t[o]("DOMContentLoaded",re),c(ye,2e4)),i.elements.length?(ne(),_._lsFlush()):re()},checkElems:re,unveil:fe,_aLSL:ge}),x=(B=M(function(e,t,a,i){var n,r,s;if(e._lazysizesWidth=i,i+="px",e.setAttribute("sizes",i),m.test(t.nodeName||""))for(r=0,s=(n=t.getElementsByTagName("source")).length;r<s;r++)n[r].setAttribute("sizes",i);a.detail.dataAttr||C(e,a.detail)}),P=function(e,t,a){var i,n=e.parentNode;n&&(a=E(e,n,a),(i=A(e,"lazybeforesizes",{width:a,dataAttr:!!t})).defaultPrevented||(a=i.detail.width)&&a!==e._lazysizesWidth&&B(e,n,i,a))},R=L(function(){var e,t=W.length;if(t)for(e=0;e<t;e++)P(W[e])}),{_:function(){W=t.getElementsByClassName(n.autosizesClass),d("resize",R)},checkElems:R,updateElem:P}),F=function(){!F.i&&t.getElementsByClassName&&(F.i=!0,x._(),S._())};var W,B,P,R;var j,k,T,q,I,$,D,H,Q,O,V,J,U,G,K,X,Y,Z,ee,te,ae,ie,ne,re,se,oe,le,de,ce,ue,fe,me,ge,ye;var he,ze,ve,pe,be,Ae,Ce;return c(function(){n.init&&F()}),i={cfg:n,autoSizer:x,loader:S,init:F,uP:C,aC:v,rC:p,hC:z,fire:A,gW:E,rAF:_}}(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{}),function(e,t){if(e){var a=function(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)};t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}}("undefined"!=typeof window?window:0,function(e,t,a){"use strict";if(e.addEventListener){var i=/\s+(\d+)(w|h)\s+(\d+)(w|h)/,n=/parent-fit["']*\s*:\s*["']*(contain|cover|width)/,r=/parent-container["']*\s*:\s*["']*(.+?)(?=(\s|$|,|'|"|;))/,s=/^picture$/i,o=a.cfg,l={getParent:function(t,a){var i=t,n=t.parentNode;return a&&"prev"!=a||!n||!s.test(n.nodeName||"")||(n=n.parentNode),"self"!=a&&(i="prev"==a?t.previousElementSibling:a&&(n.closest||e.jQuery)&&(n.closest?n.closest(a):jQuery(n).closest(a)[0])||n),i},getFit:function(e){var t,a,i=getComputedStyle(e,null)||{},s=i.content||i.fontFamily,o={fit:e._lazysizesParentFit||e.getAttribute("data-parent-fit")};return!o.fit&&s&&(t=s.match(n))&&(o.fit=t[1]),o.fit?(!(a=e._lazysizesParentContainer||e.getAttribute("data-parent-container"))&&s&&(t=s.match(r))&&(a=t[1]),o.parent=l.getParent(e,a)):o.fit=i.objectFit,o},getImageRatio:function(t){var a,n,r,l,d,c,u,f=t.parentNode,m=f&&s.test(f.nodeName||"")?f.querySelectorAll("source, img"):[t];for(a=0;a<m.length;a++)if(n=(t=m[a]).getAttribute(o.srcsetAttr)||t.getAttribute("srcset")||t.getAttribute("data-pfsrcset")||t.getAttribute("data-risrcset")||"",r=t._lsMedia||t.getAttribute("media"),r=o.customMedia[t.getAttribute("data-media")||r]||r,n&&(!r||(e.matchMedia&&matchMedia(r)||{}).matches)){(l=parseFloat(t.getAttribute("data-aspectratio")))||((d=n.match(i))?"w"==d[2]?(c=d[1],u=d[3]):(c=d[3],u=d[1]):(c=t.getAttribute("width"),u=t.getAttribute("height")),l=c/u);break}return l},calculateSize:function(e,t){var a,i,n,r=this.getFit(e),s=r.fit,o=r.parent;return"width"==s||("contain"==s||"cover"==s)&&(i=this.getImageRatio(e))?(o?t=o.clientWidth:o=e,n=t,"width"==s?n=t:(a=t/o.clientHeight)&&("cover"==s&&a<i||"contain"==s&&a>i)&&(n=t*(i/a)),n):t}};a.parentFit=l,t.addEventListener("lazybeforesizes",function(e){if(!e.defaultPrevented&&e.detail.instance==a){var t=e.target;e.detail.width=l.calculateSize(t,e.detail.width)}})}});const lazyBg=function(e){var t=e.getAttribute("data-bg"),a=e.getAttribute("data-bg-medium")||t,i=e.getAttribute("data-bg-small")||a,n=e.getAttribute("data-bg-gradient");Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_medium+"px)")&&(t=a),Modernizr.mq("only screen and (max-width: "+fusionJSVars.visibility_small+"px)")&&(t=i),n&&t?e.style.backgroundImage=n+",url("+t+")":t&&(e.style.backgroundImage="url("+t+")")};document.addEventListener("lazybeforeunveil",function(e){jQuery(e.target).is("iframe")?jQuery(e.target).parent().fitVids():lazyBg(e.target)}),window.addEventListener("resize",function(){const e=jQuery("[data-fusion-responsive-bg]");e.length&&e.each(function(e,t){lazyBg(t)})}),document.addEventListener("lazybeforesizes",function(e){const t=jQuery(e.target).parent();t.hasClass("awb-imageframe-style-dario")&&(t.css("display","block"),e.detail.width=e.target.offsetWidth>40?e.target.offsetWidth:t[0].offsetWidth,t.css("display",""))});
jQuery(document).ready((function(){function t(t){var e,a,r;if(t instanceof jQuery.Event)(r=jQuery(t.target).closest("select")).length&&r.closest(".avada-select-wrapper").length&&o(r);else for(e=0;e<t.length;e++)a=jQuery(t[e].target),r="","childList"===t[e].type&&(a.parent().hasClass("fusion-post-cards")?(r=a.find(".fusion-post-card-cart").find(".avada-select-wrapper select"),"undefined"!=typeof wc_add_to_cart_variation_params&&a.find(".variations_form").each((function(){jQuery(this).wc_variation_form()}))):a.is("select")&&a.closest(".avada-select-wrapper").length&&(r=a),r&&o(r));function o(t){t.closest("td.value").find(".avada-color-select, .avada-button-select, .avada-image-select").each((function(){var e=jQuery(this),a=e.attr("data-value");t.find('[value="'+a+'"]').length?e.removeAttr("data-disabled"):e.attr("data-disabled",!0)}))}}jQuery(".avada-select-wrapper").each((function(){var t=jQuery(this).find("select").val(),e=jQuery(this).find('[data-value="'+t+'"]'),a=jQuery(this).find("[data-checked]");e.length&&!e.is("[data-checked]")&&(a.removeAttr("data-checked"),e.attr("data-checked",!0))})),jQuery("body").on("click",".avada-color-select, .avada-image-select, .avada-button-select",(function(t){var e=jQuery(this).closest(".avada-select-wrapper"),a=e.find("select"),r=jQuery(this).attr("data-value");if(e.length&&t.preventDefault(),!jQuery(this).attr("data-disabled")){if(jQuery(this).is("[data-checked]"))return e.find("[data-checked]").removeAttr("data-checked"),void a.val("").trigger("change.wc-variation-form");e.find("[data-checked]").removeAttr("data-checked"),jQuery(this).attr("data-checked",!0),a.val(r).trigger("change.wc-variation-form")}})),window.MutationObserver?new MutationObserver(t).observe(document.querySelector("body"),{attributes:!1,childList:!0,characterData:!0,subtree:!0}):jQuery("body").on("DOMNodeInserted DOMNodeRemoved",t),jQuery("body").on("change",".single_variation:not(.avada-variation) .wcsatt-options-product-dropdown",(function(){const t=jQuery(this).val();jQuery(".variations_form").find(".avada-variation").find(".wcsatt-options-product-dropdown").val(t).trigger("change")})),jQuery("body").on("check_variations",".variations_form",(function(t){var e=jQuery(t.currentTarget).closest(".product").find(".product_meta").find(".sku");1<e.length&&e.each((function(){void 0===jQuery(this).attr("data-o-content-set")?(jQuery(this).attr("data-o_content",jQuery(this).text()),jQuery(this).attr("data-o-content-set",!0)):jQuery(this).closest(".fusion-layout-column").hasClass("post-card")&&jQuery(this).text(jQuery(this).attr("data-o_content"))}))})),jQuery("body").on("reset_data",".variations_form",(function(t){var e=jQuery(t.currentTarget).closest(".product").find(".product_meta").find(".sku");1<e.length&&jQuery(e).each((function(){jQuery(this).closest(".fusion-layout-column").hasClass("post-card")&&void 0!==jQuery(this).attr("data-o_content")&&jQuery(this).text(jQuery(this).attr("data-o_content"))}))})),jQuery("body").on("click",".reset_variations",(function(){jQuery(".product").find(".product_meta").find(".sku").each((function(){void 0!==jQuery(this).attr("data-o_content")&&jQuery(this).text(jQuery(this).attr("data-o_content"))})),jQuery(this).closest(".variations_form").find("[data-checked]").removeAttr("data-checked")}))}));
jQuery(document).ready((function(){jQuery(".fusion-footer .fusion-footer-widget-area .fusion-column").each((function(){jQuery(this).is(":empty")&&jQuery(this).css("margin-bottom","0")})),jQuery(".fusion-social-links-footer").find(".fusion-social-networks").children().length||(jQuery(".fusion-social-links-footer").hide(),jQuery(".fusion-footer-copyright-area .fusion-copyright-notice").css("padding-bottom","0"))}));
function avadaAddQuantityBoxes(t,a){var e=!1,n=jQuery("body").hasClass("wcopc-product-single");t||(t=".qty"),a||(a=jQuery("div.quantity:not(.buttons_added), td.quantity:not(.buttons_added)").find(t)),a.length&&(jQuery.each(a,(function(t,a){"date"===jQuery(a).prop("type")||"hidden"===jQuery(a).prop("type")||jQuery(a).parent().parent().hasClass("tribe-block__tickets__item__quantity__number")||jQuery(a).parent().hasClass("buttons_added")||(jQuery(a).parent().addClass("buttons_added").prepend('<input type="button" value="-" class="minus" />'),jQuery(a).addClass("input-text").after('<input type="button" value="+" class="plus" />'),e=!0)})),e&&(jQuery("input"+t+":not(.product-quantity input"+t+")").each((function(){var t=parseFloat(jQuery(this).attr("min"));t&&0<t&&parseFloat(jQuery(this).val())<t&&jQuery(this).val(t)})),jQuery(".plus, .minus").off("click"),jQuery(".plus, .minus").on("click",(function(){var a=jQuery(this).parent().find(t),e=parseFloat(a.val()),i=parseFloat(a.attr("max")),o=parseFloat(a.attr("min")),u=a.attr("step");e&&""!==e&&"NaN"!==e||(e=0),""!==i&&"NaN"!==i||(i=""),""!==o&&"NaN"!==o||(o=0),"any"!==u&&""!==u&&void 0!==u&&"NaN"!==parseFloat(u)||(u=1),jQuery(this).is(".plus")?i&&(i==e||e>i)?a.val(i):a.val(e+parseFloat(u)):o&&(o==e||e<o)?a.val(o):0<e&&a.val(e-parseFloat(u)),n&&(jQuery(this).closest("tr").hasClass("opc_cart_item")||jQuery(this).closest(".shop_table").parent().hasClass("wcopc"))?a.trigger("input"):a.trigger("change")}))))}function compositeAddQuantityBoxes(){avadaAddQuantityBoxes()}jQuery(window).on("load updated_wc_div fusion-element-render-fusion_tb_woo_cart",(function(){avadaAddQuantityBoxes()})),jQuery(document).ajaxComplete((function(){avadaAddQuantityBoxes()})),jQuery(document).ready((function(){jQuery(".yith-wacp-mini-cart-icon").on("click",(function(){setTimeout((function(){avadaAddQuantityBoxes()}),100)}))})),jQuery(".composite_data").length&&jQuery(".composite_data").on("wc-composite-initializing",(function(t,a){a.actions.add_action("component_selection_details_updated",compositeAddQuantityBoxes,10)}));
function fusionResizeCrossfadeImagesContainer(e){let i=0;e.css("height",""),e.find("img").each((function(){const e=jQuery(this).height();e>i&&(i=e)})),e.css("height",i)}jQuery(window).on("load",(function(){jQuery(window).on("fusion-resize-horizontal",(function(){setTimeout((function(){jQuery(".crossfade-images").each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}))}),200)})),jQuery(".crossfade-images").each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}))}));
function calcSelectArrowDimensions(e){var t=".avada-select-parent .select-arrow, .gravity-select-parent .select-arrow, .wpcf7-select-parent .select-arrow";(void 0!==e?jQuery(e).find(t):jQuery(t)).filter(":visible").each((function(){0<jQuery(this).prev().innerHeight()&&jQuery(this).css({height:jQuery(this).prev().innerHeight(),width:jQuery(this).prev().innerHeight(),"line-height":jQuery(this).prev().innerHeight()+"px"})}))}function adjustSelect2Dropdowns(){jQuery(document).on("focus",".select2.select2-container",(function(){const e=jQuery(this).closest("form"),t=jQuery(".select2-container--open:not(.select2)");void 0!==e.attr("style")&&t.length&&(t[0].style.cssText+=function(e){return e.replace(/(--awb-field[\w-]*)\s*:/g,(function(e,t){return t.replace(/-/g,"_").replace(/^__awb_field/,"--form")+":"}))}(e.attr("style").split(/;\s*/).filter(e=>e.trim().startsWith("--")).map(e=>e.trim()+";").join("\n")))}))}jQuery(window).on("load fusion-element-render-fusion_tb_woo_cart fusion-element-render-fusion_tb_woo_checkout_tabs fusion-element-render-fusion_tb_woo_checkout_billing fusion-element-render-fusion_tb_woo_checkout_shipping fusion-element-render-fusion_woo_cart_shipping",(function(){calcSelectArrowDimensions(),setTimeout((function(){calcSelectArrowDimensions()}),100),adjustSelect2Dropdowns()})),jQuery(window).on("fusion-dynamic-content-render",(function(e,t){calcSelectArrowDimensions(t)}));
var avadaLiveSearchVars={"live_search":"1","ajaxurl":"https:\/\/raksanna.com\/wp-admin\/admin-ajax.php","no_search_results":"No search results match your query. Please try again","min_char_count":"4","per_page":"100","show_feat_img":"1","display_post_type":"1"};var avadaLiveSearch=function(){var e=[];avadaLiveSearchVars.live_search&&jQuery(".fusion-live-search-input").each((function(){var s,a=jQuery(this),i=a.closest(".fusion-live-search"),t=i.find(".fusion-search-button"),n=i.find(".fusion-search-submit"),o=i.find(".fusion-search-results"),r=i.find('input[name^="post_type"]'),d=i.find('input[name^="include_terms"]'),l=i.find('input[name^="exclude_terms"]'),u=i.find('input[name="search_limit_to_post_titles"]'),c=i.find('input[name="add_woo_product_skus"]'),v=i.find('input[name="live_min_character"]'),f=i.find('input[name="live_posts_per_page"]'),h=i.find('input[name="live_search_display_featured_image"]'),_=i.find('input[name="live_search_display_post_type"]'),p=i.find('input[name="live_results_scrollbar"]'),g=o.closest(".fusion-builder-row"),m=i.closest(".fusion-header"),y=void 0!==v.val()?parseInt(v.val()):avadaLiveSearchVars.min_char_count,C=void 0!==f.val()?parseInt(f.val()):avadaLiveSearchVars.per_page,j=void 0!==h.val()?parseInt(h.val()):avadaLiveSearchVars.show_feat_img,w=void 0!==_.val()?parseInt(_.val()):avadaLiveSearchVars.display_post_type;function S(e){var s="";o.html(""),o.removeClass("suggestions-empty"),o.addClass("suggestions-added"),L("add"),jQuery.isEmptyObject(e)?(o.addClass("suggestions-empty"),s+='<div class="fusion-search-result">'+avadaLiveSearchVars.no_search_results+"</div>",o.append(s)):jQuery.each(e,(function(e,a){s="",s+='<a class="fusion-search-result" href="'+a.post_url+'" title="'+a.title+'">',a.image_url&&(s+='<div class="fusion-search-image"><img class="fusion-search-image-tag" src="'+a.image_url+'" alt="Post Thumb'+a.id+'"/></div>'),s+='<div class="fusion-search-content">',s+='<div class="fusion-search-post-title">'+a.title+"</div>",a.type&&(s+='<div class="fusion-search-post-type">'+a.type+"</div>"),s+="</div>";let i={value:s+="</a>",suggestion:a};jQuery(window).trigger("awb_live_search_result_suggestion_html",[i]),s=i.value,o.append(s)}))}function b(){var s,t;if(i=a.closest(".fusion-live-search"),s=a.val(),s+=(t=function(){var e=[];return r.each((function(){e.push(this.value)})),e})().toString(),y<=a.val().length){if(void 0!==e[s])return void S(e[s]);i.find(".fusion-slider-loading").show(),i.find(".fusion-search-submit").css("color","transparent"),n.css("color","transparent");let o={action:"live_search_retrieve_posts",search:a.val(),per_page:C,show_feat_img:j,display_post_type:w,post_type:t(),search_limit_to_post_titles:u.val(),add_woo_product_skus:c.val()};d.length&&(o.include_terms=d.val()),l.length&&(o.exclude_terms=l.val()),jQuery.ajax({url:avadaLiveSearchVars.ajaxurl,type:"post",data:o}).done((function(a){e[s]=a,S(a),i.find(".fusion-slider-loading").hide(),n.css("color",n.attr("data-color"))}))}else i.find(".fusion-slider-loading").hide(),n.css("color",n.attr("data-color")),o.removeClass("suggestions-added"),L("remove")}function L(e){g.length&&("add"===e?g.css("z-index","11"):g.css("z-index","")),m.length&&("add"===e?m.addClass("live-suggestion-added"):m.removeClass("live-suggestion-added"))}n.attr("data-color",n.css("color")),void 0!==p.val()&&p.val()&&o.addClass("live-results-scrollbar-"+p.val()),a.on("focusin",(function(){y<=jQuery(this).val().length&&o.children(".fusion-search-result").length&&(o.addClass("suggestions-added"),L("add"))})),a.on("focusout",(function(){o.is(":hover")||t.is(":hover")||(o.removeClass("suggestions-added"),L("remove"),o.addClass("suggestions-transition"),setTimeout((function(){o.removeClass("suggestions-transition")}),300))})),jQuery(t,o).on("mouseleave",(function(){a.is(":focus")||(o.removeClass("suggestions-added"),L("remove"),o.addClass("suggestions-transition"),setTimeout((function(){o.removeClass("suggestions-transition")}),300))})),a.on("keyup",(function(){clearTimeout(s),s=setTimeout(b,500)})),a.on("keydown",(function(){clearTimeout(s)}))}))};jQuery(document).ready((function(){avadaLiveSearch()}));
var fusionBlogVars={"infinite_blog_text":"<em>Loading the next set of posts...<\/em>","infinite_finished_msg":"<em>All items displayed.<\/em>","slideshow_autoplay":"1","lightbox_behavior":"all","blog_pagination_type":"pagination"};jQuery.fn.fusionCalculateBlogEqualHeights=function(){var i=0,e=jQuery(this).find(".fusion-post-grid:visible").not(".invisible-after-ajax").length,n={},o=0;0<e&&(i=Math.round(1/(jQuery(this).children(":visible").first()[0].getBoundingClientRect().width/jQuery(this).width()))),jQuery(this).find(".invisible-after-ajax").hide().removeClass("invisible-after-ajax"),jQuery(this).find(".fusion-post-grid:visible").each(function(e){var s=Math.ceil((e+1)/i),t=jQuery(this).outerHeight();(void 0===n[s]||n[s]<t)&&(o+=n[s]<t?t-n[s]:t,n[s]=t)}),1<i&&1<e&&jQuery(this).find(".fusion-post-grid:visible").each(function(e){var n=parseInt(jQuery(this).css("top"),10),s=0;s=1===(e+1)%i?jQuery(this).parent().find(".fusion-post-grid:visible:eq("+(e+i)+")").length?parseInt(jQuery(this).parent().find(".fusion-post-grid:visible:eq("+(e+i)+")").css("top"),10)-n:o-n:parseInt(jQuery(this).parent().find(".fusion-post-grid:visible:eq("+(e-1)+")").css("height"),10),jQuery(this).css("height",s+"px")})},jQuery(document).ready(function(){window.blogEqualHeightsResizeTimer,jQuery(window).on("resize",function(i,e){void 0!==e&&!0!==e||(jQuery(".fusion-blog-equal-heights").each(function(){jQuery(this).find(".fusion-post-grid").css("height","")}),jQuery(".fusion-blog-equal-heights").length&&(clearTimeout(window.blogEqualHeightsResizeTimer),window.blogEqualHeightsResizeTimer=setTimeout(function(){jQuery(".fusion-blog-equal-heights").isotope()},50)))})}),jQuery(window).on("load fusion-element-render-fusion_blog",function(){var i,e;jQuery().isotope&&jQuery(".fusion-blog-layout-grid").each(function(){var i=jQuery(this),e=".fusion-post-grid",n="packery";jQuery(this).hasClass("fusion-blog-layout-masonry")&&(e=".fusion-post-masonry"),jQuery(this).hasClass("fusion-blog-equal-heights")&&(n="fitRows"),jQuery(this).hasClass("fusion-blog-layout-masonry")&&!jQuery(this).hasClass("fusion-blog-layout-masonry-has-vertical")&&0<jQuery(this).find(".fusion-post-masonry:not(.fusion-grid-sizer)").not(".fusion-element-landscape").length&&jQuery(this).addClass("fusion-blog-layout-masonry-has-vertical"),i.data("isotope")&&(i.isotope("destroy"),i.removeData("isotope")),i.isotope({layoutMode:n,itemSelector:e,isOriginLeft:!jQuery("body.rtl").length,resizable:!0,initLayout:!1}),i.on("layoutComplete",function(i){var e=jQuery(i.target);e.hasClass("fusion-blog-equal-heights")&&(e.find(".fusion-post-grid").css("height",""),e.fusionCalculateBlogEqualHeights()),e.css("min-height","")}),i.isotope(),setTimeout(function(){jQuery(window).trigger("resize",[!1])},250)}),i=jQuery(".fusion-blog-layout-timeline").find(".fusion-timeline-date").last().text(),e=!0,jQuery(".fusion-blog-layout-timeline").find(".fusion-timeline-date").on("click",function(){jQuery(this).next(".fusion-collapse-month").slideToggle()}),jQuery(".fusion-timeline-icon").find(".awb-icon-bubbles").on("click",function(){e?(jQuery(this).parent().next(".fusion-blog-layout-timeline").find(".fusion-collapse-month").slideUp(),e=!1):(jQuery(this).parent().next(".fusion-blog-layout-timeline").find(".fusion-collapse-month").slideDown(),e=!0)}),jQuery(".fusion-posts-container-infinite").each(function(n){var o,s,t,u=jQuery(this),a=jQuery(this).find(".post"),r="post",l="";jQuery(this).find(".fusion-blog-layout-timeline").length&&(u=jQuery(this).find(".fusion-blog-layout-timeline")),o="",u.closest(".fusion-blog-shortcode").length&&(o="."+u.parents(".fusion-blog-shortcode").attr("class").replace(/\ /g,".")+" "),u.closest(".fusion-blog-shortcode").parent(".fusion-archives-tb").length&&(r=(r=u.closest(".fusion-blog-shortcode").parent(".fusion-archives-tb").data("infinite-post-class"))||""),jQuery(u).infinitescroll({navSelector:o+".fusion-infinite-scroll-trigger",nextSelector:o+"a.pagination-next",itemSelector:o+"div.pagination .current, "+o+"article"+(""===r?"":"."+r)+":not(.fusion-archive-description), "+o+".fusion-collapse-month, "+o+".fusion-timeline-date",loading:{finishedMsg:fusionBlogVars.infinite_finished_msg,msg:jQuery('<div class="fusion-loading-container fusion-clearfix"><div class="fusion-loading-spinner"><div class="fusion-spinner-1"></div><div class="fusion-spinner-2"></div><div class="fusion-spinner-3"></div></div><div class="fusion-loading-msg">'+fusionBlogVars.infinite_blog_text+"</div>")},maxPage:u.data("pages")?u.data("pages"):void 0,infid:"b"+n,errorCallback:function(){u.find(".fusion-post-grid").css("height",""),jQuery(u).hasClass("isotope")&&jQuery(u).isotope()}},function(n){jQuery(u).hasClass("fusion-blog-layout-timeline")&&(jQuery(n).first(".fusion-timeline-date").text()==i&&jQuery(n).first(".fusion-timeline-date").remove(),i=jQuery(u).find(".fusion-timeline-date").last().text(),jQuery(u).find(".fusion-timeline-date").each(function(){jQuery(this).next(".fusion-collapse-month").append(jQuery(this).nextUntil(".fusion-timeline-date",".fusion-post-timeline"))}),e||setTimeout(function(){jQuery(u).find(".fusion-collapse-month").hide()},200),setTimeout(function(){jQuery(u).find(".fusion-collapse-month").each(function(){jQuery(this).children().length||jQuery(this).remove()})},10),jQuery(u).find(".fusion-timeline-date").unbind("click"),jQuery(u).find(".fusion-timeline-date").on("click",function(){jQuery(this).next(".fusion-collapse-month").slideToggle()})),fusionInitPostFlexSlider(),jQuery(u).hasClass("fusion-blog-layout-grid")&&jQuery().isotope&&(jQuery(n).hide(),imagesLoaded(n,function(){jQuery(n).fadeIn(),jQuery(u).hasClass("isotope")&&(u.hasClass("fusion-portfolio-equal-heights")&&u.find(".fusion-post-grid").css("height",""),jQuery(u).isotope("appended",jQuery(n))),jQuery('[data-spy="scroll"]').each(function(){jQuery(this).scrollspy("refresh")})})),jQuery(n).each(function(){jQuery(this).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()}),s=u,jQuery(u).hasClass("fusion-blog-layout-timeline")&&(s=jQuery(u).parents(".fusion-posts-container-infinite")),t=s.find(".current").html(),s.find(".current").remove(),s.data("pages")==t&&(s.parent().find(".fusion-loading-container").hide(),s.parent().find(".fusion-load-more-button").hide()),jQuery(n).find(".fusion-rollover-gallery").length&&("individual"!==fusionBlogVars.lightbox_behavior&&a.find(".fusion-rollover-gallery").length?(l=a.find(".fusion-rollover-gallery").first().data("rel"),a=u.find(".post"),void 0!==window.$ilInstances[l]&&(window.$ilInstances[l].destroy(),delete window.$ilInstances[l],window.avadaLightBox.activate_lightbox(a))):(window.avadaLightBox.activate_lightbox(jQuery(n)),a=u.find(".post")),window.avadaLightBox.refresh_lightbox()),setTimeout(function(){jQuery(window).trigger("resize",[!1])},500),jQuery.isFunction(jQuery.fn.initElementAnimations)&&jQuery(window).initElementAnimations(jQuery(this))}),(jQuery(u).hasClass("fusion-blog-archive")&&"load_more_button"===fusionBlogVars.blog_pagination_type||jQuery(u).hasClass("fusion-posts-container-load-more")||jQuery(u).hasClass("fusion-blog-layout-timeline")&&jQuery(u).parent().hasClass("fusion-posts-container-load-more"))&&(jQuery(u).infinitescroll("unbind"),(jQuery(u).hasClass("fusion-blog-archive")?jQuery(u).parent().find(".fusion-load-more-button"):jQuery(u).parents(".fusion-blog-archive").find(".fusion-load-more-button")).on("click",function(i){i.preventDefault(),jQuery(u).infinitescroll("retrieve")})),s=u,jQuery(u).hasClass("fusion-blog-layout-timeline")&&jQuery(u).parents(".fusion-blog-layout-timeline-wrapper").length&&(s=jQuery(u).parents(".fusion-posts-container-infinite")),1===parseInt(s.data("pages"),10)&&(s.parent().find(".fusion-loading-container").hide(),s.parent().find(".fusion-load-more-button").hide())})}),jQuery(window).on("fusion-column-resized",function(i,e){var n=jQuery('div[data-cid="'+e+'"]').find(".fusion-blog-layout-grid");n.data("isotope")&&n.isotope("layout")}),jQuery(window).on("fusion-dynamic-content-render",function(i,e){var n=jQuery(e).find(".fusion-blog-shortcode");0<n.length&&n.each(function(){jQuery(this).find(".fusion-blog-layout-grid").isotope()})});
jQuery(document).on("ready fusion-element-render-fusion_alert",function(e,n){(void 0!==n?jQuery('div[data-cid="'+n+'"]').find(".fusion-alert .close"):jQuery(".fusion-alert .close")).on("click",function(e){e.preventDefault(),jQuery(this).parent().slideUp()})});
var fusionAnimationsVars={"status_css_animations":"desktop"};function isInsideOffCanvas(n,i=".off-canvas-content",t=8){let e=0,a=n[0];for(;a&&"string"==typeof a&&e<t;){if(a.matches(i))return!0;a=a.parentElement,e++}return!1}function fusionSetAnimationData(n){"off"===fusionAnimationsVars.status_css_animations||cssua.ua.mobile&&"desktop_and_mobile"!==fusionAnimationsVars.status_css_animations?jQuery("body").addClass("dont-animate").removeClass("do-animate"):(jQuery("body").addClass("do-animate").removeClass("dont-animate"),void 0!==n&&void 0!==n.data.custom&&jQuery(window).initElementAnimations())}!function(n){"use strict";window.awbAnimationObservers={},n.fn.initElementAnimations=function(i={}){if(!n.isEmptyObject(i)&&isInsideOffCanvas(i))return!1;n.each(window.awbAnimationObservers,function(i,t){n.each(t[0],function(n,i){t[1].unobserve(i)}),delete window.awbAnimationObservers[i]}),"IntersectionObserver"in window?n.each(fusion.getObserverSegmentation(n(".fusion-animated")),function(i){var t=fusion.getAnimationIntersectionData(i),e=new IntersectionObserver(function(i,a){n.each(i,function(i,a){var s,o,r,u,d,m=n(a.target),c=0;a.isIntersecting&&(d=!0,0!==t.threshold&&(n(window).height()<m.outerHeight()?n(window).height()/m.outerHeight()>a.intersectionRatio&&(d=!1):1>a.intersectionRatio&&(d=!1)),d&&(m.parents(".fusion-delayed-animation").length||(m.css("visibility","visible"),s=m.data("animationtype"),o=m.data("animationduration"),r=m.data("animationdelay"),m.addClass(s),o&&(m.css("animation-duration",o+"s"),c+=1e3*o),r&&(m.css("animation-delay",r+"s"),c+=1e3*r),c&&(u=m,setTimeout(function(){u.removeClass(s)},c))),e.unobserve(a.target)))})},t);n(this).each(function(){e.observe(this)}),window.awbAnimationObservers[i]=[this,e]}):n(".fusion-animated").each(function(){n(this).parents(".fusion-delayed-animation").length||n(this).css("visibility","visible")})}}(jQuery),jQuery(document).ready(function(){fusionSetAnimationData()}),jQuery(window).on("load",function(){jQuery("body").hasClass("fusion-builder-live")||setTimeout(function(){jQuery(window).initElementAnimations()},300)}),jQuery(window).on("CSSAnimations",{custom:!0},fusionSetAnimationData);
var fusionMenuVars={"mobile_submenu_open":"Open submenu of %s"};var fusionNavClickExpandBtn=function(e){var n="object"==typeof e&&"object"==typeof e.currentTarget?jQuery(e.currentTarget):jQuery(e),a=n.parent(),u=a.closest("nav");a.toggleClass("expanded"),n.attr("aria-expanded","false"===n.attr("aria-expanded")?"true":"false"),u.hasClass("awb-submenu_cm_accordion")&&(n.hasClass("awb-menu__open-nav-submenu_sub")?a.closest("ul").find(".awb-menu__open-nav-submenu_sub").not(n).attr("aria-expanded","false"):u.find(".awb-menu__open-nav-submenu_main, .awb-menu__open-nav-submenu_sub").not(n).attr("aria-expanded","false")),a.hasClass("expanded")?a.find("ul > li").find("> a, > button").removeAttr("tabindex"):a.find("ul > li").find("> a, > button").attr("tabindex","-1"),fusionNavMobilePosition(a[0])},fusionNavClickExpandSubmenuBtn=function(e){var n="object"==typeof e&&"object"==typeof e.target?jQuery(e.target):jQuery(e),a=n.closest("nav"),u=n.parent();if(a.hasClass("awb-menu_v-stacked")&&!a.hasClass("collapse-enabled")||a.hasClass("awb-submenu_v-stacked")&&!a.hasClass("collapse-enabled"))return fusionVerticalSubmenuDirection(u,n),void fusionNavClickExpandBtn(n);"object"==typeof e.target&&e.preventDefault(),a.hasClass("collapse-enabled")?(a.hasClass("awb-menu_mobile-accordion")&&u.siblings(".expanded").find(".awb-menu__open-nav-submenu_mobile").trigger("click"),u.children(".fusion-megamenu-wrapper, .awb-menu__sub-ul, .deep-level").slideToggle(400,function(){"none"===jQuery(this).css("display")&&jQuery(this).css("display","")})):(a.find(".awb-menu__main-li .awb-menu__open-nav-submenu_click, .awb-submenu__main-li .awb-submenu__open-nav-submenu_click").each(function(e,a){var u=jQuery(a);u.parent().find(n[0]).length||(u.attr("aria-expanded","false"),u.parent("li").removeClass("expanded"))}),u.children(".fusion-megamenu-wrapper, .awb-menu__sub-ul, .awb-submenu__sub-ul, .deep-level").css("display","")),n.attr("aria-expanded","false"===n.attr("aria-expanded")?"true":"false"),"true"===n.attr("aria-expanded")?(u.addClass("expanded"),u.hasClass("fusion-megamenu-menu")&&"undefined"!=typeof fusionNavMegamenuPosition&&fusionNavMegamenuPosition(u),a.hasClass("awb-menu_flyout")&&!a.hasClass("collapse-enabled")&&(a.addClass("flyout-submenu-expanded"),a.parents(".fusion-row").last().addClass("fusion-row-on-top"),jQuery(document).on("keyup.fusion_flyout",function(e){"Escape"===e.key&&n.trigger("click")}),0<u.find(".fusion-search-form-content").length&&setTimeout(function(){u.find(".fusion-search-form-content input.s").focus()},a.data("transition-time")),jQuery("body").hasClass("fusion-builder-live")&&jQuery("body").hasClass("avada-footer-fx-parallax-effect")&&jQuery("body").addClass("avada-flyout-submenu-active")),u.hasClass("awb-menu__li_search-dropdown")&&setTimeout(function(){u.find(".fusion-search-form-content input.s").focus()},a.data("transition-time"))):(u.removeClass("expanded"),n.blur(),a.hasClass("awb-menu_flyout")&&(a.removeClass("flyout-submenu-expanded"),a.parents(".fusion-row").last().removeClass("fusion-row-on-top"),jQuery(document).off("keyup.fusion_flyout"),jQuery("body").hasClass("avada-flyout-submenu-active")&&jQuery("body").removeClass("avada-flyout-submenu-active"))),fusionNavSubmenuDirection(u)},fusionNavMobilePosition=function(e){var n=jQuery(e),a=n.children("ul");n.hasClass("mobile-size-full-absolute")&&(n.hasClass("collapse-enabled")?a.offset({left:0}).css("width","calc(100vw - "+avadaGetScrollBarWidth()+"px"):a.css({width:"",left:"",right:""}))},fusionNavSubmenuDirection=function(e){var n,a,u,s,t,i=jQuery(e),o=i.closest(".fusion-row"),r=o.offset().left,l=r+o.width(),m=i.closest("nav"),c=i.children("ul"),b=m.hasClass("awb-menu_row")||m.hasClass("awb-submenu_row"),d=m.hasClass("awb-menu_left")||m.hasClass("awb-submenu_left"),f=i.closest(".fusion-megamenu-wrapper").length,h=b&&i.parent()[0]===m.children("ul")[0],_=i.find(".awb-menu__sub-arrow").length?i.find(".awb-menu__sub-arrow").outerWidth():0;!c||f||m.hasClass("awb-menu_flyout")||m.hasClass("awb-menu_v-stacked")||!c.length||jQuery("body").hasClass("side-header")&&0<m.closest("#side-header.fusion-tb-header").length||(s=c.css("left"),t=c.css("right"),c.css({left:"",right:"",transition:"all 0s",opacity:"0"}),u=(n=c.offset().left)+(a=c.width()),d&&t!==c.css("right")||!d&&s!==c.css("left")?setTimeout(function(){c.css({transition:"",opacity:""})},10):c.css({transition:"",opacity:""}),d&&n<r?h?c.css("right",-1*a+c.parent().width()):c.css("right",-1*a):!d&&u>l&&(h?c.css("left",-1*a+c.parent().width()):c.css("left",-1*a)),b&&c.width()<(i.width()+_)/2&&i.addClass("reposition-arrows"))},fusionNavSearchOverlay=function(e){var n=jQuery(e).closest("nav");n.toggleClass("has-search-overlay"),n.addClass("menu-element-search-transition"),setTimeout(function(){n.removeClass("menu-element-search-transition")},n.data("transition-time")),n.hasClass("has-search-overlay")?(setTimeout(function(){n.find(".awb-menu__search-overlay input[type=search]").focus()},n.data("transition-time")),n.find(".awb-menu__overlay-search-trigger").attr("aria-expanded","true")):n.find(".awb-menu__overlay-search-trigger").attr("aria-expanded","false")},fusionNavCloseFlyoutSub=function(e){var n=jQuery(e).parent();fusionNavClickExpandSubmenuBtn(n.find(".expanded > .awb-menu__open-nav-submenu_main"))},fusionNavAltArrowsClass=function(e){if(jQuery(e).find(".awb-menu__sub-arrow").length){jQuery(e).find(".awb-menu__sub-arrow + ul > .awb-menu__sub-li:not(.current-menu-item):first-child").on("mouseenter mouseleave focus",function(e){var n=jQuery(this).closest(".awb-menu__main-li");n.hasClass("custom-menu-search")||jQuery(this).closest(".awb-menu__sub-ul").hasClass("avada-custom-menu-item-contents")||("mouseenter"===e.handleObj.origType?(n.addClass("alt-arrow-child-color"),n.children("a").addClass("hover")):"mouseleave"===e.handleObj.origType?(n.removeClass("alt-arrow-child-color"),n.children("a").removeClass("hover")):n.toggleClass("alt-arrow-child-color"))});const n=jQuery(e).find(".awb-menu__sub-arrow + ul > .awb-menu__sub-li.current-menu-item:first-child");if(n.length){n.closest(".awb-menu__main-li").addClass("alt-arrow-child-color")}}},fusionNavRunAll=function(){var e=jQuery(".awb-menu_em-hover .menu-item-has-children, .awb-submenu_em-hover .menu-item-has-children");jQuery(".awb-menu__m-toggle").off("click.mobileTrigger").on("click.mobileTrigger",fusionNavClickExpandBtn),e.each(function(){fusionNavSubmenuDirection(this)}),e.on("mouseenter",function(){fusionNavSubmenuDirection(this)}),jQuery(".awb-menu__open-nav-submenu_click, .awb-submenu__open-nav-submenu_click").parent().each(function(){fusionNavSubmenuDirection(this)}),jQuery(".awb-menu__open-nav-submenu_mobile, .awb-menu__open-nav-submenu_click, .awb-submenu__open-nav-submenu_click").off("click.expandSubmenu").on("click.expandSubmenu",fusionNavClickExpandSubmenuBtn),jQuery(".awb-menu__li_search-dropdown .awb-menu__main-a").off("click.searchDropdown").on("click.searchDropdown",function(e){var n=jQuery(this),a=n.parent(),u=n.closest("nav");e.preventDefault(),n.closest(".awb-menu").hasClass("awb-menu_flyout")?n.siblings(".awb-menu__open-nav-submenu_mobile").trigger("click"):(a.toggleClass("expanded"),fusionNavSubmenuDirection(a)),a.hasClass("expanded")?setTimeout(function(){a.find("input[type=search]").focus()},u.data("transition-time")):n.blur()}),jQuery(".awb-menu_flyout .menu-item-has-children:not(.awb-menu__li_search-dropdown) .awb-menu__main-a").off("click.flyoutTrigger").on("click.flyoutTrigger",function(e){e&&e.preventDefault(),jQuery(this).next(".awb-menu__open-nav-submenu_mobile").trigger("click")}),jQuery("html").on("mouseenter",".fusion-no-touch .awb-menu_flyout.awb-menu_desktop .awb-menu__sub-a",function(){var e=jQuery(this),n=e.parent();void 0!==n.data("item-id")&&(e.closest(".awb-menu").find(".fusion-flyout-menu-backgrounds").addClass("fusion-flyout-menu-backgrounds-active").find("#item-bg-"+n.data("item-id")).addClass("active"),e.closest(".awb-menu__sub-ul").addClass("fusion-transparent-bg"))}),jQuery("html").on("mouseleave",".fusion-no-touch .awb-menu_flyout.awb-menu_desktop .awb-menu__sub-a",function(){var e=jQuery(this),n=e.parent();void 0!==n.data("item-id")&&(e.closest(".awb-menu").find(".fusion-flyout-menu-backgrounds").removeClass("fusion-flyout-menu-backgrounds-active").find("#item-bg-"+n.data("item-id")).removeClass("active"),e.closest(".awb-menu__sub-ul").removeClass("fusion-transparent-bg"))}),jQuery(".awb-menu:not(.awb-menu_flyout) a, .awb-submenu a").on("click",function(e){var n=jQuery(this).closest("nav");void 0!==this.attributes.href&&"#"!==this.attributes.href.value||(e.preventDefault(),n.hasClass("awb-menu")?(n.hasClass("awb-menu_em-click")||n.hasClass("collapse-enabled")||n.hasClass("awb-menu_flyout"))&&jQuery(this).siblings(".awb-menu__open-nav-submenu_mobile").trigger("click.expandSubmenu"):n.hasClass("awb-submenu_em-click")&&jQuery(this).siblings(".awb-submenu__open-nav-submenu_mobile").trigger("click.expandSubmenu"))}),jQuery(".awb-menu.collapse-enabled").each(function(e,n){var a=jQuery(n);(a.hasClass("mobile-size-full-absolute")||a.hasClass("mobile-size-relative"))&&a.hasClass("mobile-mode-collapse-to-button")&&jQuery(n).children("ul").offset({left:0})}),jQuery('.awb-menu a[href^="#"]').on("click",function(){var e=jQuery(this.hash),n=jQuery(this).closest(".awb-menu");n.hasClass("collapse-enabled")&&(n.hasClass("mobile-size-full-absolute")||n.hasClass("mobile-size-column-absolute"))&&e.length&&""!==this.hash.slice(1)&&n.find(".awb-menu__m-toggle").trigger("click")}),jQuery(".awb-menu_v-stacked.awb-menu_em-hover .awb-menu__li").off("mouseenter.verticalMenu").on("mouseenter.verticalMenu",function(){jQuery(this).find(".current-menu-item").length||(jQuery(this).stop(),fusionVerticalSubmenuDirection(jQuery(this)),jQuery(this).children(".awb-menu__sub-a, .awb-menu__main-a").find(".awb-menu__open-nav-submenu-hover").attr("aria-expanded","true"))}),jQuery(".awb-menu_v-stacked.awb-menu_em-hover .awb-menu__li").off("mouseleave.verticalMenu").on("mouseleave.verticalMenu",function(){jQuery(this).find(".current-menu-item").length||(jQuery(this).stop(),fusionVerticalSubmenuDirection(jQuery(this)),jQuery(this).children(".awb-menu__sub-a, .awb-menu__main-a").find(".awb-menu__open-nav-submenu-hover").attr("aria-expanded","false"))}),jQuery(".awb-submenu_v-stacked.awb-submenu_em-hover .awb-submenu__li").off("mouseenter.verticalMenu").on("mouseenter.verticalMenu",function(){jQuery(this).find(".current-menu-item").length||(jQuery(this).stop(),fusionVerticalSubmenuDirection(jQuery(this)),jQuery(this).children(".awb-submenu__sub-a, .awb-submenu__main-a").find(".awb-submenu__open-nav-submenu-hover").attr("aria-expanded","true"))}),jQuery(".awb-submenu_v-stacked.awb-submenu_em-hover .awb-submenu__li").off("mouseleave.verticalMenu").on("mouseleave.verticalMenu",function(){jQuery(this).find(".current-menu-item").length||(jQuery(this).stop(),fusionVerticalSubmenuDirection(jQuery(this)),jQuery(this).children(".awb-submenu__sub-a, .awb-submenu__main-a").find(".awb-submenu__open-nav-submenu-hover").attr("aria-expanded","false"))}),jQuery(".awb-menu_v-stacked .awb-menu__sub-li.current-menu-item").length&&jQuery(".awb-menu_v-stacked .awb-menu__sub-li.current-menu-item").each(function(){jQuery(this).parents(".awb-menu__sub-ul").addClass("is-opened"),jQuery(this).parents(".awb-menu__li").each(function(){jQuery(this).children(".awb-menu__open-nav-submenu_mobile").attr("aria-expanded","true"),jQuery(this).children(".awb-menu__main-a").find(".awb-menu__open-nav-submenu-hover").attr("aria-expanded","true"),jQuery(this).children(".awb-menu__sub-a").find(".awb-menu__open-nav-submenu-hover").attr("aria-expanded","true")})}),jQuery(".awb-submenu_v-stacked .awb-submenu__sub-li.current-menu-item").length&&jQuery(".awb-submenu_v-stacked .awb-submenu__sub-li.current-menu-item").each(function(){jQuery(this).parents(".awb-submenu__sub-ul").show(),jQuery(this).parents(".awb-submenu__li").each(function(){jQuery(this).children(".awb-submenu__open-nav-submenu_mobile").attr("aria-expanded","true"),jQuery(this).children(".awb-submenu__main-a").find(".awb-submenu__open-nav-submenu-hover").attr("aria-expanded","true"),jQuery(this).children(".awb-submenu__sub-a").find(".awb-submenu__open-nav-submenu-hover").attr("aria-expanded","true")})})},fusionAdjustNavMobilePosition=function(){setTimeout(function(){fusionNavMobilePosition(jQuery(".awb-menu.expanded"))},50)};function fusionVerticalSubmenuDirection(e){const n=e.closest("nav"),a=e.children(".awb-menu__sub-ul, .awb-submenu__sub-ul"),u=e.closest(".awb-menu, .awb-submenu").data("transition-time")||400;if(a.length){if(n.hasClass("awb-menu_cm_accordion")||n.hasClass("awb-submenu_cm_accordion")){n.find(".awb-menu__sub-ul, .awb-submenu__sub-ul").each(function(){jQuery.contains(e[0],this)||jQuery.contains(this,e[0])||(jQuery(this).slideUp(u),jQuery(this).closest(".menu-item").find(".awb-submenu__open-nav-submenu_click").attr("aria-expanded","false"),jQuery(this).closest(".menu-item").removeClass("expanded"))})}a.slideToggle(u)}}jQuery(window).on("load",function(){jQuery(".awb-menu, .awb-submenu").each(function(e,n){fusionNavAltArrowsClass(n),fusionNavIsCollapsed(n)}),jQuery(".fusion-close-search, .awb-menu__overlay-search-trigger").on("click",function(e){e&&e.preventDefault(),fusionNavSearchOverlay(this)})}),jQuery(window).on("fusion-element-render-fusion_menu fusion-element-render-fusion_submenu",function(e,n){var a=jQuery('[data-cid="'+n+'"] .awb-menu, [data-cid="'+n+'"] .awb-submenu');fusionNavRunAll(),a.length&&(fusionNavAltArrowsClass(a[0]),fusionNavIsCollapsed(a[0]))}),jQuery(document).click(function(e){!jQuery(e.target).closest(".awb-menu").length&&jQuery(".close-on-outer-click-yes .menu-item-has-children.expanded .awb-menu__open-nav-submenu_click").length&&jQuery(".close-on-outer-click-yes .menu-item-has-children.expanded .awb-menu__open-nav-submenu_click").trigger("click")}),jQuery(window).on("fusion-mobile-menu-collapsed",function(e){const n=void 0!==e.detail?e.detail:e.originalEvent.detail,a="undefined"!==n.nav?jQuery(n.nav):{};!jQuery.isEmptyObject(a)&&a.hasClass("mobile-mode-collapse-to-button")&&a.hasClass("mobile-size-full-absolute")&&(a.find("ul > li").find("> a, > button").attr("tabindex","-1"),a.children("ul").offset({left:0}))}),jQuery(document).ready(fusionNavRunAll),jQuery(window).on("fusion-sticky-change fusion-resize-horizontal",fusionAdjustNavMobilePosition),jQuery(document.body).on("wc_fragments_refreshed wc_fragments_loaded",function(){jQuery(".awb-menu .fusion-menu-cart").each(function(){0!==jQuery(this).children(".fusion-menu-cart-items").length&&(jQuery(this).children(".fusion-menu-cart-items").hasClass("avada-custom-menu-item-contents-empty")?jQuery(this).removeClass("menu-item-has-children").addClass("empty-cart"):(jQuery(this).addClass("menu-item-has-children").removeClass("empty-cart"),fusionNavSubmenuDirection(jQuery(this))))})});
var awbMegamenuPosition=function(t){var e,a,r=t.closest("nav"),i=r.hasClass("awb-menu_column")?"column":"row",o=r.attr("data-expand"),u="right"===o?"left":"right",s=t.attr("data-width"),n=jQuery(window).width(),l=t.closest("li"),h=t.outerWidth(),w=n-h,d=!jQuery("#wrapper").css("margin").includes("0px auto"),c={},f={};r.hasClass("awb-menu_flyout")||r.hasClass("collapse-enabled")||(h>=n&&(s="viewport"),e=jQuery("#icon-bar").length?jQuery("#icon-bar").outerWidth():jQuery("#wrapper").outerWidth(d)-jQuery("#wrapper").width(),r.is(":visible")?a=l.offset().left-e:(r.css("display","block"),a=l.offset().left-e,r.css("display","")),"row"===i?"site_width"===s||"viewport"===s?t.css({left:-1*a+w/2,right:"auto"}):("center"===o?(f={right:n-(a+l.outerWidth()/2),left:a+l.outerWidth()/2},jQuery("body").hasClass("ltr")?f.right>h/2?(c.left="auto",c.right="auto"):(c.left=-1*(h-f.right),c.right="auto"):f.left>h/2?(c.left="auto",c.right="auto"):(c.left="auto",c.right=-1*(h-f.left))):(f={right:n-a,left:a+l.outerWidth()})[o]>h?(c[u]=0,c[o]="auto"):f[u]>h?(c[o]=0,c[u]="auto"):(c[u]=-1*(h-f[o]),c[o]="auto"),t.css(c)):(f={right:n-(a+l.outerWidth(!0)),left:a},t[0].style.setProperty("--awb-megamenu-maxwidth",f[o]-(t.outerWidth(!0)-h)+"px"),c[u]="100%",c[o]="auto",t.css(c)))};jQuery(window).on("fusion-resize-horizontal awb-position-megamenus load",function(){var t=window.avadaGetScrollBarWidth()-1+"px";jQuery("body")[0].style.setProperty("--awb-scrollbar-width",t),jQuery(".awb-menu .awb-menu__mega-wrap").each(function(){awbMegamenuPosition(jQuery(this))})}),jQuery(window).on("fusion-sticky-transition-change",function(){jQuery(".awb-menu .awb-menu__mega-wrap").each(function(){awbMegamenuPosition(jQuery(this))})});
jQuery(document).ready(function(){jQuery('.fusion-button[role="button"]').on("keydown",function(t){" "!==t.key&&"Enter"!==t.key||(t.preventDefault(),jQuery(this).trigger("click"))}),jQuery(".awb-button--click-mode, .awb-button--toggle-mode").on("click",function(t){jQuery(this).hasClass("awb-button--click-active")?jQuery(this).hasClass("awb-button--toggle-mode")&&jQuery(this).removeClass("awb-button--click-active"):jQuery(this).addClass("awb-button--click-active")})});
!function(e){const t={slide:{prev:{translate:[0,"-100%",0],opacity:0},next:{translate:[0,"100%",0],opacity:0}},slide_down:{prev:{translate:[0,"100%",0],opacity:0},next:{translate:[0,"-100%",0],opacity:0}},slide_left:{prev:{translate:["-100%",0,0],opacity:0},next:{translate:["100%",0,0],opacity:0}},slide_right:{prev:{translate:["100%",0,0],opacity:0},next:{translate:["-100%",0,0],opacity:0}},stack:{prev:{translate:[0,"60px","-30px"],scale:.7,opacity:0},next:{translate:[0,"100%",0]}},zoom:{prev:{scale:1.3,opacity:0},next:{scale:.7,opacity:0}},"slide-zoom-out":{prev:{translate:[0,"-100%",0],scale:1.5,opacity:0},next:{translate:[0,"100%",0],scale:1.5,opacity:0}},"slide-zoom-in":{prev:{translate:[0,"-100%",0],scale:.8,opacity:0},next:{translate:[0,"100%",0],scale:.8,opacity:0}}};function a(a){const o=e(a);if(!o.length||!e.contains(document,a)||!o.find(".swiper-slide").length)return;const n=o.data("type")||"container",i=o.data("animation")||"fade",s="fade"===i?"fade":"creative";let l="creative"===s?t[i]:"";const c="no"===o.data("loop"),r=Number(o.data("slideshow-speed"))||5e3,d=Number(o.data("animation-speed"))||800,p=o.data("direction")||"up",u=o.data("pause_on_hover")||!1;let y=".fusion-builder-flex-container";"column"===n&&(y=".fusion-layout-column");const f=e(a).closest(y);"slide"===i&&"up"!==p&&(l=t["slide_"+p]);let w={effect:s,loop:!c,speed:d,autoplay:{delay:r,stopOnLastSlide:c}};l&&(w.creativeEffect=l);const v=f.data("cid");if(v)window[`background_slider_${v}`]&&window[`background_slider_${v}`].destroy(!0,!0),window[`background_slider_${v}`]=new Swiper(a,w),u&&(f.on("mouseover",function(){window[`background_slider_${v}`].autoplay.stop()}),f.on("mouseleave",function(){window[`background_slider_${v}`].autoplay.start()}));else{const e=new Swiper(a,w);u&&(f.on("mouseover",function(){e.autoplay.stop()}),f.on("mouseleave",function(){e.autoplay.start()}))}}e("body").hasClass("fusion-builder-live")||e(".awb-background-slider").each(function(e,t){a(t)}),e(window).on("load fusion-reinit-background-slider",function(e,t){a(document.querySelector(`[data-cid="${t}"] .awb-background-slider`))})}(jQuery);
var fusionContainerVars={"content_break_point":"800","container_hundred_percent_height_mobile":"0","is_sticky_header_transparent":"0","hundred_percent_scroll_sensitivity":"450"};function toggleSwiperScrollingSections(){const e=jQuery("#content").find(".fusion-scroll-section");e.length&&(e.hasClass("swiper-initialized")||e.hasClass("fusion-full-scroll-disabled"))&&0==fusionContainerVars.container_hundred_percent_height_mobile&&(Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")?e.hasClass("fusion-full-scroll-disabled")||(e.addClass("fusion-full-scroll-disabled"),void 0!==e[0].swiper&&e[0].swiper.destroy()):e.hasClass("fusion-full-scroll-disabled")&&(e.removeClass("fusion-full-scroll-disabled"),initSwiperScrollingSection(e)))}function fusionInitStickyContainers(){"function"==typeof jQuery.fn.stick_in_parent&&jQuery(".fusion-sticky-container").each(function(){fusionInitSticky(jQuery(this))})}function fusionInitSticky(e){var t=void 0===e.attr("data-transition-offset")?0:parseFloat(e.attr("data-transition-offset")),i=void 0===e.attr("data-sticky-offset")?0:e.attr("data-sticky-offset"),n=void 0!==e.attr("data-scroll-offset")&&parseFloat(e.attr("data-scroll-offset")),o={sticky_class:"fusion-container-stuck",bottoming:!0,offset_top:i,transition_offset:t,clone:!1},s="data-sticky-medium-visibility";jQuery("body").hasClass("fusion-disable-sticky")?e.data("sticky_kit")&&e.trigger("sticky_kit:detach"):"object"!=typeof fusion||"function"!=typeof fusion.isLarge||(fusion.isLarge()?s="data-sticky-large-visibility":fusion.isSmall()&&(s="data-sticky-small-visibility"),void 0!==e.attr(s)&&e.attr(s))?e.data("sticky_kit")||(n&&(o.scroll_transition=n),e.closest(".fusion-tb-header").length||e.closest(".fusion-tb-page-title-bar").length?(o.parent="#wrapper",o.bottoming=!1):e.closest(".fusion-content-tb").length?o.parent=".fusion-content-tb":e.closest(".fusion-builder-live-editor").length?o.parent="#fusion_builder_container":e.parent().parent(".post-content").length?o.parent=".post-content":e.hasClass("awb-sticky-content")&&(o.parent="#wrapper"),"string"==typeof e.attr("data-sticky-parent")&&(o.parent=e.attr("data-sticky-parent")),"string"==typeof e.attr("data-sticky-bottoming")&&(o.bottoming=e.attr("data-sticky-bottoming")),jQuery("body").hasClass("fusion-builder-live")||void 0===e.attr("data-sticky-height-transition")||(o.clone=!0),e.stick_in_parent(o)):e.data("sticky_kit")&&e.trigger("sticky_kit:detach")}function fusionGetStickyOffset(){var e=0,t=jQuery(".fusion-container-stuck:not(.side-header-wrapper)");return t.length?(t.each(function(){var t=jQuery(this),i=t.position().top+t.outerHeight(!0);if(!fusionIsWholeElementInViewport(t[0]))return;const n=t.closest("#side-header");(!n.length||"static"===n.css("position")&&n.hasClass("fusion-tb-header"))&&(t.closest(".off-canvas-content").length||i>e&&(e=i))}),e):e}function fusionIsWholeElementInViewport(e){const t=e.getBoundingClientRect(),i=window.innerHeight||document.documentElement.clientHeight;return!(100>Math.floor(100-(0<=t.top?0:t.top)/+-t.height*100)||100>Math.floor(100-(t.bottom-i)/t.height*100))}function initSwiperScrollingSection(e){if(!e.length)return;const t={slide:{prev:{translate:[0,"-100%",0],opacity:0},next:{translate:[0,"100%",0],opacity:0}},"slide-right":{prev:{translate:["100%",0,0],opacity:0},next:{translate:["-100%",0,0],opacity:0}},"slide-left":{prev:{translate:["-100%",0,0],opacity:0},next:{translate:["100%",0,0],opacity:0}},stack:{prev:{translate:[0,"60px","-30px"],scale:.7,opacity:0},next:{translate:[0,"100%",0]}},zoom:{prev:{scale:1.3,opacity:0},next:{scale:.7,opacity:0}},"slide-zoom-out":{prev:{translate:[0,"-100%",0],scale:1.5,opacity:0},next:{translate:[0,"100%",0],scale:1.5,opacity:0}},"slide-zoom-in":{prev:{translate:[0,"-100%",0],scale:.8,opacity:0},next:{translate:[0,"100%",0],scale:.8,opacity:0}}};let i={speed:e.data("speed"),observer:!0,observeParents:!0,mousewheel:{releaseOnEdges:!0},allowTouchMove:!1,touchReleaseOnEdges:!0,on:{afterInit:function(t){if(e.find(".fusion-scroll-section-nav ul li:first-child a").addClass("active"),e.addClass("swiper-ready"),window.location.hash.length&&e.find(window.location.hash).length){const i=e.find(window.location.hash+".swiper-slide").length?e.find(window.location.hash+".swiper-slide"):e.find(window.location.hash).closest(".swiper-slide");i.length&&setTimeout(()=>{t.slideTo(i.index(),0),e[0].scrollIntoView()},100)}},activeIndexChange:function(t){e.find(".fusion-scroll-section-nav ul li a").removeClass("active"),e.find(".fusion-scroll-section-nav ul li").eq(t.activeIndex).find("a").addClass("active"),setTimeout(()=>{s()},100)},slideChange:function(t){e[0].scrollIntoView({behavior:"smooth"}),setTimeout(function(){t.params.mousewheel.releaseOnEdges=!1},500)},reachEnd:function(e){setTimeout(function(){e.params.mousewheel.releaseOnEdges=!0},750)},reachBeginning:function(e){setTimeout(function(){e.params.mousewheel.releaseOnEdges=!0},750)}}},n={};-1!==e.data("animation").indexOf("scroll-")?(n={direction:"horizontal",effect:"slide"},-1!==e.data("animation").indexOf("-free")&&(n.freeMode={enabled:!0}),-1!==e.data("animation").indexOf("-left")&&(n.controller={inverse:!0})):n={direction:"vertical",effect:"creative",creativeEffect:t[e.data("animation")]},jQuery.extend(i,n),("ontouchstart"in window||0<navigator.maxTouchPoints||0<navigator.msMaxTouchPoints)&&(i.allowTouchMove=!0);const o=new window.Swiper(e[0],i);function s(t){if(!t){const i=e.find(".swiper-slide-active"),n=i.find(".fusion-container-anchor").length?i.find(".fusion-container-anchor").attr("id"):i.attr("id");t=jQuery(`a[href="#${n}"]`)}if(t.length&&t.hasClass("awb-menu__main-a")){t.parents(".awb-menu__main-ul").find("li.menu-item.current-menu-item").removeClass("current-menu-item"),t.closest(".menu-item").addClass("current-menu-item")}else t.addClass("awb-active")}e.find(".fusion-scroll-section-nav ul li a").on("click",function(e){e.preventDefault();const t=jQuery(this).parent().index();o.slideTo(t)}),jQuery('a[href^="#"]').on("click",function(t){const i=jQuery(this),n=i.attr("href"),l="#"!==n?e.find(n):"";if(l.length){t.preventDefault();let e=l.index();l.hasClass("fusion-container-anchor")&&(e=l.parent().index()),s(i),o.slideTo(e)}})}function initScrollingSections(e){var t,i,n=jQuery("#content").find(".fusion-scroll-section"),o=(Number(fusionContainerVars.is_sticky_header_transparent)||"function"!=typeof getStickyHeaderHeight?0:getStickyHeaderHeight(!0))+fusion.getAdminbarHeight();e&&(n=jQuery(".post-preview.post-content").find(".fusion-scroll-section")),n.hasClass("awb-swiper-full-sections")?initSwiperScrollingSection(n):(window.lastYPosition=0,window.scrollDisabled=!1,n.length&&(jQuery("#content").find(".non-hundred-percent-height-scrolling").length||1!==n.length||jQuery.trim(jQuery("#sliders-container").html())||(n.addClass("active"),n.find(".fusion-scroll-section-nav li:first a").addClass("active"),t=!0),n.each(function(){1<jQuery(this).children("div").length&&(i=o?"calc("+(100*jQuery(this).children("div").length+50)+"vh - "+o+"px)":100*jQuery(this).children("div").length+50+"vh",jQuery(this).css("height",i),o&&(jQuery(this).find(".hundred-percent-height-scrolling").css("height","calc(100vh - "+o+"px)"),jQuery(this).find(".fusion-scroll-section-nav").css("top","calc(50% + "+o/2+"px)")))}),window.lastYPosition=jQuery(window).scrollTop(),jQuery(window).on("scroll",function(){var e=jQuery(window).scrollTop(),i=window.lastYPosition;window.scrollDisabled||jQuery(".fusion-scroll-section").each(function(){1<jQuery(this).children("div").length&&!jQuery(this).hasClass("fusion-scroll-section-mobile-disabled")&&jQuery(this).fusionPositionScrollSectionElements(e,t,i)})}),jQuery(".fusion-scroll-section-link").on("click",function(e){var t=jQuery(this).parents(".fusion-scroll-section"),i=getScrollSectionPositionValues(t),n=t.find(".fusion-scroll-section-element"),o=n.length,s=jQuery(this).parents(".fusion-scroll-section-nav").find(".fusion-scroll-section-link.active"),l=s.length?parseInt(s.data("element"),10):0,c=parseInt(jQuery(this).data("element"),10),r=Math.abs(c-l);e.preventDefault(),0<r&&(t.data("clicked",c),"fixed"!==n.last().css("position")&&n.css({position:"fixed",top:i.sectionTopOffset,left:i.sectionLeftOffset,padding:"0",width:i.sectionWidth}),1===c?jQuery(window).scrollTop(i.sectionTop+1):o===c?jQuery(window).scrollTop(i.sectionBottom-i.viewportHeight-1):c>l?jQuery(window).scrollTop(i.sectionTop+i.viewportHeight*c-1):jQuery(window).scrollTop(i.sectionTop+i.viewportHeight*(c-1)+1))})),jQuery(".hundred-percent-height").length&&(setCorrectResizeValuesForScrollSections(),jQuery(window).on("resize",function(){setCorrectResizeValuesForScrollSections()})))}function setCorrectResizeValuesForScrollSections(){var e=jQuery("#content").find(".fusion-scroll-section"),t=e.parent().hasClass("fusion-content-tb")?e.parent():jQuery("#content"),i=0,n=0,o=fusion.getAdminbarHeight();e.length&&(jQuery(".fusion-scroll-section.active").find(".fusion-scroll-section-element").css({left:t.offset().left}),jQuery(".fusion-scroll-section").find(".fusion-scroll-section-element").css({width:t.width()}),0==fusionContainerVars.container_hundred_percent_height_mobile&&(Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")?(jQuery(".fusion-scroll-section").removeClass("active").addClass("fusion-scroll-section-mobile-disabled"),jQuery(".fusion-scroll-section").attr("style",""),jQuery(".fusion-scroll-section").find(".fusion-scroll-section-element").attr("style",""),jQuery(".fusion-scroll-section").find(".hundred-percent-height-scrolling").css("height","auto"),jQuery(".fusion-scroll-section").find(".fusion-fullwidth-center-content").css("height","auto")):jQuery(".fusion-scroll-section").hasClass("fusion-scroll-section-mobile-disabled")&&(jQuery(".fusion-scroll-section").find(".fusion-fullwidth-center-content").css("height",""),Number(fusionContainerVars.is_sticky_header_transparent)||"function"!=typeof getStickyHeaderHeight||(i=getStickyHeaderHeight(!0)),n=i+o,e.each(function(){1<jQuery(this).children("div").length&&(jQuery(this).css("height",100*jQuery(this).children("div").length+50+"vh"),jQuery(this).find(".hundred-percent-height-scrolling").css("height","calc(100vh - "+n+"px)"))}),scrollToCurrentScrollSection()))),jQuery(".hundred-percent-height.non-hundred-percent-height-scrolling").length&&(Number(fusionContainerVars.is_sticky_header_transparent)||"function"!=typeof getStickyHeaderHeight||(i=getStickyHeaderHeight(!0)),n=i+o,0==fusionContainerVars.container_hundred_percent_height_mobile&&(Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")?(jQuery(".hundred-percent-height.non-hundred-percent-height-scrolling").css("height","auto"),jQuery(".hundred-percent-height.non-hundred-percent-height-scrolling").find(".fusion-fullwidth-center-content").css("height","auto")):(jQuery(".hundred-percent-height.non-hundred-percent-height-scrolling").css("height","calc(100vh - "+n+"px)"),jQuery(".hundred-percent-height.non-hundred-percent-height-scrolling").find(".fusion-fullwidth-center-content").css("height",""))))}function scrollToCurrentScrollSection(){var e=Math.ceil(jQuery(window).scrollTop()),t=jQuery(window).height(),i=Math.floor(e+t),n=Number(fusionContainerVars.is_sticky_header_transparent)||"function"!=typeof getStickyHeaderHeight?0:getStickyHeaderHeight(!0),o=fusion.getAdminbarHeight();e+=n+o,jQuery(".fusion-page-load-link").hasClass("fusion-page.load-scroll-section-link")||jQuery(".fusion-scroll-section").each(function(){var t=jQuery(this),n=Math.ceil(t.offset().top),o=Math.ceil(t.outerHeight()),s=Math.floor(n+o),l=jQuery("html").hasClass("ua-edge")?"body":"html";n<=e&&s>=i?(t.addClass("active"),jQuery(l).animate({scrollTop:n-50},{duration:50,easing:"easeInExpo",complete:function(){jQuery(l).animate({scrollTop:n},{duration:50,easing:"easeOutExpo",complete:function(){Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")||jQuery(".fusion-scroll-section").removeClass("fusion-scroll-section-mobile-disabled")}})}})):Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")||jQuery(".fusion-scroll-section").removeClass("fusion-scroll-section-mobile-disabled")})}function getScrollSectionPositionValues(e){var t={},i=jQuery(".fusion-scroll-section").parent().hasClass("fusion-content-tb")?jQuery(".fusion-scroll-section").parent():jQuery("#content");return t.sectionTop=Math.ceil(e.offset().top),t.sectionHeight=Math.ceil(e.outerHeight()),t.sectionBottom=Math.floor(t.sectionTop+t.sectionHeight),t.viewportTop=Math.ceil(jQuery(window).scrollTop()),t.viewportHeight=jQuery(window).height(),t.viewportBottom=Math.floor(t.viewportTop+t.viewportHeight),t.sectionWidth=i.width(),t.sectionTopOffset=fusion.getAdminbarHeight(),t.sectionLeftOffset=i.offset().left,t.sectionTopOffset+=Number(fusionContainerVars.is_sticky_header_transparent)||"function"!=typeof getStickyHeaderHeight?0:getStickyHeaderHeight(!0),t.viewportTop+=t.sectionTopOffset,t}jQuery(window).on("load fusion-element-render-fusion_builder_container resize",function(e,t){var i=void 0!==t?jQuery('div[data-cid="'+t+'"]').find(".fullwidth-faded"):jQuery(".fullwidth-faded"),n=void 0!==t?jQuery('div[data-cid="'+t+'"]').find(".hundred-percent-height"):jQuery(".hundred-percent-height"),o=Number(fusionContainerVars.is_sticky_header_transparent)||"function"!=typeof getStickyHeaderHeight?0:getStickyHeaderHeight(!0),s=fusion.getAdminbarHeight(),l=jQuery("body").hasClass("fusion-builder-live")&&!jQuery("body").hasClass("fusion-builder-preview-mode"),c=o+s;i.fusionScroller({type:"fading_blur"}),n.css("min-height","").css("height",""),n.find(".fusion-fullwidth-center-content").css("min-height",""),0==fusionContainerVars.container_hundred_percent_height_mobile?(Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")?(n.css("height","auto"),l&&(n.css("min-height","0"),n.find(".fusion-fullwidth-center-content").css("min-height","0"))):(n.css("height","calc(100vh - "+c+"px)"),l&&(n.css("min-height","calc(100vh - "+c+"px)"),n.find(".fusion-fullwidth-center-content").css("min-height","calc(100vh - "+c+"px)"))),toggleSwiperScrollingSections()):(n.css("height","calc(100vh - "+c+"px)"),l&&(n.css("min-height","calc(100vh - "+c+"px)"),n.find(".fusion-fullwidth-center-content").css("min-height","calc(100vh - "+c+"px)")))}),jQuery(document).ready(function(){var e;initScrollingSections(),fusionInitStickyContainers(),!jQuery("body").hasClass("fusion-builder-live")&&"object"==typeof cssua&&"string"==typeof cssua.ua.safari&&16>parseInt(cssua.ua.safari)&&(e=jQuery(".awb-sticky, .mobile-sticky-tabs, .sticky-tabs")).length&&(jQuery("#boxed-wrapper").addClass("safari-overflow"),e.each(function(){jQuery(this).parents(".fusion-fullwidth").addClass("has-sticky")})),Modernizr.mq("only screen and (max-width: "+fusionContainerVars.content_break_point+"px)")&&jQuery(".fullwidth-faded").each(function(){var e=jQuery(this).css("background-image"),t=jQuery(this).css("background-color");jQuery(this).parent().css("--awb-background-image",e),jQuery(this).parent().css("--awb-background-color",t),jQuery(this).remove()})}),jQuery(window).on("load",function(){jQuery("#content").find(".fusion-scroll-section").length&&"#"===jQuery(".fusion-page-load-link").attr("href")&&setTimeout(function(){jQuery("#content").find(".fusion-scroll-section").hasClass("awb-swiper-full-sections")||scrollToCurrentScrollSection()},400)}),jQuery(window).on("fusion-reinit-sticky",function(e,t){var i=void 0!==t&&jQuery('div[data-cid="'+t+'"] .fusion-fullwidth');i&&i.length&&(i.trigger("sticky_kit:detach"),fusionInitSticky(i))}),jQuery(window).on("fusion-sticky-header-reinit fusion-resize-horizontal",function(){fusionInitStickyContainers()}),jQuery("body").on("avada-studio-preview-done",function(){initScrollingSections(!0)}),function(e){"use strict";var t="down";function i(){var e=window.pageYOffset||document.documentElement.scrollTop,t=window.pageXOffset||document.documentElement.scrollLeft;window.onscroll=function(){window.scrollTo(t,e)},window.scrollDisabled=!0}function n(){window.onscroll=function(){},window.scrollDisabled=!1}e.fn.fusionPositionScrollSectionElements=function(o,s,l){var c=e(this),r=c.find(".fusion-scroll-section-element").length,a=0,d=getScrollSectionPositionValues(c);(s=s||!1)||(d.sectionTop<=d.viewportTop&&d.sectionBottom>=d.viewportBottom?c.addClass("active"):c.removeClass("active")),l<o?(c.data("clicked")?(a=c.data("clicked"),c.removeData("clicked"),c.removeAttr("data-clicked")):a=(a=c.find(".fusion-scroll-section-element.active")).length?(a=a.data("element")+1)>r?r:a:1,d.sectionTop<=d.viewportTop&&d.sectionTop+d.viewportHeight>d.viewportTop?(c.find(".fusion-scroll-section-element").removeClass("active"),c.children(":nth-child(1)").addClass("active"),c.find(".fusion-scroll-section-nav a").removeClass("active"),c.find('.fusion-scroll-section-nav a[data-element="'+c.children(":nth-child(1)").data("element")+'"] ').addClass("active"),c.find(".fusion-scroll-section-element").css({position:"fixed",top:d.sectionTopOffset,left:d.sectionLeftOffset,padding:"0",width:d.sectionWidth}),c.children(":nth-child(1)").css("display","block"),window.scrollDisabled=!0,e(window).scrollTop(d.sectionTop+d.viewportHeight-1),i(),setTimeout(function(){n()},fusionContainerVars.hundred_percent_scroll_sensitivity)):d.sectionBottom<=d.viewportBottom&&"absolute"!==c.find(".fusion-scroll-section-element").last().css("position")?(c.find(".fusion-scroll-section-element").removeClass("active"),c.find(".fusion-scroll-section-element").last().addClass("active"),c.find(".fusion-scroll-section-element").css("position","absolute"),c.find(".fusion-scroll-section-element").last().css({top:"auto",left:"0",bottom:"0",padding:""}),c.find(".fusion-scroll-section-nav a").removeClass("active"),c.find(".fusion-scroll-section-nav a").last().addClass("active")):1<a&&"fixed"===c.find(".fusion-scroll-section-element").last().css("position")&&(!c.children(":nth-child("+a+")").hasClass("active")||"up"===t)&&(c.find(".fusion-scroll-section-element").removeClass("active"),c.children(":nth-child("+a+")").addClass("active"),c.find(".fusion-scroll-section-nav a").removeClass("active"),c.find('.fusion-scroll-section-nav a[data-element="'+c.children(":nth-child("+a+")").data("element")+'"] ').addClass("active"),window.scrollDisabled=!0,a<r?e(window).scrollTop(d.sectionTop+d.viewportHeight*a-1):e(window).scrollTop(d.sectionBottom-d.viewportHeight),i(),setTimeout(function(){n()},fusionContainerVars.hundred_percent_scroll_sensitivity)),t="down"):l>o&&(c.data("clicked")?(a=c.data("clicked"),c.removeData("clicked"),c.removeAttr("data-clicked")):a=(a=c.find(".fusion-scroll-section-element.active")).length?1>(a=a.data("element")-1)?1:a:0,d.sectionBottom>=d.viewportBottom&&"absolute"===c.find(".fusion-scroll-section-element").last().css("position")?(c.find(".fusion-scroll-section-element").removeClass("active"),c.find(".fusion-scroll-section-element").last().addClass("active"),c.find(".fusion-scroll-section-nav a").removeClass("active"),c.find('.fusion-scroll-section-nav a[data-element="'+c.find(".fusion-scroll-section-element").last().data("element")+'"] ').addClass("active"),c.find(".fusion-scroll-section-element").css({position:"fixed",top:d.sectionTopOffset,left:d.sectionLeftOffset,padding:"0",width:d.sectionWidth}),c.find(".fusion-scroll-section-element").last().css("display","block"),window.scrollDisabled=!0,e(window).scrollTop(d.sectionTop+d.viewportHeight*(r-1)),i(),setTimeout(function(){n()},fusionContainerVars.hundred_percent_scroll_sensitivity)):(d.sectionTop>=d.viewportTop||0===e(window).scrollTop()&&c.find(".fusion-scroll-section-element").first().hasClass("active"))&&""!==c.find(".fusion-scroll-section-element").first().css("position")?(c.find(".fusion-scroll-section-element").removeClass("active"),c.find(".fusion-scroll-section-element").first().addClass("active"),c.find(".fusion-scroll-section-element").css("position",""),c.find(".fusion-scroll-section-element").first().css("padding",""),c.find(".fusion-scroll-section-nav a").removeClass("active"),c.find(".fusion-scroll-section-nav a").first().addClass("active")):0<a&&"fixed"===c.find(".fusion-scroll-section-element").last().css("position")&&(!c.children(":nth-child("+a+")").hasClass("active")||"down"===t)&&(c.find(".fusion-scroll-section-element").removeClass("active"),c.children(":nth-child("+a+")").addClass("active"),c.find(".fusion-scroll-section-nav a").removeClass("active"),c.find('.fusion-scroll-section-nav a[data-element="'+c.children(":nth-child("+a+")").data("element")+'"] ').addClass("active"),window.scrollDisabled=!0,e(window).scrollTop(d.sectionTop+d.viewportHeight*(a-1)),i(),setTimeout(function(){n()},fusionContainerVars.hundred_percent_scroll_sensitivity)),t="up"),window.lastYPosition=e(window).scrollTop()}}(jQuery);
var fusionAnimationsVars={"status_css_animations":"desktop"};function isInsideOffCanvas(n,i=".off-canvas-content",t=8){let e=0,a=n[0];for(;a&&"string"==typeof a&&e<t;){if(a.matches(i))return!0;a=a.parentElement,e++}return!1}function fusionSetAnimationData(n){"off"===fusionAnimationsVars.status_css_animations||cssua.ua.mobile&&"desktop_and_mobile"!==fusionAnimationsVars.status_css_animations?jQuery("body").addClass("dont-animate").removeClass("do-animate"):(jQuery("body").addClass("do-animate").removeClass("dont-animate"),void 0!==n&&void 0!==n.data.custom&&jQuery(window).initElementAnimations())}!function(n){"use strict";window.awbAnimationObservers={},n.fn.initElementAnimations=function(i={}){if(!n.isEmptyObject(i)&&isInsideOffCanvas(i))return!1;n.each(window.awbAnimationObservers,function(i,t){n.each(t[0],function(n,i){t[1].unobserve(i)}),delete window.awbAnimationObservers[i]}),"IntersectionObserver"in window?n.each(fusion.getObserverSegmentation(n(".fusion-animated")),function(i){var t=fusion.getAnimationIntersectionData(i),e=new IntersectionObserver(function(i,a){n.each(i,function(i,a){var s,o,r,u,d,m=n(a.target),c=0;a.isIntersecting&&(d=!0,0!==t.threshold&&(n(window).height()<m.outerHeight()?n(window).height()/m.outerHeight()>a.intersectionRatio&&(d=!1):1>a.intersectionRatio&&(d=!1)),d&&(m.parents(".fusion-delayed-animation").length||(m.css("visibility","visible"),s=m.data("animationtype"),o=m.data("animationduration"),r=m.data("animationdelay"),m.addClass(s),o&&(m.css("animation-duration",o+"s"),c+=1e3*o),r&&(m.css("animation-delay",r+"s"),c+=1e3*r),c&&(u=m,setTimeout(function(){u.removeClass(s)},c))),e.unobserve(a.target)))})},t);n(this).each(function(){e.observe(this)}),window.awbAnimationObservers[i]=[this,e]}):n(".fusion-animated").each(function(){n(this).parents(".fusion-delayed-animation").length||n(this).css("visibility","visible")})}}(jQuery),jQuery(document).ready(function(){fusionSetAnimationData()}),jQuery(window).on("load",function(){jQuery("body").hasClass("fusion-builder-live")||setTimeout(function(){jQuery(window).initElementAnimations()},300)}),jQuery(window).on("CSSAnimations",{custom:!0},fusionSetAnimationData);
var avadaSelectVars={"avada_drop_down":"1"};function addAvadaSelectStyles(){Number(avadaSelectVars.avada_drop_down)&&(jQuery(".tribe-tickets-order_status-row select").length&&(jQuery(".tribe-tickets-order_status-row select").addClass("avada-select"),jQuery(".tribe-tickets-order_status-row select").wrap('<div class="avada-select-parent"></div>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".tribe-ticket-quantity").on("change",(function(){setTimeout((function(){calcSelectArrowDimensions()}),1)}))),jQuery(".tribe-block__tickets__item__attendee__fields__form select").length&&jQuery(".tribe-block__tickets__item__attendee__fields__form select").wrap('<div class="avada-select-parent"></div>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".woocommerce-billing-fields, .woocommerce-shipping-fields").addClass("avada-select"),jQuery(".woocommerce.widget_product_categories select").length&&jQuery(".woocommerce.widget_product_categories select").wrap('<p class="avada-select-parent"></p>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".cart-collaterals select#calc_shipping_country, .widget_layered_nav select:not([multiple])").wrap('<p class="avada-select-parent"></p>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".cart-collaterals select#calc_shipping_state").after('<div class="select-arrow">&#xe61f;</div>'),setTimeout((function(){jQuery("#billing_country_field .chosen-container").length||jQuery("#billing_country_field .select2-container").length||(jQuery("#billing_country_field select.country_select").wrap('<p class="avada-select-parent"></p>').after('<span class="select-arrow">&#xe61f;</span>'),!jQuery("#billing_state_field select.state_select").length||jQuery("#billing_state_field .chosen-container").length||jQuery("#billing_state_field .select2-container").length||jQuery("#billing_state_field").addClass("avada-select-parent").append('<div class="select-arrow">&#xe61f;</div>'),jQuery("#billing_country").on("change",(function(){setTimeout((function(){(jQuery("#billing_state_field input#billing_state").length||jQuery("#billing_state_field").is(":hidden"))&&(jQuery("#billing_state_field .select-arrow").remove(),jQuery("#billing_state_field").removeClass("avada-select-parent")),jQuery("#billing_state_field select.state_select").length&&(jQuery("#billing_state_field").addClass("avada-select-parent"),jQuery("#billing_state_field .select-arrow").length||(jQuery("#billing_state_field").append('<div class="select-arrow">&#xe61f;</div>'),calcSelectArrowDimensions()))}),1)}))),jQuery("#shipping_country_field .chosen-container").length||jQuery("#shipping_country_field .select2-container").length||(jQuery("#shipping_country_field select.country_select").wrap('<p class="avada-select-parent"></p>').after('<span class="select-arrow">&#xe61f;</span>'),jQuery("#shipping_state_field select.state_select").length&&jQuery("#shipping_state_field").addClass("avada-select-parent").append('<div class="select-arrow">&#xe61f;</div>'),jQuery("#shipping_country").on("change",(function(){setTimeout((function(){(jQuery("#shipping_state_field input#shipping_state").length||jQuery("#shipping_state_field").is(":hidden"))&&(jQuery("#shipping_state_field .select-arrow").remove(),jQuery("#shipping_state_field").removeClass("avada-select-parent")),jQuery("#shipping_state_field select.state_select").length&&(jQuery("#shipping_state_field").addClass("avada-select-parent"),jQuery("#shipping_state_field .select-arrow").length||(jQuery("#shipping_state_field").append('<div class="select-arrow">&#xe61f;</div>'),calcSelectArrowDimensions()))}),1)})))}),1),jQuery("#calc_shipping_country").on("change",(function(){setTimeout((function(){jQuery(".avada-shipping-calculator-form select#calc_shipping_state").length&&!jQuery(".avada-shipping-calculator-form #calc_shipping_state").parent().find(".select-arrow").length&&jQuery(".avada-shipping-calculator-form select#calc_shipping_state").after('<div class="select-arrow">&#xe61f;</div>'),(jQuery(".avada-shipping-calculator-form input#calc_shipping_state").length||jQuery(".avada-shipping-calculator-form #calc_shipping_state_field .select2").length)&&jQuery(".avada-shipping-calculator-form #calc_shipping_state").parent().children(".select-arrow").remove(),calcSelectArrowDimensions()}),1)})),jQuery("table.variations select, .variations-table select, .product-addon select").filter(":not(.yith_wccl_custom)").wrap('<div class="avada-select-parent"></div>'),jQuery('<div class="select-arrow">&#xe61f;</div>').appendTo("table.variations .avada-select-parent, .variations-table .avada-select-parent, .product-addon .avada-select-parent"),jQuery(".wpcf7-select:not([multiple])").wrap('<div class="wpcf7-select-parent"></div>'),jQuery('<div class="select-arrow">&#xe61f;</div>').appendTo(".wpcf7-select-parent"),jQuery("#bbp_stick_topic_select, #bbp_topic_status_select, #bbp_forum_id, #bbp_destination_topic, #wpfc_sermon_sorting select").wrap('<div class="avada-select-parent"></div>').after('<div class="select-arrow">&#xe61f;</div>'),jQuery(".variations_form select").on("change",(function(){jQuery(".product #slider").length&&1<jQuery(".product #slider .slides li").length&&jQuery(".product #slider").flexslider(0)})),calcSelectArrowDimensions())}function removeAvadaSelectStyles(){Number(avadaSelectVars.avada_drop_down)||(jQuery("select").each((function(){jQuery(this).parent().is(".avada-select-parent")&&(1===jQuery(this).closest(".avada-select-parent").attr("class").split(" ").length?jQuery(this).unwrap():jQuery(this).closest(".avada-select-parent").removeClass("avada-select-parent"))})),jQuery("select").removeClass("avada-select avada-select-parent wpcf7-select-parent"),jQuery(".select-arrow").remove())}jQuery(window).on("load fusion-element-render-fusion_tb_woo_cart  fusion-element-render-fusion_tb_woo_checkout_tabs  fusion-element-render-fusion_tb_woo_checkout_billing fusion-element-render-fusion_tb_woo_checkout_shipping fusion-element-render-fusion_woo_cart_shipping",(function(){addAvadaSelectStyles(),jQuery(window).on("DestoryAvadaSelect",removeAvadaSelectStyles),jQuery(window).on("AddAvadaSelect",addAvadaSelectStyles)}));
var avadaToTopVars={"status_totop":"desktop","totop_position":"right","totop_scroll_down_only":"1"};function avadaUpdateToTopPostion(){var o=avadaToTopVars.totop_position.split("_");o=2===o.length?"to-top-"+o[0]+" to-top-"+o[1]:"to-top-"+o[0],jQuery(".to-top-container").attr("class","to-top-container"),jQuery(".to-top-container").addClass(o)}jQuery(document).ready((function(){var o=0,t=jQuery("html").hasClass("ua-edge")||jQuery("html").hasClass("ua-safari-12")||jQuery("html").hasClass("ua-safari-11")||jQuery("html").hasClass("ua-safari-10")?"body":"html";jQuery(".fusion-top-top-link").on("click",(function(o){o.preventDefault();const e=jQuery(document).height()-jQuery(window).height(),n=jQuery(document).scrollTop()/e;(cssua.ua.mobile&&-1!==avadaToTopVars.status_totop.indexOf("mobile")||!cssua.ua.mobile)&&(jQuery(t).on("scroll wheel mousedown keydown touchstart",(function(){jQuery(t).stop()})),jQuery(t).animate({scrollTop:0},1500-500*n,"easeInOutExpo",(function(){jQuery(t).off("scroll mousedown wheel keydown touchstart")})))})),jQuery(window).on("scroll",(function(){var t=jQuery(this).scrollTop();200<t&&(t>=o||1!==parseInt(avadaToTopVars.totop_scroll_down_only))?jQuery(".fusion-top-top-link").addClass("fusion-to-top-active"):jQuery(".fusion-top-top-link").removeClass("fusion-to-top-active"),o=t})),jQuery(window).on("updateToTopPostion",avadaUpdateToTopPostion)})),jQuery(document).ready((function(){jQuery.fn.toTopScrollProgress=function(){var o,t=jQuery(this);getMaxScroll=function(){return jQuery(document).height()-jQuery(window).height()},getWidthPercentage=function(){const t=jQuery(window).scrollTop();let e=Math.ceil(t/o*100);return 100<e?100:e},setWidthPercentage=function(){t.css("stroke-dashoffset",166-166*getWidthPercentage()/100+"px")},o=getMaxScroll(),jQuery(document).on("scroll",setWidthPercentage),jQuery(window).on("resize",(function(){o=getMaxScroll(),setWidthPercentage(),setTimeout((function(){o=getMaxScroll(),setWidthPercentage()}),700)}))},jQuery(".awb-to-top-progress .awb-progress").toTopScrollProgress()}));
function fusionDisableStickyHeader(){}function fusionInitStickyHeader(){}function getStickyHeaderHeight(i){return 0}function moveSideHeaderStylingDivs(){}function fusionSideHeaderScroll(){}
function fusionGetScrollOffset(){var t,o=fusion.getAdminbarHeight(),e="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,s=parseInt(o+e+1,10);return jQuery(".fusion-tb-header").length&&"function"==typeof fusionGetStickyOffset?(t=fusionGetStickyOffset())?t+1:o:s}jQuery(document).ready((function(){jQuery("body").scrollspy({target:".fusion-menu",offset:fusionGetScrollOffset()}),jQuery(window).on("load fusion-sticky-change fusion-sticky-scroll-change",(function(){"object"==typeof jQuery("body").data()["bs.scrollspy"]&&(jQuery("body").data()["bs.scrollspy"].options.offset=fusionGetScrollOffset())})),jQuery(window).on("fusion-sticky-transition-change",(function(){setTimeout((function(){"object"==typeof jQuery("body").data()["bs.scrollspy"]&&(jQuery("body").data()["bs.scrollspy"].options.offset=fusionGetScrollOffset())}),300)}))}));
!function(t){"use strict";function s(e,i){this.processWithBind=t.proxy(this.process,this),this.$body=t("body"),this.$scrollElement=t(e).is("body")?t(window):t(e),this.options=t.extend({},s.DEFAULTS,i),this.selector=(this.options.target||"")+" li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",this.processWithBind),this.refresh(),this.process()}function e(e){return this.each((function(){var i=t(this),o=i.data("bs.scrollspy"),r="object"==typeof e&&e;o||i.data("bs.scrollspy",o=new s(this,r)),"string"==typeof e&&o[e]()}))}s.VERSION="3.3.2",s.DEFAULTS={offset:10},s.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},s.prototype.refresh=function(){var s="offset",e=0;fusion.isWindow(this.$scrollElement[0])||(s="position",e=this.$scrollElement.scrollTop()),this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight();var i=this;this.$body.find(this.selector).map((function(){var i=t(this),o=i.data("target")||i.attr("href"),r=/^#./.test(o)&&t(o);return r&&r.length&&r.is(":visible")&&[[r[s]().top+e,o]]||null})).sort((function(t,s){return t[0]-s[0]})).each((function(){i.offsets.push(this[0]),i.targets.push(this[1])}))},s.prototype.process=function(){var t,s=this.$scrollElement.scrollTop()+this.options.offset,e=this.getScrollHeight(),i=this.options.offset+e-this.$scrollElement.height(),o=this.offsets,r=this.targets,l=this.activeTarget;if(this.scrollHeight!=e&&this.refresh(),s>=i)return l!=(t=r[r.length-1])&&this.activate(t);if(l&&s<o[0])return this.activeTarget=null,this.clear();for(t=o.length;t--;)l!=r[t]&&s>=o[t]&&(!o[t+1]||s<=o[t+1])&&this.activate(r[t])},s.prototype.activate=function(s){this.activeTarget=s,this.clear();var e=this.options.currentItemClass?this.options.currentItemClass:"current-menu-item",i=window.location.href.split("#"),o="/"==i[0].charAt(i[0].length-1)?i[0]:i[0]+"/",r=this.selector+'[data-target="'+s+'"],'+this.selector+'[href="'+s+'"],'+this.selector+'[href="'+o+s+'"]',l=t(r).parents("li").addClass(e);l.parent(".sub-menu").length&&(l=l.closest("li.fusion-dropdown-menu").addClass(e)),l.trigger("activate.bs.scrollspy"),l&&t(this.selector).blur()},s.prototype.clear=function(){var s=this.options.currentItemClass?this.options.currentItemClass:"current-menu-item";t(this.selector).parentsUntil(this.options.target,"."+s).removeClass(s),t(this.selector).parentsUntil(this.options.target,".current-menu-parent").removeClass("current-menu-parent")},s.prototype.stopListening=function(){this.$scrollElement.off("scroll.bs.scrollspy",this.processWithBind)},window.awbScrollSpy=s;var i=t.fn.scrollspy;t.fn.scrollspy=e,t.fn.scrollspy.Constructor=s,t.fn.scrollspy.noConflict=function(){return t.fn.scrollspy=i,this},t(window).on("load.bs.scrollspy.data-api",(function(){t('[data-spy="scroll"]').each((function(){var s=t(this);e.call(s,s.data())}))}))}(jQuery);
var avadaWooCommerceVars={"order_actions":"Details","title_style_type":"none","woocommerce_shop_page_columns":"4","woocommerce_checkout_error":"Not all fields have been filled in correctly.","related_products_heading_size":"2","ajaxurl":"https:\/\/raksanna.com\/wp-admin\/admin-ajax.php","cart_nonce":"011e2c1b89","shop_page_bg_color":"var(--awb-color1)","shop_page_bg_color_lightness":"100","post_title_font_size":"48","ajax_update_cart_values":"1","woo_ajax_filters":"no","woo_ajax_sorting":"0","woo_ajax_categories":"off"};function fusionCalcWoocommerceTabsLayout(e){jQuery(e).each((function(){var e=jQuery(this).parent().width(),t=jQuery(this).find("li").length,o=(e-e%t)/t,r=e-o*(t-1);jQuery(this).css("width",e+"px"),jQuery(this).find("li").css("width",o+"px"),jQuery(this).find("li:last").css("width",r+"px").addClass("no-border-right")}))}function reinitAftarAjax(){jQuery('.fusion-update-cart, a[href="#updateCart"]').off("click"),jQuery('.fusion-update-cart, a[href="#updateCart"]').on("click",(function(e){return e.preventDefault(),jQuery(".cart .actions > .button").trigger("click"),!1})),setTimeout((function(){jQuery(".crossfade-images").each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}))}),1e3)}jQuery(window).on("load",(function(){jQuery(".woocommerce-store-notice__dismiss-link").on("click",(function(){var e=fusion.getAdminbarHeight();jQuery("#wrapper").css("margin-top",""),jQuery(".fusion-header").css("top",e)})),jQuery(".variations_form").find(".variations .single_variation_wrap .woocommerce-variation-description").remove(),"function"==typeof jQuery.fn.equalHeights&&0<jQuery(".double-sidebars.woocommerce .social-share > li").length&&jQuery(".double-sidebars.woocommerce .social-share > li").equalHeights(),jQuery(".adsw-attribute-option").length&&jQuery("body").on("show_variation",".variations_form",(function(){jQuery(".product-type-variable .variations_form > .single_variation_wrap .woocommerce-variation-price").css("display","inline-block"),jQuery(".product-type-variable .variations_form > .single_variation_wrap .woocommerce-variation-price .price").css("margin-top","0"),jQuery(".product-type-variable .variations_form > .single_variation_wrap .woocommerce-variation-availability").css("display","inline-block")}))})),jQuery(document).ready((function(){var e;jQuery(window).on("updated_cart_totals updated_wc_div",(function(){const e=jQuery(".awb-dynamic-free-shipping-min-amount"),t=jQuery(".awb-dynamic-free-shipping-min-amount-progress");(t.length||t.length)&&jQuery.ajax({type:"POST",url:avadaWooCommerceVars.ajaxurl,data:{action:"live_update_cart_free_shipping_amount",security:avadaWooCommerceVars.cart_nonce},success:function(o){o.success&&(e.length&&e.each((function(){"missing"===jQuery(this).data("type")?jQuery(this).replaceWith(o.data.free_shipping_missing):jQuery(this).html(o.data.free_shipping_percentage)})),t.length&&t.each((function(){jQuery(this).find(".progress").attr("aria-valuenow",o.data.free_shipping_percentage);const e=jQuery(this).find(".fusion-progressbar-value");if(e.length){const t=jQuery(this).data("value-type");let r="";r="min-amount-percentage"===t?e.text().includes("%")?o.data.free_shipping_percentage+"%":o.data.free_shipping_percentage:"sub-totals-discounts"===t?o.data.sub_totals_discounts:o.data.sub_totals,e.html(r)}jQuery(window).trigger("fusion-dynamic-content-render",jQuery(this).parent())})))}})})),"1"===avadaWooCommerceVars.ajax_update_cart_values&&jQuery("body").on("change",".woocommerce-cart-form .qty",(function(e){const t=jQuery(this),o=t.closest("tr"),r=o.length?o.index():0,a=parseInt(t.val()),i=t.attr("name").replace("cart[","").replace("][qty]",""),n=t.closest(".cart_item").find(".product-subtotal"),c=jQuery(".fusion-dynamic-cart-count-wrapper"),s=jQuery(".fusion-widget-cart-number"),u=jQuery(".fusion-menu-cart-items"),d=jQuery(".awb-woo-mini-cart"),l=jQuery(".fusion-dynamic-cart-total-wrapper"),m=jQuery(".awb-dynamic-free-shipping-min-amount"),h=jQuery(".awb-dynamic-free-shipping-min-amount-progress"),y=jQuery(".woocommerce-cart-form .shop_table").prev("h2");jQuery(".post-content").find(".fusion-woo-cart-totals-wrapper table, .fusion-button, .cart_totals table").addClass("awb-disabled"),jQuery.ajax({type:"POST",url:avadaWooCommerceVars.ajaxurl,data:{action:"live_update_cart",cart_item_key:i,product_id:void 0!==t.data("product-id")?t.data("product-id"):"",quantity:a,security:avadaWooCommerceVars.cart_nonce},success:function(e){if(e.success){0===a&&t.data("product-id",e.data.product_id);const o=parseInt(e.data.cart_items);if(c.length){let e=1===o?c.data("singular"):c.data("plural");c.contents().filter((function(){return 3===this.nodeType})).first().replaceWith(e),c.children(".fusion-dynamic-cart-count").text(o)}if(s.length&&s.html(o),u.length){const e=u.find('.fusion-menu-cart-item[data-cart-item-key="'+i+'"]');e.length&&e.find(".fusion-menu-cart-item-quantity .awb-quantity").html(a)}if(d.length){let t=d.find(".woocommerce-mini-cart li").eq(r);t.length&&t.find(".quantity").contents().filter((function(){return 3===this.nodeType})).first().each((function(){let e=this.nodeValue.match(/^(\d+)(\D*)/);e&&(this.nodeValue=a+e[2])})),d.find(".woocommerce-mini-cart__total").find(".woocommerce-Price-amount").html(jQuery(e.data.fragments[".cart_totals"]).find(".woocommerce-Price-amount").html())}l.length&&(l.children(".fusion-dynamic-cart-sub-totals").length&&l.children(".fusion-dynamic-cart-sub-totals").html(e.data.sub_totals),l.children(".fusion-dynamic-cart-sub-totals-discounts").length&&l.children(".fusion-dynamic-cart-sub-totals-discounts").html(e.data.sub_totals_discounts),l.children(".fusion-dynamic-cart-totals").length&&l.children(".fusion-dynamic-cart-totals").html(e.data.totals),l.children(".fusion-dynamic-cart-totals-tax").length&&l.children(".fusion-dynamic-cart-totals-tax").html(e.data.totals_tax)),m.length&&m.each((function(){"missing"===jQuery(this).data("type")?jQuery(this).replaceWith(e.data.free_shipping_missing):jQuery(this).html(e.data.free_shipping_percentage)})),h.length&&h.each((function(){jQuery(this).find(".progress").attr("aria-valuenow",e.data.free_shipping_percentage);const t=jQuery(this).find(".fusion-progressbar-value");if(t.length){const o=jQuery(this).data("value-type");let r="";r="min-amount-percentage"===o?t.text().includes("%")?e.data.free_shipping_percentage+"%":e.data.free_shipping_percentage:"sub-totals-discounts"===o?e.data.sub_totals_discounts:e.data.sub_totals,t.html(r)}jQuery(window).trigger("fusion-dynamic-content-render",jQuery(this).parent())})),y.length&&y.html(y.html().replace(/\d+/,o)),n.html(e.data.item_sub_totals),jQuery(".cart_totals").html(jQuery(e.data.fragments[".cart_totals"]).html())}jQuery(document.body).trigger("updated_cart_totals")},complete:function(){jQuery(".post-content").find(".fusion-woo-cart-totals-wrapper table, .fusion-button, .cart_totals table").removeClass("awb-disabled")}})}));let t=!1;jQuery(document).on("click",".woocommerce-cart-form .product-remove > a",(function(e){t=!0})),jQuery(document).on("click",".woocommerce-cart .restore-item",(function(e){t=!0})),jQuery(window).on("updated_wc_div",(function(){if(t){const e=jQuery(".fusion-dynamic-cart-count-wrapper"),o=jQuery(".fusion-widget-cart-number");let r=0;if(jQuery(".woocommerce-cart-form").first().find(".cart_item input.qty").each((function(){let e=parseInt(jQuery(this).val(),10);isNaN(e)||(r+=e)})),e.length){let t=1===r?e.data("singular"):e.data("plural");e.contents().filter((function(){return 3===this.nodeType})).first().replaceWith(t),e.children(".fusion-dynamic-cart-count").text(r)}o.length&&o.html(r),t=!1}})),jQuery('.fusion-update-cart, a[href="#updateCart"]').on("click",(function(e){return e.preventDefault(),jQuery(".cart .actions > .button").trigger("click"),!1})),jQuery(".fusion-apply-coupon").on("click",(function(e){e.preventDefault(),jQuery(".cart .actions .coupon #coupon_code").val(jQuery("#avada_coupon_code").val()),jQuery(".cart .actions .coupon .button").trigger("click")})),jQuery(window).on("updated_wc_div",(function(){!jQuery(".fusion-woo-notices-tb").length&&jQuery("#coupon_code").length&&jQuery("#coupon_code").hasClass("has-error")&&jQuery(".woocommerce-notices-wrapper").append('<div class="avada-woocommerce-error wc-block-components-notice-banner is-error" role="alert"><div class="wc-block-components-notice-banner__content">'+jQuery("#coupon-error-notice").html()+"</div></div>")})),jQuery(".woocommerce-store-notice").length&&jQuery(".woocommerce-store-notice").is(":visible")&&!jQuery(".fusion-top-frame").is(":visible")&&(jQuery("#wrapper").css("margin-top",jQuery(".woocommerce-store-notice").outerHeight()),0<jQuery("#slidingbar-area").outerHeight()&&jQuery(".header-wrapper").css("margin-top","0"),jQuery(".sticky-header").length&&jQuery(".sticky-header").css("margin-top",jQuery(".woocommerce-store-notice").outerHeight())),jQuery(".catalog-ordering .orderby .current-li a").html(jQuery(".catalog-ordering .orderby ul li.current a").html()),jQuery(".catalog-ordering .sort-count .current-li a").html(jQuery(".catalog-ordering .sort-count ul li.current a").html()),jQuery(".woocommerce .avada-myaccount-data th.woocommerce-orders-table__cell-order-actions").text(avadaWooCommerceVars.order_actions),jQuery("body.rtl .avada-myaccount-data .my_account_orders .woocommerce-orders-table__cell-order-status").each((function(){jQuery(this).css("text-align","right")})),jQuery(".woocommerce input").each((function(){jQuery(this).has("#coupon_code")||(e=jQuery(this).attr("id"),jQuery(this).attr("placeholder",jQuery(this).parent().find("label[for="+e+"]").text()))})),jQuery(".woocommerce #reviews #comments .comment_container .comment-text").length&&jQuery(".woocommerce #reviews #comments .comment_container").append('<div class="clear"></div>'),jQuery(".woocommerce-tabs #comments > h2").each((function(){jQuery(this).replaceWith((function(){return"<h3>"+jQuery(this).html()+"</h3>"}))})),"block"===jQuery("body .sidebar").css("display")&&fusionCalcWoocommerceTabsLayout(".woocommerce-tabs .tabs-horizontal"),jQuery(".sidebar .products,.fusion-footer-widget-area .products,#slidingbar-area .products").each((function(){jQuery(this).removeClass("products-4"),jQuery(this).removeClass("products-3"),jQuery(this).removeClass("products-2"),jQuery(this).addClass("products-1")})),jQuery(".subcategory-products").each((function(){jQuery(this).addClass("products-"+avadaWooCommerceVars.woocommerce_shop_page_columns)})),jQuery(".woocommerce-tabs ul.tabs li a").off("click"),jQuery("body").on("click",".woocommerce-tabs > ul.tabs li a",(function(){var e=jQuery(this),t=e.closest(".woocommerce-tabs");return jQuery("ul.tabs li",t).removeClass("active"),jQuery("> div.panel",t).hide(),jQuery("div"+e.attr("href"),t).show(),e.parent().addClass("active"),!1})),jQuery(".continue-checkout").length||jQuery(document).on("checkout_error",(function(){var e=fusion.getAdminbarHeight(),t=jQuery(".fusion-header-wrapper").find("div"),o=0;jQuery("html, body").stop(),t.each((function(){"fixed"===jQuery(this).css("position")&&(o=jQuery(this).height())})),jQuery(".woocommerce-NoticeGroup-checkout").length&&jQuery("html, body").animate({scrollTop:jQuery(".woocommerce-NoticeGroup-checkout").offset().top-e-o-10},500)})),jQuery("body").on("click",".woocommerce-checkout-nav a,.continue-checkout",(function(e){var t,o,r,a=fusion.getAdminbarHeight(),i=jQuery(".fusion-header-wrapper").find("div"),n=0;i.each((function(){"fixed"===jQuery(this).css("position")&&(n=jQuery(this).height())})),e.preventDefault(),jQuery(".avada-woocommerce-error").remove(),0<jQuery(".validate-required:visible").length&&jQuery.each(jQuery(".validate-required:visible"),(function(e,t){var o=jQuery(t).find(":input");"hidden"===o.attr("type")||"radio"===o.attr("type")?jQuery(t).addClass("woocommerce-validated"):o.trigger("change")})),jQuery(".woocommerce").trigger("avada_checkout_continue_field_validation"),jQuery(".woocommerce .woocommerce-billing-fields, .woocommerce .woocommerce-shipping-fields, .woocommerce .woocommerce-account-fields").find(".input-text, select, input:checkbox").closest(".validate-required:not(.woocommerce-validated)").is(":visible")?(jQuery(".avada-woocommerce-error").length||jQuery(".woocommerce .avada-checkout .woocommerce-checkout").prepend('<div class="avada-woocommerce-error wc-block-components-notice-banner is-error" role="alert"><div class="wc-block-components-notice-banner__content">'+avadaWooCommerceVars.woocommerce_checkout_error+"</div></div>"),jQuery(document.body).trigger("avada_checkout_error",[avadaWooCommerceVars.woocommerce_checkout_error]),0<jQuery(".avada-woocommerce-error").length&&jQuery("html, body").animate({scrollTop:jQuery(".avada-woocommerce-error").offset().top-a-n-10},500)):(o=t=jQuery(this).attr("data-name"),o="order_review"===t?"#"+t:"."+t,jQuery("form.checkout .col-1, form.checkout .col-2, form.checkout #order_review_heading, form.checkout #order_review").hide(),jQuery("form.checkout").find(o).fadeIn(),"order_review"===o&&jQuery("form.checkout").find("#order_review_heading ").fadeIn(),jQuery(".woocommerce-checkout-nav li").removeClass("is-active"),jQuery(".woocommerce-checkout-nav").find("[data-name="+t+"]").parent().addClass("is-active"),jQuery(this).hasClass("continue-checkout")&&0<jQuery(window).scrollTop()&&(r=jQuery(".woo-tabs-horizontal").length?jQuery(".woocommerce-checkout-nav"):jQuery(".woocommerce-content-box.avada-checkout"),jQuery("html, body").animate({scrollTop:r.offset().top-a-n},500))),calcSelectArrowDimensions()})),jQuery("body").on("click","input[name=ship_to_different_address]",(function(){jQuery(this).is(":checked")&&setTimeout((function(){calcSelectArrowDimensions()}),1)})),Modernizr.mq("only screen and (max-width: 479px)")&&jQuery(".overlay-full.layout-text-left .slide-excerpt p").each((function(){var e,t=jQuery(this).html().split(/[\s\.\?]+/),o="";if(t.length>11){for(e=0;e<10;e++)o+=t[e]+" ";jQuery(this).html(o)}})),jQuery(".wc-tabs li").on("click",(function(){var e=jQuery(this).attr("aria-controls");setTimeout((function(){jQuery("#"+e).find(".awb-carousel").length&&"function"==typeof generateSwiperCarousel&&generateSwiperCarousel(),jQuery("#"+e).find(".fusion-gallery").each((function(){jQuery(this).isotope()})),jQuery("#"+e).find(".fusion-blog-shortcode").each((function(){jQuery(this).find(".fusion-blog-layout-grid").isotope()})),jQuery("#"+e).find(".crossfade-images").each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))})),"function"==typeof jQuery.fn.fusionCalcFlipBoxesHeight&&jQuery("#"+e).find(".flip-box-inner-wrapper").each((function(){jQuery(this).fusionCalcFlipBoxesHeight()})),jQuery("#"+e).find(".fusion-portfolio").each((function(){jQuery(this).find(".fusion-portfolio-wrapper").isotope()})),"function"==typeof jQuery.fn.reinitializeGoogleMap&&jQuery("#"+e).find(".shortcode-map").each((function(){jQuery(this).reinitializeGoogleMap()}))}),150)}))})),jQuery(document).ready((function(){var e=jQuery("#calc_shipping_country").parents(".avada-shipping-calculator-form").find("#calc_shipping_state_field");e.length&&("hidden"===e.find("#calc_shipping_state").attr("type")?e.hide():e.show())})),jQuery(window).on("updated_wc_div",(function(){reinitAftarAjax()})),jQuery(window).on("fusion-dynamic-content-render",(function(e,t){var o=jQuery(t).find(".fusion-woo-slider");0<o.length&&o.parents(".fusion-tabs").css("height",""),0<(o=jQuery(t).find(".crossfade-images")).length&&o.each((function(){fusionResizeCrossfadeImagesContainer(jQuery(this))}))})),jQuery(window).on("updated_wc_div",(function(){jQuery(".cart_totals.fusion-animated").removeClass("fusion-animated")}));
jQuery(window).on("load",(function(){jQuery(".product-images").each((function(){!jQuery(this).find("img").length&&jQuery(this).find(".onsale").length&&jQuery(this).css("min-height","45px")}))})),jQuery(document).ready((function(){var t,e,a,r;for(jQuery("body").on("click",".add_to_cart_button.ajax_add_to_cart:not(.disabled), .add_to_cart_button.ajax_variation_add_to_cart:not(.disabled)",(function(){var t=jQuery(this).closest(".product, li, .swiper-slide"),e=t.find(".cart-loading"),a=!!t.hasClass("post-card")&&t.find(".fusion-image-wrapper");a&&a.addClass("hover"),e.find("i").removeClass("awb-icon-shopping-cart").addClass("awb-icon-spinner"),e.fadeIn(),setTimeout((function(){e.find("i").hide().removeClass("awb-icon-spinner").addClass("awb-icon-shopping-cart").fadeIn(),e.closest(".fusion-clean-product-image-wrapper, li").addClass("fusion-item-in-cart"),a&&a.removeClass("hover")}),2e3)})).on("click",".add_to_cart_button.ajax_variation_add_to_cart:not(.disabled)",(function(t){var e=jQuery(this),a=e.closest("form.cart"),r=a.find('input:not([name="product_id"]), select, button, textarea').serializeArray()||0,i=-1!==a.attr("action").indexOf("?")?a.attr("action")+"&wc-ajax=get_refreshed_fragments":a.attr("action")+"?wc-ajax=get_refreshed_fragments";t.preventDefault(),e.hasClass("disabled_ajax_add_to_cart")?a.trigger("submit"):(jQuery(document.body).trigger("adding_to_cart",[e,r]),jQuery.ajax({type:"POST",url:i,data:r,success:function(t){t.error&&t.product_url?window.location=t.product_url:jQuery(document.body).trigger("added_to_cart",[t.fragments,t.cart_hash,e])}}))})),jQuery("body").on("should_send_ajax_request.adding_to_cart",(function(t,e){return!jQuery(e).hasClass("disabled")})),jQuery("body").on("mouseenter mouseleave",".products .product, .fusion-woo-slider .swiper-slide, .post-card.product",(function(t){var e=jQuery(this).find(".cart-loading");e.find("i").hasClass("awb-icon-shopping-cart")&&("mouseenter"===t.type?e.fadeIn():e.fadeOut())})),t=avadaWooCommerceVars.title_style_type.split(" "),e="","",a="title-heading-left",r=0;r<t.length;r++)e+=" sep-"+t[r];e.indexOf("underline"),jQuery("body").hasClass("rtl")&&(a="title-heading-right"),jQuery(".woocommerce.single-product .related.products > h2").each((function(){jQuery(this).replaceWith((function(){return'<div class="fusion-title title'+e+'"><h'+avadaWooCommerceVars.related_products_heading_size+' class="'+a+'">'+jQuery(this).html()+"</h"+avadaWooCommerceVars.related_products_heading_size+'><span class="awb-title-spacer"></span><div class="title-sep-container"><div class="title-sep'+e+' "></div></div></div>'}))})),jQuery(".woocommerce.single-product .upsells.products > h2").each((function(){jQuery(this).replaceWith((function(){return'<div class="fusion-title title'+e+'"><h3 class="'+a+'">'+jQuery(this).html()+'</h3><span class="awb-title-spacer"></span><div class="title-sep-container"><div class="title-sep'+e+' "></div></div></div>'}))})),jQuery(".products-6 li, .products-5 li, .products-4 li, .products-3 li, .products-2 li").removeClass("last"),jQuery(document).on("change",".fusion-post-card-cart .qty",(function(t){void 0!==this.value&&jQuery(t.target).closest(".fusion-post-card-cart").find(".ajax_add_to_cart").attr("data-quantity",this.value)}))})),jQuery(window).on("wcpf_after_ajax_filtering",(function(){var t=new URLSearchParams(window.location.search);jQuery(".catalog-ordering").find("a").each((function(){var e,a=jQuery(this).attr("href");if(void 0!==a){for(e of t.entries())-1===a.indexOf(e[0])&&(a+="&"+e[0]+"="+e[1]);jQuery(this).attr("href",a)}}))}));
function getVariationsValues(t){var a=0,e=0;return jQuery(t).find(".variations").find("select").each((function(){0<(jQuery(this).val()||"").length&&e++,a++})),{variations:a,chosen:e}}function variationsChange(t,a,e){var i,r,o,n,s,l,c,d,u,g=window.sources,_=void 0!==g[0]&&g[0],m=getVariationsValues(e);if(i=void 0!==a&&a.image&&a.image.gallery_thumbnail_src&&1<a.image.gallery_thumbnail_src.length?a.image.gallery_thumbnail_src:_,m.variations!==m.chosen)return jQuery(e).trigger("update_variation_values"),jQuery(e).trigger("reset_data"),i=_,void variationsImageReset(t);void 0!==a&&a.image&&a.image.src&&1<a.image.src.length&&!a.is_composited&&(r=t.hasClass("awb-no-thumbs")?jQuery(t.data("parent")):t.closest(".woocommerce-product-gallery"),n=(o=t.hasClass("awb-no-thumbs")?r.children(".woocommerce-product-gallery__wrapper"):r.children(".flex-viewport")).find(".fusion-main-image").length?o.find(".fusion-main-image"):o.find(".woocommerce-product-gallery__image"),s=n.find(".wp-post-image"),l=n.find("a").eq(0),c=n.find("> img"),d=n.find(".avada-product-gallery-lightbox-trigger"),u=r.find(".fusion-main-image-thumb"),t.filter('[data-o_src="'+a.image.gallery_thumbnail_src+'"]').length&&variationsImageReset(t),-1<jQuery.inArray(a.image.gallery_thumbnail_src,g)&&s.attr("src")===a.image.src||t.each((function(){jQuery(this).hasClass("fusion-main-image-thumb")?(jQuery(this).attr("src",i),jQuery(this).parent().trigger("click"),m.variations===m.chosen?(s.wc_set_variation_attr("src",a.image.src),s.wc_set_variation_attr("height",a.image.src_h),s.wc_set_variation_attr("width",a.image.src_w),s.wc_set_variation_attr("srcset",a.image.srcset),s.wc_set_variation_attr("sizes",a.image.sizes),s.wc_set_variation_attr("title",a.image.title),s.wc_set_variation_attr("alt",a.image.alt),s.wc_set_variation_attr("data-src",a.image.full_src),s.wc_set_variation_attr("data-large_image",a.image.full_src),s.wc_set_variation_attr("data-large_image_width",a.image.full_src_w),s.wc_set_variation_attr("data-large_image_height",a.image.full_src_h),l.wc_set_variation_attr("href",a.image.full_src),c.wc_set_variation_attr("src",a.image.full_src),d.wc_set_variation_attr("href",a.image.src),void 0!==a.image.title&&(d.wc_set_variation_attr("data-title",a.image.title),d.data("title",a.image.title)),void 0!==a.image.caption&&(d.wc_set_variation_attr("data-caption",a.image.caption),d.data("caption",a.image.caption)),u.wc_set_variation_attr("src",a.image.gallery_thumbnail_src),jQuery(window).trigger("resize")):variationsImageReset(t)):jQuery(this).attr("src",g[jQuery(this).data("index")])}))),window.avadaLightBox.refresh_lightbox(),setTimeout((function(){window.avadaLightBox.refresh_lightbox()}),500),setTimeout((function(){window.avadaLightBox.refresh_lightbox()}),1500)}function variationsImageReset(t){var a=t.hasClass("awb-no-thumbs")?jQuery(t.data("parent")):t.closest(".woocommerce-product-gallery"),e=t.hasClass("awb-no-thumbs")?a.children(".woocommerce-product-gallery__wrapper"):a.children(".flex-viewport"),i=e.find(".fusion-main-image").length?e.find(".fusion-main-image"):e.find(".woocommerce-product-gallery__image"),r=i.find(".wp-post-image"),o=i.find("a").eq(0),n=i.find("> img"),s=i.find(".avada-product-gallery-lightbox-trigger"),l=a.find(".fusion-main-image-thumb");r.wc_reset_variation_attr("src"),r.wc_reset_variation_attr("width"),r.wc_reset_variation_attr("height"),r.wc_reset_variation_attr("srcset"),r.wc_reset_variation_attr("sizes"),r.wc_reset_variation_attr("title"),r.wc_reset_variation_attr("alt"),r.wc_reset_variation_attr("data-src"),r.wc_reset_variation_attr("data-large_image"),r.wc_reset_variation_attr("data-large_image_width"),r.wc_reset_variation_attr("data-large_image_height"),o.wc_reset_variation_attr("href"),n.wc_reset_variation_attr("src"),s.wc_reset_variation_attr("href"),s.wc_reset_variation_attr("data-title"),s.wc_reset_variation_attr("data-caption"),void 0!==s.attr("data-o_data-title")&&s.data("title",s.attr("data-o_data-title")),void 0!==s.attr("data-o_data-caption")&&s.data("titcaptionle",s.attr("data-o_data-caption")),l.wc_reset_variation_attr("src"),jQuery(window).trigger("resize"),window.avadaLightBox.refresh_lightbox(),setTimeout((function(){window.avadaLightBox.refresh_lightbox()}),500),setTimeout((function(){window.avadaLightBox.refresh_lightbox()}),1500)}function initAvadaWoocommerProductGallery(){jQuery(".avada-product-gallery").each((function(){var t,a=jQuery(this),e=a.closest(".avada-single-product-gallery-wrapper"),i=a.find(".flex-control-thumbs"),r=i.find("img").length?i.find("img"):void 0;void 0!==r?r.each((function(t){jQuery(this).data("index",t),window.sources.push(jQuery(this).attr("src"))})):window.sources.push(a.find(".flex-viewport .flex-active-slide").data("thumb")),e.find(".flex-viewport").append(a.find(".flex-direction-nav")),(e.hasClass("avada-product-images-thumbnails-top")||e.hasClass("avada-product-images-thumbnails-right")||e.hasClass("avada-product-images-thumbnails-left"))&&(e.children(".onsale").length&&e.find(".flex-viewport").prepend(e.children(".onsale")),e.children(".fusion-woo-badges-wrapper").length&&e.find(".flex-viewport").prepend(e.children(".fusion-woo-badges-wrapper"))),(e.hasClass("avada-product-images-thumbnails-top")||e.hasClass("avada-product-images-thumbnails-bottom"))&&(sizeGalleryThumbnails(a),jQuery(window).on("resize",(function(){sizeGalleryThumbnails(a)})),a.on("click touchstart",".flex-control-thumbs li",(function(){var t=jQuery(this);moveProductImageThumbs(a,t,"next")})),a.find(".flex-direction-nav li a").on("click touchstart",(function(){var t=jQuery(this).parents(".avada-product-gallery").find(".flex-control-thumbs img.flex-active");t.offset().left+t.outerWidth()>a.offset().left+a.outerWidth()&&(jQuery(this).hasClass("flex-next")?moveProductImageThumbs(a,t,"next"):moveProductImageThumbs(a,t,"prev"))})),(t=Math.max.apply(null,i.find("li").map((function(){return jQuery(this).height()})).get()))||(t=i.find("li").width()),jQuery(".woocommerce-product-gallery__image").css("min-height",""),i.animate({opacity:1},500),i.wrap('<div class="avada-product-gallery-thumbs-wrapper"></div>'),i.parent().css("height",t)),jQuery(window).trigger("resize")}))}function sizeGalleryThumbnails(t){var a,e=t.width(),i=t.find(".flex-control-thumbs li"),r=t.data("columns"),o=i.length;a=(e-8*(r-1))/r,i.css("width",a),t.find(".flex-control-thumbs").css("width",o*a+8*(o-1)+"px")}function moveProductImageThumbs(t,a,e){var i,r,o=t.find(".flex-control-thumbs"),n=o.find("li"),s=t.data("columns"),l=o.find("li").outerWidth(),c=t.offset().left,d=Math.floor((a.offset().left-c)/l),u=[];n.length>s&&("next"===e?(d<n.length-(d+1)?i=-1*a.position().left:(r=n.length-s,i=-1*jQuery(n.get(r)).position().left),o.stop(!0,!0).animate({left:i},{queue:!1,duration:500,easing:"easeInOutQuad",complete:function(){jQuery(this).find("li").each((function(){u.push(jQuery(this).offset().left)})),jQuery(this).find("li").each((function(t){u[t]<c&&jQuery(this).appendTo(o)})),jQuery(this).css("left","0")}})):(i=-1*(l+8),a.parent().prependTo(o),o.css("left",i),o.stop(!0,!0).animate({left:0},{queue:!1,duration:500,easing:"easeInOutQuad"})))}jQuery(window).on("load fusion-element-render-fusion_tb_woo_product_images fusion-reinit-single-post-slideshow",(function(t){var a,e,i;"fusion-element-render-fusion_tb_woo_product_images"!==t.type&&"fusion-reinit-single-post-slideshow"!==t.type||"function"!=typeof jQuery.fn.wc_product_gallery||jQuery(".woocommerce-product-gallery").each((function(){var t=jQuery(this).closest(".fusion-woo-product-images");t.length&&(wc_single_product_params.zoom_enabled=parseInt(t.attr("data-zoom_enabled")),wc_single_product_params.photoswipe_enabled=parseInt(t.attr("data-photoswipe_enabled"))),jQuery(this).trigger("wc-product-gallery-before-init",[this,wc_single_product_params]),jQuery(this).wc_product_gallery(wc_single_product_params),jQuery(this).trigger("wc-product-gallery-after-init",[this,wc_single_product_params])})),jQuery(".avada-product-gallery").length&&(window.sources=[],jQuery("body").on("click",".woocommerce-product-gallery__image .zoomImg",(function(){if("ontouchstart"in document.documentElement||navigator.msMaxTouchPoints)return(i=jQuery(this).siblings(".avada-product-gallery-lightbox-trigger")).hasClass("hover")?(i.removeClass("hover"),i.trigger("click"),!1):(jQuery(".woocommerce-product-gallery__image").find(".avada-product-gallery-lightbox-trigger").removeClass("hover"),i.addClass("hover"),!0);jQuery(this).siblings(".avada-product-gallery-lightbox-trigger").trigger("click")})),jQuery("body").on("click",(function(t){jQuery(t.target).hasClass("woocommerce-product-gallery__image")||jQuery(".avada-product-gallery-lightbox-trigger").removeClass("hover")})),setTimeout((function(){initAvadaWoocommerProductGallery(),void 0===(a=jQuery(".flex-control-nav").find("img").length?jQuery(".flex-control-nav").find("img"):jQuery('<img class="fusion-main-image-thumb">')).attr("src")&&(jQuery(".flex-viewport").length?a.attr("src",jQuery(".flex-viewport").find(".flex-active-slide").data("thumb")):(a.addClass("awb-no-thumbs"),a.attr("src",jQuery(".avada-product-gallery").find(".wp-post-image").data("src")),a.attr("data-parent",".avada-product-gallery"))),jQuery(".flex-viewport").find(".flex-active-slide").addClass("fusion-main-image"),jQuery(".flex-control-nav").find("li:eq(0) img").addClass("fusion-main-image-thumb")}),100),"load"===t.type&&"undefined"==typeof wc_additional_variation_images_local&&setTimeout((function(){jQuery("body").find(".variations_form .variations select").trigger("change.wc-variation-form")}),100),jQuery("body").on("found_variation.wc-variation-form",".variations_form",(function(t,i){e=i,!1!==jQuery(this).data("product_variations")||jQuery(this).closest(".fusion-layout-column:not(.fusion_builder_column_inner)").hasClass("post-card")||variationsChange(a,e,jQuery(this))})),!1!==jQuery(".variations_form").data("product_variations")&&jQuery("body").on("change.wc-variation-form",".variations_form .variations select",(function(){jQuery(this).closest(".fusion-layout-column:not(.fusion_builder_column_inner)").hasClass("post-card")||variationsChange(a,e,jQuery(this).closest(".variations_form"))})))})),jQuery((function(){setTimeout((function(){jQuery(".avada-product-gallery").find(".clone").find(".avada-product-gallery-lightbox-trigger").addClass("fusion-no-lightbox").removeAttr("data-rel"),jQuery(".woocommerce-product-gallery__trigger").empty()}),10)}));
var fusionTypographyVars={"site_width":"1200px","typography_sensitivity":"0.00","typography_factor":"1.50","elements":"h1, h2, h3, h4, h5, h6"};function fusionCalculateResponsiveTypeValues(e,t,i,n){fusionSetOriginalTypographyData(n)}function fusionSetOriginalTypographyData(e){var t="string"==typeof e&&-1!==e.indexOf("fusion-slider"),i=fusion.getElements(e);jQuery(i).each(function(e,i){var n,o,s,a,r;n=fusionTypographyVars.typography_factor,i.classList.contains("awb-responsive-type__disable")||(i.classList.contains("fusion-responsive-typography-calculated")?i.style.getPropertyValue("--fontSize")&&""!==i.style.getPropertyValue("--fontSize")||i.classList.remove("fusion-responsive-typography-calculated"):null!==i.closest(".fusion-slider-revolution")||null!==i.closest(".rev_slider")||null!==i.closest("#layerslider-container")||null!==i.closest(".ls-avada.ls-container")||null!==i.closest(".fusion-slider-container")&&!t||(s=window.getComputedStyle(i),a=!!s["font-size"]&&parseFloat(s["font-size"]),r=!!s["line-height"]&&parseFloat(s["line-height"]),!1!==a&&!1!==r&&(r=Math.round(r/a*100)/100,i.style.setProperty("--fontSize",a),i.setAttribute("data-fontsize",a),i.style.lineHeight=r,i.setAttribute("data-lineheight",s["line-height"]),window.fusionBaseFontSize||(window.fusionBaseFontSize=getComputedStyle(document.documentElement).getPropertyValue("--base-font-size")),t&&(void 0!==(o=jQuery(i).closest(".tfs-slider")).data("typo_factor")&&(n=o.data("typo_factor")),i.style.setProperty("--typography_sensitivity",o.data("typo_sensitivity"))),window.fusionBaseFontSize*n>a&&i.style.setProperty("--minFontSize",a),jQuery(i.querySelectorAll(".fusion-animated-texts-wrapper")).each(function(e,t){var i=window.getComputedStyle(t),n=!!i["font-size"]&&parseFloat(i["font-size"]),o=!!i["line-height"]&&parseFloat(i["line-height"]);t.style.fontSize=n/a+"em",t.style.lineHeight=Math.round(o/n*100)/100}),i.classList.add("fusion-responsive-typography-calculated"))))})}function fusionInitTypography(){window.responsiveTypeElements=fusionTypographyVars.elements,0<fusionTypographyVars.typography_sensitivity&&fusionSetOriginalTypographyData(window.responsiveTypeElements)}document.body.classList.contains("fusion-builder-live")?window.onload=fusionInitTypography:fusion.ready(function(){fusionInitTypography()}),document.body.addEventListener("fusion-typography",function(e){var t,i=e.detail.heading,n=e.detail.values,o=fusion.getElements(i);jQuery(o).each(function(e,i){t=window.getComputedStyle(i),i.parentNode.classList.contains("fusion-title")?""!==i.parentNode.style.getPropertyValue("--awb-font-size")&&(i.style.fontSize="1em"):i.parentNode.getAttribute("data-inline-fontsize")&&i.getAttribute("data-inline-fontsize")?i.style.fontSize=i.getAttribute("data-inline-fontsize"):i.style.fontSize=n["font-size"],i.getAttribute("data-inline-lineheight")&&i.getAttribute("data-inline-lineheight")?i.style.lineHeight=i.getAttribute("data-inline-lineheight"):i.style.lineHeight=n["line-height"],i.setAttribute("data-fontsize",parseFloat(t["font-size"])),i.style.setProperty("--fontSize",parseFloat(t["font-size"])),i.classList.add("fusion-responsive-typography-calculated")})}),jQuery(document).ajaxComplete(function(){0<fusionTypographyVars.typography_sensitivity&&fusionSetOriginalTypographyData(window.responsiveTypeElements)}),jQuery(window).on("fusion-typography-reset",function(e,t){"undefined"!=typeof fusionTypographyVars&&0!==parseFloat(fusionTypographyVars.typography_sensitivity)&&fusionSetOriginalTypographyData(jQuery('div[data-cid="'+t+'"]').find(window.responsiveTypeElements))}),document.body.style.setProperty("--viewportWidth",window.screen.width),window.addEventListener("resize",function(){document.body.style.setProperty("--viewportWidth",window.screen.width)});
var fusionScrollToAnchorVars={"content_break_point":"800","container_hundred_percent_height_mobile":"0","hundred_percent_scroll_sensitivity":"450"};function awbScrollToTarget(e,t){var n,o,s,i,a,r,l,u,c,h,f,d,p=jQuery("html").hasClass("ua-edge")||jQuery("html").hasClass("ua-safari-12")||jQuery("html").hasClass("ua-safari-11")||jQuery("html").hasClass("ua-safari-10")?"body":"html",g=jQuery(".fusion-tb-header").length,y=!1,m=!1;if(t=void 0!==t?t:0,e.length){if(e.parents(".fusion-scroll-section").hasClass("awb-swiper-full-sections"))return;if((e.parents(".hundred-percent-height-scrolling").length||e.find(".hundred-percent-height-scrolling").length)&&(0!=fusionScrollToAnchorVars.container_hundred_percent_height_mobile||!Modernizr.mq("only screen and (max-width: "+fusionScrollToAnchorVars.content_break_point+"px)"))){if((d=e.hasClass("fusion-scroll-section-element")?e:e.parents(".fusion-scroll-section-element")).hasClass("active")&&d.offset().top>=jQuery(window).scrollTop()&&d.offset().top<jQuery(window).scrollTop()+jQuery(window).height())return!1;if(location.hash&&"#_"===location.hash.substring(0,2)&&jQuery(".fusion-page-load-link").addClass("fusion-page.load-scroll-section-link"),e.parents(".fusion-scroll-section").length)return e.parents(".fusion-scroll-section").hasClass("active")?e.parents(".fusion-scroll-section").find(".fusion-scroll-section-nav").find(".fusion-scroll-section-link[data-element="+d.data("element")+"]").trigger("click"):(f=Math.ceil(e.parents(".fusion-scroll-section").offset().top),jQuery(p).animate({scrollTop:f},{duration:400,easing:"easeInExpo",complete:function(){setTimeout(function(){e.parents(".fusion-scroll-section").find(".fusion-scroll-section-nav").find(".fusion-scroll-section-link[data-element="+d.data("element")+"]").trigger("click"),location.hash&&"#_"===location.hash.substring(0,2)&&("history"in window&&"replaceState"in history&&history.replaceState("",window.location.href.replace("#_","#"),window.location.href.replace("#_","#")),jQuery(".fusion-page-load-link").removeClass("fusion-page.load-scroll-section-link"))},parseInt(fusionScrollToAnchorVars.hundred_percent_scroll_sensitivity)+50)}})),!1}return e.parents(".awb-off-canvas").length?0!==e.parents(".awb-off-canvas-wrap.awb-show").length&&(l=(r=e.parents(".awb-off-canvas-wrap.awb-show").find(".off-canvas-content"))[0].getBoundingClientRect().top,u=e[0].getBoundingClientRect().top,c=r.scrollTop(),i=u<l?c-(l-u):Math.abs(c+(u-l)),h=r[0].scrollHeight-r.outerHeight(),i>h&&(i=h),void r.animate({scrollTop:i},{duration:400})):(n=fusion.getAdminbarHeight(),s=jQuery(document).scrollTop(),g?(jQuery("body").addClass("fusion-scrolling-active"),(y=fusionGetStickyOffset())||(y=n),i=e.offset().top-y-t):(o="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,i=e.offset().top-n-o-t),a=Math.abs(s-i)/2,f=s>i?s-a:s+a,jQuery(p).animate({scrollTop:f},{duration:400,easing:"easeInExpo",complete:function(){n=fusion.getAdminbarHeight(),g?((y=fusionGetStickyOffset())||(y=n),i=Math.ceil(e.offset().top)-y-t):(o="function"==typeof getStickyHeaderHeight?getStickyHeaderHeight():0,i=Math.ceil(e.offset().top)-n-o-t),jQuery(p).animate({scrollTop:i},450,"easeOutExpo",function(){location.hash&&"#_"===location.hash.substring(0,2)&&"history"in window&&"replaceState"in history&&history.replaceState("",window.location.href.replace("#_","#"),window.location.href.replace("#_","#")),g&&((m=fusionGetStickyOffset())||(m=n),y!==m&&(i=Math.ceil(e.offset().top)-m-t,jQuery(p).animate({scrollTop:i},450)),jQuery("body").removeClass("fusion-scrolling-active"))})}}),(e.hasClass("tab-pane")||e.hasClass("tab-link"))&&"function"==typeof jQuery.fn.fusionSwitchTabOnLinkClick&&setTimeout(function(){e.parents(".fusion-tabs").fusionSwitchTabOnLinkClick()},100),!1)}}!function(e){"use strict";e.fn.fusion_scroll_to_anchor_target=function(t){var n=void 0!==e(this).attr("href")?e(this).attr("href"):e(this).data("link"),o=n.substr(n.indexOf("#")).slice(1),s=e("#"+o);""!==o&&awbScrollToTarget(s,t)}}(jQuery),jQuery(document).ready(function(){jQuery("body").on("click",'.fusion-menu a:not([href="#"], .panel-title a, .fusion-megamenu-widgets-container a, .search-link), .fusion-widget-menu a, .fusion-secondary-menu a, .fusion-mobile-nav-item a:not([href="#"], .search-link), .fusion-button:not([href="#"], input, button), .fusion-one-page-text-link:not([href="#"]), .fusion-content-boxes .fusion-read-more:not([href="#"]), .fusion-imageframe > .fusion-no-lightbox, .content-box-wrapper:not(.link-area-box) .heading-link, a.woocommerce-review-link, .awb-toc-el .awb-toc-el__item-anchor',function(e){var t,n,o,s,i,a,r,l,u=jQuery("body").hasClass("fusion-builder-live");if(jQuery(this).hasClass("avada-noscroll")||jQuery(this).parent().hasClass("avada-noscroll")||jQuery(this).is(".fusion-content-box-button, .fusion-tagline-button")&&jQuery(this).parents(".avada-noscroll").length)return!0;if(this.hash){if(r=jQuery(this).attr("target")?jQuery(this).attr("target"):"_self",s=(o=void 0!==(n=(t=jQuery(this).attr("href")).split("#"))[1]?n[1]:"").substring(0,1),a=(i=n[0]).substring(i.length-1,i.length),window.location.host!==this.host)return;if("#hubspot-open-chat"===t)return;if("#previousStep"===t||"#nextStep"===t)return;if(void 0!==(l=o.split("-"))[0]&&"tab"===l[0]&&jQuery(this).parents(".awb-menu__mega-wrap").length)return;if("/"!==a&&(i+="/"),"!"===s||"/"===s)return;e.preventDefault(),location.pathname.replace(/^\//,"")!=this.pathname.replace(/^\//,"")&&"#"!==t.charAt(0)||""!==location.search&&-1===location.search.indexOf("lang=")&&-1===location.search.indexOf("builder=")&&!jQuery(this).hasClass("tfs-scroll-down-indicator")&&!jQuery(this).hasClass("fusion-same-page-scroll")?u||t.includes("-oc__")||("/"===i&&""!==location.search&&(i=location.href.replace(location.search,"")),window.open(i+"#_"+o,r)):(jQuery(this).fusion_scroll_to_anchor_target(),"history"in window&&"replaceState"in history&&!u&&history.replaceState("",t,t),jQuery(this).closest(".awb-menu.flyout-submenu-expanded").length?jQuery(this).closest(".awb-menu.flyout-submenu-expanded").find(".awb-menu__flyout-close").trigger("click"):jQuery(this).closest(".fusion-flyout-menu").length?jQuery(".fusion-flyout-menu-toggle").trigger("click"):jQuery(this).closest(".fusion-megamenu-menu, .awb-menu__sub-ul").length&&jQuery(this).blur(),jQuery(this).closest(".awb-menu .awb-menu__mega-wrap").length&&jQuery(this).blur())}})}),location.hash&&"#_"===location.hash.substring(0,2)&&(jQuery(".fusion-page-load-link").attr("href",decodeURIComponent("#"+location.hash.substring(2))),jQuery(window).on("load",function(){jQuery(".fusion-blog-shortcode").length?setTimeout(function(){jQuery(".fusion-page-load-link").fusion_scroll_to_anchor_target()},300):jQuery(".fusion-page-load-link").fusion_scroll_to_anchor_target()}));
var fusionLightboxVars={"status_lightbox":"1","lightbox_gallery":"1","lightbox_skin":"metro-white","lightbox_title":"1","lightbox_zoom":"1","lightbox_arrows":"1","lightbox_slideshow_speed":"5000","lightbox_loop":"0","lightbox_autoplay":"","lightbox_opacity":"0.90","lightbox_desc":"1","lightbox_social":"1","lightbox_social_links":{"facebook":{"source":"https:\/\/www.facebook.com\/sharer.php?u={URL}","text":"Share on Facebook"},"twitter":{"source":"https:\/\/x.com\/intent\/post?url={URL}","text":"Share on X"},"reddit":{"source":"https:\/\/reddit.com\/submit?url={URL}","text":"Share on Reddit"},"linkedin":{"source":"https:\/\/www.linkedin.com\/shareArticle?mini=true&url={URL}","text":"Share on LinkedIn"},"whatsapp":{"source":"https:\/\/api.whatsapp.com\/send?text={URL}","text":"Share on WhatsApp"},"telegram":{"source":"https:\/\/t.me\/share\/url?url={URL}","text":"Share on Telegram"},"tumblr":{"source":"https:\/\/www.tumblr.com\/share\/link?url={URL}","text":"Share on Tumblr"},"pinterest":{"source":"https:\/\/pinterest.com\/pin\/create\/button\/?url={URL}","text":"Share on Pinterest"},"vk":{"source":"https:\/\/vk.com\/share.php?url={URL}","text":"Share on Vk"},"xing":{"source":"https:\/\/www.xing.com\/social_plugins\/share\/new?sc_p=xing-share&amp;h=1&amp;url={URL}","text":"Share on Xing"},"mail":{"source":"mailto:?body={URL}","text":"Share by Email"}},"lightbox_deeplinking":"1","lightbox_path":"vertical","lightbox_post_images":"1","lightbox_animation_speed":"normal","l10n":{"close":"Press Esc to close","enterFullscreen":"Enter Fullscreen (Shift+Enter)","exitFullscreen":"Exit Fullscreen (Shift+Enter)","slideShow":"Slideshow","next":"Next","previous":"Previous"}};var fusionVideoVars={"status_vimeo":"0"};jQuery(document).ready(function(){jQuery(".fusion-video").each(function(){!jQuery(this).parents(".fusion-modal").length&&1==jQuery(this).data("autoplay")&&jQuery(this).is(":visible")&&jQuery(this).find("iframe").each(function(){jQuery(this).hasClass("lazyload")?jQuery(this).on("lazyloaded",function(){this.contentWindow.location.replace(jQuery(this).attr("data-orig-src").replace("autoplay=0","autoplay=1"))}):jQuery(this).attr("src",jQuery(this).attr("src").replace("autoplay=0","autoplay=1"))})}),jQuery(window).on("resize",function(){var e,i=document.querySelectorAll("iframe"),o=i.length;if(jQuery(".fusion-youtube").each(function(){jQuery(this).is(":visible")||jQuery(this).parents(".fusion-modal").length&&!jQuery(this).parents(".fusion-modal").is(":visible")||jQuery(this).find("iframe").each(function(){this.contentWindow.postMessage('{"event":"command","func":"pauseVideo","args":""}',"*")})}),"undefined"!=typeof Vimeo)for(e=0;e<o;e++)!(void 0!==i[e].src&&-1<i[e].src.toLowerCase().indexOf("vimeo"))||jQuery(i[e]).is(":visible")||jQuery(i[e]).data("privacy-src")&&jQuery(i[e]).hasClass("fusion-hidden")||jQuery(i[e]).parents(".fusion-modal").length&&!jQuery(i[e]).parents(".fusion-modal").is(":visible")||new Vimeo.Player(i[e]).pause()}),jQuery(window).on("fusion-element-render-fusion_youtube fusion-element-render-fusion_vimeo",function(e,i){(void 0!==i?jQuery('div[data-cid="'+i+'"]'):jQuery("body")).find(".full-video, .video-shortcode, .wooslider .slide-content").fitVids()})}),jQuery(window).on("fusion-dynamic-content-render",function(e,i){var o=jQuery(i).find(".fusion-youtube").find("iframe");0<o.length&&o.each(function(){1!==jQuery(this).closest(".fusion-video").data("autoplay")&&"true"!==jQuery(this).closest(".fusion-video").data("autoplay")||(jQuery(this).closest(".fusion-video").data("autoplay","false"),this.contentWindow.postMessage('{"event":"command","func":"playVideo","args":""}',"*"))}),0<(o=jQuery(i).find(".fusion-vimeo").find("iframe")).length&&o.each(function(){1!==jQuery(this).closest(".fusion-video").data("autoplay")&&"true"!==jQuery(this).closest(".fusion-video").data("autoplay")||(jQuery(this).closest(".fusion-video").data("autoplay","false"),new Vimeo.Player(jQuery(this)[0]).play())})});
function fusionInitStickyColumns(){"object"==typeof fusion&&"function"==typeof fusion.getHeight&&jQuery(".awb-sticky[data-sticky-offset]").each(function(){jQuery(this)[0].style.setProperty("--awb-sticky-offset",fusion.getHeight(jQuery(this).attr("data-sticky-offset"))+fusion.getAdminbarHeight()+"px")})}jQuery(document).ready(function(){jQuery(".fusion-image-hovers .hover-type-liftup.fusion-column-inner-bg").on({mouseenter:function(){var e=jQuery(this).closest(".fusion_builder_column");jQuery(this).css("z-index","4"),jQuery(this).siblings(".fusion-column-wrapper").css("z-index","5"),"none"!==e.css("filter")&&"auto"===e.css("z-index")&&(e.css("z-index","1"),e.attr("data-filter-zindex","true"))},mouseleave:function(){var e=jQuery(this).closest(".fusion_builder_column");jQuery(this).css("z-index",""),jQuery(this).siblings(".fusion-column-wrapper").css("z-index",""),"true"===e.data("filter-zindex")&&(e.css("z-index",""),e.removeAttr("data-filter-zindex"))}})}),jQuery(window).on("load fusion-sticky-change fusion-resize-horizontal",fusionInitStickyColumns);