// source --> https://sindacs.org.br/wp-content/plugins/LayerSlider/assets/static/layerslider/js/layerslider.utils.js?ver=7.15.0 

/*
	* LayerSlider Utils
	*
	* (c) 2011-2025 George Krupa, John Gera & Kreatura Media
	*
	* LayerSlider home:		https://layerslider.com/
	* Licensing:			https://layerslider.com/licensing/
*/



;var LS_oldGS,LS_oldGSQueue,LS_oldGSDefine,LS_GSAP,_initLayerSlider=function(i,t,e){var r=jQuery;r(document).ready(function(){void 0===r.fn.layerSlider?window._layerSlider&&window._layerSlider.showNotice&&window._layerSlider.showNotice(i,"jquery"):(e&&r.each(e,function(t,e){r(i).on(t,e)}),r(i).layerSlider(t))})};"object"==typeof LS_Meta&&LS_Meta.fixGSAP&&(LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine,window._gsDefine=null,delete window._gsDefine,LS_GSAP=window.GreenSockGlobals={});var LS_pp1="ht",LS_pp2="tp:",LS_pp3="//",LS_nsProtocol=LS_pp1+LS_pp2+LS_pp3,_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var P,y,v,x,g,e,m,t;function T(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t}function w(t,e,i,r){var n={a:t},s={},a={},o={c:r},l=(t+e)/2,h=(i+r)/2,u=((i=((u=(e+i)/2)+h)/2)-(e=(l+u)/2))/8;return n.b=l+(t-l)/4,s.b=e+u,n.c=s.a=(n.b+s.b)/2,s.c=a.a=(e+i)/2,a.b=i-u,o.b=h+(r-h)/4,a.c=o.a=(a.b+o.b)/2,[n,s,a,o]}function f(t,e,i,r,n,s){var a,o,l,h,u,_,f,c,p={},d=[],m=s||t[0];for(o in n="string"==typeof n?","+n+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])d.push(o);if(1<t.length){for(c=t[t.length-1],f=!0,a=d.length;-1<--a;)if(o=d[a],.05<Math.abs(m[o]-c[o])){f=!1;break}f&&(t=t.concat(),s&&t.unshift(s),t.push(t[1]),s=t[t.length-3])}for(y.length=v.length=x.length=0,a=d.length;-1<--a;)o=d[a],g[o]=-1!==n.indexOf(","+o+","),p[o]=function(t,e,i,r){var n,s,a,o,l,h,u=[];if(r)for(s=(t=[r].concat(t)).length;-1<--s;)"string"==typeof(h=t[s][e])&&"="===h.charAt(1)&&(t[s][e]=r[e]+Number(h.charAt(0)+h.substr(2)));if((n=t.length-2)<0)return u[0]=new T(t[0][e],0,0,t[0][e]),u;for(s=0;s<n;s++)a=t[s][e],o=t[s+1][e],u[s]=new T(a,0,0,o),i&&(l=t[s+2][e],y[s]=(y[s]||0)+(o-a)*(o-a),v[s]=(v[s]||0)+(l-o)*(l-o));return u[s]=new T(t[s][e],0,0,t[s+1][e]),u}(t,o,g[o],s);for(a=y.length;-1<--a;)y[a]=Math.sqrt(y[a]),v[a]=Math.sqrt(v[a]);if(!r){for(a=d.length;-1<--a;)if(g[o])for(_=(l=p[d[a]]).length-1,h=0;h<_;h++)u=l[h+1].da/v[h]+l[h].da/y[h]||0,x[h]=(x[h]||0)+u*u;for(a=x.length;-1<--a;)x[a]=Math.sqrt(x[a])}for(a=d.length,h=i?4:1;-1<--a;)(function(t,e,i,r,n){for(var s,a,o,l,h,u,_,f,c,p=t.length-1,d=0,m=t[0].a,g=0;g<p;g++)s=(o=t[d]).a,a=o.d,h=t[d+1].d,h=n?(_=y[g],c=((f=v[g])+_)*e*.25/(!r&&x[g]||.5),a-((l=a-(a-s)*(r?.5*e:0!==_?c/_:0))+(((c=a+(h-a)*(r?.5*e:0!==f?c/f:0))-l)*(3*_/(_+f)+.5)/4||0))):a-((l=a-(a-s)*e*.5)+(c=a+(h-a)*e*.5))/2,l+=h,c+=h,o.c=h=l,o.b=0!==g?m:m=o.a+.6*(o.c-o.a),o.da=a-s,o.ca=h-s,o.ba=m-s,i?(u=w(s,m,h,a),t.splice(d,1,u[0],u[1],u[2],u[3]),d+=4):d++,m=c;(o=t[d]).b=m,o.c=m+.4*(o.d-m),o.da=o.d-o.a,o.ca=o.c-o.a,o.ba=m-o.a,i&&(u=w(o.a,m,o.c,o.d),t.splice(d,1,u[0],u[1],u[2],u[3]))})(l=p[o=d[a]],e,i,r,g[o]),f&&(l.splice(0,h),l.splice(l.length-h,h));return p}function c(t,e){var i,r,n,s,a=[],o=[],l=0,h=0,u=(e=e>>0||6)-1,_=[],f=[];for(i in t)!function(t,e,i){for(var r,n,s,a,o,l,h,u,_,f=1/i,c=t.length;-1<--c;)for(n=(u=t[c]).a,s=u.d-n,a=u.c-n,o=u.b-n,r=0,l=1;l<=i;l++)h=r-(r=((_=f*l)*_*s+3*(h=1-_)*(_*a+h*o))*_),e[_=c*i+l-1]=(e[_]||0)+h*h}(t[i],a,e);for(n=a.length,r=0;r<n;r++)l+=Math.sqrt(a[r]),f[s=r%e]=l,s==u&&(h+=l,_[s=r/e>>0]=f,o[s]=h,l=0,f=[]);return{length:h,lengths:o,segments:_}}_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,u,g){function d(t){for(var e=[],i=t.length,r=0;r!==i;e.push(t[r++]));return e}function m(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle}function y(t){if("function"==typeof t)return t;var c="object"==typeof t?t:{each:t},p=c.ease,d=c.from||0,m=c.base||0,g={},y=isNaN(d),v=c.axis,x={center:.5,end:1}[d]||0;return function(t,e,i){var r,n,s,a,o,l,h,u,_=(i||c).length,f=g[_];if(!f){if(!(u="auto"===c.grid?0:(c.grid||[1/0])[0])){for(l=-1/0;l<(l=i[u++].getBoundingClientRect().left)&&u<_;);u--}for(f=g[_]=[],r=y?Math.min(u,_)*x-.5:d%u,n=y?_*x/u-.5:d/u|0,h=1/(l=0),o=0;o<_;o++)s=o%u-r,a=n-(o/u|0),f[o]=a=v?Math.abs("y"===v?a:s):Math.sqrt(s*s+a*a),l<a&&(l=a),a<h&&(h=a);f.max=l-h,f.min=h,f.v=_=c.amount||c.each*(_<u?_-1:v?"y"===v?_/u:u:Math.max(u,_/u))||0,f.b=_<0?m-_:m}return _=(f[t]-f.min)/f.max,f.b+(p?p.getRatio(_):_)*f.v}}var v=function(t,e,i){g.call(this,t,e,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=v.prototype.render},x=1e-8,T=g._internals,w=T.isSelector,b=T.isArray,t=v.prototype=g.to({},.1,{}),P=[];v.version="2.1.3",t.constructor=v,t.kill()._gc=!1,v.killTweensOf=v.killDelayedCallsTo=g.killTweensOf,v.getTweensOf=g.getTweensOf,v.lagSmoothing=g.lagSmoothing,v.ticker=g.ticker,v.render=g.render,v.distribute=y,t.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),g.prototype.invalidate.call(this)},t.updateTo=function(t,e){var i,r=this,n=r.ratio,s=r.vars.immediateRender||t.immediateRender;for(i in e&&r._startTime<r._timeline._time&&(r._startTime=r._timeline._time,r._uncache(!1),r._gc?r._enabled(!0,!1):r._timeline.insert(r,r._startTime-r._delay)),t)r.vars[i]=t[i];if(r._initted||s)if(e)r._initted=!1,s&&r.render(0,!0,!0);else if(r._gc&&r._enabled(!0,!1),r._notifyPluginsOfEnabled&&r._firstPT&&g._onPluginEvent("_onDisable",r),.998<r._time/r._duration){e=r._totalTime;r.render(0,!0,!1),r._initted=!1,r.render(e,!0,!1)}else if(r._initted=!1,r._init(),0<r._time||s)for(var a,o=1/(1-n),l=r._firstPT;l;)a=l.s+l.c,l.c*=o,l.s=a-l.c,l=l._next;return r},t.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,n,s,a,o,l,h,u=this,_=u._dirty?u.totalDuration():u._totalDuration,f=u._time,c=u._totalTime,p=u._cycle,d=u._duration,m=u._rawPrevTime;if(_-x<=t&&0<=t?(u._totalTime=_,u._cycle=u._repeat,u._yoyo&&0!=(1&u._cycle)?(u._time=0,u.ratio=u._ease._calcEnd?u._ease.getRatio(0):0):(u._time=d,u.ratio=u._ease._calcEnd?u._ease.getRatio(1):1),u._reversed||(r=!0,n="onComplete",i=i||u._timeline.autoRemoveChildren),0!==d||!u._initted&&u.vars.lazy&&!i||(u._startTime===u._timeline._duration&&(t=0),(m<0||t<=0&&-x<=t||m===x&&"isPause"!==u.data)&&m!==t&&(i=!0,x<m&&(n="onReverseComplete")),u._rawPrevTime=l=!e||t||m===t?t:x)):t<x?(u._totalTime=u._time=u._cycle=0,u.ratio=u._ease._calcEnd?u._ease.getRatio(0):0,(0!==c||0===d&&0<m)&&(n="onReverseComplete",r=u._reversed),-x<t?t=0:t<0&&(u._active=!1,0!==d||!u._initted&&u.vars.lazy&&!i||(0<=m&&(i=!0),u._rawPrevTime=l=!e||t||m===t?t:x)),u._initted||(i=!0)):(u._totalTime=u._time=t,0!==u._repeat&&(o=d+u._repeatDelay,u._cycle=u._totalTime/o>>0,0!==u._cycle&&u._cycle===u._totalTime/o&&c<=t&&u._cycle--,u._time=u._totalTime-u._cycle*o,u._yoyo&&0!=(1&u._cycle)&&(u._time=d-u._time,(h=u._yoyoEase||u.vars.yoyoEase)&&(u._yoyoEase||(!0!==h||u._initted?u._yoyoEase=h=!0===h?u._ease:h instanceof Ease?h:Ease.map[h]:(h=u.vars.ease,u._yoyoEase=h=h?h instanceof Ease?h:"function"==typeof h?new Ease(h,u.vars.easeParams):Ease.map[h]||g.defaultEase:g.defaultEase)),u.ratio=h?1-h.getRatio((d-u._time)/d):0)),u._time>d?u._time=d:u._time<0&&(u._time=0)),u._easeType&&!h?(a=u._time/d,(1===(_=u._easeType)||3===_&&.5<=a)&&(a=1-a),3===_&&(a*=2),1===(o=u._easePower)?a*=a:2===o?a*=a*a:3===o?a*=a*a*a:4===o&&(a*=a*a*a*a),u.ratio=1===_?1-a:2===_?a:u._time/d<.5?a/2:1-a/2):h||(u.ratio=u._ease.getRatio(u._time/d))),f!==u._time||i||p!==u._cycle){if(!u._initted){if(u._init(),!u._initted||u._gc)return;if(!i&&u._firstPT&&(!1!==u.vars.lazy&&u._duration||u.vars.lazy&&!u._duration))return u._time=f,u._totalTime=c,u._rawPrevTime=m,u._cycle=p,T.lazyTweens.push(u),void(u._lazy=[t,e]);!u._time||r||h?r&&this._ease._calcEnd&&!h&&(u.ratio=u._ease.getRatio(0===u._time?0:1)):u.ratio=u._ease.getRatio(u._time/d)}for(!1!==u._lazy&&(u._lazy=!1),u._active||!u._paused&&u._time!==f&&0<=t&&(u._active=!0),0===c&&(2===u._initted&&0<t&&u._init(),u._startAt&&(0<=t?u._startAt.render(t,!0,i):n=n||"_dummyGS"),!u.vars.onStart||0===u._totalTime&&0!==d||(e||u._callback("onStart"))),s=u._firstPT;s;)s.f?s.t[s.p](s.c*u.ratio+s.s):s.t[s.p]=s.c*u.ratio+s.s,s=s._next;u._onUpdate&&(t<0&&u._startAt&&u._startTime&&u._startAt.render(t,!0,i),e||u._totalTime===c&&!n||u._callback("onUpdate")),u._cycle!==p&&(e||u._gc||u.vars.onRepeat&&u._callback("onRepeat")),!n||u._gc&&!i||(t<0&&u._startAt&&!u._onUpdate&&u._startTime&&u._startAt.render(t,!0,i),r&&(u._timeline.autoRemoveChildren&&u._enabled(!1,!1),u._active=!1),!e&&u.vars[n]&&u._callback(n),0===d&&u._rawPrevTime===x&&l!==x&&(u._rawPrevTime=0))}else c!==u._totalTime&&u._onUpdate&&(e||u._callback("onUpdate"))},v.to=function(t,e,i){return new v(t,e,i)},v.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new v(t,e,i)},v.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new v(t,e,r)},v.staggerTo=v.allTo=function(t,e,i,r,n,s,a){var o,l,h,u,_=[],f=y(i.stagger||r),c=i.cycle,p=(i.startAt||P).cycle;for(b(t)||("string"==typeof t&&(t=g.selector(t)||t),w(t)&&(t=d(t))),o=(t=t||[]).length-1,h=0;h<=o;h++){for(u in l={},i)l[u]=i[u];if(c&&(m(l,t,h),null!=l.duration&&(e=l.duration,delete l.duration)),p){for(u in p=l.startAt={},i.startAt)p[u]=i.startAt[u];m(l.startAt,t,h)}l.delay=f(h,t[h],t)+(l.delay||0),h===o&&n&&(l.onComplete=function(){i.onComplete&&i.onComplete.apply(i.onCompleteScope||this,arguments),n.apply(a||i.callbackScope||this,s||P)}),_[h]=new v(t[h],e,l)}return _},v.staggerFrom=v.allFrom=function(t,e,i,r,n,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,v.staggerTo(t,e,i,r,n,s,a)},v.staggerFromTo=v.allFromTo=function(t,e,i,r,n,s,a,o){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,v.staggerTo(t,e,r,n,s,a,o)},v.delayedCall=function(t,e,i,r,n){return new v(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},v.set=function(t,e){return new v(t,0,e)},v.isTweening=function(t){return 0<g.getTweensOf(t,!0).length};var s=function(t,e){for(var i=[],r=0,n=t._first;n;)n instanceof g?i[r++]=n:(e&&(i[r++]=n),r=(i=i.concat(s(n,e))).length),n=n._next;return i},_=v.getAllTweens=function(t){return s(r._rootTimeline,t).concat(s(r._rootFramesTimeline,t))};v.killAll=function(t,e,i,r){null==e&&(e=!0),null==i&&(i=!0);for(var n,s,a=_(0!=r),o=a.length,l=e&&i&&r,h=0;h<o;h++)s=a[h],(l||s instanceof u||(n=s.target===s.vars.onComplete)&&i||e&&!n)&&(t?s.totalTime(s._reversed?0:s.totalDuration()):s._enabled(!1,!1))},v.killChildTweensOf=function(t,e){if(null!=t){var i,r,n,s,a,o=T.tweenLookup;if("string"==typeof t&&(t=g.selector(t)||t),w(t)&&(t=d(t)),b(t))for(s=t.length;-1<--s;)v.killChildTweensOf(t[s],e);else{for(n in i=[],o)for(r=o[n].target.parentNode;r;)r===t&&(i=i.concat(o[n].tweens)),r=r.parentNode;for(a=i.length,s=0;s<a;s++)e&&i[s].totalTime(i[s].totalDuration()),i[s]._enabled(!1,!1)}}};function n(t,e,i,r){e=!1!==e,i=!1!==i;for(var n,s,a=_(r=!1!==r),o=e&&i&&r,l=a.length;-1<--l;)s=a[l],(o||s instanceof u||(n=s.target===s.vars.onComplete)&&i||e&&!n)&&s.paused(t)}return v.pauseAll=function(t,e,i){n(!0,t,e,i)},v.resumeAll=function(t,e,i){n(!1,t,e,i)},v.globalTimeScale=function(t){var e=r._rootTimeline,i=g.ticker.time;return arguments.length?(t=t||x,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=r._rootFramesTimeline,i=g.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=r._rootTimeline._timeScale=t):e._timeScale},t.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},t.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},t.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return i<t&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},t.duration=function(t){return arguments.length?r.prototype.duration.call(this,t):this._duration},t.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},v},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(_,f,p){function d(t){f.call(this,t);var e,i,r=this,n=r.vars;for(i in r._labels={},r.autoRemoveChildren=!!n.autoRemoveChildren,r.smoothChildTiming=!!n.smoothChildTiming,r._sortChildren=!0,r._onUpdate=n.onUpdate,n)e=n[i],c(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=r._swapSelfInParams(e));c(n.tweens)&&r.add(n.tweens,0,n.align,n.stagger)}function m(t){var e,i={};for(e in t)i[e]=t[e];return i}function g(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle}function h(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e}function y(t){if("function"==typeof t)return t;var c="object"==typeof t?t:{each:t},p=c.ease,d=c.from||0,m=c.base||0,g={},y=isNaN(d),v=c.axis,x={center:.5,end:1}[d]||0;return function(t,e,i){var r,n,s,a,o,l,h,u,_=(i||c).length,f=g[_];if(!f){if(!(u="auto"===c.grid?0:(c.grid||[1/0])[0])){for(l=-1/0;l<(l=i[u++].getBoundingClientRect().left)&&u<_;);u--}for(f=g[_]=[],r=y?Math.min(u,_)*x-.5:d%u,n=y?_*x/u-.5:d/u|0,h=1/(l=0),o=0;o<_;o++)s=o%u-r,a=n-(o/u|0),f[o]=a=v?Math.abs("y"===v?a:s):Math.sqrt(s*s+a*a),l<a&&(l=a),a<h&&(h=a);f.max=l-h,f.min=h,f.v=_=c.amount||c.each*(_<u?_-1:v?"y"===v?_/u:u:Math.max(u,_/u))||0,f.b=_<0?m-_:m}return _=(f[t]-f.min)/f.max,f.b+(p?p.getRatio(_):_)*f.v}}var v=1e-8,t=p._internals,e=d._internals={},x=t.isSelector,c=t.isArray,T=t.lazyTweens,w=t.lazyRender,a=_gsScope._gsDefine.globals,n=e.pauseCallback=function(){},e=d.prototype=new f;return d.version="2.1.3",d.distribute=y,e.constructor=d,e.kill()._gc=e._forcingPlayhead=e._hasPause=!1,e.to=function(t,e,i,r){var n=i.repeat&&a.TweenMax||p;return e?this.add(new n(t,e,i),r):this.set(t,i,r)},e.from=function(t,e,i,r){return this.add((i.repeat&&a.TweenMax||p).from(t,e,h(0,i)),r)},e.fromTo=function(t,e,i,r,n){var s=r.repeat&&a.TweenMax||p;return r=h(0,r,i),e?this.add(s.fromTo(t,e,i,r),n):this.set(t,r,n)},e.staggerTo=function(t,e,i,r,n,s,a,o){var l,h,u=new d({onComplete:s,onCompleteParams:a,callbackScope:o,smoothChildTiming:this.smoothChildTiming}),_=y(i.stagger||r),f=i.startAt,c=i.cycle;for("string"==typeof t&&(t=p.selector(t)||t),x(t=t||[])&&(t=function(t){for(var e=[],i=t.length,r=0;r!==i;e.push(t[r++]));return e}(t)),h=0;h<t.length;h++)l=m(i),f&&(l.startAt=m(f),f.cycle&&g(l.startAt,t,h)),c&&(g(l,t,h),null!=l.duration&&(e=l.duration,delete l.duration)),u.to(t[h],e,l,_(h,t[h],t));return this.add(u,n)},e.staggerFrom=function(t,e,i,r,n,s,a,o){return i.runBackwards=!0,this.staggerTo(t,e,h(0,i),r,n,s,a,o)},e.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,this.staggerTo(t,e,h(0,r,i),n,s,a,o,l)},e.call=function(t,e,i,r){return this.add(p.delayedCall(0,t,e,i),r)},e.set=function(t,e,i){return this.add(new p(t,0,h(0,e,null,!0)),i)},d.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var i,r,n,s,a=new d(t),t=a._timeline;for(null==e&&(e=!0),t._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=t._time,n=t._first;n;)s=n._next,e&&n instanceof p&&n.target===n.vars.onComplete||((r=n._startTime-n._delay)<0&&(i=1),a.add(n,r)),n=s;return t.add(a,0),i&&a.totalDuration(),a},e.add=function(t,e,i,r){var n,s,a,o,l,h,u=this;if("number"!=typeof e&&(e=u._parseTimeOrLabel(e,0,!0,t)),!(t instanceof _)){if(t instanceof Array||t&&t.push&&c(t)){for(i=i||"normal",r=r||0,n=e,s=t.length,a=0;a<s;a++)c(o=t[a])&&(o=new d({tweens:o})),u.add(o,n),"string"!=typeof o&&"function"!=typeof o&&("sequence"===i?n=o._startTime+o.totalDuration()/o._timeScale:"start"===i&&(o._startTime-=o.delay())),n+=r;return u._uncache(!0)}if("string"==typeof t)return u.addLabel(t,e);if("function"!=typeof t)throw"Cannot add "+t+" into the timeline; it is not a tween, timeline, function, or string.";t=p.delayedCall(0,t)}if(f.prototype.add.call(u,t,e),(t._time||!t._duration&&t._initted)&&(n=(u.rawTime()-t._startTime)*t._timeScale,(!t._duration||1e-5<Math.abs(Math.max(0,Math.min(t.totalDuration(),n)))-t._totalTime)&&t.render(n,!1,!1)),(u._gc||u._time===u._duration)&&!u._paused&&u._duration<u.duration())for(h=(l=u).rawTime()>t._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return u},e.remove=function(t){if(t instanceof _){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?_._rootFramesTimeline:_._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&c(t)){for(var i=t.length;-1<--i;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},e._remove=function(t,e){return f.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},e.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},e.insert=e.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},e.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},e.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},e.addPause=function(t,e,i,r){r=p.delayedCall(0,n,i,r||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data="isPause",this._hasPause=!0,this.add(r,t)},e.removeLabel=function(t){return delete this._labels[t],this},e.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},e._parseTimeOrLabel=function(t,e,i,r){var n,s;if(r instanceof _&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&c(r)))for(s=r.length;-1<--s;)r[s]instanceof _&&r[s].timeline===this&&this.remove(r[s]);if(n="number"!=typeof t||e?99999999999<this.duration()?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-n:0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=n);else{if(-1===(s=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=n+e:e:this._labels[t]+e;e=parseInt(t.charAt(s-1)+"1",10)*Number(t.substr(s+1)),t=1<s?this._parseTimeOrLabel(t.substr(0,s-1),0,i):n}return Number(t)+e},e.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},e.stop=function(){return this.paused(!0)},e.gotoAndPlay=function(t,e){return this.play(t,e)},e.gotoAndStop=function(t,e){return this.pause(t,e)},e.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,n,s,a,o,l,h,u,_=this,f=_._time,c=_._dirty?_.totalDuration():_._totalDuration,p=_._startTime,d=_._timeScale,m=_._paused;if(f!==_._time&&(t+=_._time-f),_._hasPause&&!_._forcingPlayhead&&!e){if(f<t)for(r=_._first;r&&r._startTime<=t&&!l;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(l=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!l;)r._duration||"isPause"===r.data&&0<r._rawPrevTime&&(l=r),r=r._prev;l&&(_._time=_._totalTime=t=l._startTime,u=_._startTime+(_._reversed?_._duration-t:t)/_._timeScale)}if(c-v<=t&&0<=t)_._totalTime=_._time=c,_._reversed||_._hasPausedChild()||(n=!0,a="onComplete",o=!!_._timeline.autoRemoveChildren,0===_._duration&&(t<=0&&-v<=t||_._rawPrevTime<0||_._rawPrevTime===v)&&_._rawPrevTime!==t&&_._first&&(o=!0,_._rawPrevTime>v&&(a="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:v,t=c+1e-4;else if(t<v)if(_._totalTime=_._time=0,-v<t&&(t=0),(0!==f||0===_._duration&&_._rawPrevTime!==v&&(0<_._rawPrevTime||t<0&&0<=_._rawPrevTime))&&(a="onReverseComplete",n=_._reversed),t<0)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(o=n=!0,a="onReverseComplete"):0<=_._rawPrevTime&&_._first&&(o=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:v,0===t&&n)for(r=_._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,_._initted||(o=!0)}else _._totalTime=_._time=_._rawPrevTime=t;if(_._time!==f&&_._first||i||o||l){if(_._initted||(_._initted=!0),_._active||!_._paused&&_._time!==f&&0<t&&(_._active=!0),0===f&&_.vars.onStart&&(0===_._time&&_._duration||e||_._callback("onStart")),f<=(h=_._time))for(r=_._first;r&&(s=r._next,h===_._time&&(!_._paused||m));)(r._active||r._startTime<=h&&!r._paused&&!r._gc)&&(l===r&&(_.pause(),_._pauseTime=u),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=_._last;r&&(s=r._prev,h===_._time&&(!_._paused||m));){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(l===r){for(l=r._prev;l&&l.endTime()>_._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,_.pause(),_._pauseTime=u}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}_._onUpdate&&(e||(T.length&&w(),_._callback("onUpdate"))),a&&(_._gc||p!==_._startTime&&d===_._timeScale||!(0===_._time||c>=_.totalDuration())||(n&&(T.length&&w(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[a]&&_._callback(a)))}},e._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof d&&t._hasPausedChild())return!0;t=t._next}return!1},e.getChildren=function(t,e,i,r){r=r||-9999999999;for(var n=[],s=this._first,a=0;s;)s._startTime<r||(s instanceof p?!1!==e&&(n[a++]=s):(!1!==i&&(n[a++]=s),!1!==t&&(a=(n=n.concat(s.getChildren(!0,e,i))).length))),s=s._next;return n},e.getTweensOf=function(t,e){var i,r,n=this._gc,s=[],a=0;for(n&&this._enabled(!0,!0),r=(i=p.getTweensOf(t)).length;-1<--r;)(i[r].timeline===this||e&&this._contains(i[r]))&&(s[a++]=i[r]);return n&&this._enabled(!1,!0),s},e.recent=function(){return this._recent},e._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},e.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},e._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;-1<--r;)i[r]._kill(t,e)&&(n=!0);return n},e.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;-1<--i;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},e.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return _.prototype.invalidate.call(this)},e._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return f.prototype._enabled.call(this,t,e)},e.totalTime=function(t,e,i){this._forcingPlayhead=!0;var r=_.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},e.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},e.totalDuration=function(t){if(arguments.length)return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this;if(this._dirty){for(var e,i,r=0,n=this,s=n._last,a=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>a&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):a=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),a=0),r<(i=s._startTime+s._totalDuration/s._timeScale)&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration},e.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return _.prototype.paused.apply(this,arguments)},e.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===_._rootFramesTimeline},e.rawTime=function(t){return t&&(this._paused||this._repeat&&0<this.time()&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},d},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(e,o,t){function i(t){e.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0}var k=1e-8,r=o._internals,C=r.lazyTweens,R=r.lazyRender,l=_gsScope._gsDefine.globals,h=new t(null,null,1,0),t=i.prototype=new e;return t.constructor=i,t.kill()._gc=!1,i.version="2.1.3",t.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),e.prototype.invalidate.call(this)},t.addCallback=function(t,e,i,r){return this.add(o.delayedCall(0,t,i,r),e)},t.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);-1<--r;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},t.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},t.tweenTo=function(t,e){e=e||{};var i,r,n,s={ease:h,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},a=e.repeat&&l.TweenMax||o;for(r in e)s[r]=e[r];return s.time=this._parseTimeOrLabel(t),i=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,n=new a(this,i,s),s.onStart=function(){n.target.paused(!0),n.vars.time===n.target.time()||i!==n.duration()||n.isFromTo||n.duration(Math.abs(n.vars.time-n.target.time())/n.target._timeScale).render(n.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||n,e.onStartParams||[])},n},t.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;i=this.tweenTo(e,i);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},t.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,n,s,a,o,l,h,u,_=this,f=_._time,c=_._dirty?_.totalDuration():_._totalDuration,p=_._duration,d=_._totalTime,m=_._startTime,g=_._timeScale,y=_._rawPrevTime,v=_._paused,x=_._cycle;if(f!==_._time&&(t+=_._time-f),c-k<=t&&0<=t)_._locked||(_._totalTime=c,_._cycle=_._repeat),_._reversed||_._hasPausedChild()||(n=!0,a="onComplete",o=!!_._timeline.autoRemoveChildren,0===_._duration&&(t<=0&&-k<=t||y<0||y===k)&&y!==t&&_._first&&(o=!0,k<y&&(a="onReverseComplete"))),_._rawPrevTime=_._duration||!e||t||_._rawPrevTime===t?t:k,_._yoyo&&1&_._cycle?_._time=t=0:t=(_._time=p)+1e-4;else if(t<k)if(_._locked||(_._totalTime=_._cycle=0),_._time=0,-k<t&&(t=0),(0!==f||0===p&&y!==k&&(0<y||t<0&&0<=y)&&!_._locked)&&(a="onReverseComplete",n=_._reversed),t<0)_._active=!1,_._timeline.autoRemoveChildren&&_._reversed?(o=n=!0,a="onReverseComplete"):0<=y&&_._first&&(o=!0),_._rawPrevTime=t;else{if(_._rawPrevTime=p||!e||t||_._rawPrevTime===t?t:k,0===t&&n)for(r=_._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,_._initted||(o=!0)}else 0===p&&y<0&&(o=!0),_._time=_._rawPrevTime=t,_._locked||(_._totalTime=t,0!==_._repeat&&(O=p+_._repeatDelay,_._cycle=_._totalTime/O>>0,_._cycle&&_._cycle===_._totalTime/O&&d<=t&&_._cycle--,_._time=_._totalTime-_._cycle*O,_._yoyo&&1&_._cycle&&(_._time=p-_._time),_._time>p?t=(_._time=p)+1e-4:_._time<0?_._time=t=0:t=_._time));if(_._hasPause&&!_._forcingPlayhead&&!e){if(f<(t=_._time)||_._repeat&&x!==_._cycle)for(r=_._first;r&&r._startTime<=t&&!l;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===_._rawPrevTime||(l=r),r=r._next;else for(r=_._last;r&&r._startTime>=t&&!l;)r._duration||"isPause"===r.data&&0<r._rawPrevTime&&(l=r),r=r._prev;l&&(u=_._startTime+(_._reversed?_._duration-l._startTime:l._startTime)/_._timeScale,l._startTime<p&&(_._time=_._rawPrevTime=t=l._startTime,_._totalTime=t+_._cycle*(_._totalDuration+_._repeatDelay)))}if(_._cycle!==x&&!_._locked){var T=_._yoyo&&0!=(1&x),w=T===(_._yoyo&&0!=(1&_._cycle)),b=_._totalTime,P=_._cycle,S=_._rawPrevTime,O=_._time;if(_._totalTime=x*p,_._cycle<x?T=!T:_._totalTime+=p,_._time=f,_._rawPrevTime=0===p?y-1e-4:y,_._cycle=x,_._locked=!0,f=T?0:p,_.render(f,e,0===p),e||_._gc||_.vars.onRepeat&&(_._cycle=P,_._locked=!1,_._callback("onRepeat")),f!==_._time)return;if(w&&(_._cycle=x,_._locked=!0,f=T?p+1e-4:-1e-4,_.render(f,!0,!1)),_._locked=!1,_._paused&&!v)return;_._time=O,_._totalTime=b,_._cycle=P,_._rawPrevTime=S}if(_._time!==f&&_._first||i||o||l){if(_._initted||(_._initted=!0),_._active||!_._paused&&_._totalTime!==d&&0<t&&(_._active=!0),0===d&&_.vars.onStart&&(0===_._totalTime&&_._totalDuration||e||_._callback("onStart")),f<=(h=_._time))for(r=_._first;r&&(s=r._next,h===_._time&&(!_._paused||v));)(r._active||r._startTime<=_._time&&!r._paused&&!r._gc)&&(l===r&&(_.pause(),_._pauseTime=u),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=_._last;r&&(s=r._prev,h===_._time&&(!_._paused||v));){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(l===r){for(l=r._prev;l&&l.endTime()>_._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,_.pause(),_._pauseTime=u}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}_._onUpdate&&(e||(C.length&&R(),_._callback("onUpdate"))),a&&(_._locked||_._gc||m!==_._startTime&&g===_._timeScale||!(0===_._time||c>=_.totalDuration())||(n&&(C.length&&R(),_._timeline.autoRemoveChildren&&_._enabled(!1,!1),_._active=!1),!e&&_.vars[a]&&_._callback(a)))}else d!==_._totalTime&&_._onUpdate&&(e||_._callback("onUpdate"))},t.getActive=function(t,e,i){for(var r,n=[],s=this.getChildren(t||null==t,e||null==t,!!i),a=0,o=s.length,l=0;l<o;l++)(r=s[l]).isActive()&&(n[a++]=r);return n},t.getLabelAfter=function(t){t||0!==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length,r=0;r<i;r++)if(e[r].time>t)return e[r].name;return null},t.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;-1<--i;)if(e[i].time<t)return e[i].name;return null},t.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},t.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},t.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},t.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},t.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(e.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},t.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return i<t&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},t.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},t.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},t.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},t.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+k)},i},!0),P=180/Math.PI,y=[],v=[],x=[],g={},e=_gsScope._gsDefine.globals,m=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var r,n,s,a,o,l=e.values||[],h={},u=l[0],_=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=_?_ instanceof Array?_:[["x","y","rotation",!0!==_&&Number(_)||0]]:null,u)this._props.push(r);for(s=this._props.length;-1<--s;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],h[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),o||h[r]!==l[0][r]&&(o=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?f(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):function(t,e,i){var r,n,s,a,o,l,h,u,_,f,c,p={},d="cubic"===(e=e||"soft")?3:2,m="soft"===e,g=[];if(m&&i&&(t=[i].concat(t)),null==t||t.length<1+d)throw"invalid Bezier data";for(_ in t[0])g.push(_);for(l=g.length;-1<--l;){for(p[_=g[l]]=o=[],f=0,u=t.length,h=0;h<u;h++)r=null==i?t[h][_]:"string"==typeof(c=t[h][_])&&"="===c.charAt(1)?i[_]+Number(c.charAt(0)+c.substr(2)):Number(c),m&&1<h&&h<u-1&&(o[f++]=(r+o[f-2])/2),o[f++]=r;for(u=f-d+1,h=f=0;h<u;h+=d)r=o[h],n=o[h+1],s=o[h+2],a=2==d?0:o[h+3],o[f++]=c=3==d?new T(r,n,s,a):new T(r,(2*n+r)/3,(2*n+s)/3,s);o.length=f}return p}(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes&&(e=c(this._beziers,this._timeRes),this._length=e.length,this._lengths=e.lengths,this._segments=e.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),_=this._autoRotate)for(this._initialRotations=[],_[0]instanceof Array||(this._autoRotate=_=[_]),s=_.length;-1<--s;){for(a=0;a<3;a++)r=_[s][a],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=_[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,r,n,s,a,o,l,h,u,_=this._segCount,f=this._func,c=this._target,p=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,h=this._curSeg,u=t*this._length,b=this._li,u>this._l2&&b<_-1){for(o=_-1;b<o&&(this._l2=l[++b])<=u;);this._l1=l[b-1],this._li=b,this._curSeg=h=this._segments[b],this._s2=h[this._s1=this._si=0]}else if(u<this._l1&&0<b){for(;0<b&&(this._l1=l[--b])>=u;);0===b&&u<this._l1?this._l1=0:b++,this._l2=l[b],this._li=b,this._curSeg=h=this._segments[b],this._s1=h[(this._si=h.length-1)-1]||0,this._s2=h[this._si]}if(e=b,u-=this._l1,b=this._si,u>this._s2&&b<h.length-1){for(o=h.length-1;b<o&&(this._s2=h[++b])<=u;);this._s1=h[b-1],this._si=b}else if(u<this._s1&&0<b){for(;0<b&&(this._s1=h[--b])>=u;);0===b&&u<this._s1?this._s1=0:b++,this._s2=h[b],this._si=b}s=1===t?1:(b+(u-this._s1)/(this._s2-this._s1))*this._prec||0}else s=(t-(e=t<0?0:1<=t?_-1:_*t>>0)*(1/_))*_;for(i=1-s,b=this._props.length;-1<--b;)r=this._props[b],a=(s*s*(n=this._beziers[r][e]).da+3*i*(s*n.ca+i*n.ba))*s+n.a,this._mod[r]&&(a=this._mod[r](a,c)),f[r]?c[r](a):c[r]=a;if(this._autoRotate)for(var d,m,g,y,v,x,T,w=this._autoRotate,b=w.length;-1<--b;)r=w[b][2],x=w[b][3]||0,T=!0===w[b][4]?1:P,n=this._beziers[w[b][0]],d=this._beziers[w[b][1]],n&&d&&(n=n[e],d=d[e],m=n.a+(n.b-n.a)*s,m+=((y=n.b+(n.c-n.b)*s)-m)*s,y+=(n.c+(n.d-n.c)*s-y)*s,g=d.a+(d.b-d.a)*s,g+=((v=d.b+(d.c-d.b)*s)-g)*s,v+=(d.c+(d.d-d.c)*s-v)*s,a=p?Math.atan2(v-g,y-m)*T+x:this._initialRotations[b],this._mod[r]&&(a=this._mod[r](a,c)),f[r]?c[r](a):c[r]=a)}}),t=m.prototype,m.bezierThrough=f,m.cubicToQuadratic=w,m._autoCSS=!0,m.quadraticToCubic=function(t,e,i){return new T(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var c,p,d,t=e.CSSPlugin;t&&(t=t._internals,c=t._parseToProxy,p=t._setPluginRatio,d=t.CSSPropTween,t._registerComplexSpecialProp("bezier",{parser:function(t,e,i,r,n,s){e instanceof Array&&(e={values:e}),s=new m;var a,o,l,h=e.values,u=h.length-1,_=[],f={};if(u<0)return n;for(a=0;a<=u;a++)l=c(t,h[a],r,n,s,u!==a),_[a]=l.end;for(o in e)f[o]=e[o];return f.values=_,(n=new d(t,"bezier",0,0,l.pt,2)).data=l,n.plugin=s,n.setRatio=p,0===f.autoRotate&&(f.autoRotate=!0),!f.autoRotate||f.autoRotate instanceof Array||(a=!0===f.autoRotate?0:Number(f.autoRotate),f.autoRotate=null!=l.end.left?[["left","top","rotation",a,!1]]:null!=l.end.x&&[["x","y","rotation",a,!1]]),f.autoRotate&&(r._transform||r._enableTransforms(!1),l.autoRotate=r._target._gsTransform,l.proxy.rotation=l.autoRotate.rotation||0,r._overwriteProps.push("rotation")),s._onInitTween(l.proxy,f,r._tween),n}}))},t._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;-1<--r;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},t._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;-1<--i;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;-1<--i;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(s,A){var f,w,P,_,M=function(){s.call(this,"css"),this._overwriteProps.length=0,this.setRatio=M.prototype.setRatio},h=_gsScope._gsDefine.globals,c={},t=M.prototype=new s("css");(t.constructor=M).version="2.1.3",M.API=2,M.defaultTransformPerspective=0,M.defaultSkewType="compensated",M.defaultSmoothOrigin=!0,t="px",M.suffixMap={top:t,right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};function a(t,e){return e.toUpperCase()}function o(t,e){return(e=tt.createElementNS?tt.createElementNS(e||LS_nsProtocol+"www.w3.org/1999/xhtml",t):tt.createElement(t)).style?e:tt.createElement(t)}function l(t){return j.test("string"==typeof t?t:(t.currentStyle||t.style).filter||"")?parseFloat(RegExp.$1)/100:1}function p(t){_gsScope.console&&console.log(t)}function b(t,e){var i,r,n=(e=e||et).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;-1<--r&&void 0===n[i[r]+t];);return 0<=r?(st="-"+(at=3===r?"ms":i[r]).toLowerCase()+"-",at+t):null}function d(t){return ot.getComputedStyle(t)}function m(t,e){var i,r,n={};if(e=e||d(t))if(i=e.length)for(;-1<--i;)-1!==(r=e[i]).indexOf("-transform")&&Ft!==r||(n[r.replace(U,a)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&Lt!==i||(n[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===n[i]&&(n[i.replace(U,a)]=e[i]);return nt||(n.opacity=l(t)),t=qt(t,e,!1),n.rotation=t.rotation,n.skewX=t.skewX,n.scaleX=t.scaleX,n.scaleY=t.scaleY,n.x=t.x,n.y=t.y,Et&&(n.z=t.z,n.rotationX=t.rotationX,n.rotationY=t.rotationY,n.scaleZ=t.scaleZ),n.filters&&delete n.filters,n}function g(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(I,"")?s:0:ut(t,a),void 0!==h[a]&&(o=new xt(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}}function O(t,e){return"function"==typeof t&&(t=t(D,R)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0}function S(t,e){"function"==typeof t&&(t=t(D,R));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0}function k(t,e,i,r){var n,s,a;return"function"==typeof t&&(t=t(D,R)),(a=null==t?e:"number"==typeof t?t:(n=360,s=t.split("_"),a=((a="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:K)-(a?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&((a%=n)!==a%180&&(a=a<0?a+n:a-n)),-1!==t.indexOf("_cw")&&a<0?a=(a+3599999999640)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&0<a&&(a=(a-3599999999640)%n-(a/n|0)*n)),e+a))<1e-6&&-1e-6<a&&(a=0),a}function u(t,e,i){return 255*(6*(t=t<0?t+1:1<t?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0}function i(t,e){var i,r,n,s=t.match(mt)||[],a=0,o="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],a+=(n=t.substr(a,t.indexOf(r,a)-a)).length+r.length,3===(r=dt(r,e)).length&&r.push(1),o+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return o+t.substr(a)}var C,y,v,L,x,T,R,D,F=/(?:\-|\.|\b)(\d|\.|e\-)+/g,z=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,E=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,n=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,I=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,N=/(?:\d|\-|\+|=|#|\.)*/g,j=/opacity *= *([^)]*)/i,X=/opacity:([^;]*)/i,B=/alpha\(opacity *=.+?\)/i,Y=/^(rgb|hsl)/,G=/([A-Z])/g,U=/-([a-z])/gi,V=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,q=/(?:Left|Right|Width)/i,Q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,W=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,H=/,(?=[^\)]*(?:\(|$))/gi,Z=/[\s,\(]/i,$=Math.PI/180,K=180/Math.PI,J={},e={style:{}},tt=_gsScope.document||{createElement:function(){return e}},et=o("div"),it=o("img"),r=M._internals={_specialProps:c},rt=(_gsScope.navigator||{}).userAgent||"",nt=(Mt=rt.indexOf("Android"),At=o("a"),v=-1!==rt.indexOf("Safari")&&-1===rt.indexOf("Chrome")&&(-1===Mt||3<parseFloat(rt.substr(Mt+8,2))),x=v&&parseFloat(rt.substr(rt.indexOf("Version/")+8,2))<6,L=-1!==rt.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(rt)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(rt))&&(T=parseFloat(RegExp.$1)),!!At&&(At.style.cssText="top:1px;opacity:.55;",/^0.55/.test(At.style.opacity))),st="",at="",ot="undefined"!=typeof window?window:tt.defaultView||{getComputedStyle:function(){}},lt=M.getStyle=function(t,e,i,r,n){var s;return nt||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||d(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(G,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):l(t)},ht=r.convertToPixels=function(t,e,i,r,n){if("px"===r||!r&&"lineHeight"!==e)return i;if("auto"===r||!i)return 0;var s,a,o,l=q.test(e),h=t,u=et.style,_=i<0,f=1===i;if(_&&(i=-i),f&&(i*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=i/100*(l?t.clientWidth:t.clientHeight);else{if(u.cssText="border:0 solid red;position:"+lt(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)u[l?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(h=t.parentNode||tt.body,-1!==lt(h,"display").indexOf("flex")&&(u.position="absolute"),a=h._gsCache,o=A.ticker.frame,a&&l&&a.time===o)return a.width*i/100;u[l?"width":"height"]=i+r}h.appendChild(et),s=parseFloat(et[l?"offsetWidth":"offsetHeight"]),h.removeChild(et),l&&"%"===r&&!1!==M.cacheWidths&&((a=h._gsCache=h._gsCache||{}).time=o,a.width=s/i*100),0!==s||n||(s=ht(t,e,i,r,!0))}else a=d(t).lineHeight,t.style.lineHeight=i,s=parseFloat(d(t).lineHeight),t.style.lineHeight=a;return f&&(s/=100),_?-s:s},ut=r.calculateOffset=function(t,e,i){if("absolute"!==lt(t,"position",i))return 0;var r="left"===e?"Left":"Top",i=lt(t,"margin"+r,i);return t["offset"+r]-(ht(t,e,parseFloat(i),i.replace(N,""))||0)},_t={width:["Left","Right"],height:["Top","Bottom"]},ft=["marginLeft","marginRight","marginTop","marginBottom"],ct=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(3<r.length&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(ct(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(2<r.length?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(I,"")),e.oy=parseFloat(s.replace(I,"")),e.v=t),e||t},pt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=M.parseColor=function(t,e){var i,r,n,s,a,o,l,h;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(r=t.charAt(1))+r+(n=t.charAt(2))+n+(s=t.charAt(3))+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=h=t.match(F),e){if(-1!==t.indexOf("="))return t.match(z)}else a=Number(i[0])%360/360,o=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=l<=.5?l*(o+1):l+o-l*o),3<i.length&&(i[3]=Number(i[3])),i[0]=u(a+1/3,r,n),i[1]=u(a,r,n),i[2]=u(a-1/3,r,n);else i=t.match(F)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),3<i.length&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!h&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((t=Math.max(r,n,s))+(e=Math.min(r,n,s)))/2,t===e?a=o=0:(h=t-e,o=.5<l?h/(2-t-e):h/(t+e),a=t===r?(n-s)/h+(n<s?6:0):t===n?(s-r)/h+2:(r-n)/h+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(t in pt)mt+="|"+t+"\\b";mt=new RegExp(mt+")","gi"),M.colorStringFilter=function(t){var e=t[0]+" "+t[1];mt.test(e)&&(e=-1!==e.indexOf("hsl(")||-1!==e.indexOf("hsla("),t[0]=i(t[0],e),t[1]=i(t[1],e)),mt.lastIndex=0},A.defaultStringFilter||(A.defaultStringFilter=M.colorStringFilter);function gt(t,e,s,a){if(null==t)return function(t){return t};var o,l=e?(t.match(mt)||[""])[0]:"",h=t.split(l).join("").match(E)||[],u=t.substr(0,t.indexOf(h[0])),_=")"===t.charAt(t.length-1)?")":"",f=-1!==t.indexOf(" ")?" ":",",c=h.length,p=0<c?h[0].replace(F,""):"";return c?o=e?function(t){var e,i,r,n;if("number"==typeof t)t+=p;else if(a&&H.test(t)){for(n=t.replace(H,"|").split("|"),r=0;r<n.length;r++)n[r]=o(n[r]);return n.join(",")}if(e=(t.match(mt)||[l])[0],r=(i=t.split(e).join("").match(E)||[]).length,c>r--)for(;++r<c;)i[r]=s?i[(r-1)/2|0]:h[r];return u+i.join(f)+f+e+_+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,i,r;if("number"==typeof t)t+=p;else if(a&&H.test(t)){for(i=t.replace(H,"|").split("|"),r=0;r<i.length;r++)i[r]=o(i[r]);return i.join(",")}if(r=(e=t.match(","==f?E:n)||[]).length,c>r--)for(;++r<c;)e[r]=s?e[(r-1)/2|0]:h[r];return(u&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||u)+e.join(f)+_}:function(t){return t}}function yt(h){return h=h.split(","),function(t,e,i,r,n,s,a){var o,l=(e+"").split(" ");for(a={},o=0;o<4;o++)a[h[o]]=l[o]=l[o]||l[(o-1)/2>>0];return r.parse(t,a,n,s)}}function vt(t,e,i,r,n,s){return(s=new Tt(t,e,i,r-i,n,-1,s)).b=i,s.e=s.xs0=r,s}var xt=(r._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT;l;)e=o[l.v],l.r?e=l.r(e):e<1e-6&&-1e-6<e&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(l=a.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&((r._prev=this)._next=r)}),Tt=(r._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,u=r,_={},f={},c=i._transform,p=J;for(i._transform=null,J=e,r=n=i.parse(t,e,r,n),J=p,s&&(i._transform=c,u&&(u._prev=null,u._prev&&(u._prev._next=null)));r&&r!==u;){if(r.type<=1&&(f[o=r.p]=r.s+r.c,_[o]=r.s,s||(h=new xt(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;0<--a;)l="xn"+a,f[o=r.p+"_"+l]=r.data[l],_[o]=r[l],s||(h=new xt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:_,end:f,firstMPT:h,pt:n}},r.CSSPropTween=function(t,e,i,r,n,s,a,o,l,h,u){this.t=t,this.p=e,this.s=i,this.c=r,this.n=a||e,t instanceof Tt||_.push(this.n),this.r=o&&("function"==typeof o?o:Math.round),this.type=s||0,l&&(this.pr=l,f=!0),this.b=void 0===h?i:h,this.e=void 0===u?i+r:u,n&&((this._next=n)._prev=this)}),wt=M.parseComplex=function(t,e,i,r,n,s,a,o,l,h){i=i||s||"","function"==typeof r&&(r=r(D,R)),a=new Tt(t,e,0,0,a,h?2:1,null,!1,o,i,r),r+="",n&&mt.test(r+i)&&(r=[i,r],M.colorStringFilter(r),i=r[0],r=r[1]);var u,_,f,c,p,d,m,g,y,v,x,T,w=i.split(", ").join(",").split(" "),b=r.split(", ").join(",").split(" "),P=w.length,S=!1!==C;for(-1===r.indexOf(",")&&-1===i.indexOf(",")||(b=-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(w=w.join(" ").replace(H,", ").split(" "),b.join(" ").replace(H,", ").split(" ")):(w=w.join(" ").split(",").join(", ").split(" "),b.join(" ").split(",").join(", ").split(" ")),P=w.length),P!==b.length&&(P=(w=(s||"").split(" ")).length),a.plugin=l,a.setRatio=h,u=mt.lastIndex=0;u<P;u++)if(c=w[u],p=b[u]+"",(g=parseFloat(c))||0===g)a.appendXtra("",g,O(p,g),p.replace(z,""),S&&-1!==p.indexOf("px")&&Math.round,!0);else if(n&&mt.test(c))x=")"+((x=p.indexOf(")")+1)?p.substr(x):""),T=-1!==p.indexOf("hsl")&&nt,y=p,c=dt(c,T),p=dt(p,T),(g=6<c.length+p.length)&&!nt&&0===p[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(b[u]).join("transparent")):(nt||(g=!1),T?a.appendXtra(y.substr(0,y.indexOf("hsl"))+(g?"hsla(":"hsl("),c[0],O(p[0],c[0]),",",!1,!0).appendXtra("",c[1],O(p[1],c[1]),"%,",!1).appendXtra("",c[2],O(p[2],c[2]),g?"%,":"%"+x,!1):a.appendXtra(y.substr(0,y.indexOf("rgb"))+(g?"rgba(":"rgb("),c[0],p[0]-c[0],",",Math.round,!0).appendXtra("",c[1],p[1]-c[1],",",Math.round).appendXtra("",c[2],p[2]-c[2],g?",":x,Math.round),g&&(c=c.length<4?1:c[3],a.appendXtra("",c,(p.length<4?1:p[3])-c,x,!1))),mt.lastIndex=0;else if(d=c.match(F)){if(!(m=p.match(z))||m.length!==d.length)return a;for(_=f=0;_<d.length;_++)v=d[_],y=c.indexOf(v,f),a.appendXtra(c.substr(f,y-f),Number(v),O(m[_],v),"",S&&"px"===c.substr(y+v.length,2)&&Math.round,0===_),f=y+v.length;a["xs"+a.l]+=c.substr(f)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+p:p;if(-1!==r.indexOf("=")&&a.data){for(x=a.xs0+a.data.s,u=1;u<a.l;u++)x+=a["xs"+u]+a.data["xn"+u];a.e=x+a["xs"+u]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},bt=9;for((t=Tt.prototype).l=t.pr=0;0<--bt;)t["xn"+bt]=0,t["xs"+bt]="";t.xs0="",t._next=t._prev=t.xfirst=t.data=t.plugin=t.setRatio=t.rxp=null,t.appendXtra=function(t,e,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",0<o?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new Tt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0)):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n)):a["xs"+o]+=e+(r||""),a};function Pt(t,e){e=e||{},this.p=e.prefix&&b(t)||t,(c[t]=c[this.p]=this).format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0}var St=r._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new Pt(n[r],e)},Ot=r._registerPluginProp=function(t){var l;c[t]||(l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin",St(t,{parser:function(t,e,i,r,n,s,a){var o=h.com.greensock.plugins[l];return o?(o._cssRegister(),c[i].parse(t,e,i,r,n,s,a)):(p("Error: "+l+" js file not loaded."),n)}}))};(t=Pt.prototype).parseComplex=function(t,e,i,r,n,s){var a,o,l,h,u,_,f=this.keyword;if(this.multi&&(H.test(i)||H.test(e)?(o=e.replace(H,"|").split("|"),l=i.replace(H,"|").split("|")):f&&(o=[e],l=[i])),l){for(h=(l.length>o.length?l:o).length,a=0;a<h;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&((u=e.indexOf(f))!==(_=i.indexOf(f))&&(-1===_?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return wt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},t.parse=function(t,e,i,r,n,s,a){return this.parseComplex(t.style,this.format(lt(t,this.p,P,!1,this.dflt)),this.format(e),n,s)},M.registerSpecialProp=function(t,o,l){St(t,{parser:function(t,e,i,r,n,s,a){n=new Tt(t,i,0,0,n,2,i,!1,l);return n.plugin=s,n.setRatio=o(t,e,r._tween,i),n},priority:l})},M.useSVGTransformAttr=!0;function kt(t,e,i,r,n,s){var a,o,l,h,u,_,f,c,p,d,m,g,y=t._gsTransform,v=Vt(t,!0);y&&(m=y.xOrigin,g=y.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(f=t.getBBox()).x&&0===f.y&&f.width+f.height===0&&(f={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ct(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*f.width:parseFloat(e[0]))+f.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*f.height:parseFloat(e[1]))+f.y]),i.xOrigin=h=parseFloat(a[0]),i.yOrigin=u=parseFloat(a[1]),r&&v!==Ut&&(_=v[0],f=v[1],c=v[2],p=v[3],d=v[4],e=v[5],(r=_*p-f*c)&&(o=h*(p/r)+u*(-c/r)+(c*e-p*d)/r,l=h*(-f/r)+u*(_/r)-(_*e-f*d)/r,h=i.xOrigin=a[0]=o,u=i.yOrigin=a[1]=l)),y&&(s&&(i.xOffset=y.xOffset,i.yOffset=y.yOffset,y=i),n||!1!==n&&!1!==M.defaultSmoothOrigin?(o=h-m,l=u-g,y.xOffset+=o*v[0]+l*v[2]-o,y.yOffset+=o*v[1]+l*v[3]-l):y.xOffset=y.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))}function Ct(t){var e,i,r=this.data,n=(d=-r.rotation*$)+r.skewX*$,s=1e5,a=(Math.cos(d)*r.scaleX*s|0)/s,o=(Math.sin(d)*r.scaleX*s|0)/s,l=(Math.sin(n)*-r.scaleY*s|0)/s,h=(Math.cos(n)*r.scaleY*s|0)/s,u=this.t.style,_=this.t.currentStyle;if(_){i=o,o=-l,l=-i,e=_.filter,u.filter="";var f=this.t.offsetWidth,c=this.t.offsetHeight,p="absolute"!==_.position,d="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+o+", M21="+l+", M22="+h,n=r.x+f*r.xPercent/100,s=r.y+c*r.yPercent/100;if(null!=r.ox&&(n+=(v=(r.oxp?f*r.ox*.01:r.ox)-f/2)-(v*a+(x=(r.oyp?c*r.oy*.01:r.oy)-c/2)*o),s+=x-(v*l+x*h)),p?d+=", Dx="+((v=f/2)-(v*a+(x=c/2)*o)+n)+", Dy="+(x-(v*l+x*h)+s)+")":d+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(W,d):u.filter=d+" "+e,0!==t&&1!==t||1!=a||0!=o||0!=l||1!=h||(p&&-1===d.indexOf("Dx=0, Dy=0")||j.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!p){var m,g,y=T<8?1:-1,v=r.ieOffsetX||0,x=r.ieOffsetY||0;for(r.ieOffsetX=Math.round((f-((a<0?-a:a)*f+(o<0?-o:o)*c))/2+n),r.ieOffsetY=Math.round((c-((h<0?-h:h)*c+(l<0?-l:l)*f))/2+s),bt=0;bt<4;bt++)g=(i=-1!==(g=_[m=ft[bt]]).indexOf("px")?parseFloat(g):ht(this.t,m,parseFloat(g),g.replace(N,""))||0)!==r[m]?bt<2?-r.ieOffsetX:-r.ieOffsetY:bt<2?v-r.ieOffsetX:x-r.ieOffsetY,u[m]=(r[m]=Math.round(i-g*(0===bt||2===bt?1:y)))+"px"}}}var Rt,At,Mt,Dt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Lt=b("transform"),Ft=st+"transform",zt=b("transformOrigin"),Et=null!==b("perspective"),It=r.Transform=function(){this.perspective=parseFloat(M.defaultTransformPerspective)||0,this.force3D=!(!1===M.defaultForce3D||!Et)&&(M.defaultForce3D||"auto")},Nt=_gsScope.SVGElement,jt=function(t,e,i){var r,n=tt.createElementNS(LS_nsProtocol+"www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Xt=tt.documentElement||{},Bt=(Mt=T||/Android/i.test(rt)&&!_gsScope.chrome,tt.createElementNS&&Xt.appendChild&&!Mt&&(At=jt("svg",Xt),jt=(rt=jt("rect",At,{width:100,height:50,x:100})).getBoundingClientRect().width,rt.style[zt]="50% 50%",rt.style[Lt]="scaleX(0.5)",Mt=jt===rt.getBoundingClientRect().width&&!(L&&Et),Xt.removeChild(At)),Mt),Yt=function(t){var e,i=o("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||LS_nsProtocol+"www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(Xt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Yt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),Xt.removeChild(i),this.style.cssText=s,e},Gt=function(t){return!(!Nt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(e){try{return e.getBBox()}catch(t){return Yt.call(e,!0)}}(t))},Ut=[1,0,0,1,0,0],Vt=function(t,e){var i,r,n,s,a,o,l,h=t._gsTransform||new It,u=t.style;if(Lt?r=lt(t,Ft,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(Q))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),h.x||0,h.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,Lt&&i&&!t.offsetParent&&t!==Xt&&(s=u.display,u.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,Xt.appendChild(t)),i=!(r=lt(t,Ft,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?u.display=s:Zt(u,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):Xt.removeChild(t))),(h.svg||t.getCTM&&Gt(t))&&(i&&-1!==(u[Lt]+"").indexOf("matrix")&&(r=u[Lt],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return Ut;for(n=(r||"").match(F)||[],bt=n.length;-1<--bt;)s=Number(n[bt]),n[bt]=(a=s-(s|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+s:s;return e&&6<n.length?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},qt=r.getTransform=function(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var n,s,a,o,l,h,u,_,f,c,p,d,m,g,y,v,x,T,w,b,P,S,O=i&&t._gsTransform||new It,k=O.scaleX<0,C=Et&&(parseFloat(lt(t,zt,e,!1,"0 0 0").split(" ")[2])||O.zOrigin)||0,R=parseFloat(M.defaultTransformPerspective)||0;if(O.svg=!(!t.getCTM||!Gt(t)),O.svg&&(kt(t,lt(t,zt,e,!1,"50% 50%")+"",O,t.getAttribute("data-svg-origin")),Rt=M.useSVGTransformAttr||Bt),s=Vt(t),s!==Ut)for(n in 16===s.length?(b=s[0],S=s[1],_=s[2],f=s[3],P=s[4],c=s[5],p=s[6],d=s[7],m=s[8],g=s[9],y=s[10],v=s[12],T=s[13],w=s[14],x=s[11],e=Math.atan2(p,y),O.zOrigin&&(v=m*(w=-O.zOrigin)-s[12],T=g*w-s[13],w=y*w+O.zOrigin-s[14]),O.rotationX=e*K,e&&(a=P*(h=Math.cos(-e))+m*(u=Math.sin(-e)),o=c*h+g*u,l=p*h+y*u,m=P*-u+m*h,g=c*-u+g*h,y=p*-u+y*h,x=d*-u+x*h,P=a,c=o,p=l),e=Math.atan2(-_,y),O.rotationY=e*K,e&&(o=S*(h=Math.cos(-e))-g*(u=Math.sin(-e)),l=_*h-y*u,g=S*u+g*h,y=_*u+y*h,x=f*u+x*h,b=a=b*h-m*u,S=o,_=l),e=Math.atan2(S,b),O.rotation=e*K,e&&(a=b*(h=Math.cos(e))+S*(u=Math.sin(e)),o=P*h+c*u,l=m*h+g*u,S=S*h-b*u,c=c*h-P*u,g=g*h-m*u,b=a,P=o,m=l),O.rotationX&&359.9<Math.abs(O.rotationX)+Math.abs(O.rotation)&&(O.rotationX=O.rotation=0,O.rotationY=180-O.rotationY),e=Math.atan2(P,c),O.scaleX=(1e5*Math.sqrt(b*b+S*S+_*_)+.5|0)/1e5,O.scaleY=(1e5*Math.sqrt(c*c+p*p)+.5|0)/1e5,O.scaleZ=(1e5*Math.sqrt(m*m+g*g+y*y)+.5|0)/1e5,b/=O.scaleX,P/=O.scaleY,S/=O.scaleX,c/=O.scaleY,2e-5<Math.abs(e)?(O.skewX=e*K,P=0,"simple"!==O.skewType&&(O.scaleY*=1/Math.cos(e))):O.skewX=0,O.perspective=x?1/(x<0?-x:x):0,O.x=v,O.y=T,O.z=w,O.svg&&(O.x-=O.xOrigin-(O.xOrigin*b-O.yOrigin*P),O.y-=O.yOrigin-(O.yOrigin*S-O.xOrigin*c))):Et&&!r&&s.length&&O.x===s[4]&&O.y===s[5]&&(O.rotationX||O.rotationY)||(w=(T=6<=s.length)?s[0]:1,b=s[1]||0,P=s[2]||0,S=T?s[3]:1,O.x=s[4]||0,O.y=s[5]||0,c=Math.sqrt(w*w+b*b),r=Math.sqrt(S*S+P*P),T=w||b?Math.atan2(b,w)*K:O.rotation||0,s=P||S?Math.atan2(P,S)*K+T:O.skewX||0,O.scaleX=c,O.scaleY=r,O.rotation=T,O.skewX=s,Et&&(O.rotationX=O.rotationY=O.z=0,O.perspective=R,O.scaleZ=1),O.svg&&(O.x-=O.xOrigin-(O.xOrigin*w+O.yOrigin*P),O.y-=O.yOrigin-(O.xOrigin*b+O.yOrigin*S))),90<Math.abs(O.skewX)&&Math.abs(O.skewX)<270&&(k?(O.scaleX*=-1,O.skewX+=O.rotation<=0?180:-180,O.rotation+=O.rotation<=0?180:-180):(O.scaleY*=-1,O.skewX+=O.skewX<=0?180:-180)),O.zOrigin=C,O)O[n]<2e-5&&-2e-5<O[n]&&(O[n]=0);return i&&((t._gsTransform=O).svg&&(Rt&&t.style[Lt]?A.delayedCall(.001,function(){Zt(t.style,Lt)}):!Rt&&t.getAttribute("transform")&&A.delayedCall(.001,function(){t.removeAttribute("transform")}))),O},Qt=r.set3DTransformRatio=r.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,_,f,c,p,d,m,g=this.data,y=this.t.style,v=g.rotation,x=g.rotationX,T=g.rotationY,w=g.scaleX,b=g.scaleY,P=g.scaleZ,S=g.x,O=g.y,k=g.z,C=g.svg,R=g.perspective,A=g.force3D,M=g.skewY,D=g.skewX;if(M&&(D+=M,v+=M),!((1!==t&&0!==t||"auto"!==A||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&A||k||R||T||x||1!==P)||Rt&&C||!Et)v||D||C?(v*=$,d=D*$,m=1e5,i=Math.cos(v)*w,n=Math.sin(v)*w,r=Math.sin(v-d)*-b,s=Math.cos(v-d)*b,d&&"simple"===g.skewType&&(e=Math.tan(d-M*$),r*=e=Math.sqrt(1+e*e),s*=e,M&&(e=Math.tan(M*$),i*=e=Math.sqrt(1+e*e),n*=e)),C&&(S+=g.xOrigin-(g.xOrigin*i+g.yOrigin*r)+g.xOffset,O+=g.yOrigin-(g.xOrigin*n+g.yOrigin*s)+g.yOffset,Rt&&(g.xPercent||g.yPercent)&&(_=this.t.getBBox(),S+=.01*g.xPercent*_.width,O+=.01*g.yPercent*_.height),S<(_=1e-6)&&-_<S&&(S=0),O<_&&-_<O&&(O=0)),p=(i*m|0)/m+","+(n*m|0)/m+","+(r*m|0)/m+","+(s*m|0)/m+","+S+","+O+")",C&&Rt?this.t.setAttribute("transform","matrix("+p):y[Lt]=(g.xPercent||g.yPercent?"translate("+g.xPercent+"%,"+g.yPercent+"%) matrix(":"matrix(")+p):y[Lt]=(g.xPercent||g.yPercent?"translate("+g.xPercent+"%,"+g.yPercent+"%) matrix(":"matrix(")+w+",0,0,"+b+","+S+","+O+")";else{if(L&&(w<(_=1e-4)&&-_<w&&(w=P=2e-5),b<_&&-_<b&&(b=P=2e-5),!R||g.z||g.rotationX||g.rotationY||(R=0)),v||D)v*=$,f=i=Math.cos(v),c=n=Math.sin(v),D&&(v-=D*$,f=Math.cos(v),c=Math.sin(v),"simple"===g.skewType&&(e=Math.tan((D-M)*$),f*=e=Math.sqrt(1+e*e),c*=e,g.skewY&&(e=Math.tan(M*$),i*=e=Math.sqrt(1+e*e),n*=e))),r=-c,s=f;else{if(!(T||x||1!==P||R||C))return void(y[Lt]=(g.xPercent||g.yPercent?"translate("+g.xPercent+"%,"+g.yPercent+"%) translate3d(":"translate3d(")+S+"px,"+O+"px,"+k+"px)"+(1!==w||1!==b?" scale("+w+","+b+")":""));i=s=1,r=n=0}l=1,A=t=a=o=h=u=0,d=R?-1/R:0,m=g.zOrigin,_=1e-6,D=",",M="0",(v=T*$)&&(f=Math.cos(v),h=d*(a=-(c=Math.sin(v))),A=i*c,t=n*c,d*=l=f,i*=f,n*=f),(v=x*$)&&(e=r*(f=Math.cos(v))+A*(c=Math.sin(v)),v=s*f+t*c,o=l*c,u=d*c,A=r*-c+A*f,t=s*-c+t*f,l*=f,d*=f,r=e,s=v),1!==P&&(A*=P,t*=P,l*=P,d*=P),1!==b&&(r*=b,s*=b,o*=b,u*=b),1!==w&&(i*=w,n*=w,a*=w,h*=w),(m||C)&&(m&&(S+=A*-m,O+=t*-m,k+=l*-m+m),C&&(S+=g.xOrigin-(g.xOrigin*i+g.yOrigin*r)+g.xOffset,O+=g.yOrigin-(g.xOrigin*n+g.yOrigin*s)+g.yOffset),S<_&&-_<S&&(S=M),O<_&&-_<O&&(O=M),k<_&&-_<k&&(k=0)),p=g.xPercent||g.yPercent?"translate("+g.xPercent+"%,"+g.yPercent+"%) matrix3d(":"matrix3d(",p+=(i<_&&-_<i?M:i)+D+(n<_&&-_<n?M:n)+D+(a<_&&-_<a?M:a),p+=D+(h<_&&-_<h?M:h)+D+(r<_&&-_<r?M:r)+D+(s<_&&-_<s?M:s),x||T||1!==P?(p+=D+(o<_&&-_<o?M:o)+D+(u<_&&-_<u?M:u)+D+(A<_&&-_<A?M:A),p+=D+(t<_&&-_<t?M:t)+D+(l<_&&-_<l?M:l)+D+(d<_&&-_<d?M:d)+D):p+=",0,0,0,0,1,0,",p+=S+D+O+D+k+D+(R?1+-k/R:1)+")",y[Lt]=p}};(t=It.prototype).x=t.y=t.z=t.skewX=t.skewY=t.rotation=t.rotationX=t.rotationY=t.zOrigin=t.xPercent=t.yPercent=t.xOffset=t.yOffset=0,t.scaleX=t.scaleY=t.scaleZ=1,St("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,n,s,a){if(r._lastParsedTransform===a)return n;var o=(r._lastParsedTransform=a).scale&&"function"==typeof a.scale?a.scale:0;o&&(a.scale=o(D,t));var l,h,u,_,f,c,p,d,m=t._gsTransform,g=t.style,y=Dt.length,v=a,x={},T="transformOrigin",w=qt(t,P,!0,v.parseTransform),b=v.transform&&("function"==typeof v.transform?v.transform(D,R):v.transform);if(w.skewType=v.skewType||w.skewType||M.defaultSkewType,r._transform=w,"rotationZ"in v&&(v.rotation=v.rotationZ),b&&"string"==typeof b&&Lt)(h=et.style)[Lt]=b,h.display="block",h.position="absolute",-1!==b.indexOf("%")&&(h.width=lt(t,"width"),h.height=lt(t,"height")),tt.body.appendChild(et),l=qt(et,null,!1),"simple"===w.skewType&&(l.scaleY*=Math.cos(l.skewX*$)),w.svg&&(f=w.xOrigin,c=w.yOrigin,l.x-=w.xOffset,l.y-=w.yOffset,(v.transformOrigin||v.svgOrigin)&&(b={},kt(t,ct(v.transformOrigin),b,v.svgOrigin,v.smoothOrigin,!0),f=b.xOrigin,c=b.yOrigin,l.x-=b.xOffset-w.xOffset,l.y-=b.yOffset-w.yOffset),(f||c)&&(p=Vt(et,!0),l.x-=f-(f*p[0]+c*p[2]),l.y-=c-(f*p[1]+c*p[3]))),tt.body.removeChild(et),l.perspective||(l.perspective=w.perspective),null!=v.xPercent&&(l.xPercent=S(v.xPercent,w.xPercent)),null!=v.yPercent&&(l.yPercent=S(v.yPercent,w.yPercent));else if("object"==typeof v){if(l={scaleX:S(null!=v.scaleX?v.scaleX:v.scale,w.scaleX),scaleY:S(null!=v.scaleY?v.scaleY:v.scale,w.scaleY),scaleZ:S(v.scaleZ,w.scaleZ),x:S(v.x,w.x),y:S(v.y,w.y),z:S(v.z,w.z),xPercent:S(v.xPercent,w.xPercent),yPercent:S(v.yPercent,w.yPercent),perspective:S(v.transformPerspective,w.perspective)},null!=(_=v.directionalRotation))if("object"==typeof _)for(h in _)v[h]=_[h];else v.rotation=_;"string"==typeof v.x&&-1!==v.x.indexOf("%")&&(l.x=0,l.xPercent=S(v.x,w.xPercent)),"string"==typeof v.y&&-1!==v.y.indexOf("%")&&(l.y=0,l.yPercent=S(v.y,w.yPercent)),l.rotation=k("rotation"in v?v.rotation:"shortRotation"in v?v.shortRotation+"_short":w.rotation,w.rotation,"rotation",x),Et&&(l.rotationX=k("rotationX"in v?v.rotationX:"shortRotationX"in v?v.shortRotationX+"_short":w.rotationX||0,w.rotationX,"rotationX",x),l.rotationY=k("rotationY"in v?v.rotationY:"shortRotationY"in v?v.shortRotationY+"_short":w.rotationY||0,w.rotationY,"rotationY",x)),l.skewX=k(v.skewX,w.skewX),l.skewY=k(v.skewY,w.skewY)}for(Et&&null!=v.force3D&&(w.force3D=v.force3D,u=!0),(p=w.force3D||w.z||w.rotationX||w.rotationY||l.z||l.rotationX||l.rotationY||l.perspective)||null==v.scale||(l.scaleZ=1);-1<--y;)(1e-6<(b=l[d=Dt[y]]-w[d])||b<-1e-6||null!=v[d]||null!=J[d])&&(u=!0,n=new Tt(w,d,w[d],b,n),d in x&&(n.e=x[d]),n.xs0=0,n.plugin=s,r._overwriteProps.push(n.n));return b="function"==typeof v.transformOrigin?v.transformOrigin(D,R):v.transformOrigin,w.svg&&(b||v.svgOrigin)&&(f=w.xOffset,c=w.yOffset,kt(t,ct(b),l,v.svgOrigin,v.smoothOrigin),n=vt(w,"xOrigin",(m?w:l).xOrigin,l.xOrigin,n,T),n=vt(w,"yOrigin",(m?w:l).yOrigin,l.yOrigin,n,T),f===w.xOffset&&c===w.yOffset||(n=vt(w,"xOffset",m?f:w.xOffset,w.xOffset,n,T),n=vt(w,"yOffset",m?c:w.yOffset,w.yOffset,n,T)),b="0px 0px"),(b||Et&&p&&w.zOrigin)&&(Lt?(u=!0,d=zt,b||(b=(b=(lt(t,d,P,!1,"50% 50%")+"").split(" "))[0]+" "+b[1]+" "+w.zOrigin+"px"),b+="",(n=new Tt(g,d,0,0,n,-1,T)).b=g[d],n.plugin=s,Et?(h=w.zOrigin,b=b.split(" "),w.zOrigin=(2<b.length?parseFloat(b[2]):h)||0,n.xs0=n.e=b[0]+" "+(b[1]||"50%")+" 0px",(n=new Tt(w,"zOrigin",0,0,n,-1,n.n)).b=h,n.xs0=n.e=w.zOrigin):n.xs0=n.e=b):ct(b+"",w)),u&&(r._transformType=w.svg&&Rt||!p&&3!==this._transformType?2:3),o&&(a.scale=o),n},allowFunc:!0,prefix:!0}),St("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),St("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:gt("inset(0% 0% 0% 0%)",!1,!0)}),St("borderRadius",{defaultValue:"0px",parser:function(t,e,i,r,n,s){e=this.format(e);for(var a,o,l,h,u,_,f,c,p,d,m=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],g=t.style,y=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),x=e.split(" "),T=0;T<m.length;T++)this.p.indexOf("border")&&(m[T]=b(m[T])),-1!==(l=o=lt(t,m[T],P,!1,"0px")).indexOf(" ")&&(l=(o=l.split(" "))[0],o=o[1]),h=a=x[T],p=parseFloat(l),d=l.substr((p+"").length),""===(_=(f="="===h.charAt(1))?(u=parseInt(h.charAt(0)+"1",10),h=h.substr(2),u*=parseFloat(h),h.substr((u+"").length-(u<0?1:0))||""):(u=parseFloat(h),h.substr((u+"").length)))&&(_=w[i]||d),_!==d&&(c=ht(t,"borderLeft",p,d),p=ht(t,"borderTop",p,d),o="%"===_?(l=c/y*100+"%",p/v*100+"%"):"em"===_?(l=c/(d=ht(t,"borderLeft",1,"em"))+"em",p/d+"em"):(l=c+"px",p+"px"),f&&(h=parseFloat(l)+u+_,a=parseFloat(o)+u+_)),n=wt(g,m[T],l+" "+o,h+" "+a,!1,"0px",n);return n},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),St("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,n,s){return wt(t.style,i,this.format(lt(t,i,P,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),St("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,n,s){var a,o,l,h,u,_,f="background-position",c=P||d(t),p=this.format((c?T?c.getPropertyValue(f+"-x")+" "+c.getPropertyValue(f+"-y"):c.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),e=this.format(e);if(-1!==p.indexOf("%")!=(-1!==e.indexOf("%"))&&e.split(",").length<2&&((_=lt(t,"backgroundImage").replace(V,""))&&"none"!==_)){for(a=p.split(" "),o=e.split(" "),it.setAttribute("src",_),l=2;-1<--l;)(h=-1!==(p=a[l]).indexOf("%"))!=(-1!==o[l].indexOf("%"))&&(u=0===l?t.offsetWidth-it.width:t.offsetHeight-it.height,a[l]=h?parseFloat(p)/100*u+"px":parseFloat(p)/u*100+"%");p=a.join(" ")}return this.parseComplex(t.style,p,e,n,s)},formatter:ct}),St("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ct(-1===t.indexOf(" ")?t+" "+t:t)}}),St("perspective",{defaultValue:"0px",prefix:!0}),St("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),St("transformStyle",{prefix:!0}),St("backfaceVisibility",{prefix:!0}),St("userSelect",{prefix:!0}),St("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),St("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),St("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,n,s){var a,o;return e=T<9?(a=t.currentStyle,o=T<8?" ":",",a="rect("+a.clipTop+o+a.clipRight+o+a.clipBottom+o+a.clipLeft+")",this.format(e).split(",").join(o)):(a=this.format(lt(t,this.p,P,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,n,s)}}),St("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),St("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),St("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,n,s){var a=lt(t,"borderTopWidth",P,!1,"0px"),o=this.format(e).split(" "),e=o[0].replace(N,"");return"px"!==e&&(a=parseFloat(a)/ht(t,"borderTopWidth",1,e)+e),this.parseComplex(t.style,this.format(a+" "+lt(t,"borderTopStyle",P,!1,"solid")+" "+lt(t,"borderTopColor",P,!1,"#000")),o.join(" "),n,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),St("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),St("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,t="cssFloat"in a?"cssFloat":"styleFloat";return new Tt(a,t,0,0,n,-1,i,!1,0,a[t],e)}});function Wt(t){var e,i=this.t,r=i.filter||lt(this.data,"filter")||"";100==(t=this.s+this.c*t|0)&&(e=-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),!lt(this.data,"filter")):(i.filter=r.replace(B,""),!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+t+")"),-1===r.indexOf("pacity")?0==t&&this.xn1||(i.filter=r+" alpha(opacity="+t+")"):i.filter=r.replace(j,"opacity="+t))}St("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,n,s){var a=parseFloat(lt(t,"opacity",P,!1,"1")),o=t.style,l="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),l&&1===a&&"hidden"===lt(t,"visibility",P)&&0!==e&&(a=0),nt?n=new Tt(o,"opacity",a,e-a,n):((n=new Tt(o,"opacity",100*a,100*(e-a),n)).xn1=l?1:0,o.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=s,n.setRatio=Wt),l&&((n=new Tt(o,"visibility",0,0,n,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}});function Ht(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Zt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)}var Zt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(G,"-$1").toLowerCase())):t.removeAttribute(e))};St("className",{parser:function(t,e,i,r,n,s,a){var o,l,h,u=t.getAttribute("class")||"",_=t.style.cssText;if((n=r._classNamePT=new Tt(t,i,0,0,n,2)).setRatio=Ht,n.pr=-11,f=!0,n.b=u,o=m(t,P),i=t._gsClassPT){for(l={},h=i.data;h;)l[h.p]=1,h=h._next;i.setRatio(1)}return(t._gsClassPT=n).e="="!==e.charAt(1)?e:u.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",n.e),a=g(t,o,m(t),a,l),t.setAttribute("class",u),n.data=a.firstMPT,t.style.cssText!==_&&(t.style.cssText=_),n.xfirst=r.parse(t,a.difs,n,s)}});function $t(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s=this.t.style,a=c.transform.parse;if("all"===this.e)n=!(s.cssText="");else for(r=(e=this.e.split(" ").join("").split(",")).length;-1<--r;)i=e[r],c[i]&&(c[i].parse===a?n=!0:i="transformOrigin"===i?zt:c[i].p),Zt(s,i);n&&(Zt(s,Lt),(t=this.t._gsTransform)&&(t.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}}for(St("clearProps",{parser:function(t,e,i,r,n){return(n=new Tt(t,i,0,0,n,2)).setRatio=$t,n.e=e,n.pr=-10,n.data=r._tween,f=!0,n}}),t="bezier,throwProps,physicsProps,physics2D".split(","),bt=t.length;bt--;)Ot(t[bt]);(t=M.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i,r){if(!t.nodeType)return!1;this._target=R=t,this._tween=i,this._vars=e,D=r,C=e.autoRound,f=!1,w=e.suffixMap||M.suffixMap,P=d(t),_=this._overwriteProps;var n,s,a,o,l,h,r=t.style;if(y&&""===r.zIndex&&("auto"!==(h=lt(t,"zIndex",P))&&""!==h||this._addLazySet(r,"zIndex",0)),"string"==typeof e&&(a=r.cssText,h=m(t,P),r.cssText=a+";"+e,h=g(t,h,m(t)).difs,!nt&&X.test(e)&&(h.opacity=parseFloat(RegExp.$1)),e=h,r.cssText=a),e.className?this._firstPT=n=c.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=n=this.parse(t,e,null),this._transformType){for(h=3===this._transformType,Lt?v&&(y=!0,""===r.zIndex&&("auto"!==(e=lt(t,"zIndex",P))&&""!==e||this._addLazySet(r,"zIndex",0)),x&&this._addLazySet(r,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(h?"visible":"hidden"))):r.zoom=1,s=n;s&&s._next;)s=s._next;r=new Tt(t,"transform",0,0,null,2),this._linkCSSP(r,null,s),r.setRatio=Lt?Qt:Ct,r.data=this._transform||qt(t,P,!0),r.tween=i,r.pr=-1,_.pop()}if(f){for(;n;){for(l=n._next,s=a;s&&s.pr>n.pr;)s=s._next;(n._prev=s?s._prev:o)?n._prev._next=n:a=n,(n._next=s)?s._prev=n:o=n,n=l}this._firstPT=a}return!0},t.parse=function(t,e,i,r){var n,s,a,o,l,h,u,_,f=t.style;for(n in e){if(l=e[n],_=c[n],"function"!=typeof l||_&&_.allowFunc||(l=l(D,R)),_)i=_.parse(t,l,n,this,i,r,e);else{if("--"===n.substr(0,2)){this._tween._propLookup[n]=this._addTween.call(this._tween,t.style,"setProperty",d(t).getPropertyValue(n)+"",l+"",n,!1,n);continue}o=lt(t,n,P)+"",u="string"==typeof l,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||u&&Y.test(l)?(u||(l=(3<(l=dt(l)).length?"rgba(":"rgb(")+l.join(",")+")"),i=wt(f,n,o,l,!0,"transparent",i,0,r)):u&&Z.test(l)?i=wt(f,n,o,l,!0,null,i,0,r):(h=(s=parseFloat(o))||0===s?o.substr((s+"").length):"",""!==o&&"auto"!==o||(h="width"===n||"height"===n?(s=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||d(t))[e]||0;if(t.getCTM&&Gt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=_t[e],s=n.length;for(i=i||d(t);-1<--s;)r-=parseFloat(lt(t,"padding"+n[s],i,!0))||0,r-=parseFloat(lt(t,"border"+n[s]+"Width",i,!0))||0;return r}(t,n,P),"px"):"left"===n||"top"===n?(s=ut(t,n,P),"px"):(s="opacity"!==n?0:1,"")),""===(u=(_=u&&"="===l.charAt(1))?(a=parseInt(l.charAt(0)+"1",10),l=l.substr(2),a*=parseFloat(l),l.replace(N,"")):(a=parseFloat(l),u?l.replace(N,""):""))&&(u=n in w?w[n]:h),l=a||0===a?(_?a+s:a)+u:e[n],h===u||""===u&&"lineHeight"!==n||!a&&0!==a||!s||(s=ht(t,n,s,h),"%"===u?(s/=ht(t,n,100,"%")/100,!0!==e.strictUnits&&(o=s+"%")):"em"===u||"rem"===u||"vw"===u||"vh"===u?s/=ht(t,n,1,u):"px"!==u&&(a=ht(t,n,a,u),u="px"),_&&(a||0===a)&&(l=a+s+u)),_&&(a+=s),!s&&0!==s||!a&&0!==a?void 0!==f[n]&&(l||l+""!="NaN"&&null!=l)?(i=new Tt(f,n,a||s||0,0,i,-1,n,!1,0,o,l)).xs0="none"!==l||"display"!==n&&-1===n.indexOf("Style")?l:o:p("invalid "+n+" tween value: "+e[n]):(i=new Tt(f,n,s,a-s,i,0,n,!1!==C&&("px"===u||"zIndex"===n),0,o,l)).xs0=u)}r&&i&&!i.plugin&&(i.plugin=r)}return i},t.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):e<1e-6&&-1e-6<e&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},t._enableTransforms=function(t){this._transform=this._transform||qt(this._target,P,!0),this._transformType=this._transform.svg&&Rt||!t&&3!==this._transformType?2:3};function Kt(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)}t._addLazySet=function(t,e,i){e=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);e.e=i,e.setRatio=Kt,e.data=this},t._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},t._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},t._kill=function(t){var e,i,r,n=t;if(t.autoAlpha||t.alpha){for(i in n={},t)n[i]=t[i];n.opacity=1,n.autoAlpha&&(n.visibility=1)}for(t.className&&(e=this._classNamePT)&&((r=e.xfirst)&&r._prev?this._linkCSSP(r._prev,e._next,r._prev._prev):r===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,r._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==i&&e.plugin._kill&&(e.plugin._kill(t),i=e.plugin),e=e._next;return s.prototype._kill.call(this,n)};var Jt=function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;-1<--n;)Jt(t[n],e,i);else for(n=(r=t.childNodes).length;-1<--n;)a=(s=r[n]).type,s.style&&(e.push(m(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Jt(s,e,i)};return M.cascadeTo=function(t,e,i){var r,n,s,a,o=A.to(t,e,i),l=[o],h=[],u=[],_=[],f=A._internals.reservedProps;for(t=o._targets||o.target,Jt(t,h,_),o.render(e,!0,!0),Jt(t,u),o.render(0,!0,!0),o._enabled(!0),r=_.length;-1<--r;)if((n=g(_[r],h[r],u[r])).firstMPT){for(s in n=n.difs,i)f[s]&&(n[s]=i[s]);for(s in a={},n)a[s]=h[r][s];l.push(A.fromTo(_[r],e,a,n))}return l},s.activate([M]),M},!0),(t=(t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}})).prototype)._onInitAllProps=function(){var t,e,i,r,n=this._tween,s=n.vars.roundProps,a={},o=n._propLookup.roundProps;if("object"!=typeof s||s.push)for("string"==typeof s&&(s=s.split(",")),i=s.length;-1<--i;)a[s[i]]=Math.round;else for(r in s)a[r]=function(e){var i=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return(Math.round(t/e)*e*i|0)/i}}(s[r]);for(r in a)for(t=n._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===r&&(2===t.f&&t.t?function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next}(t.t._firstPT,a[r]):(this._add(t.t,r,t.s,t.c,a[r]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:n._firstPT===t&&(n._firstPT=e),t._next=t._prev=null,n._propLookup[r]=o)),t=e;return!1},t._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)s=e[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,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,a,o,l,h=!0===e.useRadians?2*Math.PI:360;for(n in e)"useRadians"!==n&&(o=e[n],"function"==typeof o&&(o=o(r,t)),l=(o+"").split("_"),s=l[0],a=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),o=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0,o=o-a,l.length&&(s=l.join("_"),-1!==s.indexOf("short")&&(o%=h,o!==o%(h/2)&&(o=o<0?o+h:o-h)),-1!==s.indexOf("_cw")&&o<0?o=(o+9999999999*h)%h-(o/h|0)*h:-1!==s.indexOf("ccw")&&0<o&&(o=(o-9999999999*h)%h-(o/h|0)*h)),(1e-6<o||o<-1e-6)&&(this._addTween(t,n,a,a+o,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(m){function t(t,e){var i=h("easing."+t,function(){},!0);return(t=i.prototype=new m).constructor=i,t.getRatio=e,i}function e(t,e,i,r,n){return r=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0),u(r,t),r}function g(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)}var i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,a=s.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,u=m.register||function(){},_=function(t,e){var i=h("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),t=i.prototype=new m;return t.constructor=i,t.getRatio=e,t.config=function(t){return new i(t)},i},a=e("Back",_("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),_("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),_("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),f=h("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1<t&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),_=f.prototype=new m;return _.constructor=f,_.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},f.ease=new f(.7,.7),_.config=f.config=function(t,e,i){return new f(t,e,i)},(_=(i=h("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new m).constructor=i,_.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},_.config=i.config=function(t,e){return new i(t,e)},(_=(r=h("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0)).prototype=new m).constructor=r,_.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},_.config=r.config=function(t,e,i){return new r(t,e,i)},(_=(n=h("easing.RoughEase",function(t){for(var e,i,r,n,s,a,o=(t=t||{}).taper||"none",l=[],h=0,u=0|(t.points||20),_=u,f=!1!==t.randomize,c=!0===t.clamp,p=t.template instanceof m?t.template:null,d="number"==typeof t.strength?.4*t.strength:.4;-1<--_;)e=f?Math.random():1/u*_,i=p?p.getRatio(e):e,r="none"===o?d:"out"===o?(n=1-e)*n*d:"in"===o?e*e*d:(n=e<.5?2*e:2*(1-e))*n*.5*d,f?i+=Math.random()*r-.5*r:_%2?i+=.5*r:i-=.5*r,c&&(1<i?i=1:i<0&&(i=0)),l[h++]={x:e,y:i};for(l.sort(function(t,e){return t.x-e.x}),a=new g(1,1,null),_=u;-1<--_;)s=l[_],a=new g(s.x,s.y,a);this._prev=new g(0,0,0!==a.t?a:a.next)},!0)).prototype=new m).constructor=n,_.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return(this._prev=e).v+(t-e.t)/e.gap*e.c},_.config=function(t){return new n(t)},n.ease=new n,e("Bounce",t("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),t("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),t("BounceInOut",function(t){var e=t<.5;return t=(t=e?1-2*t:2*t-1)<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),e("Circ",t("CircOut",function(t){return Math.sqrt(1- --t*t)}),t("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),t("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),e("Elastic",(_=function(t,e,i){var r=h("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),t=r.prototype=new m;return t.constructor=r,t.getRatio=e,t.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),_("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2))},.3),_("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--t)*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),e("Expo",t("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),t("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),t("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),e("Sine",t("SineOut",function(t){return Math.sin(t*l)}),t("SineIn",function(t){return 1-Math.cos(t*l)}),t("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(t){return m.map[t]}},!0),u(s.SlowMo,"SlowMo","ease,"),u(n,"RoughEase","ease,"),u(i,"SteppedEase","ease,"),a},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(f,c){"use strict";var p={},d=f.document,m=f.GreenSockGlobals=f.GreenSockGlobals||f;if(U=m[c])return"undefined"!=typeof module&&module.exports&&(module.exports=U);function g(t){for(var e=t.split("."),i=m,r=0;r<e.length;r++)i[e[r]]=i=i[e[r]]||{};return i}function o(t){for(var e=[],i=t.length,r=0;r!==i;e.push(t[r++]));return e}function y(){}var v,e,i,_=g("com.greensock"),x=1e-8,T=(e=Object.prototype.toString,i=e.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&e.call(t)===i)}),w={},b=function(o,l,h,u){this.sc=w[o]?w[o].sc:[],(w[o]=this).gsClass=null,this.func=h;var _=[];this.check=function(t){for(var e,i,r,n,s=l.length,a=s;-1<--s;)(e=w[l[s]]||new b(l[s],[])).gsClass?(_[s]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&h){if(r=(i=("com.greensock."+o).split(".")).pop(),n=g(i.join("."))[r]=this.gsClass=h.apply(h,_),u)if(m[r]=p[r]=n,"undefined"!=typeof module&&module.exports)if(o===c)for(s in module.exports=p[c]=n,p)n[s]=p[s];else p[c]&&(p[c][r]=n);else"function"==typeof define&&define.amd&&define((f.GreenSockAMDPath?f.GreenSockAMDPath+"/":"")+o.split(".").pop(),[],function(){return n});for(s=0;s<this.sc.length;s++)this.sc[s].check()}},this.check(!0)},r=f._gsDefine=function(t,e,i,r){return new b(t,e,i,r)},P=_._class=function(t,e,i){return e=e||function(){},r(t,[],function(){return e},i),e};r.globals=m;var t,n=[0,0,1,1],S=P("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?n.concat(e):n},!0),O=S.map={},s=S.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(s=l[h],n=r?P("easing."+s,null,!0):_.easing[s]||{},a=u.length;-1<--a;)o=u[a],O[s+"."+o]=O[o+s]=n[o]=t.getRatio?t:t[o]||new t};for((t=S.prototype)._calcEnd=!1,t.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},l=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--l;)t=a[l]+",Power"+l,s(new S(null,null,1,l),t,"easeOut",!0),s(new S(null,null,2,l),t,"easeIn"+(0===l?",easeNone":"")),s(new S(null,null,3,l),t,"easeInOut");O.linear=_.easing.Linear.easeIn,O.swing=_.easing.Quad.easeInOut;var k=P("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(t=k.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==D||v||D.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;-1<--a;)(s=o[a]).c===e&&s.s===i?o.splice(a,1):0===l&&s.pr<n&&(l=a+1);o.splice(l,0,{c:e,s:i,up:r,pr:n})},t.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;-1<--i;)if(r[i].c===e)return void r.splice(i,1)},t.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for(1<(e=n.length)&&(n=n.slice(0)),i=this._eventTarget;-1<--e;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};for(var a,C=f.requestAnimationFrame,R=f.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},M=A(),l=(a=["ms","moz","webkit","o"]).length;-1<--l&&!C;)C=f[a[l]+"RequestAnimationFrame"],R=f[a[l]+"CancelAnimationFrame"]||f[a[l]+"CancelRequestAnimationFrame"];P("Ticker",function(t,e){var r,n,s,a,o,l=this,h=A(),i=!(!1===e||!C)&&"auto",u=500,_=33,f=function(t){var e,i=A()-M;u<i&&(h+=i-_),M+=i,l.time=(M-h)/1e3,i=l.time-o,(!r||0<i||!0===t)&&(l.frame++,o+=i+(a<=i?.004:a-i),e=!0),!0!==t&&(s=n(f)),e&&l.dispatchEvent("tick")};k.call(l),l.time=l.frame=0,l.tick=function(){f(!0)},l.lagSmoothing=function(t,e){return arguments.length?(u=t||1e8,void(_=Math.min(e,u,0))):u<1e8},l.sleep=function(){null!=s&&((i&&R?R:clearTimeout)(s),n=y,s=null,l===D&&(v=!1))},l.wake=function(t){null!==s?l.sleep():t?h+=-M+(M=A()):10<l.frame&&(M=A()-u+5),n=0===r?y:i&&C?C:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===D&&(v=!0),f(2)},l.fps=function(t){return arguments.length?(a=1/((r=t)||60),o=this.time+a,void l.wake()):r},l.useRAF=function(t){return arguments.length?(l.sleep(),i=t,void l.fps(r)):i},l.fps(t),setTimeout(function(){"auto"===i&&l.frame<5&&"hidden"!==(d||{}).visibilityState&&l.useRAF(!1)},1500)}),(t=_.Ticker.prototype=new _.events.EventDispatcher).constructor=_.Ticker;var h=P("core.Animation",function(t,e){this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,$&&(v||D.wake(),(e=this.vars.useFrames?Z:$).add(this,e._time),this.vars.paused&&this.paused(!0))}),D=h.ticker=new _.Ticker;(t=h.prototype)._dirty=t._gc=t._initted=t._paused=!1,t._totalTime=t._time=0,t._rawPrevTime=-1,t._next=t._last=t._onUpdate=t._timeline=t.timeline=null,t._paused=!1;var u=function(){v&&2e3<A()-M&&("hidden"!==(d||{}).visibilityState||!D.lagSmoothing())&&D.wake();var t=setTimeout(u,2e3);t.unref&&t.unref()};u(),t.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},t.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},t.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},t.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},t.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},t.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},t.render=function(t,e,i){},t.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},t.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-x},t._enabled=function(t,e){return v||D.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},t._kill=function(t,e){return this._enabled(!1,!1)},t.kill=function(t,e){return this._kill(t,e),this},t._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},t._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},t._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},t.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=T(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},t.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},t.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},t.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},t.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},t.totalTime=function(t,e,i){if(v||D.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(r<t&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(X.length&&J(),this.render(t,e,!1),X.length&&J())}return this},t.progress=t.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},t.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},t.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},t.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||x,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},t.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},t.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(v||t||D.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!=i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var L=P("core.SimpleTimeline",function(t){h.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});function F(t){return t&&t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType)}(t=L.prototype=new h).constructor=L,t.kill()._gc=!1,t._first=t._last=t._recent=null,t._sortChildren=!1,t.add=t.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||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),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},t._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},t.render=function(t,e,i){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,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},t.rawTime=function(){return v||D.wake(),this._totalTime};var z=P("TweenLite",function(t,e,i){if(h.call(this,e,i),this.render=z.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t&&z.selector(t)||t;var r,n,s,i=t.jquery||t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?H[z.defaultOverwrite]:"number"==typeof a?a>>0:H[a],(i||t instanceof Array||t.push&&T(t))&&"number"!=typeof t[0])for(this._targets=s=o(t),this._propLookup=[],this._siblings=[],r=0;r<s.length;r++)(n=s[r])?"string"!=typeof n?n.length&&n!==f&&n[0]&&(n[0]===f||n[0].nodeType&&n[0].style&&!n.nodeType)?(s.splice(r--,1),this._targets=s=s.concat(o(n))):(this._siblings[r]=et(n,this,!1),1===a&&1<this._siblings[r].length&&it(n,this,null,1,this._siblings[r])):"string"==typeof(n=s[r--]=z.selector(n))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=et(t,this,!1),1===a&&1<this._siblings.length&&it(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-x,this.render(Math.min(0,-this._delay)))},!0);function E(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&-1e-6<e&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next}function I(t){return(1e3*t|0)/1e3+""}function N(t,e,i,r){var n,s,a,o,l,h,u=[],_=0,f="",c=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,n=t.match(Y)||[],s=e.match(Y)||[],r&&(r._next=null,r.blob=1,u._firstPT=u._applyPT=r),o=s.length,a=0;a<o;a++)h=s[a],f+=(l=e.substr(_,e.indexOf(h,_)-_))||!a?l:",",_+=l.length,c?c=(c+1)%5:"rgba("===l.substr(-5)&&(c=1),h===n[a]||n.length<=a?f+=h:(f&&(u.push(f),f=""),l=parseFloat(n[a]),u.push(l),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:l,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-l)||0,f:0,m:c&&c<4?Math.round:I}),_+=h.length;return(f+=e.substr(_))&&u.push(f),u.setRatio=E,G.test(e)&&(u.end=null),u}function j(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h=typeof t[e],l="function"!=h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),i="get"!==i?i:l?a?t[l](a):t[l]():t[e],l="string"==typeof r&&"="===r.charAt(1),s={t:t,p:e,s:i,f:"function"==h,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:l?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-i||0};return"number"==typeof i&&("number"==typeof r||l)||(a||isNaN(i)||!l&&isNaN(r)||"boolean"==typeof i||"boolean"==typeof r?(s.fp=a,s={t:N(i,l?parseFloat(s.s)+s.c+(s.s+"").replace(/[0-9\-\.]/g,""):r,o||z.defaultStringFilter,s),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(s.s=parseFloat(i),l||(s.c=parseFloat(r)-s.s||0))),s.c?((s._next=this._firstPT)&&(s._next._prev=s),this._firstPT=s):void 0}(t=z.prototype=new h).constructor=z,t.kill()._gc=!1,t.ratio=0,t._firstPT=t._targets=t._overwrittenProps=t._startAt=null,t._notifyPluginsOfEnabled=t._lazy=!1,z.version="2.1.3",z.defaultEase=t._ease=new S(null,null,1,1),z.defaultOverwrite="auto",z.ticker=D,z.autoSleep=120,z.lagSmoothing=function(t,e){D.lagSmoothing(t,e)},z.selector=f.$||f.jQuery||function(t){var e=f.$||f.jQuery;return e?(z.selector=e)(t):(d=d||f.document)?d.querySelectorAll?d.querySelectorAll(t):d.getElementById("#"===t.charAt(0)?t.substr(1):t):t};var X=[],B={},Y=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,G=/[\+-]=-?[\.\d]/,U=z._internals={isArray:T,isSelector:F,lazyTweens:X,blobDif:N},V=z._plugins={},q=U.tweenLookup={},Q=0,W=U.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},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Z=h._rootFramesTimeline=new L,$=h._rootTimeline=new L,K=30,J=U.lazyRender=function(){var t,e,i=X.length;for(B={},t=0;t<i;t++)(e=X[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);X.length=0};function tt(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=z.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s}$._startTime=D.time,Z._startTime=D.frame,$._active=Z._active=!0,setTimeout(J,1),h._updateRoot=z.render=function(){var t,e,i;if(X.length&&J(),$.render((D.time-$._startTime)*$._timeScale,!1,!1),Z.render((D.frame-Z._startTime)*Z._timeScale,!1,!1),X.length&&J(),D.frame>=K){for(i in K=D.frame+(parseInt(z.autoSleep,10)||120),q){for(t=(e=q[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[i]}if((!(i=$._first)||i._paused)&&z.autoSleep&&!Z._first&&1===D._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||D.sleep()}}},D.addEventListener("tick",h._updateRoot);var et=function(t,e,i){var r,n,s=t._gsTweenID;if(q[s||(t._gsTweenID=s="t"+Q++)]||(q[s]={target:t,tweens:[]}),e&&((r=q[s].tweens)[n=r.length]=e,i))for(;-1<--n;)r[n]===e&&r.splice(n,1);return q[s].tweens},it=function(t,e,i,r,n){var s,a,o;if(1===r||4<=r){for(o=n.length,c=0;c<o;c++)if((a=n[c])!==e)a._gc||a._kill(null,t,e)&&(s=!0);else if(5===r)break;return s}for(var l,h=e._startTime+x,u=[],_=0,f=0===e._duration,c=n.length;-1<--c;)(a=n[c])===e||a._gc||a._paused||(a._timeline!==e._timeline?(l=l||rt(e,0,f),0===rt(a,l,f)&&(u[_++]=a)):a._startTime<=h&&a._startTime+a.totalDuration()/a._timeScale>h&&((f||!a._initted)&&h-a._startTime<=2e-8||(u[_++]=a)));for(c=_;-1<--c;)if(o=(a=u[c])._firstPT,2===r&&a._kill(i,t,e)&&(s=!0),2!==r||!a._firstPT&&a._initted&&o){if(2!==r&&!tt(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},rt=function(t,e,i){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 e<(s/=n)?s-e:i&&s===e||!t._initted&&s-e<2e-8?x:(s+=t.totalDuration()/t._timeScale/n)>e+x?0:s-e-x};t._init=function(){var t,e,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease,_=this._startAt;if(a.startAt){for(r in _&&(_.render(-1,!0),_.kill()),n={},a.startAt)n[r]=a.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&!1!==a.lazy,n.startAt=n.delay=null,n.onUpdate=a.onUpdate,n.onUpdateParams=a.onUpdateParams,n.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=z.to(this.target||{},0,n),h)if(0<this._time)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(_)_.render(-1,!0),_.kill(),this._startAt=null;else{for(r in 0!==this._time&&(h=!1),i={},a)W[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=z.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof S?u:"function"==typeof u?new S(u,a.easeParams):O[u]||z.defaultEase:z.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;t<s;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&z._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},t._initProps=function(t,e,i,r,n){var s,a,o,l,h,u;if(null==t)return!1;for(s in B[t._gsTweenID]&&J(),this.vars.css||t.style&&t!==f&&t.nodeType&&V.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!V[i]||V[i]&&V[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,t),this.vars)if(u=this.vars[s],W[s])u&&(u instanceof Array||u.push&&T(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[s]=u=this._swapSelfInParams(u,this));else if(V[s]&&(l=new V[s])._onInitTween(t,this.vars[s],this,n)){for(this._firstPT=h={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:s,pg:1,pr:l._priority,m:0},a=l._overwriteProps.length;-1<--a;)e[l._overwriteProps[a]]=this._firstPT;(l._priority||l._onInitAllProps)&&(o=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),h._next&&(h._next._prev=h)}else e[s]=j.call(this,t,s,"get",u,s,0,null,this.vars.stringFilter,n);return r&&this._kill(r,t)?this._initProps(t,e,i,r,n):1<this._overwrite&&this._firstPT&&1<i.length&&it(t,this,e,this._overwrite,i)?(this._kill(e,t),this._initProps(t,e,i,r,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(B[t._gsTweenID]=!0),o)},t.render=function(t,e,i){var r,n,s,a,o,l,h,u=this,_=u._time,f=u._duration,c=u._rawPrevTime;if(f-x<=t&&0<=t?(u._totalTime=u._time=f,u.ratio=u._ease._calcEnd?u._ease.getRatio(1):1,u._reversed||(r=!0,n="onComplete",i=i||u._timeline.autoRemoveChildren),0!==f||!u._initted&&u.vars.lazy&&!i||(u._startTime===u._timeline._duration&&(t=0),(c<0||t<=0&&-x<=t||c===x&&"isPause"!==u.data)&&c!==t&&(i=!0,x<c&&(n="onReverseComplete")),u._rawPrevTime=a=!e||t||c===t?t:x)):t<x?(u._totalTime=u._time=0,u.ratio=u._ease._calcEnd?u._ease.getRatio(0):0,(0!==_||0===f&&0<c)&&(n="onReverseComplete",r=u._reversed),-x<t?t=0:t<0&&(u._active=!1,0!==f||!u._initted&&u.vars.lazy&&!i||(0<=c&&(c!==x||"isPause"!==u.data)&&(i=!0),u._rawPrevTime=a=!e||t||c===t?t:x)),(!u._initted||u._startAt&&u._startAt.progress())&&(i=!0)):(u._totalTime=u._time=t,u._easeType?(o=t/f,(1===(l=u._easeType)||3===l&&.5<=o)&&(o=1-o),3===l&&(o*=2),1===(h=u._easePower)?o*=o:2===h?o*=o*o:3===h?o*=o*o*o:4===h&&(o*=o*o*o*o),u.ratio=1===l?1-o:2===l?o:t/f<.5?o/2:1-o/2):u.ratio=u._ease.getRatio(t/f)),u._time!==_||i){if(!u._initted){if(u._init(),!u._initted||u._gc)return;if(!i&&u._firstPT&&(!1!==u.vars.lazy&&u._duration||u.vars.lazy&&!u._duration))return u._time=u._totalTime=_,u._rawPrevTime=c,X.push(u),void(u._lazy=[t,e]);u._time&&!r?u.ratio=u._ease.getRatio(u._time/f):r&&u._ease._calcEnd&&(u.ratio=u._ease.getRatio(0===u._time?0:1))}for(!1!==u._lazy&&(u._lazy=!1),u._active||!u._paused&&u._time!==_&&0<=t&&(u._active=!0),0===_&&(u._startAt&&(0<=t?u._startAt.render(t,!0,i):n=n||"_dummyGS"),!u.vars.onStart||0===u._time&&0!==f||(e||u._callback("onStart"))),s=u._firstPT;s;)s.f?s.t[s.p](s.c*u.ratio+s.s):s.t[s.p]=s.c*u.ratio+s.s,s=s._next;u._onUpdate&&(t<0&&u._startAt&&-1e-4!==t&&u._startAt.render(t,!0,i),e||(u._time!==_||r||i)&&u._callback("onUpdate")),!n||u._gc&&!i||(t<0&&u._startAt&&!u._onUpdate&&-1e-4!==t&&u._startAt.render(t,!0,i),r&&(u._timeline.autoRemoveChildren&&u._enabled(!1,!1),u._active=!1),!e&&u.vars[n]&&u._callback(n),0===f&&u._rawPrevTime===x&&a!==x&&(u._rawPrevTime=0))}},t._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:z.selector(e)||e;var r,n,s,a,o,l,h,u,_,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,c=this._firstPT;if((T(e)||F(e))&&"number"!=typeof e[0])for(r=e.length;-1<--r;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;-1<--r;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(z.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(_=_||[],_.push(s));if((_||!t)&&!tt(this,i,e,_))return!1}for(s in h)(a=o[s])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&c&&this._enabled(!1,!1)}}return l},t.invalidate=function(){this._notifyPluginsOfEnabled&&z._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],h.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-x,this.render(t,!1,!1!==this.vars.lazy)),this},t._enabled=function(t,e){if(v||D.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;-1<--i;)this._siblings[i]=et(r[i],this,!0);else this._siblings=et(this.target,this,!0)}return h.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&z._onPluginEvent(t?"_onEnable":"_onDisable",this)},z.to=function(t,e,i){return new z(t,e,i)},z.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new z(t,e,i)},z.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new z(t,e,r)},z.delayedCall=function(t,e,i,r,n){return new z(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},z.set=function(t,e){return new z(t,0,e)},z.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"==typeof t&&z.selector(t)||t,(T(t)||F(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];-1<--i;)r=r.concat(z.getTweensOf(t[i],e));for(i=r.length;-1<--i;)for(s=r[i],n=i;-1<--n;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=et(t).concat()).length;-1<--i;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},z.killTweensOf=z.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=z.getTweensOf(t,e),n=r.length;-1<--n;)r[n]._kill(i,t)};var nt=P("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(t=nt.prototype,nt.version="1.19.0",nt.API=2,t._firstPT=null,t._addTween=j,t.setRatio=E,t._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;-1<--e;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},t._mod=t._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},z._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},nt.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===nt.API&&(V[(new t[e])._propName]=t[e]);return!0},r.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=P("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){nt.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new nt(i);for(e in(o.constructor=a).API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,nt.activate([a]),a},a=f._gsQueue){for(l=0;l<a.length;l++)a[l]();for(t in w)w[t].func||f.console.log("GSAP encountered missing dependency: "+t)}v=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),function(t){"function"==typeof define&&define.amd?define(t):"undefined"!=typeof exports?module.exports=t():t()}(function(){(void 0!==LS_GSAP?LS_GSAP:window).SplitType=function(P,l,n){function o(t){return null!==t&&"object"==typeof t}function h(t){return o(t)&&"number"==typeof t.length&&0<t.length}function u(t){return o(t)&&/^(1|3|11)$/.test(t.nodeType)}function S(t,e,i){for(var r=Object(t),n=h(r)?r:o(t=r)&&"[object Object]"===Object.prototype.toString.call(t)?f(r):[r],s=parseInt(n.length)||0,a=0;a<s;a++)e.call(i,n[a],a,r)}function i(i,r){return i=Object(i),r=Object(r),Object.getOwnPropertyNames(i).reduce(function(t,e){return c(t,e,p(r,e)||p(i,e))},{})}function O(t,e,i){var r={};return o(t)&&(t=t[a]||(t[a]=++s),r=_[t]||(_[t]={})),i===n?e===n?r:r[e]:e!==n?r[e]=i:void 0}function k(t,i){var r=l.createElement(t);return i===n||S(i,function(t){var e=i[t];if(null!==e)switch(t){case"textContent":r.textContent=e;break;case"innerHTML":r.innerHTML=e;break;case"children":S(e,function(t){u(t)&&r.appendChild(t)});break;default:r.setAttribute(t,e)}}),r}function r(t,e){return this instanceof r?(this.isSplit=!1,this.settings=i(d,e),this.elements=function(t){var e,i,r,n,s,a,o=[];if("string"==typeof t&&(t="#"===(e=t.trim())[0]&&!/[^\w]/.test(i=e.slice(1))?l.getElementById(i):l.querySelectorAll(e)),e||u(t))return u(t)?[t]:R.call(t);if(h(t))for(s=0,r=t.length;s<r;s++)if(h(t[s]))for(a=0,n=t[s].length;a<n;a++)u(t[s][a])&&o.push(t[s][a]);else u(t[s])&&o.push(t[s]);return o}(t),void(this.elements.length&&(this.originals=this.elements.map(function(t){return O(t).html=O(t).html||t.innerHTML}),this.split()))):new r(t,e)}if(l.addEventListener&&Function.prototype.bind){var a="splitType"+ +new Date,_={},s=0,C=Array.prototype.push,R=Array.prototype.slice,f=Object.keys,c=(Object.prototype.hasOwnProperty,Object.defineProperty),p=(Object.defineProperties,Object.getOwnPropertyDescriptor),A=l.createDocumentFragment.bind(l),M=l.createTextNode.bind(l),d={splitClass:"",lineClass:"ls-ln",wordClass:"ls-wd",charClass:"ls-ch",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"ls-tb",DEBUG:!1};return c(r,"defaults",{get:function(){return d},set:function(t){d=i(d,t)}}),r.prototype.split=function(t){this.revert(),this.lines=[],this.words=[],this.chars=[],t!==n&&(this.settings=i(this.settings,t)),S(this.elements,function(t){(function(t){var e,i,r,n,s,a,o,l,h,u,_,f=this.settings,c=f.tagName,p="B"+ +new Date+"R",d=f.split,m=-1!==d.indexOf("lines"),g=-1!==d.indexOf("words"),y=-1!==d.indexOf("chars"),v="absolute"===f.position||!0===f.absolute,x=k("div"),T=[],w=[],b=m?k("div"):A();x.innerHTML=t.innerHTML.replace(/<br\s*\/?>/g," "+p+" "),T=x.textContent.replace(/\s+/g," ").trim().split(" ").map(function(t){return t===p?(b.appendChild(k("br")),null):(y&&(e=t.split("").map(function(t){return k(c,{class:f.charClass+" "+f.splitClass,style:"display: inline-block;",textContent:t})}),C.apply(w,e)),g||m?(i=k(c,{class:f.wordClass+" "+f.splitClass,style:"display: inline-block; position:"+(g?"relative":"static;"),children:y?e:null,textContent:y?null:t}),b.appendChild(i)):S(e,function(t){b.appendChild(t)}),b.appendChild(M(" ")),i);var e},this).filter(function(t){return t}),t.innerHTML="",t.appendChild(b),C.apply(this.words,T),C.apply(this.chars,w),(v||m)&&(u=[],d=O(t).nodes=t.getElementsByTagName(c),x=t.parentElement,T=t.nextElementSibling,_=P.getComputedStyle(t).textAlign,v&&(o={left:b.offsetLeft,top:b.offsetTop,width:b.offsetWidth},h=t.offsetWidth,l=t.offsetHeight,O(t).cssWidth=t.style.width,O(t).cssHeight=t.style.height),S(d,function(t){var e,i;t!==b&&(i=t.parentElement===b,m&&i&&((e=O(t).top=t.offsetTop)!==s&&(s=e,u.push(n=[])),n.push(t)),v&&(O(t).top=e||t.offsetTop,O(t).left=t.offsetLeft,O(t).width=t.offsetWidth,O(t).height=a=a||t.offsetHeight))}),x.removeChild(t),m&&(b=A(),r=u.map(function(t){return b.appendChild(e=k(c,{class:f.lineClass+" "+f.splitClass,style:"display: block; text-align:"+_+"; width: 100%;"})),v&&(O(e).type="line",O(e).top=O(t[0]).top,O(e).height=a),S(t,function(t){g?e.appendChild(t):y?R.call(t.children).forEach(function(t){e.appendChild(t)}):e.appendChild(M(t.textContent)),e.appendChild(M(" "))}),e}),t.replaceChild(b,t.firstChild),C.apply(this.lines,r)),v&&(t.style.width=t.style.width||h+"px",t.style.height=l+"px",S(d,function(t){var e="line"===O(t).type,i=!e&&"line"===O(t.parentElement).type;t.style.top=i?0:O(t).top+"px",t.style.left=e?o.left+"px":(i?O(t).left-o.left:O(t).left)+"px",t.style.height=O(t).height+"px",t.style.width=e?o.width+"px":O(t).width+"px",t.style.position="absolute"})),T?x.insertBefore(t,T):x.appendChild(t))}).call(this,t),O(t).isSplit=!0},this),this.isSplit=!0,S(this.elements,function(t){for(var e,i,r=O(t).nodes||[],n=0,s=r.length;n<s;n++)i=void 0,(i=(e=r[n])&&e[a])&&(delete e[i],delete _[i])})},r.prototype.revert=function(){this.isSplit&&(this.lines=this.words=this.chars=null),S(this.elements,function(t){O(t).isSplit&&O(t).html&&(t.innerHTML=O(t).html,t.style.height=O(t).cssHeight||"",t.style.width=O(t).cssWidth||"",this.isSplit=!1)},this)},r}}(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:void 0!==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(t,e,i,r){var n,s,a,t=jQuery(t),o="ls-issue-"+e;switch(e){case"jquery":a="Multiple jQuery issue",s='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.';break;case"oldjquery":a="Old jQuery issue",s="It looks like you are using an old version ("+i+") of the jQuery library. LayerSlider requires at least version "+r+" 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."}t.each(function(){(n=jQuery(this)).hasClass(o)||(n.addClass(o),jQuery('<div class="ls-slider-notification"><i class="ls-slider-notification-logo">!</i><strong>LayerSlider: '+a+"</strong><span>"+s+"</span></div>").insertBefore(n))})},removeSlider:function(t){this.slidersList[t]=null,delete this.slidersList[t]},checkVersions:function(t,e){for(var i=t.split("."),r=e.split("."),n=0;n<i.length;++n){if(r.length==n)return!1;if(parseInt(i[n])!=parseInt(r[n]))return!(parseInt(i[n])>parseInt(r[n]))}return i.length,r.length,!0}},Number.prototype.indexOf=function(t){return(""+this).indexOf(t)};
// source --> https://sindacs.org.br/wp-content/plugins/LayerSlider/assets/static/layerslider/js/layerslider.kreaturamedia.jquery.js?ver=7.15.0 

/*
	* LayerSlider
	*
	* (c) 2011-2025 George Krupa, John Gera & Kreatura Media
	*
	* LayerSlider home:		https://layerslider.com/
	* Licensing:			https://layerslider.com/licensing/
*/

!function(ie){"use strict";window._layerSliders={},window._lsData={$overflowWrapper:ie("body").length?ie("body"):ie("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"],parallaxdirection:["parallax","direction"],parallaxdelay:["parallax","startAt"],parallaxaxis:["parallax","axis"],parallaxtransformorigin:["parallax","transformOrigin"],parallaxdurationmove:["parallax","durationMove"],parallaxdurationleave:["parallax","durationLeave"],parallaxrotate:["parallax","rotation"],parallaxrotation:["parallax","rotation"],parallaxdistance:["parallax","distance"],parallaxtransformperspective:["parallax","transformPerspective"],parallaxpathduration:["parallax","pathDuration"],parallaxpath:["parallax","path"],parallaxcount:["parallax","count"],parallaxstartat:["parallax","startAt"],parallaxrandomduration:["parallax","randomDuration"],parallaxoffsetx:["parallax","randomX"],parallaxoffsety:["parallax","randomY"],parallaxeasing:["parallax","ease"],parallaxrandomstartat:["parallax","randomStartAt"],parallaxrandomcount:["parallax","randomCount"],parallaxrandomwait:["parallax","randomWait"],globalhover:["data","globalhover"]}},layer:{keys:{keyframe:["is"],responsive:["is"],pinned:["is"],position:["settings"],static:["settings"],minresponsiveratio:["settings"],maxresponsiveratio:["settings"],trmask:["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"],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"],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","loopToCSS"],looprotate:["rotation","loopToCSS"],looprotatex:["rotationX","loopToCSS"],looprotatey:["rotationY","loopToCSS"],looprotation:["rotation","loopToCSS"],looprotationx:["rotationX","loopToCSS"],looprotationy:["rotationY","loopToCSS"],loopscale:["scale","loopToCSS"],loopscalex:["scaleX","loopToCSS"],loopscaley:["scaleY","loopToCSS"],loopskewx:["skewX","loopToCSS"],loopskewy:["skewY","loopToCSS"],looptransformorigin:["transformOrigin","loopLayerShouldBeConverted"],loopoffsetx:["x","loopLayerShouldBeConverted"],loopoffsety:["y","loopLayerShouldBeConverted"],loopfilter:["filter","loopLayerShouldBeConverted"],loopclip:["clipPath","loopClipToCSS"],loopdelay:["startAt","loop"],loopstartat:["startAt","loop"],loopduration:["duration","loop"],loopcount:["count","loop"],looprepeatdelay:["repeatDelay","loop"],loopyoyo:["yoyo","loop"],loopease:["ease","loop"],loopeasing:["ease","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"],parallaxlevel:["level","parallax"],parallaxtype:["type","parallax"],parallaxevent:["event","parallax"],parallaxdirection:["direction","parallax"],parallaxduration:["duration","parallax"],parallaxdelay:["startAt","parallax"],parallaxaxis:["axis","parallax"],parallaxtransformorigin:["transformOrigin","parallax"],parallaxdurationmove:["durationMove","parallax"],parallaxdurationleave:["durationLeave","parallax"],parallaxrotate:["rotation","parallax"],parallaxrotation:["rotation","parallax"],parallaxreset:["reset","parallax"],parallaxdistance:["distance","parallax"],parallaxpath:["path","parallax"],parallaxcount:["count","parallax"],parallaxstartat:["startAt","parallax"],parallaxpathduration:["pathDuration","parallax"],parallaxrandomduration:["randomDuration","parallax"],parallaxoffsetx:["randomX","parallax"],parallaxoffsety:["randomY","parallax"],parallaxeasing:["ease","parallax"],parallaxrandomcount:["randomCount","parallax"],parallaxrandomstartat:["randomStartAt","parallax"],parallaxrandomwait:["randomWait","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"]}}},ie(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:ie(window).width(),height:ie(window).height()},ie(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,ie(window).trigger("resize.lsGlobal")},100))}),ie(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)}),ie(document).on("wheel.lsGlobal ",function(e){0!==Math.abs(e.originalEvent.deltaY)&&(window._lsData.scroll.direction=e.originalEvent.deltaY<0?"up":"down")}),ie(document).on("touchstart.lsGlobal ",function(e){window._lsData.ts=e.originalEvent.touches[0].clientY}),ie(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")}),ie.fn.layerSlider=function(i,a,s,r){window._lsData.documentIsAccessible=!0,i=i||{};var t,e="1.8.0",o=ie.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),ie(this).data("lsSliderUID")||(window._layerSliders[t]=new n(this,ie(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[ie(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,W){$.data("lsSliderUID",W).attr("data-layerslider-uid",W);var J=this,ee=J.gsap=window._layerSlider.GSAP||window,M=ie(window),te=window._lsData;J.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: "+W+") error:"},slide:{keys:window._lsData.slide.keys,options:{$link:!1,index:-1,data:{duration:-1,timeShift:0,calculatedTimeShift:0},parallax:{count:-1,path:"circle",direction:"forward",startAt:"slidestart",pathDuration:3,type:"2d",randomCount:-1,randomX:"[-35sw..35sw]",randomY:"[-35sh..35sh]",randomStartAt:"slidestart",randomDuration:3,randomWait:0,distance:10,rotation:10,ease:"easeInOutSine"},kenBurns:{scale:1.2},filter:{}},registerPluginDefaults:function(e,t,i){J.defaults.slide.options.plugins||(J.defaults.slide.options.plugins={}),J.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,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=J.transitions.layers.timeline.getTiming(e,e.loop.startAt,"loopstart"),this.loopend=-1!==e.loop.count&&e.timeline.loopstart+(e.loop.repeat+1)*e.loop.duration+e.loop.repeat*e.loop.repeatDelay):J.debugMode&&J.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(){J.transitions.layers.in.onStart(e)},onComplete:function(){J.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(){J.transitions.layers.out.onStart(e)},onComplete:function(){J.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,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,from:{autoCSS:!1,immediateRender:!1,css:{}},to:{autoCSS:!1,css:{}},clipTo:{autoCSS:!1,immediateRender:!1,css:{}},layerShouldBeConverted:{transformOrigin:"50% 50% 0",x:0,y:0},ease:"linear",startAt:"allinend",repeatDelay:0,duration:1,count:0,yoyo:!1},hover:{enabled:null,from:{autoCSS:!1,immediateRender:!1,css:{}},to:{autoCSS:!1,css:{}},shouldBeConverted:{transformOrigin:"50% 50% 0"},alwaysOnTop:!0,easeIn:"easeOutQuart",durationIn:.5},parallax:{enabled:null},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,loopFrom:t.transitionProperties.loop.from,loopFromCSS:t.transitionProperties.loop.from.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,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}}}},J.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=J.defaults.slide.keys,a=0,s=e.length;a<s;a++){var r=ie(e[a]),o=r[0].style,n=ie.extend(!0,{},J.defaults.slide.options),l=!1;if(J.slides.count++,r.removeClass("ls-layer").addClass("ls-slide").css({width:J.slider.initial.originalWidth,height:J.slider.initial.originalHeight}).appendTo(J.slider.$hiddenWrapper),r.data("ls"))for(var d=r.data("ls").split(";"),p=0;p<d.length;p++){var c,u,h=d[p].split(":");h[0]=ie.trim(h[0].toLowerCase()),h[1]=ie.trim(h[1]),-1==["thumbnail"].indexOf(h[0])&&(h[1]=h[1].toLowerCase()),""!==h[0]&&(void 0!==i[h[0]]?(c=void 0===i[h[0]][1]?h[0]:i[h[0]][1],u=J.functions.convert.properties(h[1]),c.match(/(duration|delay|wait|timeshift)/i)&&ie.isNumeric(u)&&(u/=1e3),n[i[h[0]][0]]||(n[i[h[0]][0]]={}),n[i[h[0]][0]][c]=u):n.data[h[0]]=h[1])}if(n.plugins&&!ie.isEmptyObject(n.plugins))for(var m in n.plugins)if(r.data("ls-plugin-"+m)){var f,g=r.data("ls-plugin-"+m).toLowerCase().split(";"),y={};for(f in n.plugins[m])y[f.toLowerCase()]=f;for(var v=0;v<g.length;v++){var x,w=g[v].split(":");w[0]=ie.trim(w[0]),""!==w[0]&&(x=J.functions.convert.properties(ie.trim(w[1])),-1===w[0].indexOf("duration")&&-1===w[0].indexOf("delay")||(x/=1e3),y[w[0]]?n.plugins[m][y[w[0]]]=x:n.plugins[m][w[0]]=x)}}else delete n.plugins[m];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(J.slider.$layersWrapper),J.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=ie()),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(ie('<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=J.functions.getURL(l),n.data.tnAlt=J.functions.getALT(l)):n.data.thumbnail=J.o.skinsPath+J.o.skin+"/nothumb.png"),(n.data.customtransition2d||n.data.customtransition3d)&&"undefined"==typeof layerSliderCustomTransitions&&(delete n.data.customtransition2d,delete n.data.customtransition3d,J.debugMode&&J.debug.add("warn","sliderInit.customTransitions",t+1)),"visible"===o.overflow&&(n.data.overflow="visible"),n.data.backgroundColor?n.data.$background||n.data.$backgroundVideo&&n.data.$backgroundVideo.length||(n.data.$background=ie("<img>").addClass("ls-bg").attr("src","data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==").appendTo(r)):n.data.backgroundColor=""===r[0].style.backgroundColor?"transparent":r[0].style.backgroundColor,J.slides[++t]={},J.slides[t].data=ie.extend(!0,{},J.defaults.slide.options.data,n.data),J.slides[t].parallax=n.parallax,J.slides[t].scroll=n.scroll,J.slides[t].kenBurns=n.kenBurns,J.slides[t].filter=n.filter,J.slides[t].index=t,J.slides[t].$layers=ie(),J.slides[t].plugins=n.plugins,J.slider.thumbnails.push(n.data.thumbnail),J.layers.init(r,t)}J.debugMode&&J.debug.groupEnd("sliderInit.style")},set:{slideIndexes:function(){var e=J.slides;e.prev.index=e.current.index,e.current.index=e.next.index,e.next.index=J.slideshow.get.slideInSequence(J.slideshow.direction),e.set.slidesData(),J.slider.set.attributes(),J.slides.indexesCreated=!0},nextSlideIndex:function(e){var t=J.slides;t.next.index=e,t.set.slidesData()},slidesData:function(){var e=J.slides;e.prev=-1!==e.prev.index?ie.extend(!0,{},e[e.prev.index]):{},e.current=-1!==e.current.index?ie.extend(!0,{},e[e.current.index]):{},e.next=-1!==e.next.index?ie.extend(!0,{},e[e.next.index]):{}},firstSlide:function(){var e,t=J.slides;t.first.index="random"===J.o.firstSlide?J.o.firstSlide:Math.max(J.functions.convert.properties(J.o.firstSlide,!0),1),J.o.shuffleSlideshow&&2<J.slides.count?J.o.twoWaySlideshow=!1:J.o.shuffleSlideshow=!1,t.first.index="random"==t.first.index?Math.floor(Math.random()*J.slides.count+1):t.first.index,!document.location.hash||(e=J.slides.deeplink(document.location.hash,!0))&&(J.slides.first.index=e),t.first.index=t.first.index<1||t.first.index>J.slides.count?1:t.first.index,J.o.shuffleSlideshow&&"random"!=J.o.firstSlide&&(t.first.index=J.o.firstSlide),t[t.first.index]&&t[t.first.index].data&&(t.first.data=ie.extend(!0,{},t[t.first.index].data)),J.o.playByScroll&&J.slideshow.set.normalizedSequence(),J.debugMode&&J.debug.options.firstSlide&&(t.first.index=J.debug.options.firstSlide)},actions:function(e,t){}},get:{deeplink:function(e){return e&&J.slides[e]&&J.slides[e].data&&J.slides[e].data.deeplink?J.slides[e].data.deeplink:null}},deeplink:function(e,t){for(var i=!1,a=1;a<J.slides.count+1;a++)if(J.slides[a].data.deeplink==e.substring(1)){if(i=a,t)return i;J.slideshow.changeTo(i,!0,!0)}if(!i&&t)return!1},slide:[]},J.countdown={calculateDate:function(e){var t,i=J.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){J.countdown.setLayerTimer(e,t),J.countdown.stopInterval(t),t.interval=setInterval(function(){J.countdown.setLayerTimer(e,t)},1e3)},setLayerTimer:function(e,t){e.text(this.calculateDate(t))},stopInterval:function(e){e.interval&&clearInterval(e.interval)}},J.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,p=Math.max(parseInt(e).toString().length,parseInt(a).toString().length);i.maxLength=p,"step"===i.type&&(n="linear",o=Math.abs(e-a)/l*d),isNaN(e)||isNaN(a)||(i.animationTween=ee.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(J.counter.applyNumberFormat(i,e))},onComplete:function(){t.text(J.counter.applyNumberFormat(i,a))}}))},applyNumberFormat:function(e,t){var i=e.dp,a=e.ds,s=e.ts;if(!ie.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){}},J.layers={$all:ie(),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=ie(a[s]),n=o[0],l=o.children();if(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 J.defaults.layer.options(o,t);o.data(J.defaults.init.dataKey,n),-1!==o.attr("class").indexOf("ls-linkto-")&&this.set.linkTo(o),n.is.counter&&(n.counterSettings.ease=J.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"))||{}),J.slides[t].$layers=J.slides[t].$layers.add(i)}},set:{mirrorTransitions:function(e){return e=e.split(" ")},actions:function(a,e){e.length;ie.each(e,function(e,t){var i=ie.extend(!0,{},t),t=i.trigger;a.on(t,function(e){setTimeout(function(e){J.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"}J.layers.set.ariaLabel(e,i),e.on("click."+W,function(e){e.preventDefault();var t,i=document.body.scrollHeight-te.viewport.height;if(a)switch(a){case"pagetop":t=0;break;case"pagebottom":t=i;break;case"slidertop":t=J.slider.offset.top;break;case"":case"sliderbottom":t=J.slider.offset.top+J.slider.height;break;default:t=ie(a).filter(":visible").last().length?ie(a).filter(":visible").last().offset().top:J.slider.offset.top+J.slider.height}t+=J.o.scrollModifier,t=Math.min(t,i),t=Math.max(0,t),ee.TweenMax.to("html, body",1,{scrollTop:t,ease:ee.Quint.easeInOut})})}if(-1!==J.defaults.init.controls.indexOf(a.toLowerCase())||a.match(/^\#[0-9]/)){var s=ie.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)}J.layers.set.ariaLabel(e,i),e.on("click."+W,function(e){if(e.preventDefault(),-1!==["prev","next","last","first","start","stop"].indexOf(s))J.navigation[s]("clicked");else if("number"==typeof r&&r==r)J.slideshow.changeTo(r,!0,!0);else if(!J.slider.state.changingSlides)switch(s){case"replay":J.api.methods("replay");break;case"reverse":J.api.methods("reverse");break;case"reverse-replay":case"reversereplay":J.api.methods("reverse",!0);break;case"playmedia":J.media.functions.playActiveMedia();break;case"pausemedia":J.media.functions.pauseActiveMedia();break;case"unmute":case"unmutemedia":J.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(J.defaults.init.dataKey).settings.linkedToSlide=i,e.css({cursor:"pointer"}).on("click."+W,function(e){e.preventDefault(),$.layerSlider(ie(this).data(J.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(J.defaults.init.dataKey,{}),t.settings.wrapperData=t.elements.$wrapper.data(J.defaults.init.dataKey),t.elements.$clipWrapper=e.closest(".ls-clip"),t.elements.$clipWrapper.data(J.defaults.init.dataKey,{}),t.settings.clipWrapperData=t.elements.$clipWrapper.data(J.defaults.init.dataKey),t.elements.$loopWrapper=e.closest(".ls-loop"),t.elements.$loopWrapper.data(J.defaults.init.dataKey,{}),t.settings.loopWrapperData=t.elements.$loopWrapper.data(J.defaults.init.dataKey)),t.parallax.enabled&&(t.elements.$parallaxWrapper=e.closest(".ls-parallax"),t.elements.$parallaxWrapper.data(J.defaults.init.dataKey,{parallax:{}}),t.settings.parallaxWrapperData=t.elements.$parallaxWrapper.data(J.defaults.init.dataKey),J.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(J.defaults.init.dataKey,{scroll:{}}),t.settings.scrollWrapperData=t.elements.$scrollWrapper.data(J.defaults.init.dataKey),J.transitions.layers.scroll.addLayer(t.elements.$scrollWrapper,t.settings.scrollWrapperData.scroll,t,i)),t.hover.enabled&&(!J.slides[i].data.globalhover||t.hover.skipGlobal&&J.slides[i].data.globalhover)&&J.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){J.layers.set.style(e),J.layers.set.properties(e,t),J.layers.set.dataAttribute("add",e,"hidden"),e.data("hasBeenSet",!0)},style:function(e){var t,i,a,s,r,o,n,l,d,p,c,u,h=e[0],m=e.data(J.defaults.init.dataKey),f=h.style,g=J.layers,y=null,v=null,x=null,w=null,b=0,S=0,T=!1,k=parseFloat(h.style.fontSize)||36,C=h.getBoundingClientRect(),P=!e.is("img, picture")&&window.LS_previewZoom||1,O=""!==f.paddingLeft?g.getStyle(f.paddingLeft,J.slider.initial.percW):g.getStyle(e.css("padding-left"),J.slider.initial.percW),I=""!==f.paddingRight?g.getStyle(f.paddingRight,J.slider.initial.percW):g.getStyle(e.css("padding-right"),J.slider.initial.percW),L=""!==f.paddingTop?g.getStyle(f.paddingTop,J.slider.initial.percH):g.getStyle(e.css("padding-top"),J.slider.initial.percH),$=""!==f.paddingBottom?g.getStyle(f.paddingBottom,J.slider.initial.percH):g.getStyle(e.css("padding-bottom"),J.slider.initial.percH),W=""!==f.marginLeft?g.getStyle(f.marginLeft,J.slider.initial.percW):g.getStyle(e.css("margin-left"),J.slider.initial.percW),M=""!==f.marginRight?g.getStyle(f.marginRight,J.slider.initial.percW):g.getStyle(e.css("margin-right"),J.slider.initial.percW),B=""!==f.marginTop?g.getStyle(f.marginTop,J.slider.initial.percH):g.getStyle(e.css("margin-top"),J.slider.initial.percH),_=""!==f.marginBottom?g.getStyle(f.marginBottom,J.slider.initial.percH):g.getStyle(e.css("margin-bottom"),J.slider.initial.percH);h.style.margin="0",n=""!==f.borderLeftWidth?g.getStyle(f.borderLeftWidth,J.slider.initial.percW):g.getStyle(e.css("border-left-width"),J.slider.initial.percW),d=""!==f.borderRightWidth?g.getStyle(f.borderRightWidth,J.slider.initial.percW):g.getStyle(e.css("border-right-width"),J.slider.initial.percW),l=""!==f.borderTopWidth?g.getStyle(f.borderTopWidth,J.slider.initial.percH):g.getStyle(e.css("border-top-width"),J.slider.initial.percH),p=""!==f.borderBottomWidth?g.getStyle(f.borderBottomWidth,J.slider.initial.percH):g.getStyle(e.css("border-bottom-width"),J.slider.initial.percH),1!==J.media.properties.$allMediaLayers.filter(e).length&&!e.children("iframe").length||(c=(V=e.children()).attr("width")?V.attr("width"):V.width(),u=V.attr("height")?V.attr("height"):V.height(),300===parseInt(c)&&150===parseInt(u)&&(c=640,u=360),""!==h.style.width&&"auto"!==h.style.width||e.css("width",c),""!==h.style.height&&"auto"!==h.style.height||e.css("height",u),"100%"===f.width&&"100%"===f.height&&(f.left="50%",f.top="50%"),T=c/u,V.css({width:"100%",height:"100%"}));var D,F,A,z,V=m.attributes;e.is("img, picture")&&(z=(F=(D=e.is("img")?e:e.find("img")).data("preloadedWidth"))/(A=D.data("preloadedHeight")),(!f.width&&!f.height||"auto"===f.width&&"auto"===f.height)&&V&&(V.width&&V.height?(t=-1===V.width.indexOf("%")?parseInt(V.width):(b=parseInt(V.width),g.getStyle(V.width,J.slider.initial.percW)),i=-1===V.height.indexOf("%")?parseInt(V.height):(S=parseInt(V.height),g.getStyle(V.height,J.slider.initial.percH))):V.maxWidth&&(e[0].style.width=V.maxWidth+"px",t=V.maxWidth,i=e.height()))),D=C.width?C.width/P:(C.right-C.left)/P,P=C.height?C.height/P:(C.bottom-C.top)/P,t||(t=f.width,-1!==f.width.indexOf("%")&&(b=parseInt(f.width)),t=(t=""!==t&&"auto"!==t?g.getStyle(t,J.slider.initial.percW):D-J.layers.toNum(O,k)-J.layers.toNum(I,k)-J.layers.toNum(n,k)-J.layers.toNum(d,k))||"auto"),i||(i=f.height,-1!==f.height.indexOf("%")&&(S=parseInt(f.height)),i=(i=""!==i&&"auto"!==i?g.getStyle(i,J.slider.initial.percH):P-J.layers.toNum(L,k)-J.layers.toNum($,k)-J.layers.toNum(l,k)-J.layers.toNum(p,k))||"auto"),0===parseInt(i)&&(e.addClass("ls-force-height-auto"),parseInt(h.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||V&&(!V||V.width||V.height)||F===t&&A===i||(F!==t?i=(t=5<F?F:t)/(T=5<F?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)&&(m.clip.style.css.clipPath=A,m.clip.userDefined=!0,f.clip="",f.clipPath=""),z=f.webkitFilter||f.filter;var N,R,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)),w=-1!==f.maxHeight.indexOf("em")?f.maxHeight:parseFloat(f.maxHeight)),m.original={clip:A,left:f.left||"0",top:f.top||"0",width:"auto"!==t?parseFloat(t):"auto",height:"auto"!==i?parseFloat(i):"auto",minWidth:y,minHeight:v,maxWidth:x,maxHeight:w,sWidth:f.width,sHeight:f.height,percentWidth:b,percentHeight:S,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:O,paddingTop:L,paddingRight:I,paddingBottom:$,marginLeft:W,marginRight:M,marginTop:B,marginBottom:_,borderLeftWidth:n,borderTopWidth:l,borderRightWidth:d,borderBottomWidth:p,borderRadius:(N=e,E=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],H="",(R=f).borderRadius&&(-1===R.borderRadius.indexOf("/")?ie.each(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],function(e,t){e=R[E[e]],t=N.css(t),t=ie.trim(void 0!==e&&e.length?e:t);-1==t.indexOf(" ")&&-1==t.indexOf("em")&&-1==t.indexOf("%")&&(t=parseInt(t)),H+=t+" "}):H=R.borderRadius),ie.trim(H)),fontSize:k,lineHeight:h.style.lineHeight,letterSpacing:h.style.letterSpacing,textStrokeWidth:h.style.textStrokeWidth||h.style.webkitTextStrokeWidth,color:e.css("color"),boxShadow:h.style.boxShadow,textShadow:h.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||(m.original.autoWidth=!0),f.height&&"auto"!==f.height||(m.original.autoHeight=!0),f.zIndex="auto",m.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:m.original.width,height:m.original.height})},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.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(J.defaults.init.dataKey);e.data("ls");if(a.is.textLayer=!(e.is("img, picture")||a.is.mediaLayer||a.is.backgroundVideo),(a.self=e).data("ls")){for(var s,r,o,n,l=J.defaults.layer.keys,d=e.data("ls").split(";"),p={},c=0;c<d.length;c++)ie.trim(d[c])&&(s=d[c].indexOf(":"),r=d[c].substring(0,s).trim(),o=d[c].substring(s+1).trim(),r&&(p[r]=o));for(n in d=null,p=this.parseScaleProperties(p)){var u=null,h=null,m=null,f=null,g=!1,y=!1;if(r=n.toLowerCase(),o=p[n],-1==["thumbnail","poster"].indexOf(r)&&(o=o.toLowerCase()),(r=r.replace("split","text")).match(/(text)/)&&(y=!0),void 0!==l[r]){if(u=l[r][0],f=o,"overlay"!==r&&(f=J.functions.convert.properties(o)),-1!==r.indexOf("mirror")&&(f=J.layers.set.mirrorTransitions(o)),!o||!/random/.test(o)&&o.charAt(0)!==J.defaults.init.openingBracket||/parallax/.test(r)||(g=!0),g&&(y||/offset/.test(r)||(f=J.functions.convert.randomProperties(f,u,e,a)),a.should.update||(a.should.update=!0)),"number"==typeof f&&u.match(/(duration|startat|shift|delay|wait)/i)&&(f/=1e3),r.match(/(fade)(.+)/))switch(f){case!0:f=0;break;case!1:f=1}void 0!==(m=l[r][1])?""!==f?"object"==typeof f&&-1==r.indexOf("mirror")?r.match(/(text)/)?m.match(/(converted)/i)?a[m][u]=f:a[m].cycle[u]=f:(h=J.functions.convert.properties(ie.trim(f[0])),J.debugMode&&J.debug.add("warn","layerInit.prop1",[r,f,h]),"number"==typeof h&&u.match(/(duration|startat|shift|delay)/i)&&(h/=1e3),a[m][u]=h):y&&g?a[m].random[u]=f:a[m][u]=f:J.debugMode&&J.debug.add("warn","layerInit.prop2",r):a[u][r]=f}else"clip"===r?(a.original.clip=o,a.clip.style.css.clipPath=o):J.debugMode&&J.debug.add("warn","layerInit.prop4",r)}}if(J.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=J.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=J.functions.convert.easing(a.out.ease)),ie.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=J.functions.convert.easing(a.loop.ease),-1!==a.loop.count?a.loop.yoyo?a.loop.repeat=2*a.loop.count-1:a.loop.repeat=a.loop.count-1:a.loop.repeat=-1):a.loop.enabled=!1,(!ie.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=J.functions.convert.easing(a.hover.easeIn),a.hover.easeOut=J.functions.convert.easing(a.hover.easeOut,!0),a.hover.durationOut||(a.hover.durationOut=a.hover.durationIn),ee.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:a.hoverShouldBeConverted.transformPerspective}})):a.hover.enabled=!1,a.hover.skipGlobal&&e.attr("data-ls-skipglobalhover",""),a.parallax.level&&ie.isNumeric(a.parallax.level)&&0!==a.parallax.level&&!1!==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 v={scale:1,rotation:0};if(J.slides[t].kenBurns.zoom&&(a.kenBurns=J.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=v;break;case"in":a.kenBurns.from=v,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=v,a.kenBurns.to=v;ie.isEmptyObject(J.slides[t].filter)||(J.slides[t].filter.from&&(a.filter.values.bgFrom=J.transitions.layers.filters.convert(J.slides[t].filter.from)),J.slides[t].filter.to&&(a.filter.values.bgTo=J.transitions.layers.filters.convert(J.slides[t].filter.to)))}if(a.textIn.type&&-1===J.defaults.layer.splitTypeKeys.indexOf(a.textIn.type)&&(J.debugMode&&J.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===J.defaults.layer.splitTypeKeys.indexOf(a.textOut.type)&&(J.debugMode&&J.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.type||a.textOut.type){var x=0;if(a.is.textLayer?(a.textIn.type&&(a.textIn.enabled=!0,a.textInNodesTo.ease=J.functions.convert.easing(a.textInNodesTo.ease),a.textIn.split=a.textIn.type.split("_")[0],e.children().length&&J.debugMode&&(x=1)),a.textOut.type&&!J.o.inLayerPreview&&(a.textOut.enabled=!0),a.textOut.enabled&&(a.textOutNodesTo.ease=J.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&&J.debugMode&&(x=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,J.debugMode&&(x=2)),J.debugMode&&0!==x&&t&&!i)switch(x){case 1:J.debug.add("warn","layerInit.splitType1",[e.prop("nodeName"),t]);break;case 2:J.debug.add("warn","layerInit.splitType2",[t,e.prop("nodeName")])}}(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.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=J.transitions.layers.filters.convert(a.inLayerStyleShouldBeConvertedFrom.filter)),a.filter.values.style=J.transitions.layers.filters.convert(a.original.filter),a.outLayerStyleShouldBeConvertedTo.filter&&(a.filter.values.out=J.transitions.layers.filters.convert(a.outLayerStyleShouldBeConvertedTo.filter)),a.loopLayerShouldBeConverted.filter&&(a.filter.values.loop=J.transitions.layers.filters.convert(a.loopLayerShouldBeConverted.filter)),a.hoverShouldBeConverted.filter&&(a.filter.values.hover=J.transitions.layers.filters.convert(a.hoverShouldBeConverted.filter)),a.in.enabled||(a.in.duration=0),a.textIn.enabled||(a.textIn.duration=0),a.loop.enabled||(a.loop.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?(0!==(x=parseInt(a.settings.static))&&"forever"!==a.settings.static?(e.attr("data-ls-slideout",x),a.settings.slideOut=x):a.settings.slideOut=0,a.is.static=!0,e.attr("data-ls-static","1")):e.attr("data-ls-slideout",t),a.is.mediaLayer&&e.children("video, audio").length&&J.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)),J.slider.isPopup&&(a.is.pinned=!1),a.is.pinned&&(J.slider.hasPinnedLayers=!0,J.slider.$layersWrapper.is(".ls-layers-clip")||J.slider.$layersWrapper.addClass("ls-layers-clip"),!te.isMobile&&!J.browser.isSafari||J.slider.$layersWrapper.is(".ls-m-layers-clip")||J.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.is.smartBG=!0)},dataAttribute:function(e,t,i){var a=t.add(t.closest(".ls-wrapper.ls-z"));switch(e){case"remove":a.removeAttr("data-ls-"+i);break;case"add":"active"===i&&a.removeAttr("data-ls-hidden"),"hidden"===i&&a.removeAttr("data-ls-active data-ls-animating-in data-ls-text-animating-in data-ls-animating-out data-ls-text-animating-out"),-1===i.indexOf("in")&&-1===i.indexOf("out")||(a.removeAttr("data-ls-active"),a.removeAttr("data-ls-hidden")),"active"===i&&t.is("[data-ls-animating-in], [data-ls-text-animating-in]")||"hidden"===i&&t.is("[data-ls-animating-out], [data-ls-text-animating-out]")||a.attr("data-ls-"+i,"")}}},get:function(e){var t,i,a,s,r,o=this.$all;return e&&(t="in",a=i="",s=':not(".ls-bg")',r=':not(".ls-bg-video")',-1==(e=e.toLowerCase()).indexOf("bgvideo")&&-1==e.indexOf("backgroundvideo")||(r="",e=e.replace("bgvideo","").replace("backgroundvideo","")),-1!=e.indexOf("video")&&(a+=", > video",e=e.replace("video","")),-1!=e.indexOf("audio")&&(a+=", > audio",e=e.replace("audio","")),-1!=e.indexOf("html5")&&(a+=", > video, > audio",e=e.replace("html5","")),-1!=e.indexOf("youtube")&&(a+=', > 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"]',e=e.replace("youtube","")),-1!=e.indexOf("vimeo")&&(a+=', > iframe[src*="player.vimeo"], > iframe[data-src*="player.vimeo"]',e=e.replace("vimeo","")),","==a.charAt(0)&&(a=a.substring(2,a.length)),-1!=e.indexOf("out")&&(t="out"),-1==e.indexOf("img")&&-1==e.indexOf("image")||(i="img"),-1==e.indexOf("bg")&&-1==e.indexOf("background")&&-1==e.indexOf("bgonly")||(s=""),o=-1!=e.indexOf("current")?o.filter(i+"[data-ls-slide"+t+'="'+J.slides.current.index+'"]'+s+r):-1!=e.indexOf("next")?o.filter(i+"[data-ls-slide"+t+'="'+J.slides.next.index+'"]'+s+r):o.filter(i+s+r),-1!=e.indexOf("notactive")&&(o=o.filter(".ls-bg, .ls-bg-video, :hidden"),e=e.replace("notactive","")),-1!=e.indexOf("active")&&(o=o.filter(':visible:not(.ls-bg, .ls-bg-video), [data-ls-static="1"]:not([data-ls-hidden])'),e=e.replace("active","")),-1!=e.indexOf("notstatic")&&(o=o.filter(':not([data-ls-static="1"])'),e=e.replace("notstatic","")),-1!=e.indexOf("static")&&(o=o.filter('[data-ls-static="1"]'),e=e.replace("static","")),-1!=e.indexOf("bgonly")&&(o=o.filter(".ls-bg"),e=e.replace("bgonly","")),-1!=e.indexOf("countdown")&&(o=o.filter("[data-countdown]"),e=e.replace("countdown","")),""!==a&&(o=o.find(a))),o},update:{data:function(e,t,i){var a,s,r;switch(e instanceof jQuery||(e=ie(e)),i&&e.attr("data-ls",i).data("ls",i),a=(s=e.data(J.defaults.init.dataKey)).is.onSlide,r=s.original,t){default:case"transitions":s.settings.timelineIsCalculated=!1,J.layers.set.properties(e,a,!0);break;case"all":e.data(J.defaults.init.dataKey,new J.defaults.layer.options(e,a)),(s=e.data(J.defaults.init.dataKey)).original=r,J.layers.set.properties(e,a,!0),J.layers.set.wrappers(e,s,a)}}},wrap:function(u,e){var t,h;J.slides[u].wrapped||"wrapping"===J.slides[u].wrapped||(J.slides[u].wrapped="wrapping",t=e?25:0,e=J.slides[u].$layers,0===(h=e.length)?J.slides[u].wrapped=!0:e.each(function(p,c){J.timeouts["slide-"+u+"-layer-"+p]=setTimeout(function(){delete J.timeouts["slide-"+u+"-layer-"+p];var e=ie(c),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(J.defaults.init.dataKey);if(!l)return!0;d=e.data("$layerGroup")||J.slider.$layersWrapper,l.is.backgroundVideo?d=J.slider.$bgVideosWrapper:l.is.slideBackground&&(d=J.slider.$slideBGWrapper),e.data("hasBeenSet")||J.layers.set.singleLayer(e,u),l.textIn.split&&(n=new ee.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=ie(this),t=ie.trim(e.text()),i=document.createTextNode(t),t=ie(i),i=ie('<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||p+101,d.zIndex=a,l.original.customZIndex=a),J.browser.isSafari&&(d.transform="translateZ(0)"),J.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:J.slides[u].data.backgroundColor}),J.layers.$all=J.layers.$all.add(e),J.slides[u].$layers=J.slides[u].$layers.not(t),p===h-1&&($.children(".ls-slide").eq(u-1).empty(),J.slides[u].wrapped=!0)},t*(p+1))}))}},J.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==J.slides.count&&ie.extend(J.o,{autoStart:!1,navPrevNext:!1,navStartStop:!1,navButtons:!1,cycles:-1,forceLoopNum:!1,autoPauseSlideshow:!0,firstSlide:1,thumbnailNavigation:"disabled"}),J.o.autoStart&&1!=J.slides.count||J.functions.setStates(this,{running:!1,paused:!0}),this.set.pauseOnHover(),this.set.sequences()},set:{pauseOnHover:function(){J.o.pauseOnHover=!0===J.o.pauseOnHover?"slideshowOnly":J.o.pauseOnHover,!1!==J.o.pauseOnHover&&$.on("mouseenter."+W,function(){J.slider.state.inFullscreen||(J.functions.setStates(J.slideshow,{pausedByHover:!0}),"slideshowOnly"!==J.o.pauseOnHover&&J.transitions.layers.timeline.pause())}).on("mouseleave."+W,function(){var e=1;J.transitions._slideTimeline&&J.transitions._slideTimeline.duration()>J.transitions.layers.timeline.totalDuration&&(e=J.transitions.layers.timeline.totalDuration/J.transitions._slideTimeline.duration()),J.functions.setStates(J.slideshow,{pausedByHover:!1}),ie("body").hasClass("ls-unselectable")||"slideshowOnly"===J.o.pauseOnHover||J.o.pauseLayers&&J.slideshow.isPaused()||J.transitions.layers.timeline.resume(),J.transitions._slideTimeline&&J.transitions.layers.timeline.state.finished&&J.transitions._slideTimeline.progress()<e&&J.functions.setStates(J.transitions.layers.timeline,{finished:!1}),J.slideshow.start()})},sequences:function(){for(var e=0;e<J.slides.count;e++)J.slideshow.sequence.normal[e]=e+1;J.slideshow.sequence.randomized=J.functions.shuffleArray(ie.merge([],J.slideshow.sequence.normal))},normalizedSequence:function(){var e=J.o.shuffleSlideshow?"randomized":"normal",t=J.slideshow.sequence[e],i=J.slideshow.sequence[e].length,a=t.indexOf(J.slides.first.index);J.slideshow.sequence.normalized=[];for(var s=a;s<i;s++)J.slideshow.sequence.normalized.push(t[s]);for(var r=0;r<a;r++)J.slideshow.sequence.normalized.push(t[r])},prevNext:function(e){switch("prev"!==e&&"first"!==e||!J.o.twoWaySlideshow?J.slideshow.direction="next":J.slideshow.direction="prev",e){case"prev":J.slideshow.changeTo(J.slideshow.get.slideInSequence("prev"),!0);break;case"next":J.slideshow.changeTo(J.slideshow.get.slideInSequence("next"),!0);break;case"first":J.slideshow.changeTo(1,!0);break;case"last":J.slideshow.changeTo(J.slides.count,!0)}}},get:{sequence:function(){var e="normal";return J.o.playByScroll?e="normalized":J.o.shuffleSlideshow&&(e="randomized"),e},slideInSequence:function(e){var t=J.slideshow.sequence[this.sequence()],i=t.indexOf(J.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 J.slideshow.sequence[this.sequence()].indexOf(e)}},cycles:{set:function(){0<J.o.cycles&&(J.slideshow.curCycle=1,J.slideshow.cycleSlideIndex=J.slideshow.get.indexOfSlideInSequence(J.slides.first.index))},check:function(e){if(J.slideshow.get.indexOfSlideInSequence(e)===J.slideshow.cycleSlideIndex)return++J.slideshow.curCycle===J.o.cycles+1}},start:function(e){!this.isPaused()&&J.transitions._slideTimeline&&J.transitions.layers.timeline.state.finished&&this.changeTo(J.slides.next.index)},stop:function(){J.functions.setStates(this,{running:!1,paused:!0})},changeTo:function(e,t,i){if(!document.body.contains(L))return!1;if(J.slides.current.index===e&&!J.slideshow.forceSlideChangeTo)return!1;if(J.slideshow.forceSlideChangeTo=null,!this.firstStart&&J.api.hasEvent("slideChangeWillStart")){var a=J.api.triggerEvent("slideChangeWillStart",J.api.eventData());if(!1===a)return;ie.isNumeric(a)&&(e=parseInt(a))}e>J.slides.count||e<1?J.debugMode&&(J.debug.add("group","slideshow"),J.debug.add("warn","slideshow.invalidSlideIndex",[e,J.slides.count]),J.debug.groupEnd()):J.slider.isBusy()||J.slideshow.state.pausedByVideo&&!t?!J.slider.state.preloadingImages&&J.slider.state.animatingSlides&&J.transitions._slideTransition&&(J.slideshow.forceSlideChangeTo=e,J.slideshow.should.change=!0,J.transitions._slideTransition.progress(1),J.transitions.timelines.set("currentforce",function(e,t){e.progress(1)})):(J.functions.setStates(J.transitions.layers.timeline,{finished:!1}),J.slideshow.should.change=!1,J.debugMode&&J.debug.add("group","slideshow"),t?(i&&(J.navigation.direction=J.slides.current.index>e?"prev":"next"),J.o.twoWaySlideshow&&("prev"===J.navigation.direction?J.slideshow.direction="prev":J.slideshow.direction="next"),J.debugMode&&(J.debug.add("log","slideshow.changedByUser",!1),J.o.twoWaySlideshow&&J.debug.add("log","slideshow.setdir",J.slideshow.direction))):J.navigation.direction=J.slideshow.direction,J.transitions.timers.reverse(),J.gui.media.hideUnmute(),J.slides.set.nextSlideIndex(e),J.debugMode&&(J.debug.add("log","slideshow.change",[J.slides.current.index,J.slides.next.index,J.slideshow.direction,J.navigation.direction]),J.debug.groupEnd()),J.functions.setStates(this,{pausedByVideo:!1,changed:++this.state.changed}),J.functions.setStates(J.slider,{changingSlides:!0}),J.slider.state.animatingSlides&&J.transitions._slideTransition&&J.transitions.timelines.set("currentforce",function(e,t){e.progress(1)}),J.preload.imagesOfSlide(J.slides.next.index,function(){J.transitions.start()}))},forceStop:function(){J.navigation.stop(),ie.each(J.timeouts,function(e,t){clearTimeout(J.timeouts[e])}),J.transitions.timers.stop(),J.transitions._slideTimeline.stop(),J.transitions._slideTimelineAlternate.stop(),J.functions.setStates(J.transitions.layers.timeline,{stopped:!0,running:!1}),$.find("*").stop(!0,!1).dequeue()},restart:function(){$.find("*").stop(),J.navigation.change(J.slides.current.index,J.slideshow.direction)}},J.media={properties:{$allMediaLayers:ie(),playingInCurSlide:0,endedInCurSlide:0,userDidUnmute:!1},init:function(){J.functions.setStates(J.slider,{waitingForYouTube:!1,waitingForVimeo:!1}),J.media.properties.allowToUnmute=!0,J.media.youtube.init(),J.media.vimeo.init(),J.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=J.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=ie("<div>").addClass("ls-vpcontainer").appendTo(e),t.mediaSettings.poster&&ie("<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,""),J.media.functions.checkSlideshowWaiting()},mediaElements:function(e,t,i){var a=ie("<div>").addClass("ls-vpcontainer").appendTo(e);!("autoplay"in i.mediaSettings)&&J.o.autoPlayVideos||i.mediaSettings.autoplay?"instant"===i.mediaSettings.autoplay?e.addClass("ls-instant-autoplay"):e.addClass("ls-autoplay"):ie("<div>").appendTo(a).addClass("ls-playvideo"),t.is("iframe")&&i.mediaProperties.poster&&ie("<div>").appendTo(a).addClass("ls-videopreview").attr({style:"background-image: url("+i.mediaProperties.poster+")"}),t.is("video, audio")&&i.mediaProperties.poster&&ie("<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=ie.extend(!0,{loop:1,playlist:i.mediaProperties.embedID,controls:0,autoplay:0,showinfo:!1,modestbranding:1,thumbnail:!1},J.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions),J.media.set.backgroundVideo(e,i)):(i.mediaProperties.options=ie.extend(!0,{},J.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions,{autoplay:0}),J.media.set.mediaElements(e,t,i));break;case"vimeo":i.is.backgroundVideo?(i.mediaProperties.options=ie.extend(!0,{loop:1,byline:0,portrait:0,title:0,fun:0},J.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions),J.media.set.backgroundVideo(e,i)):(i.mediaProperties.options=ie.extend(!0,{},J.media[i.mediaProperties.type].defaults,i.mediaProperties.embedOptions,{autoplay:0}),J.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?J.media.set.backgroundVideo(e,i):J.media.set.mediaElements(e,t,i)}},thumbnail:function(e,t){switch(t){case"show":e.stop(!0,!0).fadeIn(J.transitions.media.defaults.fadeIn);break;case"hide":e.stop(!0,!0).delay(J.transitions.media.defaults.delay).fadeOut(J.transitions.media.defaults.fadeOut)}}},events:{start:function(e,t,i){var a;J.api.hasEvent("mediaDidStart")&&!i.mediaProperties.alreadyStarted&&J.media.functions.allowedToPlay(e,i)&&((a=J.api.eventData()).event.target=e[0],J.api.triggerEvent("mediaDidStart",a),i.mediaProperties.alreadyStarted=!0)},stop:function(e,t,i){var a;J.api.hasEvent("mediaDidStop")&&i.mediaProperties.alreadyStarted&&((a=J.api.eventData()).event.target=e[0],J.api.triggerEvent("mediaDidStop",a),i.mediaProperties.alreadyStarted=!1)}},unmute:{set:function(e,t,i){("youtube"!==t&&"vimeo"!==t||J.media.properties.allowToUnmute)&&J.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]");(J.o.rememberUnmuteState?e:e.filter("[data-ls-playing], [data-ls-muted-by-browser]")).each(function(){J.media.unmute.singleMediaElement(ie(this))}),J.gui.media.hideUnmute(),J.media.properties.userDidUnmute=!0},singleMediaElement:function(e){var t,i=e.closest(".ls-layer").data(J.defaults.init.dataKey),a=!1;switch(i.mediaProperties.type){case"youtube":J.media.properties.allowToUnmute&&(a=!0,i.mediaProperties.player.unMute());break;case"vimeo":J.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!!(J.slides.current.index===parseInt(e.attr("data-ls-slidein"))||t.is.backgroundVideo&&J.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;J.media.get("notbg,active").each(function(){if(t=ie(this).closest(".ls-layer"),i=t.data(J.defaults.init.dataKey),e){if(!i.mediaProperties.pausedByPerformance)return!0;i.mediaProperties.pausedByPerformance=!1}if(J.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 ie(this).parent().find(".ls-vpcontainer").trigger("playMedia")})},stopSingleMedia:function(e,t){var i=t.mediaProperties.$media;J.media[t.mediaProperties.type].stop(e,i,t,!0),J.media.functions.mediaEnded(i,e,t)},pauseActiveMedia:function(e){var t;J.media.get("notbg,active,playing").each(function(){switch(t=ie(this).closest(".ls-layer").data(J.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)]=ie.isNumeric(decodeURIComponent(i))?parseInt(decodeURIComponent(i)):decodeURIComponent(i)}),a},checkSlideshowState:function(e,t){!t.is.static&&J.o.autoPauseSlideshow&&(J.functions.setStates(J.slideshow,{pausedByVideo:!0}),"auto"==J.o.autoPauseSlideshow&&J.media.properties.playingInCurSlide++)},checkSlideshowWaiting:function(){var e=J.media.properties.playingInCurSlide,t=J.media.get("notbg,active,notstatic,notplaying"),i=t.length;i===e&&0<i&&J.slideshow.state.pausedByVideo&&J.o.autoPauseSlideshow&&!J.timeouts.pausedVideos&&J.slideshow.state.running?J.timeouts.pausedVideos=setTimeout(function(){J.slideshow.state.running?t.each(function(){J.media.functions.mediaEnded(ie(this),ie(this).closest(".ls-layer"),ie(this).closest(".ls-layer").data(J.defaults.init.dataKey))}):J.slideshow.state.pausedByVideo=!1},5e3):J.timeouts.pausedVideos&&(clearTimeout(J.timeouts.pausedVideos),delete J.timeouts.pausedVideos)},playIfAllowed:function(e){var t=e.data(J.defaults.init.dataKey);t.is.mediaLayer&&(te.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||!J.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(J.defaults.init.dataKey).mediaProperties.type;"youtube"!==e&&t||(t||J.layers.get("current,out,youtube")).each(function(){var e=ie(this),t=e.closest(".ls-layer"),i=t.data(J.defaults.init.dataKey);J.media.youtube.stop(t,e,i,a)}),"vimeo"!==e&&t||(t||J.layers.get("current,out,vimeo")).each(function(){var e=ie(this),t=e.closest(".ls-layer"),i=t.data(J.defaults.init.dataKey);J.media.vimeo.stop(t,e,i,a)}),"html5"!==e&&t||(t||J.layers.get("current,out,html5")).each(function(){var e=ie(this),t=e.closest(".ls-layer"),i=t.data(J.defaults.init.dataKey);J.media.html5.stop(t,e,i,a)}),J.media.properties.playingInCurSlide=Math.max(--J.media.properties.playingInCurSlide,0),J.media.properties.endedInCurSlide=Math.max(--J.media.properties.endedInCurSlide,0)},mediaEnded:function(e,t,i){"auto"!=J.o.autoPauseSlideshow||i.is.backgroundVideo||(i.is.static||J.media.properties.endedInCurSlide++,J.media.properties.endedInCurSlide==J.media.properties.playingInCurSlide&&0!==J.media.properties.playingInCurSlide&&J.functions.setStates(J.slideshow,{pausedByVideo:!1})),J.media.set.dataAttribute(e,"not-playing"),J.media.events.stop(e,t,i)},removeFromTimeline:function(e){J.transitions._slideTimeline.kill(null,e.closest(".ls-in-out")[0]),J.transitions._slideTimelineAlternate.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=J.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=ie(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")||J.layers.set.singleLayer(t);var i,a,s,r,o,n,l,d,p=t.data(J.defaults.init.dataKey),c=e.attr("src")||e.attr("data-src"),u=J.media.functions.urlToObject(c),h=(c=c.split("?")[0].split("//")[1]).split("/"),m=h[h.length-1],h=J.media.set.customPoster(t,p);p.mediaProperties={type:"youtube",$media:e,embedURL:c,embedID:m,embedOptions:u},h?(p.mediaProperties.poster=h,J.media.set.properties(t,e,p)):(i=["default.jpg","mqdefault.jpg","hqdefault.jpg","sddefault.jpg","maxresdefault.jpg"],a="https://img.youtube.com/vi/"+c.split("embed/")[1].split("?")[0]+"/",s=a+J.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&&(p.mediaProperties.poster=s,J.media.set.properties(t,e,p))},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&&(J.media.properties.$allMediaLayers=J.media.properties.$allMediaLayers.add(this.$medias.closest(".ls-layer")),J.timeouts.loadYouTube=Math.floor(Date.now()/1e3),window.YT||ie("<script>").attr({src:"https://www.youtube.com/iframe_api",type:"text/javascript"}).appendTo("head"),window.onYouTubeIframeAPIReady=function(){window._layerSlider.globals.youTubeIsReady=!0},J.intervals.isYouTubeReady=setInterval(function(){window.YT&&1===window.YT.loaded||window._layerSlider.globals.youTubeIsReady||3<Math.floor(Date.now()/1e3)-J.timeouts.loadYouTube?(clearInterval(J.intervals.isYouTubeReady),delete J.intervals.isYouTubeReady,delete J.timeouts.loadYouTube,J.media.youtube.$medias.closest(".ls-layer").each(function(){var e=ie(this),t=e.find("iframe"),i=e.data(J.defaults.init.dataKey);e.on("playMedia."+W+" click."+W,".ls-vpcontainer",function(){J.media.set.thumbnail(ie(this),"hide"),J.media.functions.checkSlideshowState(e,i),t.hide(),J.media.youtube.play(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL),setTimeout(function(){t.show()},10)}).on("playBackgroundVideo."+W,function(){J.media.youtube.play(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL),J.layers.set.dataAttribute("add",e,"active")}).on("stopBackgroundVideo."+W,function(){J.media.youtube.stop(e,i.mediaProperties.$media,i,!0),J.layers.set.dataAttribute("add",e,"hidden")}).on("preloadBackgroundVideo."+W,function(){J.media.youtube.createPlayer(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL,!0)})}),J.functions.setStates(J.slider,{waitingForYouTube:!1})):J.functions.setStates(J.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||(J.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||J.media.functions.mediaEnded(i,t,a);break;case 1:J.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?J.media.set.dataAttribute(i,"playing"):J.media.set.dataAttribute(i,"not-playing"),J.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")&&J.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?J.o.rememberUnmuteState&&J.media.properties.userDidUnmute||(i.mediaProperties.player.mute(),"offertounmute"==i.mediaSettings.muted&&J.media.unmute.set(t,i.mediaProperties.type)):s&&(i.mediaProperties.player.mute(),J.media.unmute.set(t,i.mediaProperties.type,!0)),J.media.functions.allowedToPlay(t,i)?J.media.isPlayable(e,i)&&i.mediaProperties.player.playVideo():J.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||J.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),J.media.events.stop(t,e,i))}},vimeo:{defaults:{autoplay:0,autopause:0,wmode:"opaque",playsinline:1},init:function(){var d,e,t=this.$medias=J.slider.$hiddenWrapper.find('iframe[src*="player.vimeo"], iframe[data-src*="player.vimeo"]'),p=J.slider.$hiddenWrapper.find('.ls-slide:eq(0) iframe[src*="player.vimeo"], .ls-slide:eq(0) iframe[data-src*="player.vimeo"]').length;t.length&&(J.timeouts.loadVimeo=Math.floor(Date.now()/1e3),J.media.properties.$allMediaLayers=J.media.properties.$allMediaLayers.add(t.closest(".ls-layer")),d=0,ie("<script>").attr({src:"https://player.vimeo.com/api/player.js",type:"text/javascript"}).appendTo("head"),J.intervals.isVimeoReady=setInterval(function(){J.functions.setStates(J.slider,{waitingForVimeo:!0}),(window.Vimeo||3<Math.floor(Date.now()/1e3)-J.timeouts.loadVimeo)&&(clearInterval(J.intervals.isVimeoReady),delete J.intervals.isVimeoReady,delete J.timeouts.loadVimeo,e())},25),e=function(){var l=0;J.media.vimeo.$medias.each(function(){var t=ie(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")||J.layers.set.singleLayer(i);var a=i.data(J.defaults.init.dataKey),e=t.attr("src")||t.attr("data-src"),s=J.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];J.media.vimeo.defaults.player_id="ls-vimeo-"+d;r=J.media.set.customPoster(i,a);a.mediaProperties={type:"vimeo",$media:t,embedURL:e,embedOptions:s};function n(e){a.mediaProperties.poster=e,(0===p||0<p&&++l==p)&&(window._layerSlider.globals.vimeoIsReady=!0),J.media.set.properties(i,t,a)}r?n(r):ie.getJSON(o,function(e){n(e.thumbnail_url)}),i.on("playMedia."+W+" click."+W,".ls-vpcontainer",function(){J.media.set.thumbnail(ie(this),"hide"),J.media.functions.checkSlideshowState(i,a),J.media.vimeo.play(i,t,a,e)}).on("playBackgroundVideo."+W,function(){J.media.vimeo.play(i,t,a,e),J.layers.set.dataAttribute("add",i,"active")}).on("stopBackgroundVideo."+W,function(){J.media.vimeo.stop(i,t,a,!0),J.layers.set.dataAttribute("add",i,"hidden")}).on("preloadBackgroundVideo."+W,function(){J.media.vimeo.createPlayer(i,t,a,e,!0)})}),J.functions.setStates(J.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(){J.media.set.dataAttribute(t,"playing"),J.media.events.start(t,e,i)}),i.mediaProperties.player.on("pause",function(){J.media.set.dataAttribute(t,"not-playing")}),i.mediaProperties.player.on("ended",function(){J.media.functions.mediaEnded(t,e,i)}),i.mediaProperties.player.ready().then(function(){i.mediaProperties.playerState="ready",i.mediaSettings.volume&&!i.mediaSettings.muted&&ie.isNumeric(i.mediaSettings.volume)&&0<=i.mediaSettings.volume&&i.mediaSettings.volume<=100&&i.mediaProperties.player.setVolume(i.mediaSettings.volume/100),s||J.media.vimeo.play(e,t,i,a)})},play:function(t,i,a,s,e){void 0!==i.attr("data-ls-muted-by-browser")&&J.media.unmute.singleMediaElement(i),a.mediaProperties.player?(!a.is.backgroundVideo||"muted"in a.mediaSettings||a.mediaProperties.player.setVolume(0),a.mediaSettings.muted&&(J.o.rememberUnmuteState&&J.media.properties.userDidUnmute?J.o.rememberUnmuteState&&J.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&&J.media.unmute.set(i,a.mediaProperties.type))),e?(a.mediaProperties.player.setVolume(0),J.media.unmute.set(i,a.mediaProperties.type,!0)):a.mediaProperties.player.getVolume().then(function(e){0==e&&"offertounmute"==a.mediaSettings.muted&&J.media.unmute.set(i,a.mediaProperties.type)}),J.media.functions.allowedToPlay(i,a)?a.mediaProperties.player.play().then(function(){}).catch(function(e){switch(e.name){case"PasswordError":window.console&&(console.error(J.defaults.slider.errorText),console.error("Vimeo video is password protected and may cause playback issues."));break;case"PrivacyError":window.console&&(console.error(J.defaults.slider.errorText),console.error("Vimeo video is private and may cause playback issues."));break;default:J.media.vimeo.play(t,i,a,s,!0)}}):J.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||J.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),J.media.events.stop(t,e,i))}},html5:{singleInit:function(t){var e,i,a,s,r=t.closest(".ls-layer"),o=r.data(J.defaults.init.dataKey),n=t.find("source"),l=J.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=ie(this).attr("type"))&&!1!==e||(i=ie(this).attr("src"),a=i.split("."),s=a[a.length-1].toLowerCase(),ie(this).attr("type",ie(this).parent()[0].tagName.toLowerCase()+"/"+s)),""!==t[0].canPlayType(ie(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&&(J.media.set.properties(r,t,o),t.on("ended."+W,function(){J.media.functions.mediaEnded(t,r,o)}).on("play."+W,function(){}).on("playing."+W,function(){J.media.events.start(t,r,o),J.media.set.dataAttribute(t,"playing")}).on("pause."+W,function(){J.media.set.dataAttribute(t,"not-playing")}),r.on("playMedia."+W+" click."+W,".ls-vpcontainer",function(e){J.media.set.thumbnail(ie(this),"hide"),J.media.functions.checkSlideshowState(r,o),J.media.html5.play(r,t,o)}).on("playBackgroundVideo."+W,function(){J.media.html5.play(r,t,o),J.layers.set.dataAttribute("add",r,"active")}).on("stopBackgroundVideo."+W,function(){J.media.html5.stop(r,t,o,!0),J.layers.set.dataAttribute("add",r,"hidden")}))},init:function(){var e,t=J.slider.$hiddenWrapper.find("video, audio");J.media.properties.$allMediaLayers=J.media.properties.$allMediaLayers.add(t.closest(".ls-layer")),t.length&&(e=0,t.each(function(){ie(this).closest(".ls-layer").data(J.defaults.init.dataKey).is.mediaLayer=!0,ie(this).attr("id","ls-html5-"+ ++e).attr("playsinline",""),ie(this)[0].pause()}))},play:function(e,t,i){var a;i.mediaProperties.canBePlayed&&(void 0!==t.attr("data-ls-muted-by-browser")&&J.media.unmute.singleMediaElement(t),i.mediaSettings.muted&&(J.o.rememberUnmuteState&&J.media.properties.userDidUnmute?J.o.rememberUnmuteState&&J.media.properties.userDidUnmute&&(t[0].muted=!1):(t[0].muted=!0,"offertounmute"==i.mediaSettings.muted&&J.media.unmute.set(t,i.mediaProperties.type))),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&&J.functions.setStates(J.slideshow,{pausedByVideo:!1}),J.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||J.media.set.thumbnail(ie(this),"show"),J.media.events.stop(t,e,i))}}},J.yourLogo={init:function(){J.o.yourLogo&&(this.$element=ie("<img>").addClass("ls-yourlogo").appendTo($).attr("style",J.o.yourLogoStyle).css({visibility:"hidden",display:"bock"}).on("load."+W,function(){var e=J.yourLogo.$element?500:0;J.timeouts.yourLogo=setTimeout(function(){delete J.timeouts.yourLogo,J.yourLogo.$element.data("originalWidth",J.yourLogo.$element.width()),J.yourLogo.$element.data("originalHeight",J.yourLogo.$element.height()),"auto"!=J.yourLogo.$element.css("left")&&J.yourLogo.$element.data("originalLeft",J.yourLogo.$element[0].style.left),"auto"!=J.yourLogo.$element.css("right")&&J.yourLogo.$element.data("originalRight",J.yourLogo.$element[0].style.right),"auto"!=J.yourLogo.$element.css("top")&&J.yourLogo.$element.data("originalTop",J.yourLogo.$element[0].style.top),"auto"!=J.yourLogo.$element.css("bottom")&&J.yourLogo.$element.data("originalBottom",J.yourLogo.$element[0].style.bottom),!1!==J.o.yourLogoLink&&ie("<a>").appendTo($).attr("href",J.o.yourLogoLink).attr("target",J.o.yourLogoTarget).css({textDecoration:"none",outline:"none"}).append(J.yourLogo.$element),J.yourLogo.$element.css({display:"none",visibility:"visible"}),J.yourLogo.resize()},e)}).attr("src",J.o.yourLogo))},resize:function(){this.$element.css({width:this.$element.data("originalWidth")*J.resize.ratio,height:this.$element.data("originalHeight")*J.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"))*J.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"))*J.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"))*J.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"))*J.resize.ratio;this.$element.css({left:e,right:t,top:i,bottom:a})}},J.gui={navigation:{init:function(){J.o.navPrevNext&&this.prevNext.init(),(J.o.navStartStop||J.o.navButtons)&&this.bottom.init()},prevNext:{init:function(){ie('<a class="ls-gui-element ls-nav-prev" aria-label="jump to the previous slide" href="#" />').on("click."+W,function(e){e.preventDefault(),$.layerSlider("prev")}).appendTo($),ie('<a class="ls-gui-element ls-nav-next" aria-label="jump to the next slide" href="#" />').on("click."+W,function(e){e.preventDefault(),$.layerSlider("next")}).appendTo($),J.o.hoverPrevNext&&this.setHover()},setHover:function(){$.find(".ls-nav-prev, .ls-nav-next").css({display:"none"}),$.on("mouseenter."+W,function(){J.gui.navigation.forceHide||$.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeIn(300)}).on("mouseleave."+W,function(){$.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeOut(300)})}},bottom:{init:function(){this.wrapper=ie('<div class="ls-gui-element ls-bottom-nav-wrapper" />').appendTo($),J.o.navButtons&&"always"!=J.o.thumbnailNavigation&&this.bullets.init(),J.o.navStartStop?this.createStartStop():"always"!=J.o.thumbnailNavigation&&this.createSides(),J.o.hoverBottomNav&&"always"!=J.o.thumbnailNavigation&&this.setHover(),"always"==J.o.thumbnailNavigation&&(this.wrapper.addClass("ls-above-thumbnails"),this.thumbnails.init())},bullets:{init:function(){var t=this;ie('<span class="ls-bottom-slidebuttons" />').appendTo($.find(".ls-bottom-nav-wrapper"));for(var e=0;e<J.slides.count;e++){var i=ie('<a href="#" aria-label="jump to slide '+(e+1)+'" />').appendTo($.find(".ls-bottom-slidebuttons")).data("index",e+1).on("click."+W,function(e){e.preventDefault(),$.layerSlider(ie(this).data("index"))});"hover"==J.o.thumbnailNavigation&&i.on("mouseenter."+W,function(){var e=ie(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."+W,function(){0===ie(this).width()?t.hoverImage.css({position:"relative",margin:"0 auto",left:"auto"}):t.hoverImage.css({position:"absolute",marginLeft:-ie(this).width()/2,left:"50%"}),t.hoverImage.css("display","none").stop(!0,!0).fadeIn(250)}).attr("src",J.slides[e.data("index")].data.thumbnail),t.hoverWrapper.css({display:"block"}).stop().animate({left:ie(this).position().left+(ie(this).width()-t.hoverWrapper.outerWidth())/2},250),t.hoverWrapperInner.css({display:"none",visibility:"visible"}).stop().fadeIn(250)}).on("mouseleave."+W,function(){t.hoverWrapperInner.stop().fadeOut(250,function(){t.hoverWrapper.css({visibility:"hidden",display:"block"})})})}t.set.active(J.slides.first.index),"hover"==J.o.thumbnailNavigation&&t.set.hover()},set:{active:function(e){void 0===e&&(e=J.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=J.gui.navigation.bottom.bullets,t=ie('<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:J.o.tnWidth,height:J.o.tnHeight}),e.hoverWrapper=$.find(".ls-thumbnail-hover"),e.hoverImage=e.hoverWrapper.find("img").css({height:J.o.tnHeight}),e.hoverWrapperInner=$.find(".ls-thumbnail-hover-inner").css({visibility:"hidden",display:"block"}),t.appendTo($.find(".ls-bottom-slidebuttons"))}}},createStartStop:function(){this.buttonStart=ie('<a class="ls-nav-start" aria-label="start slideshow" href="#" />').on("click."+W,function(e){e.preventDefault(),$.layerSlider("start")}).prependTo($.find(".ls-bottom-nav-wrapper")),this.buttonStop=ie('<a class="ls-nav-stop" aria-label="stop slideshow" href="#" />').on("click."+W,function(e){e.preventDefault(),$.layerSlider("stop")}).appendTo($.find(".ls-bottom-nav-wrapper")),J.o.autoStart?this.setStartStop("start"):this.setStartStop("stop")},setStartStop:function(e){if(J.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(){ie('<span class="ls-nav-sides ls-nav-sideleft" />').prependTo($.find(".ls-bottom-nav-wrapper")),ie('<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."+W,function(){J.gui.navigation.forceHide||e.wrapper.stop(!0,!0).fadeIn(300)}).on("mouseleave."+W,function(){e.wrapper.stop(!0,!0).fadeOut(300)})},switchHelper:function(e){if(J.o.hoverBottomNav&&!$.hasClass("ls-hover"))switch(e){case"on":J.gui.navigation.bottom.thumbnails.wrapper.css({visibility:"hidden",display:"block"});break;case"off":J.gui.navigation.bottom.thumbnails.wrapper.css({visibility:"visible",display:"none"})}},thumbnails:{init:function(){this.wrapper=ie('<div class="ls-gui-element ls-thumbnail-wrapper '+("contain"!==J.o.tnFillMode?"ls-thumbnail-fill":"")+'"></div>').appendTo($),ie('<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."+W,function(){ie(this).addClass("ls-thumbnail-slide-hover")}).on("mouseleave."+W,function(){ie(this).removeClass("ls-thumbnail-slide-hover"),J.gui.navigation.bottom.thumbnails.scroll()}).on("mousemove."+W,function(e){e=parseInt(e.pageX-ie(this).offset().left)/ie(this).width()*(ie(this).width()-ie(this).find(".ls-thumbnail-slide").width());ie(this).find(".ls-thumbnail-slide").stop().css({marginLeft:e})});for(var e=0;e<J.slides.count;e++){var t=e+1,i=J.slides[t].data.thumbnail,a="";"contain"!==J.o.tnFillMode&&(i="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",a='style="background-image: url('+J.slides[t].data.thumbnail+"); background-size: "+J.o.tnFillMode+';"');i=ie('<a href="#" class="ls-thumb-'+(e+1)+'"  aria-label="jump to slide '+(e+1)+'"><img '+a+' src="'+i+'"></a>');J.slides[t].data.tnAlt&&i.find("img").attr("alt",J.slides[t].data.tnAlt),i.data("index",t).on("click."+W,function(e){e.preventDefault(),$.layerSlider(ie(this).data("index"))}).appendTo($.find(".ls-thumbnail-slide")),"ontouchstart"in window||i.on("mouseenter."+W,function(){ie(this).children().stop().fadeTo(300,J.o.tnActiveOpacity/100)}).on("mouseleave."+W,function(){ie(this).children().hasClass("ls-thumb-active")||ie(this).children().stop().fadeTo(300,J.o.tnInactiveOpacity/100)})}J.gui.navigation.bottom.buttonStart&&J.gui.navigation.bottom.buttonStop&&(J.gui.navigation.bottom.wrapper=ie('<div class="ls-bottom-nav-wrapper ls-below-thumbnails"></div>').appendTo($),J.gui.navigation.bottom.buttonStart.clone().on("click."+W,function(e){e.preventDefault(),$.layerSlider("start")}).appendTo(J.gui.navigation.bottom.wrapper),J.gui.navigation.bottom.buttonStop.clone().on("click."+W,function(e){e.preventDefault(),$.layerSlider("stop")}).appendTo(J.gui.navigation.bottom.wrapper)),J.o.hoverBottomNav&&this.setHover()},setHover:function(){var e=this;e.wrapper.css("display","none"),J.gui.navigation.bottom.wrapper&&(J.gui.navigation.bottom.wrapper="block"==J.gui.navigation.bottom.wrapper.css("display")?J.gui.navigation.bottom.wrapper:$.find(".ls-above-thumbnails"),J.gui.navigation.bottom.wrapper.css("display","none")),$.on("mouseenter."+W,function(){$.addClass("ls-hover"),J.gui.navigation.forceHide||(e.wrapper.stop(!0,!0).fadeIn(300),J.gui.navigation.bottom.wrapper&&J.gui.navigation.bottom.wrapper.stop(!0,!0).fadeIn(300))}).on("mouseleave."+W,function(){$.removeClass("ls-hover"),e.wrapper.stop(!0,!0).fadeOut(300),J.gui.navigation.bottom.wrapper&&J.gui.navigation.bottom.wrapper.stop(!0,!0).fadeOut(300)})},change:function(e){e=e||J.slides.next.index;$.find(".ls-thumbnail-slide a:not(.ls-thumb-"+e+" )").children().each(function(){ie(this).removeClass("ls-thumb-active").stop().fadeTo(750,J.o.tnInactiveOpacity/100)}),$.find(".ls-thumbnail-slide a.ls-thumb-"+e).children().addClass("ls-thumb-active").stop().fadeTo(750,J.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(){J.gui.navigation.bottom.switchHelper("on");var e=-1==J.slider.initial.width.indexOf("%")?parseInt(J.slider.initial.originalWidth):$.width(),t=$.find(".ls-thumbnail"),e=-1==J.o.tnContainerWidth.indexOf("%")?parseInt(J.o.tnContainerWidth):parseInt(e/100*parseInt(J.o.tnContainerWidth));$.find(".ls-thumbnail-slide a").css({width:parseInt(J.o.tnWidth*J.resize.ratio),height:parseInt(J.o.tnHeight*J.resize.ratio)}),$.find(".ls-thumbnail-slide a:last").css({margin:0}),$.find(".ls-thumbnail-slide").css({height:parseInt(J.o.tnHeight*J.resize.ratio)}),t.css({width:e*Math.floor(100*J.resize.ratio)/100}),t.width()>$.find(".ls-thumbnail-slide").width()&&t.css({width:$.find(".ls-thumbnail-slide").width()}),J.gui.navigation.bottom.switchHelper("off")}}}},media:{init:function(){0<J.media.properties.$allMediaLayers.length&&ie('<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."+W,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-"+J.o.skin);var e,t=J.o.skinsPath+J.o.skin+"/skin.css",i=ie("head").length?ie("head"):ie("body");ie('link[href="'+t+'"]').length?(e=ie('link[href="'+t+'"]'),J.gui.skin.isLoaded||(J.gui.skin.isLoaded=!0,J.timeouts.skinLoad1=setTimeout(function(){delete J.timeouts.skinLoad1,J.slider.init()},150))):e=document.createStyleSheet?(document.createStyleSheet(t),ie('link[href="'+t+'"]')):ie('<link rel="stylesheet" href="'+t+'" type="text/css" />').appendTo(i),e.on("load."+W,function(){J.gui.skin.isLoaded||(J.gui.skin.isLoaded=!0,J.timeouts.skinLoad2=setTimeout(function(){delete J.timeouts.skinLoad2,J.slider.init()},150))}),M.on("load."+W,function(){J.gui.skin.isLoaded||(J.gui.skin.isLoaded=!0,J.timeouts.skinLoad3=setTimeout(function(){delete J.timeouts.skinLoad3,J.slider.init()},150))}),J.timeouts.skinLoad4=setTimeout(function(){J.gui.skin.isLoaded||(J.gui.skin.isLoaded=!0,delete J.timeouts.skinLoad4,J.slider.init())},1e3)}},shadow:{init:function(){this.set(),this.resize()},set:function(){this.$element=ie('<div class="ls-gui-element ls-shadow"></div>').appendTo($),"block"!=this.$element.css("display")||this.$element.find("img").length||(this.show=function(){J.gui.shadow.$element.css({display:"none",visibility:"visible"}).fadeIn(500,function(){J.gui.shadow.show=!1})},this.image=ie("<img>").attr("src",J.o.skinsPath+J.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}):J.timeouts.resizeShadow=setTimeout(function(){delete J.timeouts.resizeShadow,J.gui.shadow.resize()},50))}},timers:{init:function(){J.o.showBarTimer&&this.bar.create(),J.o.showCircleTimer&&this.circle.create();var e=!1;(e=J.o.showSlideBarTimer?ie("<div>").insertAfter($):ie('[data-slidebar-for="'+$.attr("id")+'"], [data-slidebar-for="'+W+'"]')).length&&(e.addClass("ls-gui-element"),this.slidebar.create(e))},bar:{create:function(){this.$element=ie("<div>").addClass("ls-gui-element ls-bar-timer").appendTo($)}},circle:{create:function(){this.$element=ie("<div>").addClass("ls-gui-element ls-circle-timer").appendTo($),this.$element.append(ie('<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||J.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% - "+J.gui.timers.slidebar.sliderContainerElementWidth[t]+"px )"),o.$sliderContainerElement[t].css({left:s}),J.transitions._slideTimeline&&J.transitions._slideTimeline.progress("string"==typeof s?J.transitions.layers.timeline.progress:s/(o.containerElementWidth[t]-o.sliderContainerElementWidth[t])*J.transitions.layers.timeline.progress)}function a(e){"dragging"==J.gui.timers.slidebar.state&&(J.transitions._slideTimeline&&J.transitions.layers.timeline.state.finished&&J.transitions._slideTimeline.progress()!==J.transitions.layers.timeline.progress&&J.functions.setStates(J.transitions.layers.timeline,{finished:!1}),ie(document).off("mousemove."+W),ie("body").prop("unselectable",!1).removeClass("ls-unselectable"),J.o.pauseLayers&&!J.slideshow.state.running||J.slider.state.isPaused||!J.transitions._slideTimeline||J.o.playByScroll||(!0===J.transitions.layers.timeline.state.started?J.transitions.layers.timeline.resume():J.transitions.layers.timeline.play()),J.gui.timers.slidebar.state=!1)}var s,r=ie(document),o=this;ie.each(e,function(t,e){o.$containerElement[t]=ie(e).addClass("ls-slidebar-container "+W),o.$element[t]=ie("<div>").addClass("ls-slidebar").appendTo(o.$containerElement[t]),o.$progressBarElement[t]=ie("<div>").addClass("ls-progressbar").appendTo(o.$element[t]),o.$sliderContainerElement[t]=ie("<div>").addClass("ls-slidebar-slider-container").appendTo(o.$containerElement[t]),o.$sliderElement[t]=ie("<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."+W,function(e){i(e,t)}),o.$containerElement[t].on("touchend."+W,function(e){a()}),o.$containerElement[t].on("mousedown."+W+" touchstart."+W,function(e){J.transitions.layers.timeline.pause(0),ie("body").prop("unselectable",!0).addClass("ls-unselectable"),ie(document).on("mousemove."+W,function(e){i(e,t)}),i(e,t),J.gui.timers.slidebar.state="dragging"}),r=r.add(o.$sliderElement[t])}),ie("body").on("mouseup."+W,function(e){a()})}}},loadingIndicator:{init:function(){this.$element=ie("<div>").css({display:"none"}).addClass("ls-gui-element ls-loading-container").appendTo($),ie("<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)}}},J.navigation={direction:"next",init:function(){1<J.slides.count&&(this.set.keyboard(),this.set.touch())},set:{keyboard:function(){J.o.keybNav&&ie("body").on("keydown."+W,function(e){ie(e.target).is(":input")||J.slider.isAnimating||J.slider.isPreloading||(37==e.which?J.navigation.prev():39==e.which&&J.navigation.next())})},touch:function(){"ontouchstart"in window&&J.o.touchNav&&(J.slider.$innerWrapper.on("touchstart."+W,function(e){e=e.touches||e.originalEvent.touches;1==e.length&&(J.device.touchStartX=J.device.touchEndX=e[0].clientX)}),J.slider.$innerWrapper.on("touchmove."+W,function(e){var t=e.touches||e.originalEvent.touches;1==t.length&&(J.device.touchEndX=t[0].clientX),45<Math.abs(J.device.touchStartX-J.device.touchEndX)&&e.preventDefault()}),J.slider.$innerWrapper.on("touchend."+W,function(e){45<Math.abs(J.device.touchStartX-J.device.touchEndX)&&(0<J.device.touchStartX-J.device.touchEndX?$.layerSlider("touchNext"):$.layerSlider("touchPrev"))}))}},prev:function(){(!J.slider.isPopup||J.slider.isPopup&&J.slider.state.popupIsVisible)&&(this.direction="prev",this.forceDirection="prev",J.slideshow.set.prevNext("prev"))},next:function(){(!J.slider.isPopup||J.slider.isPopup&&J.slider.state.popupIsVisible)&&(this.direction="next",this.forceDirection="next",J.slideshow.set.prevNext("next"))},start:function(){J.functions.setStates(J.slideshow,{running:!0,paused:!1}),!0===J.slideshow.state.pausedByLastCycle&&J.functions.setStates(J.slideshow,{pausedByLastCycle:!1}),J.gui.navigation.bottom.setStartStop("start"),J.slideshow.state.pausedByHover||1!==J.transitions._slideTimeline.timeScale()&&J.transitions.layers.timeline.resume(),J.slideshow.start()},stop:function(){J.gui.navigation.bottom.setStartStop("stop"),J.o.pauseLayers&&J.transitions.layers.timeline.pause(),J.slideshow.stop()}},J.preload={init:function(){J.slider.$hiddenWrapper.find(".ls-slide img").each(function(){var e,t=ie(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),J.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(ie.trim(e).split(" ")[1])}),a.maxWidth=Math.max.apply(null,e)),t.removeAttr("width height sizes srcset loading"),ie.isEmptyObject(a)||(t.data(J.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!==J.slides[e].wrapped?(this.slideIndex=e,t?(this.onCompleteCallback=t,J.functions.setStates(J.slider,{preloadingImages:!0}),J.gui.loadingIndicator.show()):this.onCompleteCallback=!1,J.slider.canShow&&$.css({visibility:"visible"}),this.preImages=[],i=this,J.slider.$hiddenWrapper.find(".ls-slide:eq("+(i.slideIndex-1)+") *").each(function(){a=ie(this),s=this;var e,t=a.data(J.defaults.init.dataKey);a.is("img")?(a.data("src")&&a.attr("src",a.data("src")),t&&t.attributes&&t.attributes.srcSet&&J.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,J.slides[i.slideIndex].data.$background.attr("src",e)),J.preload.preImages.push([e,a])):"none"!==a.css("background-image")&&-1!==a.css("background-image").indexOf("url")&&J.preload.preImages.push([a.css("background-image").match(/url\(['"]?(.+?)['"]?\)/)[1],a])}),J.transitions.firstSlide&&J.o.globalBGImage&&J.preload.preImages.push([J.o.globalBGImage,ie()]),this.thumbnailsAreLoaded||this.thumbnails(),0===this.preImages.length?this.onComplete():this.start()):J.slider.shouldResize&&t?(J.resize.setLayers(J.layers.get("next, bg")),J.resize.layers({callback:t})):t&&t()},thumbnails:function(){for(var e=J.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(){J.debugMode&&(J.debug.add("group","preload"),J.debug.add("log","preload.info",this.slideIndex)),this.preloadedImagesCount=0;for(var e,t=this,i=function(){++t.preloadedImagesCount==t.preImages.length&&(J.debugMode&&J.debug.groupEnd(),t.onComplete())},a=function(){J.debugMode&&(e=this.src.substring(this.src.lastIndexOf("/")+1,this.src.length),J.debug.add("log","preload.success",e)),this.originalLayer.data("preloadedWidth",this.width),this.originalLayer.data("preloadedHeight",this.height),i()},s=function(){J.debugMode&&(e=this.src.substring(this.src.lastIndexOf("/")+1,this.src.length),J.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]}},onComplete:function(){var s=this;this.onCompleteCallback?(J.layers.wrap(this.slideIndex),function e(){var t,i,a;0!==J.slides[s.slideIndex].$layers.length?J.timeouts.waitForWrap=setTimeout(e,100):(delete J.timeouts.waitForWrap,J.functions.setStates(J.transitions.layers.parallax,{ready:!0}),ie(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({visibility:"visible"}),J.slides[s.slideIndex].wrapped=!0,t=!(!window._layerSlider.globals.youTubeIsReady&&J.layers.get("next,in,youtube,bgvideo").length),i=!(!window._layerSlider.globals.vimeoIsReady&&J.layers.get("next,in,vimeo,bgvideo").length),a=function(){J.gui.loadingIndicator.hide(),J.slider.shouldResize?(J.resize.setLayers(J.layers.get("next, bg")),J.resize.layers({callback:s.onCompleteCallback})):s.onCompleteCallback()},t&&i?a():J.intervals.waitForJSApisLoaded=setInterval(function(){(t||window._layerSlider.globals.youTubeIsReady)&&(i||window._layerSlider.globals.vimeoIsReady)&&(clearInterval(J.intervals.waitForJSApisLoaded),delete J.intervals.waitForJSApisLoaded,a())},50))}()):J.layers.wrap(this.slideIndex,!0),J.functions.setStates(J.slider,{preloadingImages:!1})}},J.resize={setLayers:function(e){this.$responsiveLayers=e.add(J.layers.get("active")),J.slides.next.data.$backgroundVideo.length&&(this.$responsiveLayers=this.$responsiveLayers.add(J.slides.next.data.$backgroundVideo))},all:function(e={}){return!(J.slider.state.isHidden&&!J.slider.isPopup)&&(!!document.body.contains(L)&&(J.api.hasEvent("sliderWillResize")&&J.api.triggerEvent("sliderWillResize",J.api.eventData()),this.slider(!!e.forceToGetParentWidth),J.o.performanceMode&&this.performance(),J.slider.isScene&&!J.slider.$spacingWrapper.is("[data-disabled-scene]")&&this.scene(),this.navigation(),this.layers(),this.yourLogo(),this.shadow(),this.timers(),J.slides.indexesCreated&&(J.o.allowRestartOnResize&&J.transitions.layers.timeline.shouldRestart||J.transitions.layers.timeline.forceRestart)&&(J.transitions.layers.timeline.forceRestart=!1,J.functions.resetSlideTimelines(),J.transitions.layers.timeline.create(!0),J.slider.isScrollScene&&J.transitions._slideTimeline&&J.transitions.scrollscene.animate()),void(J.api.hasEvent("sliderDidResize")&&J.api.triggerEvent("sliderDidResize",J.api.eventData()))))},viewport:function(){M.scrollTop(Math.round(J.slider.offset.top)-(te.viewport.height-J.slider.height)/2)},slider:function(e){if(!document.body.contains(L))return!1;te.viewport.width||M.trigger("resize.lsGlobal"),J.o.fixFloatedContainers&&$.css("display","none");var t,i,a,s=J.slider.$parentWithNumericWidthValue&&0<J.slider.$parentWithNumericWidthValue.width()&&!e?J.slider.$parentWithNumericWidthValue:J.functions.getSliderClosestParentElementWithNumericValueOfProperty("width"),r=J.slider.initial,o=J.slider.$parentWithNumericWidthValuePercent?s.width()/100*J.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(J.o.fixFloatedContainers&&$.css("display","block"),-1!==l.indexOf("%")?l=o/100*parseInt(l):-1!==l.indexOf("vw")&&(l=te.viewport.width/100*parseInt(l)),J.slider.state.inFullscreen?$[0].style.maxWidth="":0!==r.maxWidth&&($[0].style.maxWidth=l),l<(o-=d+e)&&0<=l&&(o=l),J.o.fitScreenWidth&&("fullwidth"===n||"fullsize"===n&&"fitheight"!==J.o.fullSizeMode&&"fitwidth"!==J.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=te.viewport.width),o-=r.skinWidth,te.getScreenSize(),J.slider.state.inFullscreen&&(o=te.screen.width),n){case"responsive":0<J.o.maxRatio&&(o=Math.min(r.width*J.o.maxRatio,o)),t=(J.slider.state.inFullscreen?(te.screen.ratio>r.ratio?this.ratio=te.screen.height/r.height:this.ratio=te.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<J.o.responsiveUnder?(this.ratio=o/J.o.responsiveUnder,Math.round(r.height*this.ratio)):J.slider.state.inFullscreen?te.screen.ratio>r.layersWidth/r.height?(this.ratio=te.screen.height/r.height,te.screen.height):(this.ratio=te.screen.width/r.layersWidth,r.height*this.ratio):(this.ratio=1,r.height);break;case"fullsize":switch(J.o.fullSizeMode.toLowerCase()){case"normal":t=te.viewport.height-r.skinHeight;break;case"hero":var p=Math.max($.offset().top,0),c=J.slider.isScene?J.slider.$spacingWrapper:$;J.slider.isScene&&(p=0);var u=ie(J.o.calculateOffsetFrom).length?ie(J.o.calculateOffsetFrom).height()+ie(J.o.calculateOffsetFrom)[0].getBoundingClientRect().top:0;u&&c.css("top",u),(t=te.viewport.height-r.skinHeight-(u||p))<=0&&(t=te.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=te.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,J.o.maxRatio=1,L.style.maxWidth="none"}this.ratio=J.o.maxRatio&&0<J.o.maxRatio&&this.ratio>J.o.maxRatio?J.o.maxRatio:this.ratio,L.style.width=o+"px",L.style.height=t+"px",J.slider.width=o,J.slider.height=t,J.slider.$layersWrapper.css({"--sw":J.slider.width+"px","--sh":J.slider.height+"px"}),te.isMobile?768<=te.viewport.width||te.viewport.width>te.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"),J.o.marginTop&&(i=-1!=J.o.marginTop.indexOf("sh")||-1!=J.o.marginTop.indexOf("%")?J.slider.height/100*parseInt(J.o.marginTop):J.o.marginTop),J.o.marginBottom&&(a=-1!=J.o.marginBottom.indexOf("sh")||-1!=J.o.marginBottom.indexOf("%")?J.slider.height/100*parseInt(J.o.marginBottom):J.o.marginBottom),J.slider.$spacingWrapper.css({marginTop:i,marginBottom:a})},performance:function(){var e=parseInt(J.o.performanceModeThreshold);-1!==J.o.performanceModeThreshold.indexOf("sh")||-1!==J.o.performanceModeThreshold.indexOf("%")?J.performance.threshold=J.slider.height*(e/100):-1!==J.o.performanceModeThreshold.indexOf("vh")?J.performance.threshold=te.viewport.height*(e/100):-1!==J.o.performanceModeThreshold.indexOf("px")?J.performance.threshold=e:J.performance.threshold=J.slider.height*e,J.performance.threshold=Math.max(parseInt(J.performance.threshold),0)},scene:function(){var e;J.slider.isScrollScene&&J.o.sceneDuration?e=Math.round(J.slider.height+J.o.sceneDuration*J.slider.height/(J.o.sceneSpeed/100))+"px":J.slider.isSticky&&(-1!==J.o.sceneHeight.indexOf("sh")||-1!==J.o.sceneHeight.indexOf("%")?(e=J.slider.height*(parseInt(J.o.sceneHeight)/100),e=Math.round(Math.max(J.slider.height,e)),e+="px"):-1===J.o.sceneHeight.indexOf("px")&&-1===J.o.sceneHeight.indexOf("vh")?(e=J.slider.height*(J.o.sceneHeight||2),e=Math.round(Math.max(J.slider.height,e)),e+="px"):e=J.o.sceneHeight),e&&J.slider.$spacingWrapper.css({height:e}),$.css({top:J.transitions.scrollscene.stickLimit})},borderRadius:function(e,i){ie.isNumeric(e)&&(e=e.toString());var a="";return ie.each(e.split(" "),function(e,t){-1==t.indexOf("%")&&-1==t.indexOf("em")?a+=Math.round(parseInt(t)*i)+"px ":a+=t+" "}),ie.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 e.settings.minresponsiveratio&&t<e.settings.minresponsiveratio&&(t=e.settings.minresponsiveratio),e.settings.maxresponsiveratio&&t>e.settings.maxresponsiveratio&&(t=e.settings.maxresponsiveratio),e.settings.calculatedratio=t},layers:function(e={}){if(J.slider.hasPinnedLayers&&(J.slider.$layersWrapper.css({clip:"rect(0px "+J.slider.width+"px "+J.slider.height+"px 0px)"}),J.slider.$layersWrapper&&J.slider.$layersWrapper.is(".ls-layers-clip")&&J.slider.$layersWrapper.removeClass("ls-layers-clip")),J.o.animateFirstSlide&&J.slideshow.firstStart&&"inside"!==J.slider.position.toViewport)return J.functions.setStates(J.slider,{readyForStart:!0}),void(e.callback&&(J.api.resumeCallback=e.callback));if(e.singleLayer||this.$responsiveLayers){J.debugMode&&J.debug.add("group","resize");for(var t,i=e.singleLayer||this.$responsiveLayers,a=J.slider.initial,s=J.slider.width,r=J.slider.height,o=s/r,n=[],l=[],d=[],p=[],c=0,u=0,h=window.LS_previewZoom||1,m=0,f=i.length;m<f;m++){var g=i[m],y=ie(g),v=y.data(J.defaults.init.dataKey),x=!!v.is.insideLayerGroup&&y.data("$layerGroup"),w=!!v.is.insideLayerGroup&&x.data(J.defaults.init.dataKey),b=e.original?ie.extend(!0,{},v.original,e.original):v.original,S=this.calculateRatio(v,this.ratio),T=v.elements.$_innerWrappers;b.width||(b.percentWidth=0),b.height||(b.percentHeight=0),!y.is("img, picture")||"auto"!==b.width&&"auto"!==b.height||((T=v.elements.$_innerWrappers).addClass("ls-force-display-block ls-force-visibility-hidden"),"auto"===b.width&&(b.width=y.width()),"auto"===b.height&&(b.height=y.height()),T.removeClass("ls-force-display-block ls-force-visibility-hidden")),t="responsive"===a.type&&-1!==J.o.maxRatio?a.width:a.layersWidth,I="responsive"===a.type&&-1!==J.o.maxRatio?a.height:a.layersHeight,L=t,u="fullsize"===a.type||"fullwidth"===a.type||"responsive"===a.type?(c=0<t?(s-t*S)/2:0,0<I?(r-I*S)/2:0):(c=c<0?0:c,u<0?0:u),"0%"!==b.left&&"100%"!==b.left||(c=c<0?0:c),"0%"!==b.top&&"100%"!==b.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,P=s,O=r,I=v.is.insideLayerGroup?(C=k=!1,W=$=0,t=P=w.responsive.width,O=w.responsive.height):(t=L,I);v.is.pinned&&(J.slider.get.offset(),"responsive"!==a.type&&"fixedsize"!==a.type&&("fullsize"!==a.type||"fitheight"!==J.o.fullSizeMode&&!1!==J.o.fitScreenWidth)||(k?(t=P=te.viewport.width,c=0):(P=J.slider.width,c=J.slider.offset.left,t=a.width)),C?(I=O=te.viewport.height,u=0):(O=J.slider.height,u=(te.viewport.height-J.slider.height)/2||0,I=a.height));var L,$=k?0:c,W=C?0:u,M={width:k&&0!==b.percentWidth?P/100*b.percentWidth:parseInt(b.width)*S,height:C&&0!==b.percentHeight?O/100*b.percentHeight:parseInt(b.height)*S,paddingLeft:this.convertSingleValue(b.paddingLeft,S),paddingTop:this.convertSingleValue(b.paddingTop,S),paddingRight:this.convertSingleValue(b.paddingRight,S),paddingBottom:this.convertSingleValue(b.paddingBottom,S),borderLeftWidth:this.convertSingleValue(b.borderLeftWidth,S),borderTopWidth:this.convertSingleValue(b.borderTopWidth,S),borderRightWidth:this.convertSingleValue(b.borderRightWidth,S),borderBottomWidth:this.convertSingleValue(b.borderBottomWidth,S),borderRadius:this.borderRadius(b.borderRadius,S),boxShadow:this.shadows(b.boxShadow,S),textShadow:this.shadows(b.textShadow,S)},B={marginLeft:this.convertSingleValue(b.marginLeft,S),marginTop:this.convertSingleValue(b.marginTop,S),marginRight:this.convertSingleValue(b.marginRight,S),marginBottom:this.convertSingleValue(b.marginBottom,S)},_={},D={borderRadius:M.borderRadius};if(b.minWidth&&(M.minWidth=b.percentMinWidth?P/100*b.percentMinWidth:b.minWidth,M.width=Math.max(M.width,M.minWidth)),b.minHeight&&(M.minHeight=b.percentMinHeight?O/100*b.percentMinHeight:b.minHeight,M.height=Math.max(M.height,M.minHeight)),b.maxWidth&&(M.maxWidth=b.percentMaxWidth?P/100*b.percentMaxWidth:b.maxWidth,M.width=Math.min(M.width,M.maxWidth)),b.maxHeight&&(M.maxHeight=b.percentMaxHeight?O/100*b.percentMaxHeight:b.maxHeight,M.height=Math.min(M.height,M.maxHeight)),b.minWidth&&b.maxWidth&&M.minWidth>M.maxWidth&&(M.width=M.minWidth),b.minHeight&&b.maxHeight&&M.minHeight>M.maxHeight&&(M.height=M.minHeight),v.is.imageLayer&&(M.minWidth||M.minHeight||M.maxWidth||M.maxHeight)&&(T.addClass("ls-force-display-block ls-force-visibility-hidden"),L={minHeight:M.minHeight||0,minWidth:M.minWidth||0,maxHeight:M.maxHeight||"none",maxWidth:M.maxWidth||"none"},!v.original.autoWidth||M.minWidth&&!M.minHeight||M.maxWidth&&!M.maxHeight?L.width=M.width:L.width="auto",!v.original.autoHeight||!M.minWidth&&M.minHeight||!M.maxWidth&&M.maxHeight?L.height=M.height:L.height="auto",y.css(L),M.width=y.width(),M.height=y.height(),delete M.minWidth,delete M.minHeight,delete M.maxWidth,delete M.maxHeight,T.removeClass("ls-force-display-block ls-force-visibility-hidden")),(k||C)&&(b.percentHeight||b.percentWidth)&&v.is.imageLayer&&(b.percentHeight&&!b.percentWidth&&(M.width=b.width*(M.height/b.height)),b.percentWidth&&!b.percentHeight&&(M.height=b.height*(M.width/b.width))),("number"==typeof b.width&&b.width<0||"auto"==b.width||""==b.sWidth)&&J.debugMode&&J.debug.add("warn","resize.width",[m+1,b.width]),("number"==typeof b.height&&b.height<0||"auto"==b.height||""==b.sHeight)&&J.debugMode&&J.debug.add("warn","resize.height",[m+1,b.height]),M.fontSize=b.fontSize*S,v.is.textLayer&&(te.isMobile&&M.fontSize<v.styleSettings.minmobilefontsize?M.fontSize=v.styleSettings.minmobilefontsize:M.fontSize<v.styleSettings.minfontsize&&(M.fontSize=v.styleSettings.minfontsize),T=M.fontSize/b.fontSize,M.fontSize+="px",-1!==b.lineHeight.indexOf("px")&&(M.lineHeight=parseFloat(b.lineHeight)*T+"px"),-1!==b.letterSpacing.indexOf("px")&&(M.letterSpacing=parseFloat(b.letterSpacing)*T+"px"),-1!==b.textStrokeWidth.indexOf("px")&&(M.textStrokeWidth=parseFloat(b.textStrokeWidth)*T+"px"),""==b.sWidth&&(M.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"))),""==b.sHeight&&(M.height="auto",v.elements.$innerWrapper.addClass("ls-force-height-auto")),""!=b.sWidth&&""!=b.sHeight||y.css(M)),v.is.slideBackground||v.is.backgroundVideo)if(v.is.slideBackground){var F=J.slides[v.is.onSlide].data.backgroundSize;switch((void 0!==F&&"inherit"!==F?F:J.o.slideBGSize).replace("100% 100%","stretch")){case"auto":break;case"cover":b.ratio<o?(M.width=s,M.height=M.width/b.ratio):(M.height=r,M.width=M.height*b.ratio);break;case"contain":b.ratio<o?(M.height=r,M.width=M.height*b.ratio):(M.width=s,M.height=M.width/b.ratio);break;case"stretch":M.width=s,M.height=r}M.width=Math.round(M.width),M.height=Math.round(M.height);var A,z=J.slides[v.is.onSlide].data.backgroundPosition;switch((A=(void 0!==z?z:J.o.slideBGPosition).split(" "))[0]){case"left":M.x=0;break;case"center":M.x=(J.slider.width-M.width)/2;break;case"right":M.x=J.slider.width-M.width;break;default:-1!==A[0].indexOf("%")?M.x=(J.slider.width-M.width)/100*parseInt(A[0]):M.x=parseInt(A[0])}if(void 0!==A[1])switch(A[1]){case"top":M.y=0;break;case"center":M.y=(J.slider.height-M.height)/2;break;case"bottom":M.y=J.slider.height-M.height;break;default:-1!==A[1].indexOf("%")?M.y=(J.slider.height-M.height)/100*parseInt(A[1]):M.y=parseInt(A[1])}M.transform="translateX("+M.x+"px) translateY("+M.y+"px)",M["-ms-transform"]="translateX("+M.x+"px) translateY("+M.y+"px)",M["-webkit-transform"]="translateX("+M.x+"px) translateY("+M.y+"px)"}else v.is.backgroundVideo&&(b.ratio<o?(M.width=s,M.height=M.width/b.ratio):(M.height=r,M.width=M.height*b.ratio),M.x=(J.slider.width-M.width)/2,M.y=(J.slider.height-M.height)/2,M.width=Math.round(M.width),M.height=Math.round(M.height),M.transform="translateX("+M.x+"px) translateY("+M.y+"px)",M["-ms-transform"]="translateX("+M.x+"px) translateY("+M.y+"px)",M["-webkit-transform"]="translateX("+M.x+"px) translateY("+M.y+"px)");else!v.mediaProperties||"youtube"!==v.mediaProperties.type&&"vimeo"!==v.mediaProperties.type||(F=M.width/M.height,z={width:M.width,height:M.height},b.ratio<F?(z.height=M.width/b.ratio,z.marginTop=(M.height-z.height)/2):(z.width=M.height*b.ratio,z.marginLeft=(M.width-z.width)/2),v.mediaProperties.$media.css(z)),v.elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),y.addClass("ls-force-no-transform"),v.is.insideLayerGroup&&((w=(x=y.data("$layerGroup")).data(J.defaults.init.dataKey)).elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),x.addClass("ls-force-no-transform")),"auto"==M.width?M.outerWidth=Math.ceil(y.outerWidth()):M.outerWidth=M.width+J.layers.toNum(M.paddingLeft,M.fontSize)+J.layers.toNum(M.paddingRight,M.fontSize)+J.layers.toNum(M.borderLeftWidth,M.fontSize)+J.layers.toNum(M.borderRightWidth,M.fontSize),"auto"==M.height?M.outerHeight=Math.ceil(y.outerHeight()):M.outerHeight=M.height+J.layers.toNum(M.paddingTop,M.fontSize)+J.layers.toNum(M.paddingBottom,M.fontSize)+J.layers.toNum(M.borderTopWidth,M.fontSize)+J.layers.toNum(M.borderBottomWidth,M.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&&(w.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=_.width=M.outerWidth,B.height=_.height=M.outerHeight,-1!=b.left.indexOf("%")?"100%"===b.left?M.left=0===$?P/100*parseFloat(b.left)-M.outerWidth:$+t*S/100*parseFloat(b.left)-M.outerWidth:"0%"===b.left?M.left=0===$?0:$:M.left=0===$?P/100*parseFloat(b.left)-M.outerWidth/2:$+t*S/100*parseFloat(b.left)-M.outerWidth/2:M.left=$+parseFloat(b.left)*S,B.left=M.left,-1!=b.top.indexOf("%")?"100%"===b.top?M.top=0===W?O/100*parseFloat(b.top)-M.outerHeight:W+I*S/100*parseFloat(b.top)-M.outerHeight:"0%"===b.top?M.top=0===W?0:W+0:M.top=0===W?O/100*parseFloat(b.top)-M.outerHeight/2:W+I*S/100*parseFloat(b.top)-M.outerHeight/2:M.top=W+parseFloat(b.top)*S,B.top=M.top;v.textIn.$nodesForBackgroundClip&&v.textIn.$nodesForBackgroundClip.length&&((O=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"),I=!1,"auto"===g.style.width&&(g.style.width=Math.ceil(v.original.width*(h*S))+"px",I=!0),v.textIn.$nodesForBackgroundClip.each(function(e,t){var i=ie(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/h+"px,"+-i.top/h+"px)"}),t.css({marginLeft:i.left/h,marginTop:i.top/h})}),I=I&&!(g.style.width="auto"),v.elements.$_innerWrappers.removeClass("ls-force-no-transform"),O.removeClass("ls-force-visibility-hidden ls-force-display-block")),M.fontSize=parseFloat(M.fontSize)/te.automaticFontSizeRatio+"px",v.responsive=M,n[m]=M,v.is.smartBG&&(M.left=Math.round(M.left),M.top=Math.round(M.top),M.width=Math.ceil(M.width),M.height=Math.ceil(M.height),n[m]["--sw"]=(k?J.slider.width:a.width*S)+"px",n[m]["--sh"]=(C?J.slider.height:a.height*S)+"px",n[m]["--x"]=-M.left-parseFloat(M.borderLeftWidth)-parseFloat(M.paddingLeft)-parseFloat(B.marginLeft)+(k?0:c)+"px",n[m]["--y"]=-M.top-parseFloat(M.borderTopWidth)-parseFloat(M.paddingTop)-parseFloat(B.marginTop)+(C?0:u)+"px"),v.is.slideBackground||v.is.backgroundVideo||(v.settings.wrapperData.responsive=B,l[m]=B,d[m]=_,p[m]=D)}if(e.singleLayer)return n;for(var V=0,N=n.length;V<N;V++){var R=ie(i[V]),E=R.data(J.defaults.init.dataKey);R.css(n[V]),E.is.slideBackground||E.is.backgroundVideo?(E.is.slideBackground||E.is.backgroundVideo)&&(E.elements.$bgOuterWrapper.css({width:J.slider.width,height:J.slider.height}),E.elements.$outerWrapper.css({width:J.slider.width,height:J.slider.height})):(R.find(".split-item").css(p[V]),this.wrappers(R,E,l[V],d[V]))}e.callback&&e.callback(),J.debugMode&&J.debug.groupEnd("resize")}},wrappers:function(e,t,i,a){i&&t.elements.$outerStyleWrapper.css(i),a&&t.loop.enabled&&t.elements.$loopWrapper.css(a),ee.TweenMax.set(t.elements.$wrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.layer*J.resize.ratio}}),t.loop.enabled&&ee.TweenMax.set(t.elements.$loopWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.loop*J.resize.ratio}}),t.hover.enabled&&ee.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.hover*J.resize.ratio}}),t.textIn.nodes&&ee.TweenMax.set(t.textIn.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*J.resize.ratio}}),t.textOut.nodes&&ee.TweenMax.set(t.textOut.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*J.resize.ratio}}),t.parallax.enabled&&ee.TweenMax.set(t.elements.$parallaxWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.parallax*J.resize.ratio}}),t.scroll.enabled&&ee.TweenMax.set(t.elements.$scrollTransformWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.scroll*J.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&&ie.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])+"%":ie.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){if("object"==typeof a.x){for(var o=[],n=0;n<a.x.length;n++)"string"==typeof a.x[n]?o[n]=this.getXY(e,t,a.x[n],"Width"):o[n]=a.x[n]*t.settings.calculatedratio;i.cycle.x=o}else"string"==typeof a.x?-1!==a.x.indexOf("random")||a.x.charAt(0)===J.defaults.init.openingBracket?i.x=J.functions.convert.randomProperties(a.x,"x",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 l=[],d=0;d<a.y.length;d++)"string"==typeof a.y[d]?l[d]=this.getXY(e,t,a.y[d],"Height"):l[d]=a.y[d]*t.settings.calculatedratio;i.cycle.y=l}else"string"==typeof a.y?-1!==a.y.indexOf("random")||a.y.charAt(0)===J.defaults.init.openingBracket?i.y=J.functions.convert.randomProperties(a.y,"y",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(J.defaults.init.dataKey).elements.$outerStyleWrapper.add(e.data(J.defaults.init.dataKey).elements.$outerStyleWrapper.find(".ls-wrapper"));s.addClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes"),p=J.functions.convert.nodesTransformOrigin(a.transformOrigin,r,t,e.data(J.defaults.init.dataKey).elements.$outerStyleWrapper),s.removeClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes")}else for(var c=0;c<a.transformOrigin.length;c++)p[c]=J.functions.convert.transformOrigin(a.transformOrigin[c],e,t,e.data(J.defaults.init.dataKey).elements.$outerStyleWrapper);i.cycle.transformOrigin=p}else"string"==typeof a.transformOrigin&&(i.transformOrigin=J.functions.convert.transformOrigin(a.transformOrigin,e,t,e.data(J.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(J.layers.getStyle(a.width,J.slider.initial.percW))),a.height&&-1!==a.height.indexOf("%")&&(a.percentHeight=parseInt(a.height),a.height=parseInt(J.layers.getStyle(a.height,J.slider.initial.percH)));var s,r=J.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=t.original,n=t.responsive,l=t.settings.wrapperData&&t.settings.wrapperData.responsive?t.settings.wrapperData.responsive:{marginLeft:this.convertSingleValue(o.marginLeft,this.ratio),marginTop:this.convertSingleValue(o.marginTop,this.ratio),marginRight:this.convertSingleValue(o.marginRight,this.ratio),marginBottom:this.convertSingleValue(o.marginBottom,this.ratio)};if(n.outerWidth||(n.outerWidth=Math.ceil(e.outerWidth())),n.outerHeight||(n.outerHeight=Math.ceil(e.outerHeight())),o&&n&&l)switch(i){case"left":r=-1==o.left.indexOf("%")||!parseInt(o.left)||"100%"===o.left?-n.left-n.outerWidth-parseInt(l.marginLeft):-parseFloat(o.left)/100*J.slider.width-n.outerWidth/2-parseInt(l.marginLeft);break;case"right":r=-1==o.left.indexOf("%")||!parseInt(o.left)||"100%"===o.left?J.slider.width-n.left-parseInt(l.marginLeft):(1-parseFloat(o.left)/100)*J.slider.width+n.outerWidth/2-parseInt(l.marginLeft);break;case"top":r=-1==o.top.indexOf("%")||!parseInt(o.top)||"100%"===o.top?-n.top-n.outerHeight-parseInt(l.marginTop):-parseFloat(o.top)/100*J.slider.height-n.outerHeight/2-parseInt(l.marginTop);break;case"bottom":r=-1==o.top.indexOf("%")||!parseInt(o.top)||"100%"===o.top?J.slider.height-n.top-parseInt(l.marginTop):(1-parseFloat(o.top)/100)*J.slider.height+n.outerHeight/2-parseInt(l.marginTop);break;case"width":r=n.outerWidth;break;case"-width":r=-n.outerWidth;break;case"height":r=n.outerHeight;break;case"-height":r=-n.outerHeight;break;default:r=-1!==i.indexOf("%")?n["outer"+a]/100*parseInt(i):-1!==i.indexOf("sw")?parseFloat(i.split("sw")[0])/100*J.slider.width:-1!==i.indexOf("sh")?parseFloat(i.split("sh")[0])/100*J.slider.height:-1!==i.indexOf("lw")?n.outerWidth/100*parseFloat(i.split("lw")[0]):-1!==i.indexOf("lh")?n.outerHeight/100*parseFloat(i.split("lh")[0]):parseFloat(i)*(s?1:t.settings.calculatedratio||this.calculateRatio(t,this.ratio))}return r},navigation:function(){"always"==J.o.thumbnailNavigation&&J.gui.navigation.bottom.thumbnails.resize()},shadow:function(){J.gui.shadow.show&&J.gui.shadow.show(),J.gui.shadow.$element&&J.gui.shadow.resize()},yourLogo:function(){J.yourLogo.$element&&J.yourLogo.resize()},timers:function(){if(0<J.gui.timers.slidebar.$containerElement.length)for(var e=0,t=J.gui.timers.slidebar.$containerElement.length;e<t;e++)J.gui.timers.slidebar.containerElementWidth[e]=J.gui.timers.slidebar.$containerElement[e].width(),J.gui.timers.slidebar.elementWidth[e]=J.gui.timers.slidebar.$element[e].width()}},J.transitions={firstSlide:!0,timelines:{all:["_slideTransition","_slideTimeline","_slideTimelineAlternate","_forceLayersOut","_forceLayersOutMirror","_forceLayersOutPrevious","_forceLayersOutMirrorPrevious"],slide:["_slideTransition"],layers:["_slideTimeline","_slideTimelineAlternate"],allforce:["_forceLayersOut","_forceLayersOutMirror","_forceLayersOutPrevious","_forceLayersOutMirrorPrevious"],prevforce:["_forceLayersOutPrevious","_forceLayersOutMirrorPrevious"],currentforce:["_forceLayersOut","_forceLayersOutMirror"],mirrorforce:["_forceLayersOutMirror","_forceLayersOutMirrorPrevious"],set:function(e,t){for(var i in this[e])J.transitions[this[e][i]]&&t(J.transitions[this[e][i]],this[e][i])}},start:function(){return!!document.body.contains(L)&&(J.slider.isPopup&&J.slider.state.popupIsWaitingForDelay?!(J.slider.state.waitingForPopupTimer=!0):(J.device.scroll.directionAtSlideTransitionStart=J.device.scroll.direction,"always"==J.o.thumbnailNavigation&&(J.gui.navigation.bottom.thumbnails.change(),"ontouchstart"in window||J.gui.navigation.bottom.thumbnails.scroll()),this.layers.out.forced(),void this.slide.init()))},slide:{$wrapper:ie(),init:function(){var e,t,i;J.functions.setStates(J.slider,{animatingSlides:!0}),J.transitions.layers.parallax.reset(),J.slider.$layersWrapper.children('.ls-parallax[data-ls-parallax="active"]').each(function(){ie(this).find(".ls-layer").data(J.defaults.init.dataKey).settings.slideOut===J.slides.current.index&&ie(this).attr("data-ls-parallax","disbaled")}),J.transitions.curSlide=J.slides.current,J.transitions.nextSlide=J.slides.next,J.transitions._slideTransition=new ee.TimelineMax({paused:!0,onComplete:function(){J.transitions.slide.onComplete()}}),(J.transitions.nextSlide.data&&J.transitions.nextSlide.data.transitionorigami||J.slider.isScrollScene)&&(J.o.animateFirstSlide=!1),J.transitions.firstSlide&&J.o.animateFirstSlide&&(J.transitions.curSlide=ie.extend(!0,{},J.transitions.nextSlide),delete J.transitions.curSlide.data.$background,J.transitions.curSlide.data.backgroundColor="transparent"),J.transitions.firstSlide&&!J.o.animateFirstSlide?(void 0!==J.transitions.nextSlide.data.$background&&(e=(i=J.transitions.nextSlide.data.$background.data(J.defaults.init.dataKey)).kenBurns.zoom?i.kenBurns.from.scale:1,t=i.kenBurns.zoom?i.kenBurns.from.rotation:0,i=J.transitions.nextSlide.filter.from||"none",J.transitions._slideTransition.set(J.transitions.nextSlide.data.$background[0],{"-webkit-filter":i,filter:i},0),J.transitions._slideTransition.fromTo(J.transitions.nextSlide.data.$background.closest(".ls-bg-wrap")[0],J.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),J.debugMode&&J.debug.add("warn","slideTransition.noSlideTransition",J.transitions.nextSlide.index)):void 0===J.transitions.curSlide.data.$background&&void 0===J.transitions.nextSlide.data.$background&&"transparent"==J.transitions.curSlide.data.backgroundColor&&"transparent"==J.transitions.nextSlide.data.backgroundColor?this.start(!0):("x"===J.o.clipSlideTransition?te.$overflowWrapper.addClass("ls-overflowx-hidden"):"y"===J.o.clipSlideTransition?te.$overflowWrapper.addClass("ls-overflowy-hidden"):!0===J.o.clipSlideTransition&&te.$overflowWrapper.addClass("ls-overflow-hidden"),void 0!==J.transitions.curSlide.data.$background&&(e=J.transitions.curSlide.data.$background.closest(".ls-bg-wrap")[0]._gsTransform,(t=J.transitions.curSlide.data.$background.data(J.defaults.init.dataKey)).responsive.filter=J.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)"),J.transitions.slide.$wrapper=ie("<div>").addClass("ls-slide-transition-wrapper").css({width:J.slider.width,height:J.slider.height}),this.select.slideTransitionType())},select:{slideTransitionType:function(){J.transitions.slide.normal.select.transitionType()}},start:function(e){var t,i=!(!J.slides.current.index||!J.slides.current.data.$backgroundVideo.length),a=!(!J.slides.next.index||!J.slides.next.data.$backgroundVideo.length);!J.slideshow.firstStart&&J.api.hasEvent("slideChangeDidStart")&&J.api.triggerEvent("slideChangeDidStart",J.api.eventData()),e||(void 0!==J.transitions.nextSlide.data.transitionDuration?s=J.transitions.nextSlide.data.transitionDuration:void 0!==J.o.slideTransitionDuration&&ie.isNumeric(J.o.slideTransitionDuration)&&-1<J.o.slideTransitionDuration&&(s=J.o.slideTransitionDuration/1e3),ie.isNumeric(s)&&(0===s&&(s+=1e-5),J.transitions._slideTransition.duration(s)),J.transitions.firstSlide&&J.o.animateFirstSlide&&J.o.firstSlideDuration&&J.transitions._slideTransition.duration(J.o.firstSlideDuration/1e3),J.debugMode&&J.debug.options.transitionDuration&&J.transitions._slideTransition.duration(J.debug.options.transitionDuration),.25<J.transitions.layers.timeline.timeScaleModifier&&(r=(r=J.transitions._slideTransition.duration()/(.75+J.transitions.layers.timeline.timeScaleModifier))<.5?.5:r,J.transitions._slideTransition.duration(r)));var e=J.transitions._slideTransition.duration()/J.transitions._slideTransition.timeScale(),s=e,r=J.transitions.nextSlide.data.timeShift||(void 0!==J.o.slideTimeShift&&ie.isNumeric(J.o.slideTimeShift)&&J.o.slideTimeShift<0?J.o.slideTimeShift/1e3:0);0<r?r=0:Math.abs(r)>e&&(r=-e),J.transitions.firstSlide&&J.o.animateFirstSlide&&!1!==J.o.firstSlideTimeShift&&J.o.firstSlideTimeShift<=0&&(r=J.o.firstSlideTimeShift/1e3),J.transitions.nextSlide.data.calculatedTimeShift=r,r=J.transitions.firstSlide&&!J.o.animateFirstSlide?J.o.sliderFadeInDuration+.01:(s+r)*J.transitions._slideTransition.timeScale(),(i||a)&&J.transitions.media.changeBackgroundVideo(J.transitions.firstSlide,i&&a),J.transitions._slideTransition.call(function(){!J.slideshow.firstStart&&J.api.hasEvent("slideChangeWillComplete")&&J.api.triggerEvent("slideChangeWillComplete",J.api.eventData()),J.slideshow.should.change||J.transitions.layers.timeline.prepare(),J.slides.set.slideIndexes(),J.o.hashChange&&(document.location.hash=J.slides[J.slides.current.index].data.deeplink||"_no-deeplink-found_"),J.slideshow.start(),!J.transitions.firstSlide&&J.slides.prev.index&&J.slides.prev.data.$backgroundVideo.length&&!J.slides.prev.data.$backgroundVideo.data(J.defaults.init.dataKey).mediaProperties.willBePaused&&(J.slides.prev.data.$backgroundVideo.trigger("stopBackgroundVideo"),J.slides.prev.data.$backgroundVideo.data(J.defaults.init.dataKey).elements.$bgWrapper.css({display:"none"})),J.slideshow.should.change||J.slides.next.data.$backgroundVideo.length&&J.slides.next.data.$backgroundVideo.data(J.defaults.init.dataKey).mediaProperties&&!J.slides.next.data.$backgroundVideo.data(J.defaults.init.dataKey).mediaProperties.isPreloaded&&(J.slides.next.data.$backgroundVideo.trigger("preloadBackgroundVideo"),J.slides.next.data.$backgroundVideo.data(J.defaults.init.dataKey).mediaProperties.isPreloaded=!0),J.transitions.firstSlide=!1},[],this,r),J.transitions._slideTransition.play(),J.slideshow.forceFastChange&&J.transitions._slideTransition.progress(1),void 0!==J.transitions.curSlide.data&&void 0!==J.transitions.curSlide.data.$background&&(t=J.transitions.curSlide.data.$background.data(J.defaults.init.dataKey),J.timeouts.applyBG=setTimeout(function(){delete J.timeouts.applyBG,J.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),t.kenBurns.zoom&&ee.TweenMax.set(J.transitions.curSlide.data.$background[0],{autoCSS:!1,css:t.kenBurns.from})},5))},onComplete:function(){var e;void 0!==J.transitions.nextSlide.data.$background&&J.transitions.nextSlide.data.$background.closest(".ls-bg-wrap").show(),"transparent"!==J.transitions.nextSlide.data.backgroundColor?J.slider.$slideBGColorWrapper.css("background-color",J.transitions.nextSlide.data.backgroundColor):J.slider.$slideBGColorWrapper.css("background-color","transparent"),J.o.leaveOverflow||te.$overflowWrapper.removeClass("ls-overflowx-hidden ls-overflowy-hidden ls-overflow-hidden"),this.$wrapper&&(this.$wrapper.html("").remove(),this.$wrapper=!1),J.gui.navigation.bottom.bullets.set.active(),0<J.o.cycles&&(J.slideshow.hasOwnProperty("cycleSlideIndex")?J.slideshow.cycles.check(J.transitions.nextSlide.index)&&(J.navigation.stop(),J.functions.setStates(J.slideshow,{pausedByLastCycle:!0}),J.o.forceCycles&&(J.slideshow.curCycle=1)):J.slideshow.cycles.set()),J.functions.setStates(J.slider,{animatingSlides:!1,changingSlides:!1}),!J.slideshow.firstStart&&J.api.hasEvent("slideChangeDidComplete")&&J.api.triggerEvent("slideChangeDidComplete",J.api.eventData()),J.slideshow.firstStart=!1,J.slideshow.forceFastChange=!1,J.slideshow.forceFastChangeCallback&&(J.slideshow.forceFastChangeCallback(),J.slideshow.forceFastChangeCallback=!1),J.slideshow.should.change?J.navigation.forceDirection?(void 0!==J.transitions.curSlide.data&&void 0!==J.transitions.curSlide.data.$background&&(e=J.transitions.curSlide.data.$background.data(J.defaults.init.dataKey),J.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),e.kenBurns.zoom&&ee.TweenMax.set(J.transitions.curSlide.data.$background[0],{autoCSS:!1,css:e.kenBurns.from})),J.slideshow.changeTo(J.slideshow.get.slideInSequence(J.navigation.forceDirection),!0),J.navigation.forceDirection=!1):J.slideshow.forceSlideChangeTo?J.slideshow.changeTo(J.slideshow.forceSlideChangeTo,!0,!0):J.preload.imagesOfSlide(J.slides.next.index):J.preload.imagesOfSlide(J.slides.next.index)},normal:{select:{transitionType:function(){var e,t,i;J.o.slideTransition?J.transitions.slide.normal.setTransition(J.o.slideTransition.type,J.o.slideTransition.obj):(i=!!J.transitions.nextSlide.data.transition2d&&J.transitions.nextSlide.data.transition2d.toString().split(","),J.device.touchPrev&&J.o.slideOnSwipe?(J.device.touchPrev=!1,this.transition("2d","1")):J.device.touchNext&&J.o.slideOnSwipe?(J.device.touchNext=!1,this.transition("2d","1")):J.slides.next.data.$background||i&&(!i||-1!=i.indexOf("1")||-1!=i.indexOf("2")||-1!=i.indexOf("3")||-1!=i.indexOf("4"))?J.browser.supports3D()&&(J.transitions.nextSlide.data.transition3d||J.transitions.nextSlide.data.customtransition3d)?J.transitions.nextSlide.data.transition3d&&J.transitions.nextSlide.data.customtransition3d?(e=Math.floor(2*Math.random()),t=[["3d",J.transitions.nextSlide.data.transition3d],["custom3d",J.transitions.nextSlide.data.customtransition3d]],this.transition(t[e][0],t[e][1])):J.transitions.nextSlide.data.transition3d?this.transition("3d",J.transitions.nextSlide.data.transition3d):this.transition("custom3d",J.transitions.nextSlide.data.customtransition3d):J.transitions.nextSlide.data.transition2d&&J.transitions.nextSlide.data.customtransition2d?(e=Math.floor(2*Math.random()),t=[["2d",J.transitions.nextSlide.data.transition2d],["custom2d",J.transitions.nextSlide.data.customtransition2d]],this.transition(t[e][0],t[e][1])):J.transitions.nextSlide.data.transition2d?this.transition("2d",J.transitions.nextSlide.data.transition2d):J.transitions.nextSlide.data.customtransition2d?this.transition("custom2d",J.transitions.nextSlide.data.customtransition2d):this.transition("2d","1"):this.transition("2d","5"))},transition:function(e,t){J.debugMode&&J.debug.add("group","slideTransition.info"),t+="";var i,a,s=-1==e.indexOf("custom")?J.t:J.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()*J.functions.countProp(s["t"+r])):(t=(i=t.split(",")).length,parseInt(i[Math.floor(Math.random()*t)])-1),void 0===s["t"+r][a]&&(J.debugMode&&J.debug.add("warn","slideTransition.customTransition",[r.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),a+1]),s=J.t,e=r="2d",a=0),J.debugMode&&J.debug.add("log","slideTransition.info",[r.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),a+1,s["t"+r][a].name]),J.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=ie.extend(!0,{cols:1,rows:1},t),l=typeof n.cols,d=typeof n.rows,p=[],c=J.navigation.direction,u=0,h=0,m=!!J.transitions.curSlide.data.$background&&J.functions.getURL(J.transitions.curSlide.data.$background),f=!!J.transitions.nextSlide.data.$background&&J.functions.getURL(J.transitions.nextSlide.data.$background),g=J.o.playByScroll&&"up"===J.device.scroll.direction?"to":"from";if(n.rc){switch(typeof n.rc){case"number":J.slider.width>J.slider.height?(d=n.rc,l=Math.floor(J.slider.width/(J.slider.height/n.rc))):(l=n.rc,d=Math.floor(J.slider.height/(J.slider.width/n.rc)));break;case"string":s=parseInt(n.rc),l=Math.floor(J.slider.width/s),d=Math.floor(J.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]}te.isMobile&&J.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)))}J.debugMode&&!J.o.slideTransition&&(J.debug.add("log","slideTransition.properties",[[l,d],l*d]),J.debug.groupEnd()),i=Math.floor(J.slider.width/l),a=Math.floor(J.slider.height/d),l=Math.floor(J.slider.width/i),d=Math.floor(J.slider.height/a),r=J.slider.width-i*l,o=J.slider.height-a*d,"prev"==c&&(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]),ie.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++)p.push(x);switch(n.tile.sequence){case"reverse":p.reverse();break;case"col-forward":p=J.functions.sortArray(d,l,"forward");break;case"col-reverse":p=J.functions.sortArray(d,l,"reverse");break;case"random":p=J.functions.shuffleArray(p);break;case"center":p=J.functions.sortArray(d,l,"center");break;case"edge":case"mirror":p=J.functions.sortArray(d,l,"edge");break;case"radial-out":p=J.functions.sortArray(d,l,"radial-out");break;case"radial-in":p=J.functions.sortArray(d,l,"radial-in")}("transparent"===J.transitions.nextSlide.data.backgroundColor||"3d"==e||void 0!==J.transitions.curSlide.data.$background&&void 0!==J.transitions.nextSlide.data.$background)&&J.slider.$slideBGColorWrapper.css("background-color","transparent"),"2d"==e&&(y=-1!=n.name.toLowerCase().indexOf("carousel"),v=-1!=n.name.toLowerCase().indexOf("crossfad"),this.$curTiles=ie("<div>").addClass("ls-curtiles").appendTo(J.transitions.slide.$wrapper),this.$nextTiles=ie("<div>").addClass("ls-nexttiles").appendTo(J.transitions.slide.$wrapper));for(var w=0;w<l*d;w++){var b,S=(w+1)%l==0?r:0,T=(d-1)*l-1<w?o:0,k=ie("<div>").addClass("ls-slide-transition-tile").css({width:i+S,height:a+T}).data("style",{width:i+S,height:a+T}).appendTo(J.transitions.slide.$wrapper),u=(p[w],w%l==0?u+1:u),h=w%l==0?1:h+1;if("3d"==e){k.addClass("ls-3d-container");var C,P,O=i+S,I=a+T,L=new ee.TimelineMax,$=Math.abs(Math.abs(h-l/2-.5)-l/2-.5)*Math.abs(Math.abs(u-d/2-.5)-d/2-.5);k.css({zIndex:$}),C=O/2,P=I/2,T=($="horizontal"==n.animation.direction?90<Math.abs(n.animation.transition.rotateY)&&"large"!=n.tile.depth?Math.floor(O/7)+S:O:90<Math.abs(n.animation.transition.rotateX)&&"large"!=n.tile.depth?Math.floor(I/7)+T:I)/2,this.createCuboids("ls-3d-box",k,0,0,0,0,-T,0,0,C+"px "+P+"px 0px"),this.createCuboids("ls-3d-front",k.find(".ls-3d-box"),O,I,0,0,T,0,0),"vertical"==n.animation.direction&&90<Math.abs(n.animation.transition.rotateX)?this.createCuboids("ls-3d-back",k.find(".ls-3d-box"),O,I,0,0,-T,180,0):this.createCuboids("ls-3d-back",k.find(".ls-3d-box"),O,I,0,0,-T,0,180),this.createCuboids("ls-3d-left",k.find(".ls-3d-box"),$,I,-T,0,0,0,-90),this.createCuboids("ls-3d-right",k.find(".ls-3d-box"),$,I,O-T,0,0,0,90),this.createCuboids("ls-3d-top",k.find(".ls-3d-box"),O,$,0,-T,0,90,0),this.createCuboids("ls-3d-bottom",k.find(".ls-3d-box"),O,$,0,I-T,0,-90,0),O=k.find(".ls-3d-front"),$="horizontal"==n.animation.direction?90<Math.abs(n.animation.transition.rotateY)?k.find(".ls-3d-back"):0<n.animation.transition.rotateY?k.find(".ls-3d-left"):k.find(".ls-3d-right"):90<Math.abs(n.animation.transition.rotateX)?k.find(".ls-3d-back"):0<n.animation.transition.rotateX?k.find(".ls-3d-bottom"):k.find(".ls-3d-top"),I=p[w]*n.tile.delay,T=J.transitions.slide.$wrapper.find(".ls-3d-container:eq( "+w+" ) .ls-3d-box"),n.before&&n.before.transition?(n.before.transition.delay=n.before.transition.delay?(n.before.transition.delay+I)/1e3:I/1e3,L.to(T[0],n.before.duration/1e3,J.functions.convert.transition(n.before.transition,n.before.easing))):n.animation.transition.delay=n.animation.transition.delay?(n.animation.transition.delay+I)/1e3:I/1e3,L.to(T[0],n.animation.duration/1e3,J.functions.convert.transition(n.animation.transition,n.animation.easing)),n.after&&(n.after.transition||(n.after.transition={}),L.to(T[0],n.after.duration/1e3,J.functions.convert.transition(n.after.transition,n.after.easing,"after"))),J.transitions._slideTransition.add(L,0)}else{var W,M,B,_,D,F,A,z,V,N="auto",R="auto",E="auto",H="auto",Y=1,X=1,K="50% 50%",U="50% 50%",j=0,G=100,q={},Q=n.transition.intensity||2,Z="random"==n.transition.direction?(A="scale"==n.transition.type?["top","bottom","middle","right","left","center"]:["top","bottom","right","left"])[Math.floor(Math.random()*A.length)]:n.transition.direction;switch(-1!=n.name.toLowerCase().indexOf("mirror")&&w%2==0&&(c="prev"==c?"next":"prev"),"prev"==c&&(Z={top:"bottom",bottom:"top",middle:"middle",left:"right",right:"left",center:"center",topleft:"bottomright",topright:"bottomleft",bottomleft:"topright",bottomright:"topleft",none:"none"}[Z]),Z){case"top":N=E=-k.data("style").height,R=H=0;break;case"bottom":N=E=k.data("style").height,R=H=0;break;case"left":N=E=0,R=H=-k.data("style").width;break;case"right":N=E=0,R=H=k.data("style").width;break;case"topleft":N=k.data("style").height,E=0,R=k.data("style").width,H=0;break;case"topright":N=k.data("style").height,E=0,R=-k.data("style").width,H=0;break;case"bottomleft":N=-k.data("style").height,E=0,R=k.data("style").width,H=0;break;case"bottomright":N=-k.data("style").height,E=0,R=-k.data("style").width,H=0;break;case"none":H=R=E=N=0}switch(this.scale2D=void 0!==n.transition.scale?n.transition.scale:1,1==y&&1!=this.scale2D&&(N/=2,E/=2,R/=2,H/=2),(n.transition.rotate||n.transition.rotateX||n.transition.rotateY||1!=this.scale2D)&&"slide"!=n.transition.type?k.css({overflow:"visible"}):k.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")?(z=k.appendTo(this.$curTiles),D=k.clone().appendTo(this.$nextTiles),O=ie("<div>").addClass("ls-curtile").appendTo(z)):D=k.appendTo(this.$nextTiles),$=ie("<div>").addClass("ls-nexttile").appendTo(D),F=p[w]*n.tile.delay/1e3,L=n.transition.rotate||0,A=n.transition.rotateX||0,z=n.transition.rotateY||0,"prev"==c&&(L=-L,A=-A,z=-z),n.transition.type){case"fade":Y=N=E=R=H=0,X=1;break;case"mixed":Y=0,(X=1)==this.scale2D&&(E=H=0),W=void 0!==n.transition.scaleX?n.transition.scaleX:void 0!==n.transition.scale?n.transition.scale:1,M=void 0!==n.transition.scaleY?n.transition.scaleY:void 0!==n.transition.scale?n.transition.scale:1;break;case"scale":switch(Y=N=E=R=H=0,M=W=X=1,Z){case"left":case"right":W=1+p[w]/(50/Q);break;case"top":case"bottom":M=1+p[w]/(50/Q);break;case"center":W=1+p[w]/(50/Q);break;case"middle":M=1+p[w]/(50/Q)}switch("mirror"===n.tile.sequence&&l*d/2<w&&(j=100,G=0),Z){case"left":K=j+"% 50%",U=G+"% 0";break;case"right":K=G+"% 50%",U=j+"% 50%";break;case"center":case"middle":_=B=1;break;case"top":K="50% "+j+"%",U="50% "+G+"%";break;case"bottom":K="50% "+G+"%",U="50% "+j+"%"}}J.transitions._slideTransition.fromTo($[0],n.transition.duration/1e3,{immediateRender:!1,autoCSS:!1,css:{x:-R,y:-N,display:"block",opacity:Y,rotation:L,rotationX:A,rotationY:z,borderRadius:n.transition.borderRadius||0,scaleX:void 0!==W?W:this.scale2D,scaleY:void 0!==M?M:this.scale2D,transformOrigin:K}},{autoCSS:!1,css:{x:0,y:0,opacity:X,rotation:0,rotationX:0,rotationY:0,borderRadius:0,scaleX:1,scaleY:1},ease:J.functions.convert.easing(n.transition.easing)},F),1==v&&(void 0===J.transitions.nextSlide.data.$background||void 0!==J.transitions.nextSlide.data.$background&&(-1!=J.transitions.nextSlide.data.$background.attr("src").toLowerCase().indexOf("png")||J.transitions.nextSlide.data.$background.width()<J.slider.width||J.transitions.nextSlide.data.$background.height()<J.slider.height))&&(q.opacity=0),"slide"!=n.transition.type&&1!=y||-1!=n.name.toLowerCase().indexOf("mirror")?"scale"==n.transition.type&&(q.scaleX=B||W,q.scaleY=_||M,q.transformOrigin=U):(V=0!==L?-L:0,q.x=H,q.y=E,q.rotation=V,q.scale=this.scale2D,q.opacity=Y),n.transition.hasOwnProperty("opacity")&&(q.opacity=n.transition.opacity),void 0!==O&&J.transitions._slideTransition.to(O[0],n.transition.duration/1e3,{autoCSS:!1,css:q,ease:J.functions.convert.easing(n.transition.easing)},F)}V=w%l*i,q=Math.floor(w/l)*a,void 0!==J.transitions.curSlide.data.$background&&(b=J.transitions.curSlide.data.$background.data(J.defaults.init.dataKey),"3d"===e||"2d"===e&&(!0===v||"slide"===n.transition.type||"scale"===n.transition.type||!0===y||n.transition.hasOwnProperty("opacity"))?O.append(ie('<div style="position: absolute;">').css({width:J.slider.width,height:J.slider.height,left:-V,top:-q,transform:b.responsive.kbRotation+b.responsive.kbScale}).append(ie("<img>").attr("src",m).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(ie('<div style="position: absolute;">').css({width:J.slider.width,height:J.slider.height,left:-V,top:-q,transform:b.responsive.kbRotation+b.responsive.kbScale}).append(ie("<img>").attr("src",m).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"===J.transitions.curSlide.data.backgroundColor||J.transitions.curSlide.data.$backgroundVideo.length||("3d"===e||"2d"===e&&(!0===v||"slide"===n.transition.type||!0===y)?O:this.$curTiles).css("background-color",J.transitions.curSlide.data.backgroundColor),void 0!==J.transitions.nextSlide.data.$background&&(b=(F=J.transitions.nextSlide.data.$background.data(J.defaults.init.dataKey)).kenBurns[g],$.append(ie('<div style="position: absolute;">').css({width:J.slider.width,height:J.slider.height,left:-V,top:-q,transform:"rotate("+b.rotation+"deg) scale("+b.scale+")"}).append(ie("<img>").attr("src",f).css({width:F.responsive.width,height:F.responsive.height,filter:J.transitions.nextSlide.filter.from||"none",transform:"translateX("+F.responsive.x+"px) translateY("+F.responsive.y+"px)"})))),"transparent"===J.transitions.nextSlide.data.backgroundColor||J.transitions.nextSlide.data.$backgroundVideo.length||$.css("background-color",J.transitions.nextSlide.data.backgroundColor)}J.transitions.slide.$wrapper.prependTo(J.o.preferBlendMode?J.slider.$layersWrapper:J.slider.$innerWrapper),J.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),ie("<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(J.defaults.init.dataKey);t.is.countdown&&J.countdown.startInterval(e,t.countdownSettings),t.hover.enabled&&J.transitions.layers.hover.enable(e),J.layers.set.dataAttribute("add",e,"animating-in"),t.in.zIndex&&J.transitions.layers.setZIndex(e,t,t.in.zIndex),"instant"===t.mediaSettings.autoplay&&J.media.functions.playIfAllowed(e)},onComplete:function(e){var t=e.data(J.defaults.init.dataKey);"instant"!==t.mediaSettings.autoplay&&J.media.functions.playIfAllowed(e),t.in.zIndex&&J.transitions.layers.setZIndex(e,t,t.original._zIndex),J.layers.set.dataAttribute("remove",e,"animating-in"),J.layers.set.dataAttribute("add",e,"active")}},out:{forced:function(){var s,r,o,n,e,t,i;J.transitions._forceLayersOut&&(J.transitions._slideTimeline&&(s=new ee.TimelineMax({paused:!0,autoRemoveChildren:!0}),n=[],e=J.layers.get("current, in, static").add(J.layers.get("current, out, static, active")),i=J.layers.get("current, out, notstatic, active"),t=J.layers.get("current, out, active"),i=ie().add(e).add(i),i.each(function(){var e,t=ie(this).data(J.defaults.init.dataKey);if(t.loop._timeline&&(J.transitions._slideTimeline.remove(t.loop._timeline),t.loop._timeline.play()),t.is.static){r=[t.elements.$wrapper[0]],t.elements.$clipWrapper&&(r=r.concat(t.elements.$clipWrapper[0])),t.textIn.nodes&&(r=r.concat(t.textIn.nodes)),t.textOut.nodes&&(r=r.concat(t.textOut.nodes));for(var i=0;i<r.length;i++)n=n.concat(J.transitions._slideTimeline.getTweensOf(r[i],!0),J.transitions._slideTimelineAlternate.getTweensOf(r[i],!0));for(var a=0;a<n.length;a++)n[a].duration&&0!==n[a].duration()&&(o=n[a],e=o,s.add(e,100-e.duration()*e.progress()))}}),t.each(function(){ie(this).data(J.defaults.init.dataKey).should.reset=!0}),s.play().seek(100),J.transitions._slideTimeline.eventCallback("onStart",null),J.transitions._slideTimeline.eventCallback("onComplete",null),J.transitions._slideTimeline.eventCallback("onReverseComplete",null),J.transitions._slideTimeline.eventCallback("onUpdate",null),J.transitions._slideTimeline.stop().clear(),J.transitions._slideTimelineAlternate.stop().clear()),("prev"===J.navigation.direction?J.transitions._forceLayersOutMirror:J.transitions._forceLayersOut).play(),J.slideshow.forceFastChange&&(J.transitions._forceLayersOut.progress(1),J.transitions._forceLayersOutMirror.progress(1))),J.slider.$layersWrapper.find(".ls-link").css({display:"none"})},onStart:function(e){var t=e.data(J.defaults.init.dataKey);t.out.zIndex?J.transitions.layers.setZIndex(e,t,t.out.zIndex):t.in.zIndex&&J.transitions.layers.setZIndex(e,t,t.original._zIndex),J.layers.set.dataAttribute("add",e,"animating-out")},onComplete:function(e){var t=e.data(J.defaults.init.dataKey);!J.slider.state.changingSlides&&t.settings.slideOut===J.slides.current.index||J.transitions.layers.reset(e,t),t.hover.enabled&&J.transitions.layers.hover.disable(e),J.layers.set.dataAttribute("remove",e,"animating-out"),J.layers.set.dataAttribute("add",e,"hidden"),t.is.mediaLayer&&t.mediaProperties&&t.mediaProperties.type&&J.media.functions.stop(!0,e),t.is.countdown&&J.countdown.stopInterval(t.countdownSettings),t.is.counter&&J.counter.stop(t.counterSettings)}},reset:function(e,t){var i;t.original._zIndex&&J.transitions.layers.setZIndex(e,t,t.original._zIndex),t.loop._timeline&&(t.loop._timeline.stop().clear(),delete t.loop._timeline,ee.TweenMax.set(t.elements.$loopWrapper[0],t.reset.altWrapperOnSlideChange)),t.parallax._timeline&&(t.parallax._timeline.stop().clear(),delete t.parallax._timeline),t.parallax._timeout&&(J.functions.clearTimers({timeout:t.parallax._timeout}),delete t.parallax._timeout),t.parallax.reset&&(ee.TweenMax.killTweensOf(t.elements.$parallaxWrapper[0]),ee.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&&ee.TweenMax.set(t.elements.$loopWrapper[0],i),t.inClipFromCSS.clipPath||ee.TweenMax.set(t.elements.$clipWrapper[0],i)),ee.TweenMax.set(t.elements.$wrapper[0],t.reset.wrapperOnSlideChange),ee.TweenMax.set(e[0],{"-webkit-filter":t.original.filter,filter:t.original.filter}),t.should.update&&(t.textInNodesFrom.random={},t.textOutNodesTo.random={},J.layers.update.data(e)),t.should.reset=!1},timeline:{shouldRestart:!1,create:function(e){var t,i,a,s=e?"current":"next";if(J.transitions.curNext=s,J.o.allowRestartOnResize?J.slider.isScrollScene&&(J.transitions.layers.timeline.shouldRestart=!0):J.transitions.layers.timeline.shouldRestart=!1,J.transitions.layers.timeline.resetStates(),J.transitions.timelines.set("layers",function(e,t){e.pause().progress(0).kill().clear(!0),e=null}),J.transitions._slideTimeline=new ee.TimelineMax({paused:!0,onStart:function(){J.api.hasEvent("slideTimelineDidStart")&&J.api.triggerEvent("slideTimelineDidStart",J.api.eventData())},onComplete:function(){J.o.playByScroll&&J.o.playByScrollSkipSlideBreaks&&("next"===J.slideshow.direction?J.transitions.layers.timeline.scrollForward(!0):J.transitions.layers.timeline.scrollBackwards(!0,!0))},onReverseComplete:function(){J.api.hasEvent("slideTimelineDidReverseComplete")&&J.api.triggerEvent("slideTimelineDidReverseComplete",J.api.eventData()),J.transitions.layers.timeline.shouldReplay&&(J.transitions.layers.timeline.shouldRestart=!1,J.transitions._slideTimeline.play()),J.o.playByScroll&&J.o.playByScrollSkipSlideBreaks&&J.transitions.layers.timeline.scrollBackwards(!0,!1)},onUpdate:function(e){J.api.hasEvent("slideTimelineDidUpdate")&&J.api.triggerEvent("slideTimelineDidUpdate",e)},onUpdateParams:["{self}"]}),J.transitions._slideTimelineAlternate=new ee.TimelineMax({paused:!0}),this.totalDuration=0,this.progress=1,J.transitions.timelines.set("prevforce",function(e,t){e.progress(1).kill().clear(!0),e=null}),J.transitions._forceLayersOut&&(J.transitions._forceLayersOutPrevious=J.transitions._forceLayersOut),J.transitions._forceLayersOutMirror&&(J.transitions._forceLayersOutMirrorPrevious=J.transitions._forceLayersOutMirror),J.transitions._forceLayersOut=new ee.TimelineMax({paused:!0,autoRemoveChildren:!0}),J.transitions._forceLayersOutMirror=new ee.TimelineMax({paused:!0,autoRemoveChildren:!0}),t=J.layers.get(s+", in, notactive"),i=J.layers.get(s+", out, notstatic").add(J.layers.get(s+", out, active, static")),e=J.layers.get(s+", in, bgonly, notactive"),a=ie().add(t).add(i).add(e),this.addLayers(t,"in",J.transitions._slideTimeline,J.transitions._forceLayersOut,J.transitions._slideTimelineAlternate,J.transitions._forceLayersOutMirror),this.addLayers(i,"out",J.transitions._slideTimeline,J.transitions._forceLayersOut,J.transitions._slideTimelineAlternate,J.transitions._forceLayersOutMirror),J.slides[s].data&&-1!==J.slides[s].data.duration&&J.slides[s].data.duration<this.totalDuration?(this.progress=J.slides[s].data.duration/this.totalDuration,J.debugMode&&J.debug.add("warn","slideTimeline.duration",[J.slides[s].data.duration,this.totalDuration])):J.transitions._slideTimeline.duration()>this.totalDuration&&(this.progress=this.totalDuration/J.transitions._slideTimeline.duration()),-1===J.slides[s].data.duration?(J.o.slideDuration&&ie.isNumeric(J.o.slideDuration)&&-1<J.o.slideDuration?this.totalDuration=J.o.slideDuration/1e3:0===this.totalDuration&&(this.totalDuration=J.o.slideDurationWithoutLayers/1e3),J.o.inLayerPreview&&(J.o.hasInfiniteLoop&&"loop-transition"===J.o.layerPreviewPresetType?this.totalDuration+=5:"ending-transition"===J.o.layerPreviewPresetType?this.totalDuration+=.25:"hover-transition"!==J.o.layerPreviewPresetType&&(this.totalDuration+=.5)),J.slides[s].data.duration=this.totalDuration,J.slides[J.slides[s].index].data.duration=this.totalDuration):this.totalDuration=J.slides[s].data.duration,!J.functions.getData("slideDuration",this.totalDuration))return!1;J.slider.isScrollScene&&(J.o.sceneDuration||(J.o.sceneDuration=this.totalDuration,J.resize.scene()),J.slider.$spacingWrapper.attr("data-scene-duration",J.o.sceneDuration)),this.addLayers(e,"in",J.transitions._slideTimeline,J.transitions._forceLayersOut,J.transitions._slideTimelineAlternate),!0===J.transitions.layers.timeline.shouldRestart&&J.debugMode&&J.debug.add("warn","slideTimeline.restart",J.o.allowRestartOnResize?"enabled":"disabled");for(var r=0;r<a.length;r++)ie(a[r]).data(J.defaults.init.dataKey).parallax.enabled&&ie(a[r]).data(J.defaults.init.dataKey).elements.$parallaxWrapper.attr("data-ls-parallax","active");J.transitions.layers.parallax.trigger();var o,e=J.transitions.layers.parallax.wrappers;e.randomGlobal[J.slides.next.index]&&(J.functions.objectIsEmpty(e.randomGlobal[J.slides.next.index].$2d)&&J.functions.objectIsEmpty(e.randomGlobal[J.slides.next.index].$3d)||J.timeouts["rp-global-"+J.slides.next.index]||J.transitions.layers.parallax.random.setTimer({globalSlideParallaxData:J.slides.next.parallax,slideIndex:J.slides.next.index})),J.transitions.layers.scroll.reset(),J.transitions.layers.scroll.trigger(),J.api.hasEvent("slideTimelineDidCreate")&&J.api.triggerEvent("slideTimelineDidCreate",{slideTimeline:J.transitions._slideTimeline,layersOnSlideTimeline:a,slideTimelineDuration:this.totalDuration}),J.transitions.timers.create(),J.transitions.timers.bar._transition&&(J.gui.timers.bar.$element.css("width",0),J.transitions._slideTimeline.add(J.transitions.timers.bar._transition.play(),0)),J.transitions.timers.circle._transition&&J.transitions._slideTimeline.add(J.transitions.timers.circle._transition.play(),0),J.transitions.timers.slidebar._transition&&J.transitions._slideTimeline.add(J.transitions.timers.slidebar._transition.play(),0),J.transitions._slideTimeline.call(function(){if(!J.transitions._slideTimeline.reversed()){var e;if(J.api.hasEvent("slideTimelineDidComplete"))if(J.o.inLayerPreview&&J.o.hasInfiniteLoop&&J.layers.get("current, in").each(function(){(e=ie(this).data(J.defaults.init.dataKey)).loop&&e.loop._timeline&&e.loop._timeline.stop().progress(0)}),!1===J.api.triggerEvent("slideTimelineDidComplete",J.api.eventData()))return;J.functions.setStates(J.transitions.layers.timeline,{finished:!0}),!J.slideshow.isPaused()&&J.slideshow.state.running?J.slideshow.changeTo(J.slides.next.index):J.slideshow.state.pausedByLastCycle&&J.transitions.timers.reverse()}},[],this,J.slides[s].data.duration),J.slides.next.data.$link&&J.slides.next.data.$link.css({display:"block"}),(!J.o.startInViewport||"inside"!==J.slider.position.toViewport&&!J.o.playByScrollStart&&J.slider.state.waitForGettingInViewport)&&J.o.startInViewport||!(J.slider.isPopup&&J.slider.state.popupIsVisible&&J.slider.state.popupShouldStart)&&J.slider.isPopup||(J.o.pauseLayers&&J.slideshow.isPaused()?J.transitions.layers.timeline.pause(0):J.slider.isScrollScene||J.transitions.layers.timeline.play(),J.o.playByScroll&&"up"===J.device.scroll.directionAtSlideTransitionStart&&J.transitions._slideTimeline.progress(1)),J.transitions._slideTimelineAlternate.play(),J.slider.isScrollScene&&J.slider.set.offset(),$.trigger("mouseleave.globalhover"+W),$.off("mouseenter.globalhover"+W+" mouseleave.globalhover"+W+" mousemove.globalhover"+W),J.slides[s].data.globalhover&&(o=J.layers.get(s+",in,notactive").add(J.layers.get("static,active")).not("[data-ls-skipglobalhover]"),$.on("mouseenter.globalhover"+W,function(){o.each(function(){J.transitions.layers.hover.mouseEnter(ie(this),ie(this).data(J.defaults.init.dataKey))})}),$.on("mouseleave.globalhover"+W,function(){o.each(function(){J.transitions.layers.hover.mouseLeave(ie(this),ie(this).data(J.defaults.init.dataKey))})}),$.on("mousemove.globalhover"+W,function(){o.each(function(){J.transitions.layers.hover.mouseMove(ie(this),ie(this).data(J.defaults.init.dataKey))})}))},prepare:function(){J.slides.next.data.overflow&&"hidden"!==J.slides.next.data.overflow?(J.slider.$layersWrapper.addClass("ls-visible"),J.slider.$slideBGWrapper.addClass("ls-visible")):(J.slider.$layersWrapper.removeClass("ls-visible"),J.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=J.defaults.layer.timelineHierarchy,p=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=ie.trim(n[0]),o=parseInt(ie.trim(n[1])),d[s]&&-1!==d[i][1].indexOf(d[s][0])){if(!e.timeline[s]&&1<d[s][0]){var c,u,h=d[s][0]-1||1;for(u in d)d[u][0]===h&&(c=u);s=c}if(r="number"==typeof e.timeline[s]?e.timeline[s]:e.timeline[s](e),a)p=o/1e3;else switch(l){case"*":p=r*o;break;case"/":p=r/o;break;case"+":p=r+o/1e3;break;case"-":p=r-o/1e3}}else J.debugMode&&(d[s]||J.debug.add("warn","layerTransition.timing1",s),-1===d[i][1].indexOf(d[s][0])&&J.debug.add("warn","layerTransition.timing3",[s,d[s],i,d[i]])),"+"!==l&&!a||(p=o/1e3);else d[s=ie.trim(t)]&&-1!==d[i][1].indexOf(d[s][0])?p=a?0:"number"==typeof e.timeline[s]?e.timeline[s]:e.timeline[s](e):J.debugMode&&(d[s]?-1===d[i][1].indexOf(d[s][0])&&J.debug.add("warn","layerTransition.timing3",[s,d[s],i,d[i]]):J.debug.add("warn","layerTransition.timing1",s));return(p!=p||p<0)&&(J.debugMode&&J.debug.add("warn","layerTransition.timing2",[i,s,p]),p=0),p},addLayers:function(e,t,i,a,s,r){for(var o=0,n=e.length;o<n;o++){var l,d,p,c,u,h=e[o],m=ie(h),f=m.data(J.defaults.init.dataKey),g=f.elements.$wrapper,y=f.elements.$clipWrapper,v=f.elements.$loopWrapper,x=f.elements.$parallaxWrapper,w=(f.elements.$scrollWrapper,f.elements.$scrollTransformWrapper,f.settings.skipViewport&&J.slideshow.state.changed<1?s:i),b="loop"==f.settings.skipViewport&&J.slideshow.state.changed<1?s:i,S=ie.extend(!0,{},f.inLayerFrom),T=S.css,k=ie.extend({},f.inLayerShouldBeConverted),C=ie.extend(!0,{},f.outLayerTo),P=C.css,O=ie.extend({},f.outLayerShouldBeConverted),I=ie.extend(!0,{},f.textInNodesFrom),L=ie.extend(!0,{},f.textInShouldBeConverted),$=ie.extend(!0,{},f.textOutNodesTo),W=ie.extend(!0,{},f.textOutShouldBeConverted);if(f.should.reset&&J.transitions.layers.reset(m,f),m.hasClass("ls-bg"))f.kenBurns.zoom&&i.fromTo(m.closest(".ls-bg-wrap"),J.transitions.nextSlide.data.duration+J.transitions.nextSlide.data.calculatedTimeShift,{autoCSS:!1,css:f.kenBurns.from},{autoCSS:!1,css:f.kenBurns.to,ease:ee.Quad.easeInOut},-J.transitions.nextSlide.data.calculatedTimeShift),ie.isEmptyObject(f.filter.values.bgFrom)&&ie.isEmptyObject(f.filter.values.bgTo)||(f.filter.transitions.bg||(f.filter.transitions.bg=J.transitions.layers.filters.createTransition(f,"bg",f.filter.values.bgFrom,f.filter.values.bgTo)),w.to([{p:0},h],J.transitions.nextSlide.data.duration,{p:1,autoCSS:!1,ease:ee.Sine.easeInOut,onUpdate:J.transitions.layers.filters.animate,onUpdateParams:["{self}",f.filter.transitions.bg]},0));else switch(t){case"in":if(f.in.enabled?(f.settings.timelineIsCalculated&&!f.settings.recalculateTimeline||("startAtFirst"==f.settings.recalculateTimeline&&(f.settings.recalculateTimeline=!1,f.settings.timelineIsCalculated=!1),"number"!=typeof f.in.startAt&&(f.in.startAt=0),"number"!=typeof f.in.startAtFirst&&(f.in.startAtFirst=0),f.timeline.transitioninstart=J.transitions.firstSlide&&f.in.startAtFirst?f.in.startAtFirst:f.in.startAt,f.timeline.transitioninend=f.timeline.transitioninstart+f.in.duration),J.transitions.firstSlide&&f.in.startAtFirst&&(f.settings.recalculateTimeline="startAtFirst"),J.resize.performTransformOperations(f.inLayerToCSS,T),f.in.mirror&&"prev"===J.navigation.direction&&J.resize.mirrorTransitionProperties({transitionProperties:T,transitionPropertiesShouldBeConverted:k,transitionType:"normal",mirrorProperties:f.in.mirror}),J.resize.transformProperties(m,f,T,k),J.resize.styleProperties(m,f,f.inLayerStyleFromCSS,f.inLayerStyleShouldBeConvertedFrom),J.resize.styleProperties(m,f,f.inLayerStyleToCSS,f.inLayerStyleShouldBeConvertedTo),T.transformPerspective=f.transformPerspective.layer*f.settings.calculatedratio,f.clip.enabled&&(f.clip.style.css.clipPath=J.functions.convert.clipProperties(f.clip.style.css.clipPath,f,m,!0),f.inClipFromCSS.clipPath||f.clip.style.css.clipPath===f.clip.default.css.clipPath||(f.inClipFromCSS.clipPath=f.clip.default.css.clipPath)),f.inClipFromCSS.clipPath&&(f.inClipFromCSS.clipPath=J.functions.convert.clipProperties(f.inClipFromCSS.clipPath,f,m),w.fromTo(y[0],f.in.duration,f.inClipFrom,f.inClipTo,f.timeline.transitioninstart)),ie.isEmptyObject(f.filter.values.in)?ie.isEmptyObject(f.filter.values.out)||m.css("filter",f.original.filter):(f.filter.transitions.in||(f.filter.transitions.in=J.transitions.layers.filters.createTransition(f,"in",f.filter.values.in,f.filter.values.style)),w.to([{p:0},h],f.in.duration,{p:1,autoCSS:!1,ease:f.inLayerTo.ease,onUpdate:J.transitions.layers.filters.animate,onUpdateParams:["{self}",f.filter.transitions.in]},f.timeline.transitioninstart)),f.is.smartBG&&-1!==f.styleSettings.smartbg.indexOf("in")&&(f.inLayerStyleFrom.css["--x"]=parseInt(f.responsive["--x"])-T.x+"px",f.inLayerStyleTo.css["--x"]=parseInt(f.responsive["--x"])+"px",f.inLayerStyleFrom.css["--y"]=parseInt(f.responsive["--y"])-T.y+"px",f.inLayerStyleTo.css["--y"]=parseInt(f.responsive["--y"])+"px"),f.is.smartBG&&(J.slides[J.slides.current.index||1].data.hasSmartBG=!0),f.is.counter&&(w.call(function(e,t){e.text(J.counter.applyNumberFormat(t,parseFloat(t.start)))},[m,f.counterSettings],this,0),w.call(function(e,t){J.counter.start(e,t)},[m,f.counterSettings],this,f.timeline[f.counterSettings.startAt])),0===f.timeline.transitioninstart&&0===f.in.duration?(f.inLayerTo.css.transformOrigin=S.css.transformOrigin,f.inLayerTo.css.transformPerspective=S.css.transformPerspective,w.set(g[0],f.inLayerTo,f.timeline.transitioninstart),w.set(h,f.inLayerStyleTo,f.timeline.transitioninstart)):(w.fromTo(g[0],f.in.duration,S,f.inLayerTo,f.timeline.transitioninstart),w.fromTo(h,f.in.duration,f.inLayerStyleFrom,f.inLayerStyleTo,f.timeline.transitioninstart))):(f.timeline.transitioninstart=0,f.timeline.transitioninend=0),f.is.textLayer&&((f.textIn.type||f.textOut.type)&&J.transitions.layers.splitType.resetNodes(m,f),f.textIn.enabled&&(c=!(!f.textIn.mirror||"prev"!==J.navigation.direction),f.in.enabled||w.to(g[0],0,ie.extend(!0,{},f.inLayerTo,f.init.wrapper),f.timeline.textinstart),d=J.transitions.layers.splitType.setNodesSequence(f.textIn.type.split("_"),f.textIn.ns),f.textIn.nodes=c?d[1]:d[0],c&&J.resize.mirrorTransitionProperties({transitionProperties:I,transitionPropertiesShouldBeConverted:L,transitionType:"text",mirrorProperties:f.textIn.mirror}),J.resize.transformProperties(m,f,I,L,!1,f.textIn.nodes),I.transformPerspective=f.transformPerspective.text*f.settings.calculatedratio,ie.isEmptyObject(L.random)||J.transitions.layers.splitType.setRandomProperties(m,f,L.random,I,"In"),ie.isEmptyObject(I.random)||J.transitions.layers.splitType.setRandomProperties(m,f,I.random,I,"In"),delete I.random,f.settings.timelineIsCalculated||(f.timeline.textinstart=this.getTiming(f,f.textIn.startAt,"textinstart"),f.timeline.textinend=f.timeline.textinstart+(f.textIn.nodes.length-1)*f.textIn.shiftNodes+f.textIn.duration),I.color?f.textInNodesToCSS.color=f.original.color:f.textOutNodesTo.color&&(I.color=f.original.color),w.set(h,f.textIn.layerStyle,f.timeline.textinstart),window.getSelection&&J.browser.isSafari&&w.addCallback(function(e){try{window.getSelection().setBaseAndExtent(e,0,e,1e3)}catch(e){}window.getSelection().removeAllRanges()},f.timeline.textinstart+.001,[h]),w.addCallback(function(e){J.layers.set.dataAttribute("add",e,"text-animating-in")},f.timeline.textinstart,[m]),w.staggerFromTo(f.textIn.nodes,f.textIn.duration,I,f.textInNodesTo,f.textIn.shiftNodes,f.timeline.textinstart,function(e){J.layers.set.dataAttribute("remove",e,"text-animating-in"),J.layers.set.dataAttribute("add",e,"active"),J.transitions.layers.in.onComplete(e)},[m]))),f.is.keyframe&&J.o.playByScroll&&i.addPause(f.timeline.allinend(),function(){setTimeout(function(){delete J.timeouts.scroll,J.transitions.layers.timeline.timeScaleModifier=0,J.device.scroll.timeout=250},500)}),f.parallax.enabled&&"auto"==f.parallax.event){J.transitions.layers.parallax.auto(),f.parallax._timeline=new ee.TimelineMax({paused:!0});var M={repeat:-1==f.parallax.count?-1:f.parallax.count-1,ease:ee.Linear.easeNone};function B(e,t){return{x:e*J.resize.ratio,y:t*J.resize.ratio}}switch(f.parallax.dummy=B(0,-10),f.parallax.path){default:case"circle":M.bezier={curviness:1.5,values:[B(10,0),B(0,10),B(-10,0),B(0,-10)]};break;case"oval-h":M.bezier={type:"thru",curviness:1,values:[B(20,0),B(0,10),B(-20,0),B(0,-10)]};break;case"oval-v":f.parallax.dummy=B(0,-20),M.bezier={type:"thru",curviness:1,values:[B(10,0),B(0,20),B(-10,0),B(0,-20)]};break;case"infinity":f.parallax.dummy=B(0,0),M.bezier={curviness:1.3,values:[B(20,-10),B(30,0),B(20,10),B(0,0),B(-20,-10),B(-30,0),B(-20,10),B(0,0)]};break;case"horizontal":f.parallax.dummy=B(10,0),M.x=-10*J.resize.ratio,M.ease=ee.Quad.easeInOut,M.yoyo=!0,f.parallax.pathDuration/=2,M.repeat=-1==f.parallax.count?-1:2*f.parallax.count-1;break;case"vertical":f.parallax.dummy=B(0,-10),M.y=10*J.resize.ratio,M.ease=ee.Quad.easeInOut,M.yoyo=!0,f.parallax.pathDuration/=2,M.repeat=-1==f.parallax.count?-1:2*f.parallax.count-1;break;case"square":f.parallax.dummy=B(-10,-10),M.bezier={curviness:.5,values:[B(10,-10),B(10,10),B(-10,10),B(-10,-10)]};break;case"diamond":f.parallax.dummy=B(0,-10),M.bezier={curviness:.5,values:[B(10,0),B(0,10),B(-10,0),B(0,-10)]};break;case"triangle":f.parallax.dummy=B(0,10),M.bezier={curviness:.5,values:[B(-10,-10),B(10,-10),B(0,10)]};break;case"pentagon":f.parallax.dummy=B(0,10),M.bezier={curviness:.5,values:[B(-9.51,3.09),B(-5.88,-8.09),B(5.88,-8.09),B(9.51,3.09),B(0,10)]}}f.settings.timelineIsCalculated&&!f.is.static||(f.timeline.autoparallaxstart=this.getTiming(f,f.parallax.startAt,"autoparallaxstart"),f.timeline.autoparallaxend=-1!==f.parallax.count&&f.timeline.autoparallaxstart+f.parallax.pathDuration*(f.parallax.count*(M.yoyo?2:1))),M.onUpdate=function(e,t,i,a,s,r,o){ee.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})};var _=!(M.onUpdateParams=["{self}",f.parallax.dummy,x[0],f.parallax.distance,f.parallax.level,f.parallax.type,f.parallax.rotation]);-1===M.repeat&&(_=!0),"backward"===f.parallax.direction&&_&&(M.repeat=0),f.parallax._timeline.to(f.parallax.dummy,f.parallax.pathDuration,M),"backward"===f.parallax.direction&&(f.parallax._timeline.seek(f.parallax._timeline.duration()).reverse(),_&&f.parallax._timeline.eventCallback("onReverseComplete",function(e){e.seek(e.duration()).resume()},[f.parallax._timeline])),_?i.addCallback(function(e){e.resume()},f.timeline.autoparallaxstart,[f.parallax._timeline]):(i.add(f.parallax._timeline,f.timeline.autoparallaxstart),f.parallax._timeline.resume()),J.transitions.layers.timeline.shouldRestart=!0}f.parallax.enabled&&"randomLocal"==f.parallax._event&&i.addCallback(function(e){J.transitions.layers.parallax.random.setTimer({layerData:e})},f.timeline[f.parallax.randomStartAt],[f]),f.loop.enabled&&(p=new ee.TimelineMax({repeat:f.loop.repeat,repeatDelay:f.loop.repeatDelay,yoyo:f.loop.yoyo,paused:!0}),f.settings.timelineIsCalculated&&!f.is.static||(f.timeline.loopstart=this.getTiming(f,f.loop.startAt,"loopstart"),f.timeline.loopend=-1!==f.loop.count&&f.timeline.loopstart+(f.loop.repeat+1)*f.loop.duration+f.loop.repeat*f.loop.repeatDelay),f.loop._timeline=p,J.resize.transformProperties(m,f,f.loopToCSS,{x:f.loopLayerShouldBeConverted.x,y:f.loopLayerShouldBeConverted.y}),(f.loopToCSS.x&&0!==f.loopToCSS.x||f.loopToCSS.y&&0!==f.loopToCSS.y)&&(J.transitions.layers.timeline.shouldRestart=!0),f.loopFromCSS.transformOrigin=J.functions.convert.transformOrigin(f.loopLayerShouldBeConverted.transformOrigin,m,f,m.data(J.defaults.init.dataKey).elements.$outerStyleWrapper),f.loopFromCSS.transformPerspective=f.transformPerspective.loop*f.settings.calculatedratio,ie.isEmptyObject(f.filter.values.loop)||(f.filter.transitions.loop||(f.filter.transitions.loop=J.transitions.layers.filters.createTransition(f,"loop",ie.isEmptyObject(f.filter.values.afterIn)?f.filter.values.style:f.filter.values.afterIn,f.filter.values.loop)),p.to([{p:0},h],f.loop.duration,{p:1,autoCSS:!1,ease:f.loopTo.ease,onUpdate:J.transitions.layers.filters.animate,onUpdateParams:["{self}",f.filter.transitions.loop]},0)),p.fromTo(v[0],f.loop.duration,f.loopFrom,f.loopTo,0),f.is.smartBG&&-1!==f.styleSettings.smartbg.indexOf("loop")&&p.fromTo(h,f.loop.duration,{"--lx":"0px","--ly":"0px"},{ease:f.loopTo.ease,"--lx":-f.loopTo.css.x+"px","--ly":-f.loopTo.css.y+"px"},0),f.loopClipToCSS.clipPath&&(f.loopClipToCSS.clipPath=J.functions.convert.clipProperties(f.loopClipToCSS.clipPath,f,m),p.fromTo(v[0],f.loop.duration,f.loopClipFrom,f.loopClipTo,0)),-1!==f.loop.repeat&&("looplayers"===J.o.pauseOnHover||J.gui.timers.slidebar.$element||J.o.playByScroll)?(b.add(p,f.timeline.loopstart),p.play()):b.addCallback(function(e){e.play()},f.timeline.loopstart,[p])),f.is.static&&(f.timeline.staticfrom=f.timeline.transitioninend,f.timeline.staticto="100%",f.settings.timelineIsCalculated||(l=Math.max(f.timeline.allinandloopend(),0),this.totalDuration=Math.max(this.totalDuration,l))),f.is.textLayer&&f.textOut.enabled&&(c=J.transitions.layers.splitType.setNodesSequence(f.textOut.type.split("_"),f.textOut.ns),f.textOut.nodes=c[0],J.resize.transformProperties(m,f,f.textOutNodesTo,f.textOutShouldBeConverted,f.textOutNodesFrom,f.textOut.nodes),f.textOut.mirror?(f.textOut.nodesMirror=c[1],J.resize.mirrorTransitionProperties({transitionProperties:$,transitionPropertiesShouldBeConverted:W,transitionType:"text",mirrorProperties:f.textOut.mirror}),J.resize.transformProperties(m,f,$,W,f.textOutNodesFrom,f.textOut.nodes)):f.textOut.nodesMirror=c[0],f.textOutNodesFrom.transformPerspective=f.transformPerspective.text*f.settings.calculatedratio,ie.isEmptyObject(f.textOutShouldBeConverted.random)||J.transitions.layers.splitType.setRandomProperties(m,f,f.textOutShouldBeConverted.random,f.textOutNodesTo,"Out"),ie.isEmptyObject(f.textOutNodesTo.random)||J.transitions.layers.splitType.setRandomProperties(m,f,f.textOutNodesTo.random,f.textOutNodesTo,"Out"),delete f.textOutNodesTo.random,f.textOut.mirror&&(ie.isEmptyObject(W.random)||J.transitions.layers.splitType.setRandomProperties(m,f,W.random,$,"Out"),ie.isEmptyObject($.random)||J.transitions.layers.splitType.setRandomProperties(m,f,$.random,$,"Out"),delete $.random),f.settings.timelineIsCalculated||(f.timeline.textoutstart=this.getTiming(f,f.textOut.startAt,"textoutstart"),f.timeline.textoutend=f.timeline.textoutstart+(f.textOut.nodes.length-1)*f.textOut.shiftNodes+f.textOut.duration),f.clip.enabled&&!f.loopClipToCSS.clipPath&&f.clip.style.css.clipPath==f.clip.default.css.clipPath&&i.fromTo(y[0],0,f.clip.style,f.clip.none,f.timeline.textoutstart),f.textOutNodesTo.color&&(f.textOutNodesFrom.color=f.original.color),_=function(e){J.layers.set.dataAttribute("add",e,"text-animating-out")},p=function(e){J.layers.set.dataAttribute("remove",e,"text-animating-out")},u=[m],-1!==f.textOut.startAt.indexOf("slidechangeonly")&&(!f.is.static||f.is.static&&f.settings.slideOut===J.slides.next.index)?(a.set(h,f.textOut.layerStyle,0),r.set(h,f.textOut.layerStyle,0),(c=new ee.TimelineMax).addCallback(_,0,u),c.staggerFromTo(f.textOut.nodes,f.textOut.duration,f.textOutNodesFrom,f.textOutNodesTo,f.textOut.shiftNodes,0,p,u),c.timeScale(c.duration()/J.o.forceLayersOutDuration),a.add(c,0),a.to(g[0],0,f.reset.wrapperOnTimelineEnd,J.o.forceLayersOutDuration),(c=new ee.TimelineMax).addCallback(_,0,u),c.staggerFromTo(f.textOut.nodesMirror,f.textOut.duration,f.textOutNodesFrom,$,f.textOut.shiftNodes,0,p,u),c.timeScale(c.duration()/J.o.forceLayersOutDuration),r.add(c,0),r.to(g[0],0,f.reset.wrapperOnTimelineEnd,J.o.forceLayersOutDuration)):(i.addCallback(_,f.timeline.textoutstart,u),i.set(h,f.textOut.layerStyle,f.timeline.textoutstart),i.staggerFromTo(f.textOut.nodes,f.textOut.duration,f.textOutNodesFrom,f.textOutNodesTo,f.textOut.shiftNodes,f.timeline.textoutstart,p,u),(!f.is.static||f.is.static&&f.settings.slideOut===J.slides.next.index)&&(a.to(g[0],J.o.forceLayersOutDuration,{opacity:0},0),r.to(g[0],J.o.forceLayersOutDuration,{opacity:0},0),a.to(g[0],0,f.reset.wrapperOnTimelineEnd,J.o.forceLayersOutDuration),r.to(g[0],0,f.reset.wrapperOnTimelineEnd,J.o.forceLayersOutDuration))));break;case"out":f.out.enabled&&(J.resize.performTransformOperations(f.inLayerToCSS,f.outLayerToCSS),J.resize.transformProperties(m,f,f.outLayerToCSS,f.outLayerShouldBeConverted,f.outLayerFromCSS),J.resize.styleProperties(m,f,f.outLayerStyleFromCSS,f.outLayerStyleShouldBeConvertedFrom),J.resize.styleProperties(m,f,f.outLayerStyleToCSS,f.outLayerStyleShouldBeConvertedTo),f.outLayerFromCSS.transformPerspective=f.transformPerspective.layer*f.settings.calculatedratio,f.out.mirror&&(J.resize.performTransformOperations(f.inLayerToCSS,P),J.resize.mirrorTransitionProperties({transitionProperties:P,transitionPropertiesShouldBeConverted:O,transitionType:"normal",mirrorProperties:f.out.mirror}),J.resize.transformProperties(m,f,P,O,f.outLayerFromCSS)),f.is.smartBG&&-1!==f.styleSettings.smartbg.indexOf("out")&&(f.outLayerStyleFrom.css["--x"]=parseInt(f.responsive["--x"])+"px",f.outLayerStyleTo.css["--x"]=parseInt(f.responsive["--x"])-f.outLayerToCSS.x+"px",f.outLayerStyleFrom.css["--y"]=parseInt(f.responsive["--y"])+"px",f.outLayerStyleTo.css["--y"]=parseInt(f.responsive["--y"])-f.outLayerToCSS.y+"px"),ie.isEmptyObject(f.filter.values.out)||f.filter.transitions.out||(f.filter.transitions.out=J.transitions.layers.filters.createTransition(f,"out",ie.isEmptyObject(f.filter.values.afterLoop)?ie.isEmptyObject(f.filter.values.afterIn)?f.filter.values.style:f.filter.values.afterIn:f.filter.values.afterLoop,f.filter.values.out)),f.clip.enabled&&!f.outClipToCSS.clipPath&&f.clip.style.css.clipPath!==f.clip.default.css.clipPath&&(f.outClipToCSS.clipPath=f.clip.default.css.clipPath),f.outClipToCSS.clipPath&&(f.outClipToCSS.clipPath=J.functions.convert.clipProperties(f.outClipToCSS.clipPath,f,m)),"slidechangeonly"!==f.out.startAt?(f.settings.timelineIsCalculated&&!f.is.static||(f.is.static?(f.timeline.staticfrom=0,f.timeline.transitionoutstart=this.getTiming(f,f.out.startAt,"transitionoutstart",!0),f.timeline.staticto=f.timeline.transitionoutstart):f.timeline.transitionoutstart=Math.max(this.getTiming(f,f.out.startAt,"transitionoutstart"),f.timeline.transitioninend),f.timeline.transitionoutend=f.timeline.transitionoutstart+f.out.duration),f.outClipToCSS.clipPath&&i.to(y[0],f.out.duration,f.outClipTo,f.timeline.transitionoutstart),ie.isEmptyObject(f.filter.values.out)||i.to([{p:0},h],f.out.duration,{p:1,autoCSS:!1,ease:f.outLayerTo.ease,onUpdate:J.transitions.layers.filters.animate,onUpdateParams:["{self}",f.filter.transitions.out]},f.timeline.transitionoutstart),f.outLayerStyleTo.onComplete=function(e,t){t.is.mediaLayer&&t.mediaProperties.$media[0].hasAttribute("data-ls-playing")&&J.media.functions.stopSingleMedia(e,t)},f.outLayerStyleTo.onCompleteParams=[m,f],i.fromTo(g[0],f.out.duration,f.outLayerFrom,f.outLayerTo,f.timeline.transitionoutstart),i.fromTo(h,f.out.duration,f.outLayerStyleFrom,f.outLayerStyleTo,f.timeline.transitionoutstart),i.fromTo(g[0],0,f.init.wrapper,f.reset.wrapperOnTimelineEnd,f.timeline.transitionoutend)):(f.timeline.staticfrom=0,f.timeline.staticto="100%"),u=Math.min(J.o.forceLayersOutDuration,f.out.duration),(!f.is.static||f.is.static&&f.settings.slideOut===J.slides.next.index)&&(a.fromTo(g[0],u,f.outLayerFrom,f.outLayerTo,0),a.fromTo(h,u,f.outLayerStyleFrom,f.outLayerStyleTo,0),r.fromTo(g[0],u,f.outLayerFrom,f.out.mirror?C:f.outLayerTo,0),r.fromTo(h,u,f.outLayerStyleFrom,f.outLayerStyleTo,0),f.outClipToCSS.clipPath&&(a.to(y[0],u,f.outClipTo,0),r.to(y[0],u,f.outClipTo,0)),ie.isEmptyObject(f.filter.values.out)||(a.to([{p:0},h],u,{p:1,autoCSS:!1,ease:f.outLayerTo.ease,onUpdate:J.transitions.layers.filters.animate,onUpdateParams:["{self}",f.filter.transitions.out]},0),r.to([{p:0},h],u,{p:1,autoCSS:!1,ease:f.outLayerTo.ease,onUpdate:J.transitions.layers.filters.animate,onUpdateParams:["{self}",f.filter.transitions.out]},0)))),l=Math.max(f.timeline.alloutandloopend(),0),this.totalDuration=Math.max(this.totalDuration,l),f.settings.timelineIsCalculated=!0}}},play:function(){J.transitions._slideTimeline&&(J.transitions._slideTimeline.play(),J.functions.setStates(this,{started:!0,running:!0,stopped:!1,paused:!1}))},pause:function(e){e=ie.isNumeric(e)?e:.75;J.transitions._slideTimeline&&(ee.TweenMax.to(J.transitions._slideTimeline,e,{timeScale:0,onComplete:function(e){e.pause()},onCompleteParams:[J.transitions._slideTimeline]}),J.functions.setStates(this,{paused:!0,stopped:!1}))},resume:function(){J.transitions._slideTimeline&&(this.state.paused&&J.transitions._slideTimeline.play(),ee.TweenMax.to(J.transitions._slideTimeline,.75,{timeScale:1}),J.functions.setStates(this,{paused:!1,stopped:!1}))},reverse:function(){J.transitions._slideTimeline&&J.transitions._slideTimeline.reverse()},scrollForward:function(e){e||(this.play(),this.modifyTimeScale()),J.transitions._slideTimeline&&(J.slider.isBusy()||0!==J.transitions._slideTimeline.totalDuration()&&1!==J.transitions._slideTimeline.progress()||"down"!==J.device.scroll.direction||(J.slideshow.direction="next",(e=J.slideshow.sequence.normalized).indexOf(J.slides.current.index)===e.length-1?(J.slider.positionToViewport="under",J.device.scroll.enable(),J.slideshow.direction="prev"):J.navigation.next()))},scrollBackwards:function(e,t){e&&!t||(this.reverse(),this.modifyTimeScale()),J.transitions._slideTimeline&&(J.slider.isBusy()||0!==J.transitions._slideTimeline.totalDuration()&&0!==J.transitions._slideTimeline.progress()||"up"!==J.device.scroll.direction||(J.slideshow.direction="prev",0===J.slideshow.sequence.normalized.indexOf(J.slides.current.index)?(J.slider.positionToViewport="over",J.device.scroll.enable(),J.slideshow.direction="next"):J.navigation.prev()))},modifyTimeScale:function(){J.transitions._slideTimeline&&ee.TweenMax.to(J.transitions._slideTimeline,.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."+W,function(){J.transitions.layers.hover.mouseEnter(e,t)}),t.elements.$wrapper.on("mouseleave."+W,function(){J.transitions.layers.hover.mouseLeave(e,t)}),t.elements.$wrapper.on("mousemove."+W,function(){J.transitions.layers.hover.mouseMove(e,t)})},createTimeline:function(e,t){var i,a,s;t.hover._timeline=new ee.TimelineMax({paused:!0,onReverseComplete:function(e,t){t.hover._timeline._reversed&&(t.hover._timeline.stop().clear(),delete t.hover._timeline)},onReverseCompleteParams:[e,t]}),J.resize.transformProperties(e,t,t.hoverToCSS,t.hoverShouldBeConverted,t.hoverFromCSS),J.resize.styleProperties(e,t,t.hoverToCSS,t.hoverShouldBeConverted),t.hoverFromCSS.transformPerspective=t.transformPerspective.hover*t.settings.calculatedratio,t.hover._tween=ee.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=ie.extend(!0,{},t.hoverFrom,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),s=ie.extend(!0,{},t.hoverTo,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),t.hover._linkTween=ee.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},J.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."+W),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:{defaultProperties:{type:"2d",event:"cursor",duration:5,x:!0,y:!0,rotation:10,distance:10,durationMove:1.5,durationLeave:1.2,transformOrigin:"slidercenter slidermiddle 0",transformPerspective:500},defaults:{scrollModifier:5,centerLayers:"center",centerDegree:40,sensitive:10},state:{enabled:!1,ready:!1},wrappers:{cursor:{$2d:ie(),$3d:ie()},scroll:{$2d:ie(),$3d:ie()},auto:{$2d:ie(),$3d:ie()},randomGlobal:{},randomLocal:{}},globalSlideParallaxData:{},init:function(){var t=this;$.on("mouseenter."+W,function(){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.calculateTransformProperties()}),$.on("mousemove."+W,function(e){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.mouseMove(e)}),$.on("mouseleave."+W,function(){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.reset()}),M.on("scroll.parallax"+W+" touchmove.parallax"+W,function(){(t.wrappers.scroll.$2d.length||t.wrappers.scroll.$3d.length)&&(t.state.paused||t.scroll())}),M.on("resize.parallax"+W,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*=J.o.parallaxScrollReverse?-1:1},addLayer:function(e,t,i,a){switch(this.state.enabled||(J.functions.setStates(this,{enabled:!0}),this.init()),i.styleSettings.smartbg&&-1!==i.styleSettings.smartbg.indexOf("parallax")&&(t.smartBG=!0),ie.extend(!0,t,this.defaultProperties,J.slides[a].parallax,i.parallax),i.transformPerspective.parallax?t.transformPerspective=i.transformPerspective.parallax:i.transformPerspective.parallax=t.transformPerspective,t.event&&t.event.match(/(cursor|scroll|auto|random)/)||(t.event="cursor"),"auto"===t.event&&(t.path||(t.path=J.slides[a].parallax.path),t.pathDuration||(t.pathDuration=J.slides[a].parallax.pathDuration),t.startAt||(t.startAt=J.slides[a].parallax.startAt),t.direction||(t.direction=J.slides[a].parallax.direction),t.count||(t.count=J.slides[a].parallax.count)),"random"===t.event&&(null==t.randomX&&(t.randomX=J.slides[a].parallax.randomX),null==t.randomY&&(t.randomY=J.slides[a].parallax.randomY),t.randomDuration||(t.randomDuration=J.slides[a].parallax.randomDuration),t.ease||(t.ease=J.slides[a].parallax.ease),t.ease=J.functions.convert.easing(t.ease),t.randomCount||(t.randomCount=J.slides[a].parallax.randomCount),t.randomStartAt||(t.randomStartAt=J.slides[a].parallax.randomStartAt),null==t.randomWait&&(t.randomWait=J.slides[a].parallax.randomWait),t.type!==J.slides[a].parallax.type||t.randomX!==J.slides[a].parallax.randomX||t.randomY!==J.slides[a].parallax.randomY||t.randomDuration!==J.slides[a].parallax.randomDuration||t.randomCount!==J.slides[a].parallax.randomCount||t.randomStartAt!==J.slides[a].parallax.randomStartAt||t.randomWait!==J.slides[a].parallax.randomWait||t.distance!==J.slides[a].parallax.distance||t.rotation!==J.slides[a].parallax.rotation||i.settings.skipViewport?t._event="randomLocal":t._event="randomGlobal"),t.type&&t.type.match(/^(2d|3d)$/)||(t.type="2d"),(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&&ee.TweenMax.set(e[0],{"--rx":"0px","--ry":"0px"}),"random"===t.event?(this.wrappers[t._event][a]||(this.wrappers[t._event][a]={$2d:ie(),$3d:ie()}),-1!==t._event.indexOf("randomLocal")&&(i.parallax.randomUID=J.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=J.transitions.layers.parallax.wrappers.randomGlobal[e.slideIndex].$2d.add(J.transitions.layers.parallax.wrappers.randomGlobal[e.slideIndex].$3d),e.parallaxData=J.transitions.layers.parallax.globalSlideParallaxData[e.slideIndex]=e.parallaxData||e.globalSlideParallaxData||J.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(J.defaults.init.dataKey),e.x=J.functions.convert.randomProperties(e.parallaxData.randomX,"x",e.$layer,e.layerData),e.y=J.functions.convert.randomProperties(e.parallaxData.randomY,"y",e.$layer,e.layerData),e.duration=e.parallaxData.randomDuration,ie.isNumeric(e.duration)||(e.duration=J.functions.convert.randomProperties(e.duration,"duration")/1e3),e.wait=e.parallaxData.randomWait,ie.isNumeric(e.wait)||(e.wait=J.functions.convert.randomProperties(e.wait,"delay")/1e3),J.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}),J.timeouts[e.timeout]=setTimeout(function(){J.transitions.layers.parallax.random.setTimer(e)},1e3*(e.duration+e.wait))}},addShadow:function(){var e,t,i,a=J.gui.shadow.$element,s=(J.slides.current&&J.slides.current.parallax?J.slides.current:J.slides.next).index;J.slides[s].data.$background&&J.slides[s].data.$background.data(J.defaults.init.dataKey).parallax.enabled&&J.slides[s].data.overflow&&"hidden"!==J.slides[s].data.overflow&&(e="50% -"+.25*J.slider.height+"px 0",i=void 0!==(t=J.slides[s].data.$background.data(J.defaults.init.dataKey).parallax).rotation?2*t.rotation:void 0!==J.slides[s].parallax.rotation?2*J.slides[s].parallax.rotation:2*this.defaultProperties.rotation,a.data(J.defaults.init.dataKey,{parallax:ie.extend(!0,{},this.defaultProperties,J.slides[s].parallax,{level:t.level,transformOrigin:e,rotation:i})}),a.attr("data-ls-parallax","active"),ee.TweenMax.set(a[0],{transformOrigin:e,transformPerspective:a.data(J.defaults.init.dataKey).parallax.transformPerspective*J.resize.ratio}),"3d"===J.slides[s].parallax.type||"3d"===t.type?this.wrappers.cursor.$3d=this.wrappers.cursor.$3d.add(a):this.wrappers.cursor.$2d=this.wrappers.cursor.$2d.add(a)),this.shadowIsChecked=!0},removeShadow:function(){var e=J.gui.shadow.$element;this.wrappers.cursor.$2d=this.wrappers.cursor.$2d.not(e),this.wrappers.cursor.$3d=this.wrappers.cursor.$3d.not(e),e.attr("data-ls-parallax","disabled"),this.shadowIsChecked=!1},calculateTransformProperties:function(){var e,a;(e=this.wrappers,a=ie(),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=ie(this),t=e.data(J.defaults.init.dataKey).parallax,i=e.find(".ls-layer"),a=i.data(J.defaults.init.dataKey),e=J.functions.convert.transformOrigin(t.transformOrigin,i.data(J.defaults.init.dataKey).elements.$wrapper,a,e);ee.TweenMax.set(ie(this)[0],{transformOrigin:e,transformPerspective:t.transformPerspective*a.settings.calculatedratio})}),this.transformPropertiesCalculated=!0},trigger:function(){M.trigger("scroll.parallax"+W),M.trigger("touchmove.parallax"+W)},auto:function(){this.transformPropertiesCalculated||this.calculateTransformProperties()},scroll:function(){var e=(("top"===this.defaults.centerLayers?te.scroll.top:te.scroll.top+(te.viewport.height-J.slider.height)/2)-J.slider.offset.top)*J.resize.ratio*this.defaults.scrollModifier;J.slider.state.inFullscreen&&(e=0),this.transformPropertiesCalculated||this.calculateTransformProperties();e={x:0,y:e,eventName:"scroll"};this.animate2D(e),this.animate3D(e)},mouseMove:function(e,t={}){this.transformPropertiesCalculated||this.calculateTransformProperties(),J.slider.state.animatingSlides||this.shadowIsChecked||!J.gui.shadow.$element||this.addShadow();var i=J.slider.offset.left+J.slider.width/2,a=J.slider.offset.top+J.slider.height/2,a={x:null!=t.x?t.x:e.pageX-i,y:null!=t.y?t.y:e.pageY-a,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.animate2D(a),t.type&&"3d"!==t.type||this.animate3D(a)},animate2D:function(s={}){var r,o,n=-1!==s.eventName.indexOf("random"),e=this.wrappers[s.eventName].$2d;"randomGlobal"==s.eventName?e=this.wrappers[s.eventName][s.slideIndex].$2d:"randomLocal"==s.eventName&&(e=s.$wrappers),e.each(function(){var e,t,i,a=ie(this);"active"===a.attr("data-ls-parallax")&&(e=a.data(J.defaults.init.dataKey).parallax,t=n||e.x?-s.x*(e.distance/2e3)*parseInt(e.level):0,i=n||e.y?-s.y*(e.distance/2e3)*parseInt(e.level):0,s.timeout&&(e._timeout=s.timeout),o=n?(r=s.duration,e.ease):(r=e.durationMove,ee.Power1.easeOut),ee.TweenMax.to(a[0],r,{x:t,y:i,ease:o}),e.smartBG&&J.transitions.layers.parallax.animateSmartBG(t,i,a,r,o))})},animate3D:function(o={}){var n,l,d=-1!==o.eventName.indexOf("random"),e=this.wrappers[o.eventName].$3d;"randomGlobal"==o.eventName?e=this.wrappers[o.eventName][o.slideIndex].$3d:"randomLocal"==o.eventName&&(e=o.$wrappers),e.each(function(){var e,t,i,a,s,r=ie(this);"active"===r.attr("data-ls-parallax")&&(e=r.data(J.defaults.init.dataKey).parallax,o.timeout&&(e._timeout=o.timeout),a=d||e.x?(i=-o.x/(4e3/e.rotation),-o.x*(e.distance/2e3)*parseInt(e.level)):i=0,s=d||e.y?(t=o.y/(4e3/e.rotation),-o.y*(e.distance/2e3)*parseInt(e.level)):t=0,l=d?(n=o.duration,e.ease):(n=e.durationMove,ee.Power1.easeOut),ee.TweenMax.to(r[0],n,{rotationX:t,rotationY:i,x:a,y:s,ease:l}),e.smartBG&&J.transitions.layers.parallax.animateSmartBG(a,s,r,n,l))})},animateSmartBG:function(e,t,i,a,s){ee.TweenMax.to(i.find(".ls-layer, .ls-l").first()[0],a,{"--rx":-e+"px","--ry":-t+"px",ease:s})},reset:function(){ie().add(this.wrappers.cursor.$2d).add(this.wrappers.cursor.$3d).each(function(){var e=ie(this);e.find(".ls-layer[data-ls-hidden]").length&&ee.TweenMax.set(e[0],{x:0,y:0,rotationX:0,rotationY:0}),e.find(".ls-layer[data-ls-parallax-reset]").length&&ee.TweenMax.to(e[0],ie(this).data(J.defaults.init.dataKey).parallax.durationLeave,{x:0,y:0,rotationX:0,rotationY:0})}),J.gui.shadow.$element&&this.removeShadow(),this.transformPropertiesCalculated=!1}},scroll:{defaultProperties:{shouldBeConverted:{transformOrigin:"50% 50% 0"},transformPerspective:500,duration:.5,ease:"easeOutQuart"},defaults:{centerLayers:"center"},state:{enabled:!1},$wrappers:ie(),init:function(){var e=this;M.on("scroll.scroll"+W+" touchmove.scroll"+W,function(){e.$wrappers.length&&e.scroll()}),M.on("resize.scroll"+W,function(){e.$wrappers.length&&e.calculateTransformProperties()})},addLayer:function(e,t,i,a){this.state.enabled||(J.functions.setStates(this,{enabled:!0}),this.init()),ie.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=J.functions.convert.easing(t.ease),t.easeRev=J.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(((J.slider.isScrollScene||J.slider.isSticky)&&"scene"===t||"document"===t)&&(i=t),e){case"top":switch(i){case"scene":e=J.slider.wrapperPosition.top-(te.viewport.height-J.slider.height)/2;break;case"document":default:e=te.scroll.top}break;case"center":switch(i){case"scene":e=J.slider.wrapperPosition.middleForScrollTransition;break;case"document":e=te.scroll.top;break;default:e=te.scroll.top+(te.viewport.height-J.slider.height)/2}break;case"bottom":switch(i){case"scene":e=J.slider.wrapperPosition.top+J.slider.wrapperOffset.height-te.viewport.height+(te.viewport.height-J.slider.height)/2;break;case"document":e=te.scroll.top;break;default:e=te.scroll.top+te.viewport.height-J.slider.height}break;case"top-meets-viewport-bottom":e=te.scroll.top+te.viewport.height;break;case"top-meets-viewport-middle":e=te.scroll.top+te.viewport.height/2;break;case"bottom-meets-viewport-top":e=te.scroll.top-J.slider.height;break;case"bottom-meets-viewport-middle":e=te.scroll.top+te.viewport.height/2-J.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(J.slider.isScrollScene||J.slider.isSticky)&&"scene"===e.getPosition?-t:"document"===e.getPosition?t:J.slider.state.inFullscreen?0:t-J.slider.offset.top},scroll:function(o){var n,l;J.slider.state.isNotDisplayed||J.slider.state.isHidden||(l=(n=this).getCenter(this.defaults.centerLayers),this.transformPropertiesCalculated||this.calculateTransformProperties(),this.$wrappers.each(function(){var e,t,i,a=ie(this),s=a.find(".ls-scroll-transform"),r=a.data(J.defaults.init.dataKey).scroll;(-1!==J.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"===te.scroll.direction?r.ease:r.easeRev,onUpdate:function(e,t){e=e.target.style.c<=0?"+":"-";r.layerPositionToCenter!==e&&n.setTransformProperties(ie(t),r,e),r.layerPositionToCenter=e},onUpdateParams:["{self}",this,r]},i={overwrite:"all",ease:"down"===te.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"===te.scroll.direction?r.duration:r.durationRev,o||0==e?(ee.TweenMax.set(a[0],t),ee.TweenMax.set(s[0],i)):(ee.TweenMax.to(a[0],e,t),ee.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*=J.resize.ratio),e},calculateTransformProperties:function(){var a=this;this.$wrappers.each(function(){var e=ie(this),t=e.data(J.defaults.init.dataKey).scroll,i=(e.find(".ls-layer").data(J.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(J.defaults.init.dataKey);ee.TweenMax.set(e.find(".ls-scroll-transform")[0],{transformOrigin:J.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 J.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)+"% )"}ee.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){ie(".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]=J.functions.convert.randomProperties(i[r],r,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;J.slides.current.index&&J.slides.current.data.$backgroundVideo.length&&(r=(i=J.slides.current.data.$backgroundVideo).data(J.defaults.init.dataKey).elements.$bgWrapper,t&&(i.data(J.defaults.init.dataKey).mediaProperties.willBePaused=!0,r.fadeOut(J.transitions.media.defaults.fadeOut,function(){i.trigger("stopBackgroundVideo"),i.data(J.defaults.init.dataKey).mediaProperties.willBePaused=!1}))),J.slides.next.data.$backgroundVideo.length&&(s=(a=J.slides.next.data.$backgroundVideo).data(J.defaults.init.dataKey).elements.$bgWrapper,r=a.data(J.defaults.init.dataKey).elements.$bgOuterWrapper,te.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(J.transitions.media.defaults.fadeOut):s.css({display:"block"}),a.data(J.defaults.init.dataKey).mediaProperties.isPreloaded=!0)}},timers:{defaults:{fadeInDuration:.35,reverseDuration:.3},create:function(e){this.curNext=e||"next",this.reset(),J.gui.timers.bar.$element&&this.bar.createTransition(),J.gui.timers.circle.$element&&this.circle.createTransition(),J.gui.timers.slidebar.$element&&this.slidebar.createTransition()},reverse:function(){var e;J.slides.current&&J.slides.current.data&&J.transitions._slideTimeline&&(e=J.transitions._slideTimeline.progress(),e=J.slides.current.data.duration*e/this.defaults.reverseDuration,J.gui.timers.bar.$element&&this.bar._transition&&(J.transitions._slideTimeline.remove(J.transitions.timers.bar._transition),this.bar._transition.reverse().timeScale(e)),J.gui.timers.circle.$element&&this.circle._transition&&(J.transitions._slideTimeline.remove(J.transitions.timers.circle._transition),this.circle._transition.reverse().timeScale(e)),J.gui.timers.slidebar.$element&&this.slidebar._transition&&(J.transitions._slideTimeline.remove(J.transitions.timers.slidebar._transition),this.slidebar._transition.reverse().timeScale(e)))},reset:function(){J.gui.timers.bar.$element&&this.bar._transition&&this.bar.reset(),J.gui.timers.circle.$element&&this.circle._transition&&this.circle.reset(),J.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=ee.TweenMax.fromTo(J.gui.timers.bar.$element[0],J.slides[J.transitions.curNext].data.duration,{autoCSS:!1,paused:!0,css:{width:0}},{autoCSS:!1,css:{},ease:ee.Linear.easeNone,onReverseComplete:function(){J.transitions.timers.bar._transition=!1},onReverseCompleteParams:["{self}"],onComplete:function(e){e.target.style.width="100%",e.target.style.width="calc( 100% - "+J.slider.initial.skinWidth+"px )"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.width=Math.min(J.slider.width,J.slider.width*e.progress())+"px"},onUpdateParams:["{self}"]})}},circle:{reset:function(){this._transition&&(J.gui.timers.circle.$element.stop(!0,!0),this._transition.kill(),this._transition=!1)},createTransition:function(){var e=J.gui.timers.circle.$element.find(".ls-ct-right .ls-ct-rotate")[0],t=J.gui.timers.circle.$element.find(".ls-ct-left .ls-ct-rotate")[0],i=J.slides[J.transitions.curNext].data.duration;this._transition=new ee.TimelineMax({paused:!0}).fromTo(J.gui.timers.circle.$element[0],J.transitions.timers.defaults.fadeInDuration,{autoCSS:!1,immediateRender:!0,css:{opacity:0,display:"block"}},{autoCSS:!1,css:{opacity:J.gui.timers.circle.$element.data("original").opacity}}).fromTo(e,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:ee.Linear.easeNone},0).fromTo(t,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:ee.Linear.easeNone},i/2)}},slidebar:{reset:function(){this._transition&&(this._transition.kill(),this._transition=!1)},createTransition:function(){var i=this;i._transition=new ee.TimelineMax({paused:!0,onReverseComplete:function(){J.transitions.timers.slidebar._transition=!1}}),ie.each(J.gui.timers.slidebar.$sliderContainerElement,function(t,e){i._transition.add(ee.TweenMax.fromTo(J.gui.timers.slidebar.$sliderContainerElement[t][0],J.slides[J.transitions.curNext].data.duration,{autoCSS:!1,css:{left:0}},{autoCSS:!1,immediateRender:!1,css:{},ease:ee.Linear.easeNone,onComplete:function(e){e.target.style.left="calc( 100% - "+J.gui.timers.slidebar.sliderContainerElementWidth[t]+"px )"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.left=(J.gui.timers.slidebar.containerElementWidth[t]-J.gui.timers.slidebar.sliderContainerElementWidth[t])*e.progress()+"px"},onUpdateParams:["{self}"]}),0),i._transition.add(ee.TweenMax.fromTo(J.gui.timers.slidebar.$progressBarElement[t][0],J.slides[J.transitions.curNext].data.duration,{autoCSS:!1,css:{width:0}},{autoCSS:!1,css:{},ease:ee.Linear.easeNone,onComplete:function(e){e.target.style.width="100%"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.width=J.gui.timers.slidebar.elementWidth[t]*e.progress()+"px"},onUpdateParams:["{self}"]}),0)})}}},scrollscene:{animate:function(e){var t,i;J.transitions._slideTimeline&&(t=J.slider.wrapperOffset.height-J.slider.height,i=te.scroll.top+this.stickLimit-J.slider.wrapperOffset.top,e=Math.max(1e-4,J.o.sceneDuration/t*i),t=ee.Quart.easeOut,i=this.initialized&&!this.immediateRender?J.o.smoothScrollDuration/1e3:0,J.transitions._slideTimeline.tweenTo(e,{ease:t}).duration(i),this.initialized=!0,this.immediateRender=!1)}}},J.plugins={load:function(){var e,a;J.o.plugins&&0!==J.o.plugins.length?(e=J.o.plugins[0],a="object"==typeof e?e.namespace:e,window._layerSlider.plugins[a]?(J.plugins.init(a,e,!0),J.plugins.load()):J.browser.usesFileProtocol||"object"!=typeof e?(J.browser.usesFileProtocol?window.console&&(console.error(J.defaults.slider.errorText,"Cannot load plugins on file:// protocol."),console.info("Please include the plugin files manually.")):window.console&&(console.error(J.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.')),J.o.plugins.splice(0,1),J.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),ie.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(){J.plugins.init(e.namespace,e,!0),window._layerSlider.pluginsLoaded.push(a)},error:function(e,t,i){window.console&&(console.error(J.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),J.plugins.load()}})):(J[a]||-1!==window._layerSlider.pluginsNotLoaded.indexOf(a)?J.o.plugins.splice(0,1):J.plugins.init(a,e),J.plugins.load()):J.plugins.checkLoaded(a)):J.slider.check.initialized()},init:function(e,t,i){J.initializedPlugins[e]=new window._layerSlider.plugins[e](J,$,W,t.settings),window._layerSlider.checkVersions(J.initializedPlugins[e].pluginData.requiredLSVersion,J.plugin.version)?(t.css&&i&&ie('<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"),J.initializedPlugins[e].init&&J.initializedPlugins[e].init()):window.console&&console.error(J.defaults.slider.errorText,e,"plugin has not been loaded! Required LayerSlider version:",J.initializedPlugins[e].pluginData.requiredLSVersion,"(you have:",J.plugin.version+")"),J.o.plugins.splice(0,1)},checkLoaded:function(e){J.intervals.pluginLoaded=setInterval(function(){-1===window._layerSlider.pluginsLoaded.indexOf(e)&&-1===window._layerSlider.pluginsNotLoaded.indexOf(e)||-1!==window._layerSlider.pluginsBeingLoaded.indexOf(e)||(clearInterval(J.intervals.pluginLoaded),delete J.intervals.pluginLoaded,J.plugins.load())},100)}},J.performance={},J.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;J.api.hasEvent("sliderWillLoad")&&J.api.triggerEvent("sliderWillLoad"),J.slider.set.global()},set:{global:function(){var e;J.originalMarkup=$[0].outerHTML,J.userInitOptions=J.functions.convert.properties(J.functions.convert.oldProperties(i)),J.meta={},J.o=ie.extend(!0,{},J.defaults.init.options,J.userInitOptions),J.o.forceLayersOutDuration/=1e3,J.o.forceLayersOutDuration=0<J.o.forceLayersOutDuration?J.o.forceLayersOutDuration:.75,J.o.sliderFadeInDuration/=1e3,window.console&&!0!==J.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: "+J.plugin.version+"-"+J.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 J.o.plugins?J.o.plugins.push(t):J.o.plugins=[t]),(window._layerSlider.currentScript||window._layerSlider.lsScript)&&(window._layerSlider.scriptPath=(window._layerSlider.currentScript||window._layerSlider.lsScript).src.replace(/\\/g,"/").replace(/\/[^\/]*$/,"")),J.o.silentMode&&(J.slider.$silentWrapper=ie("<ls-silent-wrapper></ls-silent-wrapper>"),J.slider.$silentWrapper.append($).prependTo("body")),"string"==typeof J.o.getData&&(J.o.getData=[J.o.getData]),"object"==typeof J.o.plugins?J.plugins.load():J.slider.check.initialized()},styles:function(){var e,t,i,a,s,r,o,n,l,d,p,c,u,h,m,f,g,y=J.slider,v=$.parent(),x=L.style,w=window.getComputedStyle(L,null),b=parseInt(L.clientWidth),S=parseInt(L.clientHeight),T=parseInt(v.width()),k=parseInt(v.height()),C=J.o.layersContainerWidth,P=J.o.layersContainerHeight,O=J.o.type.toLowerCase();switch(J.debugMode&&J.debug.add("group","sliderInit.style"),J.o.width?e=-1==J.o.width.indexOf("%")?parseInt(J.o.width):J.o.width:x.width?e=-1==x.width.indexOf("%")?parseInt(x.width):x.width:0<C?(e=C,J.debugMode&&J.debug.add("warn","sliderInit.noWidth",C)):(e=b,J.debugMode&&J.debug.add("warn","sliderInit.noWidth2",b)),i=e,J.o.height?t=-1==J.o.height.indexOf("%")?parseInt(J.o.height):J.o.height:x.height?t=-1==x.height.indexOf("%")?parseInt(x.height):x.height:0<P?(t=P,J.debugMode&&J.debug.add("warn","sliderInit.noHeight",P)):(t=S,J.debugMode&&J.debug.add("warn","sliderInit.noHeight2",k)),a=t,s=""!==x.maxWidth?-1!==x.maxWidth.indexOf("px")?parseInt(x.maxWidth):x.maxWidth:0,void 0===J.userInitOptions.type&&(0<C&&0<P||"100%"===e&&"100%"===t?O="fullsize":C<=0&&P<=0&&(J.o.responsiveUnder<=0||0<J.o.responsiveUnder&&J.o.sliderVersion)?O=void 0!==J.o.responsive&&!1===J.o.responsive?"fixedsize":"responsive":0<J.o.responsiveUnder&&(O="fullwidth")),O){case"fullwidth":-1!==e.indexOf("%")&&(J.debugMode&&J.debug.add("warn","sliderInit.percWidth",[O,e,b]),e=b),C<=0&&(C=e,J.debugMode&&J.debug.add("warn","sliderInit.conWidth",[O,e])),J.o.responsiveUnder<=0&&(J.o.responsiveUnder=C,J.debugMode&&J.debug.add("warn","sliderInit.fullwidth",C)),-1!==t.indexOf("%")&&(o=k/(100/parseInt(t)),J.debugMode&&J.debug.add("warn","sliderInit.fullwidth2",[O,t,o]),t=o),P<=0&&(P=t);break;case"fullsize":-1!==e.indexOf("%")&&(r=0<C?C:T,J.debugMode&&J.debug.add("warn","sliderInit.fullsize",[O,e,r,T,C]),e=r),C<=0&&(C=e,J.debugMode&&J.debug.add("warn","sliderInit.conWidth",[O,e])),-1!==t.indexOf("%")&&(o=0<P?P:M.height()/(100/parseInt(t)),J.debugMode&&J.debug.add("warn","sliderInit.fullsize2",[O,t,o,M.height(),P]),t=o),P<=0&&(P=t,J.debugMode&&J.debug.add("warn","sliderInit.conHeight",[O,t]));break;case"fixedsize":break;default:J.userInitOptions.type=J.o.type=O="responsive",(J.o.responsiveUnder=-1)!==e.indexOf("%")&&(e=b,J.debugMode&&J.debug.add("warn","sliderInit.percWidth",[O,e,b])),-1!==t.indexOf("%")&&(e=S,J.debugMode&&J.debug.add("warn","sliderInit.responsive",[O,t,S])),J.debugMode&&0<C&&J.debug.add("warn","sliderInit.conWidth2",[O,C]),J.debugMode&&0<P&&J.debug.add("warn","sliderInit.conHeight2",[O,P])}if($.addClass("ls-container ls-"+O),$.parent().addClass("ls-direction-fix"),J.userInitOptions.slideBGSize||"responsive"!==O||!J.userInitOptions.hasOwnProperty("sliderVersion")||J.userInitOptions.sliderVersion||(J.o.slideBGSize="auto",J.debugMode&&J.debug.add("warn","sliderInit.bgCover",O)),J.o.slideBGSize=J.o.slideBGSize.replace("100% 100%","stretch"),n=0<C?C:e,l=0<P?P:t,(d="auto"===(g=L.style.marginLeft)?"auto":""===g?parseInt(w.getPropertyValue("margin-left")):parseInt(L.style.marginLeft))===(p="auto"===(f=L.style.marginRight)?"auto":""===f?parseInt(w.getPropertyValue("margin-right")):parseInt(L.style.marginRight))&&(""===g&&""===f&&(I=d,p=d="auto"),$.css({marginLeft:"auto",marginRight:"auto"})),c=""!==x.paddingLeft?parseInt(x.paddingLeft):parseInt($.css("padding-left")),h=""!==x.paddingRight?parseInt(x.paddingRight):parseInt($.css("padding-right")),u=""!==x.paddingTop?parseInt(x.paddingTop):parseInt($.css("padding-top")),m=""!==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:O,width:e,height:t,originalWidth:i,originalHeight:a,percW:e/100,percH:t/100,layersWidth:C,layersHeight:P,ratio:n/l,maxWidth:s,marginLeft:d,marginRight:p,marginTop:J.o.marginTop,marginBottom:J.o.marginBottom,paddingLeft:c,paddingTop:u,paddingRight:h,paddingBottom:m,borderLeftWidth:v,borderTopWidth:f,borderRightWidth:g,borderBottomWidth:x,skinWidth:c+h+v+g,skinHeight:u+m+f+x},J.debugMode&&(J.debug.add("log","sliderInit.style",[e,t,i,a,C,P,parseInt(n/l*100)/100,0<s?s:void 0,[d,p]]),I&&J.debug.add("warn","sliderInit.margin",I)),ie("#ls-global").length||(ie("html").attr("id")?ie("body").attr("id")||ie("body").attr("id","ls-global"):ie("html").attr("id","ls-global")),"static"!==w.getPropertyValue("position")&&"absolute"!==w.getPropertyValue("position")&&(L.style.position="relative"),J.o.insertSelector&&$[J.o.insertMethod](J.o.insertSelector),J.slider.$hiddenWrapper=ie('<div class="ls-wp-container fitvidsignore ls-hidden" data-layerslider-uid="'+W+'"></div>').addClass($.attr("class")).prependTo("body"),J.slider.$innerWrapper=ie('<div class="ls-inner"></div>'),J.slider.$slideBGColorWrapper=ie('<div class="ls-slide-bgcolor"></div>').appendTo(J.slider.$innerWrapper),J.slider.$layersWrapper=ie('<div class="ls-layers"></div>').appendTo(J.slider.$innerWrapper),J.slider.$bgVideosWrapper=ie('<div class="ls-background-videos"></div>').appendTo(J.slider.$layersWrapper),J.slider.$slideBGWrapper=ie('<div class="ls-slide-backgrounds"></div>').appendTo(J.slider.$layersWrapper),J.slider.$innerWrapper.appendTo($),!0===J.o.hideOnMobile&&te.isMobile?($.addClass("ls-forcehide"),$.closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"),J.o.autoStart=!1):J.slider.check.showHide(),"sticky"===J.o.scene||"scroll"===J.o.scene){if(J.o.scene)switch(J.slider.isScene=!0,J.o.scene){case"scroll":J.slider.isScrollScene=!0;case"sticky":J.slider.isSticky=!0}$.parent().is("ls-scene-wrapper")?$.parent().attr("data-scene",J.o.scene).attr("data-layerslider-uid",W):$.wrap('<ls-scene-wrapper data-scene="'+J.o.scene+'" data-layerslider-uid="'+W+'"></ls-scene-wrapper>'),J.slider.$spacingWrapper=ie('ls-scene-wrapper[data-layerslider-uid="'+W+'"]'),$.attr("data-scene",J.o.scene)}else J.slider.$spacingWrapper=$;var I=J.slider.isScene&&"scene"===J.o.globalBGFor?J.slider.$spacingWrapper:J.slider.$innerWrapper,w=!1;-1==J.o.globalBGColor.indexOf("gradient")?I.css({backgroundColor:J.o.globalBGColor}):(w=J.o.globalBGColor,J.o.globalBGColor="transparent"),J.o.globalBGImage?I.css({backgroundImage:"url( "+J.o.globalBGImage+" )"+(w?", "+w:""),backgroundRepeat:J.o.globalBGRepeat,backgroundAttachment:J.o.globalBGAttachment,backgroundSize:J.o.globalBGSize,backgroundPosition:J.o.globalBGPosition}):w&&I.css({backgroundImage:w}),"transparent"!=J.o.globalBGColor||!1!==J.o.globalBGImage||w||I.css({background:"none transparent"}),(J.o.preventSliderClip&&J.o.fitScreenWidth&&("fullwidth"===O||"fullsize"===O&&"fitheight"!==J.o.fullSizeMode)||J.slider.isScrollScene||J.slider.isSticky)&&$.parents(":not(body, html)").each(function(){ie(this).addClass("ls-overflow-visible")})},options:function(){var t,i,a,s,r,e;ie("html").find('meta[content*="WordPress"]').length&&(J.meta.wpVersion=ie("html").find('meta[content*="WordPress"]').attr("content").split("WordPress")[1]),window.LS_Meta&&window.LS_Meta.v?J.meta.lswpVersion=window.LS_Meta.v:ie("html").find('script[src*="layerslider"]').length&&-1!=ie("html").find('script[src*="layerslider"]').attr("src").indexOf("?")&&(J.meta.lswpVersion=ie("html").find('script[src*="layerslider"]').attr("src").split("?")[1].split("=")[1]),"undefined"!=typeof layerSliderTransitions&&(J.t=ie.extend({},layerSliderTransitions)),"undefined"!=typeof layerSliderCustomTransitions&&(J.ct=ie.extend({},layerSliderCustomTransitions)),J.debugMode&&("undefined"!=typeof layerCustomSliderTransitions?(J.debug.add("log","sliderInit.customTransitions",!1),"undefined"==typeof layerSliderTransitions&&J.debug.add("warn","sliderInit.slideTransitions")):"undefined"==typeof layerSliderTransitions&&J.debug.add("warn","sliderInit.noSlideTransitions")),"number"==typeof J.o.parallaxCenterDegree&&(J.transitions.layers.parallax.defaults.centerDegree=J.o.parallaxCenterDegree),"number"==typeof J.o.parallaxSensitivity&&(J.transitions.layers.parallax.defaults.sensitive=J.o.parallaxSensitivity),J.o.parallaxCenterLayers&&(J.transitions.layers.parallax.defaults.centerLayers=J.o.parallaxCenterLayers),J.o.scrollCenterLayers&&(J.transitions.layers.scroll.defaults.centerLayers=J.o.scrollCenterLayers),J.slider.isSticky&&(ie.extend(J.o,{allowFullscreen:!1,playByScroll:!1}),J.slider.isScrollScene&&ie.extend(J.o,{autoPauseSlideshow:!1,autoStart:!1,pauseLayers:!1,pauseOnHover:!1,startInViewport:!1})),J.o.playByScroll&&ie.extend(J.o,{cycles:-1,startInViewport:!0,pauseOnHover:!1,autoStart:!1}),te.isMobile&&(J.o.pauseOnHover=!1),J.o.noContextMenu&&$.on("contextmenu."+W,function(){return!1}),J.o.startInViewport&&(J.slider.state.waitForGettingInViewport=!0,J.o.playByScroll&&(J.slider.positionToViewport=te.scroll.top>J.slider.offset.top-(te.viewport.height-J.slider.height)/2?"under":"over",t=!0,i=4*J.o.playByScrollSpeed,J.device.scroll.timeout=250,J.transitions.layers.timeline.timeScaleModifier=0,ie(document).on("wheel."+W+" touchmove."+W,function(e){te.isMobile?(a=e.originalEvent.touches[0].clientY,s<a?J.device.scroll.direction="up":a<s&&(J.device.scroll.direction="down"),r=s-a,s=a):(0<e.originalEvent.deltaY?J.device.scroll.direction="down":J.device.scroll.direction="up",r=e.originalEvent.deltaY),0!==Math.abs(r)&&(J.device.scroll.lastDirection?J.device.scroll.lastDirection!==J.device.scroll.direction&&(J.device.scroll.lastDirection=J.device.scroll.direction,J.transitions.layers.timeline.timeScaleModifier=0):J.device.scroll.lastDirection=J.device.scroll.direction,"inside"===J.slider.positionToViewport&&(J.resize.viewport(),0<=r?J.transitions.layers.timeline.scrollForward():J.transitions.layers.timeline.scrollBackwards(),t&&(clearTimeout(J.timeouts.scroll),t=!1,J.transitions.layers.timeline.timeScaleModifier=J.transitions.layers.timeline.timeScaleModifier<i?J.transitions.layers.timeline.timeScaleModifier+.25:i,J.timeouts.scroll2=setTimeout(function(){delete J.timeouts.scroll2,t=!0,J.device.scroll.timeout=50<J.device.scroll.timeout?J.device.scroll.timeout-50:50},J.device.scroll.timeout))),J.slider.check.positionToViewport(),J.timeouts.checkPosition=setTimeout(function(){J.slider.check.positionToViewport()},25))}))),J.slider.canShow=!0,te.automaticFontSizeRatio||(e=ie('<ls-dummy style="font-size: 100px; width: 0; height: 0; opacity: 0; position: absolute; overflow: hidden; pointer-events: none;">Lorem</ls-dummy>').appendTo("body"),te.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=ie(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=ie(e[r]),p=d.find("img");d.is(".ls-bg, .ls-tn")||p.is(".ls-bg, .ls-tn")?(n=p[0],l=d.attr("class"),!p.attr("src")&&p.attr("data-src")&&p.attr("src","data:image/gif;base64,R0lGODlhAQABAIAAAP///wAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw=="),!p.attr("srcset")&&p.attr("data-srcset")&&p.attr("srcset",p.attr("data-srcset")),p.attr("data-src",n.currentSrc||p.attr("data-src")||p.attr("src")),p.removeAttr("src srcset").addClass(l).prependTo(p.closest(".ls-slide")),d.remove()):d.find("img").appendTo(d).removeAttr("width height data-ls")}},events:function(){M.on("scroll."+W,function(){J.slider.set.offset()}),M.on("touchmove."+W,function(e){e=e.touches||e.originalEvent.touches;1==e.length&&(self.touchX=e[0].clientX)}),M.on("resize."+W,function(){J.slider.check.showHide(),J.transitions.scrollscene.immediateRender=!0,"inside"===J.slider.positionToViewport&&J.o.playByScroll&&J.resize.viewport(),J.slider.shouldResize&&(!te.isMobile||te.isMobile&&te.viewport.width!==te.viewport.lastWidth||J.slider.isPopup)&&J.resize.all(),J.slider.set.offset(),J.slider.isScene&&J.resize.scene(),J.slider.isPopup||(J.timeouts.resize&&clearTimeout(J.timeouts.resize),J.resize.once?J.resize.once=!1:J.timeouts.resize=setTimeout(function(){J.resize.once=!0,M.trigger("resize."+W),J.api.methods("resetScroll")},100))}),J.debugMode&&(M.off(".debug"+W),M.on("resize.debug"+W,function(){J.debug.add("log","resize.window",te.viewport.width,!0)})),M.on("hashchange."+W,function(){document.location.hash&&J.slides.deeplink(document.location.hash)}),J.slider.set.offset(),M.trigger("resize."+W),J.o.refreshWaypoint&&window.Waypoint&&Waypoint.refreshAll()},offset:function(){if("none"!==$.css("display")){var e=L.getBoundingClientRect(),t=J.slider.position.toViewportForPerformance;J.slider.position.toViewport;if(J.slider.get.offset(e),J.slider.get.position(e),0<J.slider.position.left-te.viewport.width?J.slider.position.left-te.viewport.width>J.performance.threshold?J.slider.position.toViewportX="after":J.slider.position.toViewportX="insideLimit":J.slider.position.right<0?J.slider.position.right<-J.performance.threshold?J.slider.position.toViewportX="before":J.slider.position.toViewportX="insideLimit":J.slider.position.toViewportX="inside",0<J.slider.position.top-te.viewport.height?J.slider.position.top-te.viewport.height>J.performance.threshold?J.slider.position.toViewportY="below":J.slider.position.toViewportY="insideLimit":J.slider.position.bottom<0?J.slider.position.bottom<-J.performance.threshold?J.slider.position.toViewportY="above":J.slider.position.toViewportY="insideLimit":J.slider.position.toViewportY="inside",J.slider.position.toViewportYForSkipViewportLayers=J.slider.position.toViewportY,J.slider.state.waitForGettingInViewport&&(J.slider.position.middle<te.viewport.height&&0<J.slider.position.middle?((J.slider.position.toViewportY="inside")===J.slider.position.toViewportX&&(J.slider.position.toViewport="inside"),J.slider.state.waitForGettingInViewport=!1,J.transitions._slideTimeline&&J.transitions._slideTimeline.play(),J.o.animateFirstSlide&&J.slideshow.firstStart&&J.slider.state.readyForStart&&(J.resize.layers({callback:J.api.resumeCallback}),J.api.resumeCallback=!1),J.debugMode&&J.debug.add("log","slideshow.inviewport",!1)):J.slider.position.toViewportY="outside"),-1!==J.slider.position.toViewportX.indexOf("inside")&&"insideLimit"==J.slider.position.toViewportY||-1!==J.slider.position.toViewportY.indexOf("inside")&&"insideLimit"==J.slider.position.toViewportX?(J.slider.position.toViewport="insideLimit",J.slider.position.toViewportForPerformance="inside"):"inside"==J.slider.position.toViewportX&&"inside"==J.slider.position.toViewportY?(J.slider.position.toViewport="inside",J.slider.position.toViewportForPerformance="inside"):(J.slider.position.toViewport="outside",J.slider.position.toViewportForPerformance="outside"),J.o.performanceMode&&t!==J.slider.position.toViewportForPerformance&&("inside"===J.slider.position.toViewportForPerformance?(J.performance.sliderIsInviewport=!0,J.api.methods("resumeSlider","performanceMode")):(J.performance.sliderIsInviewport=!1,J.api.methods("pauseSlider","performanceMode"))),(J.slider.isScrollScene||J.slider.isSticky)&&!J.slider.$spacingWrapper.is("[data-disabled-scene]")){var t=J.slider.$spacingWrapper[0].getBoundingClientRect(),i=(te.viewport.height-J.slider.height)/2,a=0;switch(J.o.stickTo||"center"){case"top":break;case"center":a=i;break;case"bottom":a=2*i}J.transitions.scrollscene.stickLimit=a,J.slider.wrapperPosition={left:t.left,top:t.top,middleForScrollTransition:t.top+t.height/2-te.viewport.height/2},J.slider.wrapperOffset={left:t.left+te.scroll.left,right:t.left+J.slider.width+te.scroll.left,top:t.top+te.scroll.top,bottom:t.bottom+J.slider.height+te.scroll.top,width:t.width,height:t.height},J.slider.state.shouldAnimateScrollSnene=!1,t.top>a?("disabled"!==J.slider.state.sticky||J.slider.isScrollScene&&!J.transitions.scrollscene.initialized)&&(J.slider.state.sticky="disabled",J.slider.state.shouldAnimateScrollSnene=!0):t.bottom-J.slider.height-a<0?("over"!==J.slider.state.sticky||J.slider.isScrollScene&&!J.transitions.scrollscene.initialized)&&(J.slider.state.sticky="over",J.slider.state.shouldAnimateScrollSnene=!0):t.top<=a&&t.bottom>-a&&("enabled"!==J.slider.state.sticky&&(J.slider.state.sticky="enabled"),J.slider.state.shouldAnimateScrollSnene=!0),J.slider.isScrollScene&&J.transitions._slideTimeline&&J.slider.state.shouldAnimateScrollSnene&&J.transitions.scrollscene.animate()}J.slider.state.isNotDisplayed&&(J.slider.state.isNotDisplayed=!1,J.resize.all(),J.slider.check.positionToViewport(),M.trigger("scroll"))}else J.slider.state.isNotDisplayed=!0},attributes:function(){$.attr("data-current-slide",J.slides.current.index)}},get:{offset:function(e){e=e||L.getBoundingClientRect(),J.slider.offset={left:e.left+te.scroll.left,right:e.left+J.slider.width+te.scroll.left,top:e.top+te.scroll.top,bottom:e.bottom+J.slider.height+te.scroll.top}},position:function(e){e=e||L.getBoundingClientRect(),J.slider.position={left:e.left,center:e.left+J.slider.width/2,right:e.right,top:e.top,middle:e.top+J.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}},check:{initialized:function(){J.debugMode&&J.debug.add("log","sliderInit.info",[J.plugin.version,J.plugin.releaseDate,J.userInitOptions.sliderVersion||"n/a or slider version is pre 6.0.0",$.attr("id"),W,ie.fn.jquery,J.meta.lswpVersion,J.meta.wpVersion],!0),J.slider.initialized||(J.slider.initialized=!0,this.skins())},skins:function(){J.o.skin&&""!==J.o.skin&&J.o.skinsPath&&""!==J.o.skinsPath?J.gui.skin.load():J.slider.init()},showHide:function(){te.isMobile&&!1!==J.o.hideOnMobile||(te.viewport.width<J.o.hideUnder||te.viewport.width>J.o.hideOver&&0<J.o.hideOver?J.slider.hide():J.slider.show())},visibility:function(){!!J.slider.$innerWrapper.width()?J.slider.state.isHidden&&(J.slider.state.isHidden=!1,J.resize.all({forceToGetParentWidth:!0})):J.slider.state.isHidden=!0},positionToViewport:function(){var e;delete J.timeouts.checkPosition,J.o.playByScroll&&J.device.scroll.direction&&(e="down"===J.device.scroll.direction?te.scroll.top:J.slider.offset.top-(te.viewport.height-J.slider.height)/2,(("down"===J.device.scroll.direction?J.slider.offset.top-(te.viewport.height-J.slider.height)/2:te.scroll.top)<e&&("up"===J.device.scroll.direction&&"under"===J.slider.positionToViewport||"down"===J.device.scroll.direction&&"over"===J.slider.positionToViewport)||te.document.height<=te.viewport.height||J.slider.height<te.viewport.height&&("up"===J.device.scroll.direction&&te.scroll.top<=0&&J.slider.offset.top+J.slider.height/2<te.viewport.height/2||"down"===J.device.scroll.direction&&te.scroll.top>=te.document.height-te.viewport.height&&J.slider.offset.top+J.slider.height/2>te.scroll.top+te.viewport.height/2))&&(J.slider.positionToViewport="inside",J.resize.viewport(),J.device.scroll.disable()))}},init:function(){clearTimeout(J.timeouts.skinLoad1),clearTimeout(J.timeouts.skinLoad2),clearTimeout(J.timeouts.skinLoad3),clearTimeout(J.timeouts.skinLoad4),J.slider.set.styles(),J.slider.set.options(),J.slider.set.pictureElements(),J.slides.init(),J.device.fullscreen.set(),J.media.init(),J.gui.timers.init(),J.gui.loadingIndicator.init(),J.preload.init(),J.gui.shadow.init(),J.navigation.init(),J.slideshow.init(),J.slides.set.firstSlide(),J.gui.navigation.init(),J.gui.media.init(),J.resize.slider(),J.yourLogo.init(),J.slider.set.events(),J.api.hasEvent("sliderDidLoad")&&J.api.triggerEvent("sliderDidLoad",J.api.eventData()),J.functions.setStates(J.slider,{isLoaded:!0}),J.slider.state.shouldBeDestroyed?J.api.methods("destroy"):(J.slider.isPopup||(J.intervals.checkSliderVisibility=setInterval(function(){J.slider.check.visibility()},500)),J.slideshow.changeTo(J.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")}},J.functions={getData:function(e,t){return!J.o.getData||-1===J.o.getData.indexOf(e)||(J.api.triggerEvent("getData",{property:e,value:t}),!J.o.destroyAfter)||(J.api.methods("destroy",!0),!1)},convert:{transformOrigin:function(e,t,i,a){for(var s=(d=ie.trim(e)).split(" "),r=a[0].style,o="",n=["Left","Top"],l=[J.slider.width,J.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(" "),p=0;p<d.length;p++)-1!==s[p].indexOf("slider")?(J.transitions.layers.timeline.shouldRestart=!0,o+=p<2?l[p]/(100/parseInt(d[p]))-parseInt(r[n[p].toLowerCase()])-parseInt(r["margin"+n[p]])+"px ":"0px"):-1!==d[p].indexOf("%")?o+=d[p]+" ":-1!==d[p].indexOf("em")?o+=parseFloat(d[p])*parseInt(t.css("font-size"))+"px ":o+=parseInt(d[p])*i.settings.calculatedratio+"px ";return ie.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,p,t){for(var i="object"==typeof e,c=(d.length,[]),u=t[0].style,h=["left","top"],a=function(e,t){for(var t=ie(d[t]),i=parseInt(t.css("font-size")),a=t.position(),s=(n=ie.trim(e)).split(" "),r="",o=[J.slider.width,J.slider.height],n=J.functions.convert.specialValuesOfTransformOrigin(n),l=0;l<n.length;l++)-1!==s[l].indexOf("slider")?(J.transitions.layers.timeline.shouldRestart=!0,r+=l<2?o[l]/(100/parseInt(n[l]))-parseInt(a[h[l]])-parseInt(u[h[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])*p.settings.calculatedratio+"px ";c.push(ie.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 c},easing:function(e,t){return"string"!=typeof e?e:(-1!==(e=e.toLowerCase()).indexOf("swing")||-1!==e.indexOf("linear")?i=ee.Linear.easeNone:(a=e.match(/(easeinout|easein|easeout)(.+)/)[2],a=ee[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=ie.extend({},e);return ie.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=J.functions.convert.easing(t),s},properties:function(e,t){if("string"==typeof e)return J.functions.convert._properties(e,t);if("object"!=typeof e)return e;for(var i in e)e[i]=J.functions.convert._properties(e[i],t);return e},_properties:function(e,t){if(-1!==["enable","enabled","true"].indexOf(e))return!0;if(-1!==["disable","disabled","false","undefined","null"].indexOf(e))return!1;if("string"!=typeof e||-1===e.indexOf(J.defaults.init.staggerSplitChar)||e.charAt(0)===J.defaults.init.openingBracket)return t?""+parseInt(e)=="NaN"?0:parseInt(e):ie.isNumeric(e)?parseFloat(e):e;for(var i=e.split(J.defaults.init.staggerSplitChar),a=[],s=0;s<i.length;s++)a[s]=ie.isNumeric(i[s])?parseFloat(ie.trim(i[s])):ie.trim(i[s]);return a},oldProperties:function(i){return ie.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){var i=i||!1,a=a||!!i&&i.data(J.defaults.init.dataKey),s="Width",r=!1;"number"!=typeof e||isNaN(e)||(e=e.toString()),-1===t.indexOf("height")&&-1===t.indexOf("top")&&-1===t.indexOf("y")||(s="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),-1!==e.indexOf("random")&&-1!==e.indexOf("(")&&-1!==e.indexOf(",")&&-1!==e.indexOf(")")?e=e.split("(")[1].split(")")[0].replace(",",J.defaults.init.rangeSplitChar):e.charAt(0)===J.defaults.init.openingBracket&&e.charAt(e.length-1)===J.defaults.init.closingBracket&&(e=e.substring(1,e.length-1)),e=e.replace(/,/g,".").replace(/٫/g,".");var o,n=-1===t.indexOf("scale")&&-1===t.indexOf("opacity")?1:100,l=e;return-1!==e.indexOf(J.defaults.init.randomSplitChar)?l=(l=(o=e.split(J.defaults.init.randomSplitChar))[Math.floor(Math.random()*o.length)].trim()).charAt(0)===J.defaults.init.openingBracket&&l.charAt(l.length-1)===J.defaults.init.closingBracket?J.functions.convert.randomProperties(l,t,i,a):parseFloat(i?J.resize.getXY(i,a,l,s,r):l):-1!==e.indexOf(J.defaults.init.rangeSplitChar)&&((o=e.split(J.defaults.init.rangeSplitChar))[0]=parseFloat((i?J.resize.getXY(i,a,o[0],s,r):o[0])*n),o[1]=parseFloat((i?J.resize.getXY(i,a,o[1],s,r):o[1])*n),o.sort(function(e,t){return e-t}),l=Math.floor(Math.random()*(o[1]-o[0]+1)+o[0])/n),"string"==typeof l&&ie.isNumeric(l)&&(l=parseFloat(l)),l},clipProperties:function(e,t,i,a){if(-1!==e.indexOf("polygon")&&-1===e.indexOf("clip")&&-1===e.indexOf("px")&&-1===e.indexOf(", "))return e;for(var s,r,o=e,n=-1===(e=-1!==e.indexOf("(")?ie.trim(e.split("(")[1].split(")")[0]):ie.trim(e)).indexOf(",")?e.split(" "):e.split(","),l=[["0%","0%"],["100%","0%"],["100%","100%"],["0%","100%"]],d=ie.isNumeric(t.original.width)?t.original.width:i.outerWidth(),p=ie.isNumeric(t.original.height)?t.original.height:i.outerHeight(),c=function(e){return Math.round(100*(e+Number.EPSILON))/100},u=a&&-1!==o.indexOf("rect")?0:100,h=0;h<n.length;h++)if(-1===(s=n[h].trim()).indexOf(" ")){if("number"==typeof parseInt(s))switch(0===parseInt(s)&&(s="0%"),h){case 0:-1===s.indexOf("%")&&(s=c(parseInt(s)/(p/100))+"%"),l[0][1]=s,l[1][1]=s;break;case 1:-1!==s.indexOf("%")?(l[1][0]=100-parseInt(s)+"%",l[2][0]=100-parseInt(s)+"%"):(-1===s.indexOf("%")&&(s=c(Math.abs(parseInt(s)/(d/100)-u))+"%"),l[1][0]=s,l[2][0]=s);break;case 2:-1!==s.indexOf("%")?(l[2][1]=100-parseInt(s)+"%",l[3][1]=100-parseInt(s)+"%"):(-1===s.indexOf("%")&&(s=c(Math.abs(parseInt(s)/(p/100)-u))+"%"),l[2][1]=s,l[3][1]=s);break;case 3:-1===s.indexOf("%")&&(s=c(parseInt(s)/(d/100))+"%"),l[0][0]=s,l[3][0]=s}}else-1===(r=s.split(" "))[0].indexOf("%")&&(r[0]=c(parseInt(r[0])/(d/100))+"%"),l[h][0]=r[0],-1===r[1].indexOf("%")&&(r[1]=c(parseInt(r[1])/(p/100))+"%"),l[h][1]=r[1];for(var m="polygon(",f=0;f<l.length;f++)m+=l[f].join(" "),f<l.length-1&&(m+=",");return m+=")"}},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)||J.slider.isPopup))return J.slider.$parentWithNumericWidthValue=ie(i[r]),ie(i[r]);-1!==t.indexOf("%")&&(s=s/100*parseInt(t),J.slider.$parentWithNumericWidthValuePercent=s)}},sortArray:function(e,t,i){var a,s,r,o,n,l,d,p=[],c=e*t;switch(i){case"forward":for(a=0;a<e;a++)for(s=0;s<t;s++)p.push(a+s*e);break;case"reverse":for(a=e-1;-1<a;a--)for(s=t-1;-1<s;s--)p.push(a+s*e);break;case"center":for(n=Math.floor(c/2),r=0;r<n;r++)p.push(r);for(o=n;0<=o;o--)p.push(o);break;case"edge":case"mirror":for(r=n=Math.floor(c/2);0<r;r--)p.push(r);for(o=0;o<=n;o++)p.push(o);break;case"radial-out":for(l=e/2,d=t/2,a=0;a<e;a++)for(s=0;s<t;s++)p.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++)p.push(Math.floor(d-Math.ceil(Math.abs(d-s-.5)))+Math.floor(l-Math.ceil(Math.abs(l-a-.5))))}return p},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},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=J.slideshow.isPaused();if(i)e.state[t]=i;else for(var s in t)e.state[s]=t[s];i=J.slideshow.isPaused();e==J.slideshow&&(J.api.hasEvent("slideshowStateDidChange")&&J.api.triggerEvent("slideshowStateDidChange",J.api.eventData()),i!=a&&(i?J.api.hasEvent("slideshowDidPause")&&J.api.triggerEvent("slideshowDidPause",J.api.eventData()):(J.slideshow.start(),J.api.hasEvent("slideshowDidResume")&&J.api.triggerEvent("slideshowDidResume",J.api.eventData()))))}},clearTimers:function(e={}){if(e.timeout&&J.timeouts[e.timeout])clearTimeout(J.timeouts[e.timeout]),delete J.timeouts[e.timeout];else if(!e.timeout)for(var t in J.timeouts)clearTimeout(J.timeouts[t]),delete J.timeouts[t];if(e.interval&&J.intervals[e.interval])clearInterval(J.intervals[e.interval]),delete J.intervals[e.interval];else if(!e.interval)for(var t in J.intervals)clearInterval(J.intervals[t]),delete J.intervals[t]},clearTimelines:function(){J.transitions.timelines.set("all",function(e,t){e.pause().clear().kill(),delete J.transitions[t]}),ee.TweenMax.killTweensOf($.find(".ls-bg, .ls-layer, .ls-wrapper, .ls-curtile, .ls-nexttile").get()),$.find(".ls-layer").each(function(){var e=ie(this).data(J.defaults.init.dataKey);e.is.countdown&&J.countdown.stopInterval(e.countdownSettings),e.is.counter&&J.counter.stop(e.counterSettings)})},resetSlideTimelines:function(){J.transitions.timelines.set("layers",function(e,t){e.pause().progress(0).clear().kill(),delete J.transitions[t]}),J.transitions.timelines.set("allforce",function(e,t){e.pause().progress(1).clear().kill(),delete J.transitions[t]}),$.find(".ls-layer:not(.ls-bg-video)").each(function(){var e=ie(this);if(void 0!==e.attr("data-ls-active")&&!1!==e.attr("data-ls-active")&&void 0!==e.attr("data-ls-static")&&!1!==e.attr("data-ls-static")&&parseInt(e.attr("data-ls-slidein"))!==J.slides.current.index)return!0;e=e.data(J.defaults.init.dataKey);e.loop._timeline&&(e.loop._timeline.stop().clear(),delete e.loop._timeline,ee.TweenMax.set(e.elements.$loopWrapper[0],e.reset.altWrapperOnSlideChange)),ee.TweenMax.set(e.elements.$wrapper[0],e.reset.wrapperOnSlideChange)})},clearEvents:function(){M.add("body").add(document).add($).add($.find("*")).add("."+W).off("."+W+" .debug"+W+" .parallax"+W+" .scroll"+W),window._layerSlider.closePopupsOnEsc&&window._layerSlider.closePopupsOnEsc[W]&&delete window._layerSlider.closePopupsOnEsc[W],delete window._layerSliders[W],$.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)}},J.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!==J.device.scroll.keys.indexOf(e.keyCode))return J.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(){J.functions.setStates(J.slider,{inFullscreen:!0}),ie("body, html").addClass("ls-fullscreen"),J.slider.fullscreenWrapper.requestFullscreen(),$.trigger("mouseleave"),J.device.removeSelection()},exit:function(){J.functions.setStates(J.slider,{inFullscreen:!1}),J.resize.all(),ie("body, html").removeClass("ls-fullscreen"),J.device.removeSelection()},toggle:function(){J.device.fullscreen.element()?(J.device.fullscreen.exit(),document.exitFullscreen()):J.device.fullscreen.enter()},set:function(){J.o.allowFullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&($.wrap('<div class="ls-fullscreen-wrapper"></div>'),J.slider.$fullscreenWrapper=$.closest(".ls-fullscreen-wrapper"),J.slider.fullscreenWrapper=J.slider.$fullscreenWrapper[0],J.slider.$spacingWrapper=J.slider.$fullscreenWrapper,J.slider.fullscreenWrapper.requestFullscreen=J.slider.fullscreenWrapper.requestFullscreen||J.slider.fullscreenWrapper.webkitRequestFullscreen||J.slider.fullscreenWrapper.mozRequestFullScreen||J.slider.fullscreenWrapper.msRequestFullscreen,document.exitFullscreen=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen,ie(document).on("fullscreenchange."+W+" webkitfullscreenchange."+W+" mozfullscreenchange."+W+" msfullscreenchange."+W,function(){J.device.fullscreen.element()||J.device.fullscreen.exit()}),J.slider.$fullscreenWrapper.on("dblclick."+W,function(){J.device.fullscreen.toggle()}))},element:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}}},J.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":J.slider.isScene||$.addClass("ls-action-trigger"),J.slider.isScrollScene&&"scrollToTimelinePosition"===t.action&&(t.action="scrollToScenePosition",t.target="currentScene");var r,o,n,l=ie(".ls-wp-container:not(.ls-hidden):not([data-scene]), ls-scene-wrapper"),d=ie("ls-scene-wrapper, .ls-action-trigger"),p=ie([]),c=J.slider.isScene?J.slider.$spacingWrapper:$,u=d.length,h=d.index(c);if(J.slider.isScene||$.removeClass("ls-action-trigger"),"scrollToSelf"===t.action)v=J.slider.$spacingWrapper.offset().top+(t.offset||0);else if("scrollBelowProject"===t.action)v=J.slider.$spacingWrapper.offset().top+J.slider.$spacingWrapper.height()+(t.offset||0);else if("scrollToPrevProject"===t.action)0!==l.index(c)?(p=l.eq(l.index(c)-1),v=J.slider.get.scrollTop(p,t)):a="There’s no previous project to scroll to.";else if("scrollToNextProject"===t.action)l.index(c)<l.length-1?(p=l.eq(l.index(c)+1),v=J.slider.get.scrollTop(p,t)):a="There’s no next project to scroll to.";else if(-1!==t.action.indexOf("scrollToElement")){try{p=ie(t.selector.toString()).not(".ls-wp-container.ls-hidden")}catch(e){s=e}p.length?((n=p.closest("ls-scene-wrapper")).length&&(p=n),v=J.slider.get.scrollTop(p,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":J.slider.isScene?p=c:a="Current project is not a scene.";break;case"nextScene":h+1<u?p=ie(d[h+1]):a="There are no next scenes in the DOM.";break;case"previousScene":0<=h-1?p=ie(d[h-1]):a="There are no previous scenes in the DOM."}p.length&&(r=parseFloat(p.attr("data-scene-duration")),o=p.height(),n=(l=p.find(".ls-container")).height(),t.position=ie.trim(t.position)||"0ms",v=p.is('[data-scene="scroll"]')?(m=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?r*(Math.min(100,Math.max(0,parseFloat(t.position)))/100):Math.min(Math.max(0,parseFloat(t.position)/1e3),r),Math.round(parseFloat(p.offset().top)-parseFloat(l.css("top"))+m/r*(o-n))):(m=Math.min(100,Math.max(0,parseFloat(t.position)))/100,Math.round(parseFloat(p.offset().top)-parseFloat(l.css("top"))+(o-n)*m)))}else if("scrollToTimelinePosition"===t.action){var m=J.transitions._slideTimeline.duration(),f=m*(100*J.transitions._slideTimeline.progress()/100),g=0,g=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?m*parseFloat(t.position)/100:parseFloat(t.position)/1e3;switch(g=Math.abs(g),(t.position+"").charAt(0)){case"+":g=f+g;break;case"-":g=f-g}g=Math.max(Math.min(g,m),0)}a||(t.duration=ie.isNumeric(t.duration)?t.duration:1e3,"scrollToTimelinePosition"===t.action?J.transitions._slideTimeline.tweenTo(g,{ease:J.functions.convert.easing(t.easing)}).duration(t.duration/1e3):ee.TweenMax.to("html, body",t.duration/1e3,{scrollTop:v,ease:J.functions.convert.easing(t.easing)}));break;case"switchSlide":J.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"),J.navigation[x]("clicked");break;case"replaySlide":J.api.methods("replay");break;case"reverseSlide":J.api.methods("reverse",t.replay);break;case"resetSlide":J.api.methods("resetSlide");break;case"pauseProject":J.api.methods("pauseSlider");break;case"resumeProject":J.api.methods("resumeSlider");break;case"toggleProject":J.api.methods("toggleSlider");break;case"playMedia":J.media.functions.playActiveMedia();break;case"pauseMedia":J.media.functions.pauseActiveMedia();break;case"unmuteMedia":J.media.unmute.multipleMediaElements();break;case"openPopup":var y,v=ie('[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},ie.get(J.o.ajaxURL||window.ajaxurl||"/wp-admin/admin-ajax.php",v,function(e){ie(e).appendTo("body")}));break;case"launchPopups":for(i in window._layerSliders)(e=window._layerSliders[i]).initializedPlugins.popup&&e.api.methods("openPopup");break;case"closePopup":J.api.methods("closePopup");break;case"closeAllPopups":J.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)}},J.api={hasEvent:function(e,t){t=ie._data(t||L,"events");return!(!t||!t[e])},methods:function(e,t,i,a){if(!J.slider.isBusy())if("number"==typeof e)0<e&&e<J.slides.count+1&&e!=J.slides.current.index&&J.slideshow.changeTo(e,!0,!0);else switch(e){case"touchPrev":J.device.touchPrev=!0;case"previousSlide":case"prev":J.navigation.prev();break;case"touchNext":J.device.touchNext=!0;case"nextSlide":case"next":J.navigation.next();break;case"startSlideshow":case"start":J.navigation.start()}switch(e){case"openPopup":J.initializedPlugins.popup&&(t&&ie.isNumeric(t)?$.layerSlider("fastChangeTo",t,function(){J.initializedPlugins.popup.events.show()}):J.initializedPlugins.popup.events.show());break;case"launchPopups":J.actions.do("launchPopups");break;case"fastChangeTo":t&&ie.isNumeric(t)&&(J.slides.current.index!==t?(J.slideshow.forceFastChange=!0,J.slider.shouldResize=!0,i&&"function"==typeof i&&(J.slideshow.forceFastChangeCallback=i),J.slideshow.changeTo(t,!0,!0)):i&&i());break;case"resetScroll":J.slider.set.offset(),M.trigger("scroll.scroll"+W).trigger("touchmove.scroll"+W).trigger("scroll.parallax"+W).trigger("touchmove.parallax"+W);break;case"enableScene":J.slider.isScene&&(J.slider.$spacingWrapper.removeAttr("data-disabled-scene"),J.api.methods("resetScroll"));break;case"disableScene":J.slider.isScene&&(J.slider.$spacingWrapper.attr("data-disabled-scene",""),$.css({top:"auto",bottom:"auto"}),J.transitions.scrollscene.animate("start"),J.api.methods("resetScroll"));break;case"closePopup":J.initializedPlugins.popup&&J.initializedPlugins.popup.events.hide();break;case"closeAllPopups":ie('<div class="ls-close-all-popups-button"></div>').css("display","none").appendTo("body").trigger("click").remove();break;case"updateLayerData":t&&J.layers.update.data(t,i,a);break;case"redrawSlider":case"redraw":J.resize.all(),J.api.methods("resetScroll");break;case"replaySlide":case"replay":J.transitions._slideTimeline&&J.transitions._slideTimeline.restart();break;case"reverseSlide":case"reverse":J.transitions._slideTimeline&&(J.transitions._slideTimeline.reversed()?J.transitions._slideTimeline.play():J.transitions._slideTimeline.reverse(),t&&(J.transitions.layers.timeline.shouldReplay=!0));break;case"unmute":case"unmuteMedia":J.media.unmute.multipleMediaElements();break;case"stopSlideshow":case"stop":J.navigation.stop();break;case"pauseSlider":case"pause":t&&"performanceMode"===t&&J.functions.setStates(J.slideshow,{pausedByPerformance:!0}),J.transitions._slideTimeline&&!J.slider.isScrollScene&&J.transitions._slideTimeline.stop(),J.layers.get("active").each(function(){var e=ie(this).data(J.defaults.init.dataKey);e.loop._timeline&&e.loop._timeline.stop()}),J.transitions.layers.parallax.state.paused=!0,J.transitions.layers.scroll.state.paused=!0,J.media.functions.pauseActiveMedia(!0);break;case"resumePopup":J.layers.get("active").each(function(){J.media.functions.playIfAllowed(ie(this))}),J.transitions._slideTimeline&&(J.transitions._slideTimeline.timeScale()<.001&&J.transitions.layers.timeline.resume(),J.transitions._slideTimeline.play()),J.transitions._slideTransition&&J.transitions._slideTransition.play();break;case"resumeSlider":case"resume":J.transitions._slideTimeline&&(J.transitions._slideTimeline.timeScale()<.001&&J.transitions.layers.timeline.resume(),J.slider.isScrollScene||J.transitions._slideTimeline.play()),J.media.functions.playActiveMedia(!0),J.layers.get("active").each(function(){var e=ie(this).data(J.defaults.init.dataKey);e.loop._timeline&&e.loop._timeline.play()}),J.transitions.layers.parallax.state.paused=!1,J.transitions.layers.scroll.state.paused=!1,J.transitions._slideTransition?J.transitions._slideTransition.play():J.o.animateFirstSlide&&J.slideshow.firstStart&&J.slider.state.readyForStart&&(J.resize.layers({callback:J.api.resumeCallback}),J.api.resumeCallback=!1),t&&"performanceMode"===t&&J.functions.setStates(J.slideshow,{pausedByPerformance:!1});break;case"playMedia":J.media.functions.playActiveMedia();break;case"pauseMedia":J.media.functions.pauseActiveMedia();break;case"toggleSlider":case"toggle":J.slider.state.isPaused?($.layerSlider("resume"),J.slider.state.isPaused=!1):($.layerSlider("pause"),J.slider.state.isPaused=!0);break;case"reset":case"resetSlider":break;case"resetSlide":case"resetCurrentSlide":J.transitions.timelines.set("layers",function(e,t){e.progress(0),e.stop()}),J.media.functions.stop(!0);break;case"destroy":case"kill":if(J.slider.state.isLoaded){if(J.functions.clearTimers(),J.functions.clearTimelines(),J.layers.$all.removeData(),J.api.hasEvent("sliderDidDestroy")&&J.api.triggerEvent("sliderDidDestroy"),J.slider.state.sholudBeRemoved||t){if(J.slider.$hiddenWrapper.remove(),J.gui.timers.slidebar.$containerElement)for(var s=0;s<J.gui.timers.slidebar.$containerElement.length;s++)J.gui.timers.slidebar.$containerElement[s]instanceof jQuery&&J.gui.timers.slidebar.$containerElement[s].remove();J.api.hasEvent("sliderDidRemove")&&J.api.triggerEvent("sliderDidRemove");var r=J.slider.$spacingWrapper;r.closest(".ls-popup").length&&(r=r.closest(".ls-popup")).prev(".ls-popup-overlay").remove(),r.remove(),J.slider.$silentWrapper&&J.slider.$silentWrapper.remove()}J.functions.clearEvents(),window._layerSlider.removeSlider(W)}else J.functions.setStates(J.slider,{shouldBeDestroyed:!0,sholudBeRemoved:t||!1});J.slider.positionToViewport="under",J.device.scroll.enable()}},eventData:function(){return{data:J,userData:J.o,uid:W,target:L,slider:$,state:J.slider.state,isBusy:J.slider.isBusy(),event:{target:L},api:function(e,t,i,a){$.layerSlider(e,t,i,a)},navigation:{direction:J.navigation.direction},slides:{first:{index:J.slides.first.index,deeplink:J.slides.get.deeplink(J.slides.first.index),data:J.slides.first.data},prev:{index:J.slides.prev.index,deeplink:J.slides.get.deeplink(J.slides.prev.index),data:J.slides.prev.data},current:{index:J.slides.current.index||J.slides.first.index,deeplink:J.slides.get.deeplink(J.slides.current.index),layersIn:J.layers.get("current,in"),layersOut:J.layers.get("current,out"),timeline:J.transitions._slideTimeline,data:J.slides.current.data},next:{index:J.slides.next.index,deeplink:J.slides.get.deeplink(J.slides.next.index),layersIn:J.layers.get("next,in"),layersOut:J.layers.get("next,out"),data:J.slides.next.data},count:J.slides.count},slideChangeTimeline:J.transitions._slideTransition,slideshow:{state:J.slideshow.state,sequence:J.slideshow.sequence,direction:J.slideshow.direction,isPaused:J.slideshow.isPaused()},cycles:{max:J.o.cycles,current:J.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}},J.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=ie("<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")},J.initializedPlugins={},J.timeouts={},J.intervals={},J.debug={options:{}},J.plugin={version:"7.15.0",release:"stable",releaseDate:"2025. 06. 13."},J.slider.load()}}(jQuery);
// source --> https://sindacs.org.br/wp-content/plugins/LayerSlider/assets/static/layerslider/js/layerslider.transitions.js?ver=7.15.0 

/*
	* 2D & 3D Transitions for LayerSlider
	*
	* (c) 2011-2025 George Krupa, John Gera & Kreatura Media
	*
	* LayerSlider home:		https://layerslider.com/
	* Licensing:			https://layerslider.com/licensing/
*/



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};
// source --> https://sindacs.org.br/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.tools.min.js?ver=5.4.7.4 
/********************************************
	-	THEMEPUNCH TOOLS Ver. 1.0     -
	 Last Update of Tools 08.03.2018
*********************************************/


/*
* @fileOverview TouchSwipe - jQuery Plugin
* @version 1.6.9
*
* @author Matt Bryson http://www.github.com/mattbryson
* @see https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
* @see http://labs.skinkers.com/touchSwipe/
* @see http://plugins.jquery.com/project/touchSwipe
*
* Copyright (c) 2010 Matt Bryson
* Dual licensed under the MIT or GPL Version 2 licenses.
*
*/



(function(a){if(typeof define==="function"&&define.amd&&define.amd.jQuery){define(["jquery"],a)}else{a(jQuery)}}(function(f){var y="1.6.9",p="left",o="right",e="up",x="down",c="in",A="out",m="none",s="auto",l="swipe",t="pinch",B="tap",j="doubletap",b="longtap",z="hold",E="horizontal",u="vertical",i="all",r=10,g="start",k="move",h="end",q="cancel",a="ontouchstart" in window,v=window.navigator.msPointerEnabled&&!window.navigator.pointerEnabled,d=window.navigator.pointerEnabled||window.navigator.msPointerEnabled,C="TouchSwipe";var n={fingers:1,threshold:75,cancelThreshold:null,pinchThreshold:20,maxTimeThreshold:null,fingerReleaseThreshold:250,longTapThreshold:500,doubleTapThreshold:200,swipe:null,swipeLeft:null,swipeRight:null,swipeUp:null,swipeDown:null,swipeStatus:null,pinchIn:null,pinchOut:null,pinchStatus:null,click:null,tap:null,doubleTap:null,longTap:null,hold:null,triggerOnTouchEnd:true,triggerOnTouchLeave:false,allowPageScroll:"auto",fallbackToMouseEvents:true,excludedElements:"label, button, input, select, textarea, a, .noSwipe",preventDefaultEvents:true};f.fn.swipetp=function(H){var G=f(this),F=G.data(C);if(F&&typeof H==="string"){if(F[H]){return F[H].apply(this,Array.prototype.slice.call(arguments,1))}else{f.error("Method "+H+" does not exist on jQuery.swipetp")}}else{if(!F&&(typeof H==="object"||!H)){return w.apply(this,arguments)}}return G};f.fn.swipetp.version=y;f.fn.swipetp.defaults=n;f.fn.swipetp.phases={PHASE_START:g,PHASE_MOVE:k,PHASE_END:h,PHASE_CANCEL:q};f.fn.swipetp.directions={LEFT:p,RIGHT:o,UP:e,DOWN:x,IN:c,OUT:A};f.fn.swipetp.pageScroll={NONE:m,HORIZONTAL:E,VERTICAL:u,AUTO:s};f.fn.swipetp.fingers={ONE:1,TWO:2,THREE:3,ALL:i};function w(F){if(F&&(F.allowPageScroll===undefined&&(F.swipe!==undefined||F.swipeStatus!==undefined))){F.allowPageScroll=m}if(F.click!==undefined&&F.tap===undefined){F.tap=F.click}if(!F){F={}}F=f.extend({},f.fn.swipetp.defaults,F);return this.each(function(){var H=f(this);var G=H.data(C);if(!G){G=new D(this,F);H.data(C,G)}})}function D(a5,aw){var aA=(a||d||!aw.fallbackToMouseEvents),K=aA?(d?(v?"MSPointerDown":"pointerdown"):"touchstart"):"mousedown",az=aA?(d?(v?"MSPointerMove":"pointermove"):"touchmove"):"mousemove",V=aA?(d?(v?"MSPointerUp":"pointerup"):"touchend"):"mouseup",T=aA?null:"mouseleave",aE=(d?(v?"MSPointerCancel":"pointercancel"):"touchcancel");var ah=0,aQ=null,ac=0,a2=0,a0=0,H=1,ar=0,aK=0,N=null;var aS=f(a5);var aa="start";var X=0;var aR=null;var U=0,a3=0,a6=0,ae=0,O=0;var aX=null,ag=null;try{aS.bind(K,aO);aS.bind(aE,ba)}catch(al){f.error("events not supported "+K+","+aE+" on jQuery.swipetp")}this.enable=function(){aS.bind(K,aO);aS.bind(aE,ba);return aS};this.disable=function(){aL();return aS};this.destroy=function(){aL();aS.data(C,null);aS=null};this.option=function(bd,bc){if(aw[bd]!==undefined){if(bc===undefined){return aw[bd]}else{aw[bd]=bc}}else{f.error("Option "+bd+" does not exist on jQuery.swipetp.options")}return null};function aO(be){if(aC()){return}if(f(be.target).closest(aw.excludedElements,aS).length>0){return}var bf=be.originalEvent?be.originalEvent:be;var bd,bg=bf.touches,bc=bg?bg[0]:bf;aa=g;if(bg){X=bg.length}else{be.preventDefault()}ah=0;aQ=null;aK=null;ac=0;a2=0;a0=0;H=1;ar=0;aR=ak();N=ab();S();if(!bg||(X===aw.fingers||aw.fingers===i)||aY()){aj(0,bc);U=au();if(X==2){aj(1,bg[1]);a2=a0=av(aR[0].start,aR[1].start)}if(aw.swipeStatus||aw.pinchStatus){bd=P(bf,aa)}}else{bd=false}if(bd===false){aa=q;P(bf,aa);return bd}else{if(aw.hold){ag=setTimeout(f.proxy(function(){aS.trigger("hold",[bf.target]);if(aw.hold){bd=aw.hold.call(aS,bf,bf.target)}},this),aw.longTapThreshold)}ap(true)}return null}function a4(bf){var bi=bf.originalEvent?bf.originalEvent:bf;if(aa===h||aa===q||an()){return}var be,bj=bi.touches,bd=bj?bj[0]:bi;var bg=aI(bd);a3=au();if(bj){X=bj.length}if(aw.hold){clearTimeout(ag)}aa=k;if(X==2){if(a2==0){aj(1,bj[1]);a2=a0=av(aR[0].start,aR[1].start)}else{aI(bj[1]);a0=av(aR[0].end,aR[1].end);aK=at(aR[0].end,aR[1].end)}H=a8(a2,a0);ar=Math.abs(a2-a0)}if((X===aw.fingers||aw.fingers===i)||!bj||aY()){aQ=aM(bg.start,bg.end);am(bf,aQ);ah=aT(bg.start,bg.end);ac=aN();aJ(aQ,ah);if(aw.swipeStatus||aw.pinchStatus){be=P(bi,aa)}if(!aw.triggerOnTouchEnd||aw.triggerOnTouchLeave){var bc=true;if(aw.triggerOnTouchLeave){var bh=aZ(this);bc=F(bg.end,bh)}if(!aw.triggerOnTouchEnd&&bc){aa=aD(k)}else{if(aw.triggerOnTouchLeave&&!bc){aa=aD(h)}}if(aa==q||aa==h){P(bi,aa)}}}else{aa=q;P(bi,aa)}if(be===false){aa=q;P(bi,aa)}}function M(bc){var bd=bc.originalEvent?bc.originalEvent:bc,be=bd.touches;if(be){if(be.length){G();return true}}if(an()){X=ae}a3=au();ac=aN();if(bb()||!ao()){aa=q;P(bd,aa)}else{if(aw.triggerOnTouchEnd||(aw.triggerOnTouchEnd==false&&aa===k)){bc.preventDefault();aa=h;P(bd,aa)}else{if(!aw.triggerOnTouchEnd&&a7()){aa=h;aG(bd,aa,B)}else{if(aa===k){aa=q;P(bd,aa)}}}}ap(false);return null}function ba(){X=0;a3=0;U=0;a2=0;a0=0;H=1;S();ap(false)}function L(bc){var bd=bc.originalEvent?bc.originalEvent:bc;if(aw.triggerOnTouchLeave){aa=aD(h);P(bd,aa)}}function aL(){aS.unbind(K,aO);aS.unbind(aE,ba);aS.unbind(az,a4);aS.unbind(V,M);if(T){aS.unbind(T,L)}ap(false)}function aD(bg){var bf=bg;var be=aB();var bd=ao();var bc=bb();if(!be||bc){bf=q}else{if(bd&&bg==k&&(!aw.triggerOnTouchEnd||aw.triggerOnTouchLeave)){bf=h}else{if(!bd&&bg==h&&aw.triggerOnTouchLeave){bf=q}}}return bf}function P(be,bc){var bd,bf=be.touches;if((J()||W())||(Q()||aY())){if(J()||W()){bd=aG(be,bc,l)}if((Q()||aY())&&bd!==false){bd=aG(be,bc,t)}}else{if(aH()&&bd!==false){bd=aG(be,bc,j)}else{if(aq()&&bd!==false){bd=aG(be,bc,b)}else{if(ai()&&bd!==false){bd=aG(be,bc,B)}}}}if(bc===q){ba(be)}if(bc===h){if(bf){if(!bf.length){ba(be)}}else{ba(be)}}return bd}function aG(bf,bc,be){var bd;if(be==l){aS.trigger("swipeStatus",[bc,aQ||null,ah||0,ac||0,X,aR]);if(aw.swipeStatus){bd=aw.swipeStatus.call(aS,bf,bc,aQ||null,ah||0,ac||0,X,aR);if(bd===false){return false}}if(bc==h&&aW()){aS.trigger("swipe",[aQ,ah,ac,X,aR]);if(aw.swipe){bd=aw.swipe.call(aS,bf,aQ,ah,ac,X,aR);if(bd===false){return false}}switch(aQ){case p:aS.trigger("swipeLeft",[aQ,ah,ac,X,aR]);if(aw.swipeLeft){bd=aw.swipeLeft.call(aS,bf,aQ,ah,ac,X,aR)}break;case o:aS.trigger("swipeRight",[aQ,ah,ac,X,aR]);if(aw.swipeRight){bd=aw.swipeRight.call(aS,bf,aQ,ah,ac,X,aR)}break;case e:aS.trigger("swipeUp",[aQ,ah,ac,X,aR]);if(aw.swipeUp){bd=aw.swipeUp.call(aS,bf,aQ,ah,ac,X,aR)}break;case x:aS.trigger("swipeDown",[aQ,ah,ac,X,aR]);if(aw.swipeDown){bd=aw.swipeDown.call(aS,bf,aQ,ah,ac,X,aR)}break}}}if(be==t){aS.trigger("pinchStatus",[bc,aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchStatus){bd=aw.pinchStatus.call(aS,bf,bc,aK||null,ar||0,ac||0,X,H,aR);if(bd===false){return false}}if(bc==h&&a9()){switch(aK){case c:aS.trigger("pinchIn",[aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchIn){bd=aw.pinchIn.call(aS,bf,aK||null,ar||0,ac||0,X,H,aR)}break;case A:aS.trigger("pinchOut",[aK||null,ar||0,ac||0,X,H,aR]);if(aw.pinchOut){bd=aw.pinchOut.call(aS,bf,aK||null,ar||0,ac||0,X,H,aR)}break}}}if(be==B){if(bc===q||bc===h){clearTimeout(aX);clearTimeout(ag);if(Z()&&!I()){O=au();aX=setTimeout(f.proxy(function(){O=null;aS.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(aS,bf,bf.target)}},this),aw.doubleTapThreshold)}else{O=null;aS.trigger("tap",[bf.target]);if(aw.tap){bd=aw.tap.call(aS,bf,bf.target)}}}}else{if(be==j){if(bc===q||bc===h){clearTimeout(aX);O=null;aS.trigger("doubletap",[bf.target]);if(aw.doubleTap){bd=aw.doubleTap.call(aS,bf,bf.target)}}}else{if(be==b){if(bc===q||bc===h){clearTimeout(aX);O=null;aS.trigger("longtap",[bf.target]);if(aw.longTap){bd=aw.longTap.call(aS,bf,bf.target)}}}}}return bd}function ao(){var bc=true;if(aw.threshold!==null){bc=ah>=aw.threshold}return bc}function bb(){var bc=false;if(aw.cancelThreshold!==null&&aQ!==null){bc=(aU(aQ)-ah)>=aw.cancelThreshold}return bc}function af(){if(aw.pinchThreshold!==null){return ar>=aw.pinchThreshold}return true}function aB(){var bc;if(aw.maxTimeThreshold){if(ac>=aw.maxTimeThreshold){bc=false}else{bc=true}}else{bc=true}return bc}function am(bc,bd){if(aw.preventDefaultEvents===false){return}if(aw.allowPageScroll===m){bc.preventDefault()}else{var be=aw.allowPageScroll===s;switch(bd){case p:if((aw.swipeLeft&&be)||(!be&&aw.allowPageScroll!=E)){bc.preventDefault()}break;case o:if((aw.swipeRight&&be)||(!be&&aw.allowPageScroll!=E)){bc.preventDefault()}break;case e:if((aw.swipeUp&&be)||(!be&&aw.allowPageScroll!=u)){bc.preventDefault()}break;case x:if((aw.swipeDown&&be)||(!be&&aw.allowPageScroll!=u)){bc.preventDefault()}break}}}function a9(){var bd=aP();var bc=Y();var be=af();return bd&&bc&&be}function aY(){return !!(aw.pinchStatus||aw.pinchIn||aw.pinchOut)}function Q(){return !!(a9()&&aY())}function aW(){var bf=aB();var bh=ao();var be=aP();var bc=Y();var bd=bb();var bg=!bd&&bc&&be&&bh&&bf;return bg}function W(){return !!(aw.swipe||aw.swipeStatus||aw.swipeLeft||aw.swipeRight||aw.swipeUp||aw.swipeDown)}function J(){return !!(aW()&&W())}function aP(){return((X===aw.fingers||aw.fingers===i)||!a)}function Y(){return aR[0].end.x!==0}function a7(){return !!(aw.tap)}function Z(){return !!(aw.doubleTap)}function aV(){return !!(aw.longTap)}function R(){if(O==null){return false}var bc=au();return(Z()&&((bc-O)<=aw.doubleTapThreshold))}function I(){return R()}function ay(){return((X===1||!a)&&(isNaN(ah)||ah<aw.threshold))}function a1(){return((ac>aw.longTapThreshold)&&(ah<r))}function ai(){return !!(ay()&&a7())}function aH(){return !!(R()&&Z())}function aq(){return !!(a1()&&aV())}function G(){a6=au();ae=event.touches.length+1}function S(){a6=0;ae=0}function an(){var bc=false;if(a6){var bd=au()-a6;if(bd<=aw.fingerReleaseThreshold){bc=true}}return bc}function aC(){return !!(aS.data(C+"_intouch")===true)}function ap(bc){if(bc===true){aS.bind(az,a4);aS.bind(V,M);if(T){aS.bind(T,L)}}else{aS.unbind(az,a4,false);aS.unbind(V,M,false);if(T){aS.unbind(T,L,false)}}aS.data(C+"_intouch",bc===true)}function aj(bd,bc){var be=bc.identifier!==undefined?bc.identifier:0;aR[bd].identifier=be;aR[bd].start.x=aR[bd].end.x=bc.pageX||bc.clientX;aR[bd].start.y=aR[bd].end.y=bc.pageY||bc.clientY;return aR[bd]}function aI(bc){var be=bc.identifier!==undefined?bc.identifier:0;var bd=ad(be);bd.end.x=bc.pageX||bc.clientX;bd.end.y=bc.pageY||bc.clientY;return bd}function ad(bd){for(var bc=0;bc<aR.length;bc++){if(aR[bc].identifier==bd){return aR[bc]}}}function ak(){var bc=[];for(var bd=0;bd<=5;bd++){bc.push({start:{x:0,y:0},end:{x:0,y:0},identifier:0})}return bc}function aJ(bc,bd){bd=Math.max(bd,aU(bc));N[bc].distance=bd}function aU(bc){if(N[bc]){return N[bc].distance}return undefined}function ab(){var bc={};bc[p]=ax(p);bc[o]=ax(o);bc[e]=ax(e);bc[x]=ax(x);return bc}function ax(bc){return{direction:bc,distance:0}}function aN(){return a3-U}function av(bf,be){var bd=Math.abs(bf.x-be.x);var bc=Math.abs(bf.y-be.y);return Math.round(Math.sqrt(bd*bd+bc*bc))}function a8(bc,bd){var be=(bd/bc)*1;return be.toFixed(2)}function at(){if(H<1){return A}else{return c}}function aT(bd,bc){return Math.round(Math.sqrt(Math.pow(bc.x-bd.x,2)+Math.pow(bc.y-bd.y,2)))}function aF(bf,bd){var bc=bf.x-bd.x;var bh=bd.y-bf.y;var be=Math.atan2(bh,bc);var bg=Math.round(be*180/Math.PI);if(bg<0){bg=360-Math.abs(bg)}return bg}function aM(bd,bc){var be=aF(bd,bc);if((be<=45)&&(be>=0)){return p}else{if((be<=360)&&(be>=315)){return p}else{if((be>=135)&&(be<=225)){return o}else{if((be>45)&&(be<135)){return x}else{return e}}}}}function au(){var bc=new Date();return bc.getTime()}function aZ(bc){bc=f(bc);var be=bc.offset();var bd={left:be.left,right:be.left+bc.outerWidth(),top:be.top,bottom:be.top+bc.outerHeight()};return bd}function F(bc,bd){return(bc.x>bd.left&&bc.x<bd.right&&bc.y>bd.top&&bc.y<bd.bottom)}}}));

if(typeof(console) === 'undefined') {
    var console = {};
    console.log = console.error = console.info = console.debug = console.warn = console.trace = console.dir = console.dirxml = console.group = console.groupEnd = console.time = console.timeEnd = console.assert = console.profile = console.groupCollapsed = function() {};
}

if (window.tplogs==true)
	try {
		console.groupCollapsed("ThemePunch GreenSocks Logs");
	} catch(e) { }


var oldgs = window.GreenSockGlobals;
	oldgs_queue = window._gsQueue;
	
var punchgs = window.GreenSockGlobals = {};

if (window.tplogs==true)
	try {
		console.info("Build GreenSock SandBox for ThemePunch Plugins");
		console.info("GreenSock TweenLite Engine Initalised by ThemePunch Plugin");
	} catch(e) {}


/* TWEEN LITE */
/*!
 * VERSION: 1.19.1
 * DATE: 2017-01-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
!function(a,b){"use strict";var c={},d=a.document,e=a.GreenSockGlobals=a.GreenSockGlobals||a;if(!e.TweenLite){var f,g,h,i,j,k=function(a){var b,c=a.split("."),d=e;for(b=0;b<c.length;b++)d[c[b]]=d=d[c[b]]||{};return d},l=k("com.greensock"),m=1e-10,n=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},o=function(){},p=function(){var a=Object.prototype.toString,b=a.call([]);return function(c){return null!=c&&(c instanceof Array||"object"==typeof c&&!!c.push&&a.call(c)===b)}}(),q={},r=function(d,f,g,h){this.sc=q[d]?q[d].sc:[],q[d]=this,this.gsClass=null,this.func=g;var i=[];this.check=function(j){for(var l,m,n,o,p,s=f.length,t=s;--s>-1;)(l=q[f[s]]||new r(f[s],[])).gsClass?(i[s]=l.gsClass,t--):j&&l.sc.push(this);if(0===t&&g){if(m=("com.greensock."+d).split("."),n=m.pop(),o=k(m.join("."))[n]=this.gsClass=g.apply(g,i),h)if(e[n]=c[n]=o,p="undefined"!=typeof module&&module.exports,!p&&"function"==typeof define&&define.amd)define((a.GreenSockAMDPath?a.GreenSockAMDPath+"/":"")+d.split(".").pop(),[],function(){return o});else if(p)if(d===b){module.exports=c[b]=o;for(s in c)o[s]=c[s]}else c[b]&&(c[b][n]=o);for(s=0;s<this.sc.length;s++)this.sc[s].check()}},this.check(!0)},s=a._gsDefine=function(a,b,c,d){return new r(a,b,c,d)},t=l._class=function(a,b,c){return b=b||function(){},s(a,[],function(){return b},c),b};s.globals=e;var u=[0,0,1,1],v=t("easing.Ease",function(a,b,c,d){this._func=a,this._type=c||0,this._power=d||0,this._params=b?u.concat(b):u},!0),w=v.map={},x=v.register=function(a,b,c,d){for(var e,f,g,h,i=b.split(","),j=i.length,k=(c||"easeIn,easeOut,easeInOut").split(",");--j>-1;)for(f=i[j],e=d?t("easing."+f,null,!0):l.easing[f]||{},g=k.length;--g>-1;)h=k[g],w[f+"."+h]=w[h+f]=e[h]=a.getRatio?a:a[h]||new a};for(h=v.prototype,h._calcEnd=!1,h.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:.5>a?2*a:2*(1-a);return 1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d),1===b?1-d:2===b?d:.5>a?d/2:1-d/2},f=["Linear","Quad","Cubic","Quart","Quint,Strong"],g=f.length;--g>-1;)h=f[g]+",Power"+g,x(new v(null,null,1,g),h,"easeOut",!0),x(new v(null,null,2,g),h,"easeIn"+(0===g?",easeNone":"")),x(new v(null,null,3,g),h,"easeInOut");w.linear=l.easing.Linear.easeIn,w.swing=l.easing.Quad.easeInOut;var y=t("events.EventDispatcher",function(a){this._listeners={},this._eventTarget=a||this});h=y.prototype,h.addEventListener=function(a,b,c,d,e){e=e||0;var f,g,h=this._listeners[a],k=0;for(this!==i||j||i.wake(),null==h&&(this._listeners[a]=h=[]),g=h.length;--g>-1;)f=h[g],f.c===b&&f.s===c?h.splice(g,1):0===k&&f.pr<e&&(k=g+1);h.splice(k,0,{c:b,s:c,up:d,pr:e})},h.removeEventListener=function(a,b){var c,d=this._listeners[a];if(d)for(c=d.length;--c>-1;)if(d[c].c===b)return void d.splice(c,1)},h.dispatchEvent=function(a){var b,c,d,e=this._listeners[a];if(e)for(b=e.length,b>1&&(e=e.slice(0)),c=this._eventTarget;--b>-1;)d=e[b],d&&(d.up?d.c.call(d.s||c,{type:a,target:c}):d.c.call(d.s||c))};var z=a.requestAnimationFrame,A=a.cancelAnimationFrame,B=Date.now||function(){return(new Date).getTime()},C=B();for(f=["ms","moz","webkit","o"],g=f.length;--g>-1&&!z;)z=a[f[g]+"RequestAnimationFrame"],A=a[f[g]+"CancelAnimationFrame"]||a[f[g]+"CancelRequestAnimationFrame"];t("Ticker",function(a,b){var c,e,f,g,h,k=this,l=B(),n=b!==!1&&z?"auto":!1,p=500,q=33,r="tick",s=function(a){var b,d,i=B()-C;i>p&&(l+=i-q),C+=i,k.time=(C-l)/1e3,b=k.time-h,(!c||b>0||a===!0)&&(k.frame++,h+=b+(b>=g?.004:g-b),d=!0),a!==!0&&(f=e(s)),d&&k.dispatchEvent(r)};y.call(k),k.time=k.frame=0,k.tick=function(){s(!0)},k.lagSmoothing=function(a,b){p=a||1/m,q=Math.min(b,p,0)},k.sleep=function(){null!=f&&(n&&A?A(f):clearTimeout(f),e=o,f=null,k===i&&(j=!1))},k.wake=function(a){null!==f?k.sleep():a?l+=-C+(C=B()):k.frame>10&&(C=B()-p+5),e=0===c?o:n&&z?z:function(a){return setTimeout(a,1e3*(h-k.time)+1|0)},k===i&&(j=!0),s(2)},k.fps=function(a){return arguments.length?(c=a,g=1/(c||60),h=this.time+g,void k.wake()):c},k.useRAF=function(a){return arguments.length?(k.sleep(),n=a,void k.fps(c)):n},k.fps(a),setTimeout(function(){"auto"===n&&k.frame<5&&"hidden"!==d.visibilityState&&k.useRAF(!1)},1500)}),h=l.Ticker.prototype=new l.events.EventDispatcher,h.constructor=l.Ticker;var D=t("core.Animation",function(a,b){if(this.vars=b=b||{},this._duration=this._totalDuration=a||0,this._delay=Number(b.delay)||0,this._timeScale=1,this._active=b.immediateRender===!0,this.data=b.data,this._reversed=b.reversed===!0,W){j||i.wake();var c=this.vars.useFrames?V:W;c.add(this,c._time),this.vars.paused&&this.paused(!0)}});i=D.ticker=new l.Ticker,h=D.prototype,h._dirty=h._gc=h._initted=h._paused=!1,h._totalTime=h._time=0,h._rawPrevTime=-1,h._next=h._last=h._onUpdate=h._timeline=h.timeline=null,h._paused=!1;var E=function(){j&&B()-C>2e3&&i.wake(),setTimeout(E,2e3)};E(),h.play=function(a,b){return null!=a&&this.seek(a,b),this.reversed(!1).paused(!1)},h.pause=function(a,b){return null!=a&&this.seek(a,b),this.paused(!0)},h.resume=function(a,b){return null!=a&&this.seek(a,b),this.paused(!1)},h.seek=function(a,b){return this.totalTime(Number(a),b!==!1)},h.restart=function(a,b){return this.reversed(!1).paused(!1).totalTime(a?-this._delay:0,b!==!1,!0)},h.reverse=function(a,b){return null!=a&&this.seek(a||this.totalDuration(),b),this.reversed(!0).paused(!1)},h.render=function(a,b,c){},h.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},h.isActive=function(){var a,b=this._timeline,c=this._startTime;return!b||!this._gc&&!this._paused&&b.isActive()&&(a=b.rawTime(!0))>=c&&a<c+this.totalDuration()/this._timeScale},h._enabled=function(a,b){return j||i.wake(),this._gc=!a,this._active=this.isActive(),b!==!0&&(a&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!a&&this.timeline&&this._timeline._remove(this,!0)),!1},h._kill=function(a,b){return this._enabled(!1,!1)},h.kill=function(a,b){return this._kill(a,b),this},h._uncache=function(a){for(var b=a?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this},h._swapSelfInParams=function(a){for(var b=a.length,c=a.concat();--b>-1;)"{self}"===a[b]&&(c[b]=this);return c},h._callback=function(a){var b=this.vars,c=b[a],d=b[a+"Params"],e=b[a+"Scope"]||b.callbackScope||this,f=d?d.length:0;switch(f){case 0:c.call(e);break;case 1:c.call(e,d[0]);break;case 2:c.call(e,d[0],d[1]);break;default:c.apply(e,d)}},h.eventCallback=function(a,b,c,d){if("on"===(a||"").substr(0,2)){var e=this.vars;if(1===arguments.length)return e[a];null==b?delete e[a]:(e[a]=b,e[a+"Params"]=p(c)&&-1!==c.join("").indexOf("{self}")?this._swapSelfInParams(c):c,e[a+"Scope"]=d),"onUpdate"===a&&(this._onUpdate=b)}return this},h.delay=function(a){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay),this._delay=a,this):this._delay},h.duration=function(a){return arguments.length?(this._duration=this._totalDuration=a,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==a&&this.totalTime(this._totalTime*(a/this._duration),!0),this):(this._dirty=!1,this._duration)},h.totalDuration=function(a){return this._dirty=!1,arguments.length?this.duration(a):this._totalDuration},h.time=function(a,b){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(a>this._duration?this._duration:a,b)):this._time},h.totalTime=function(a,b,c){if(j||i.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>a&&!c&&(a+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var d=this._totalDuration,e=this._timeline;if(a>d&&!c&&(a=d),this._startTime=(this._paused?this._pauseTime:e._time)-(this._reversed?d-a:a)/this._timeScale,e._dirty||this._uncache(!1),e._timeline)for(;e._timeline;)e._timeline._time!==(e._startTime+e._totalTime)/e._timeScale&&e.totalTime(e._totalTime,!0),e=e._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==a||0===this._duration)&&(J.length&&Y(),this.render(a,b,!1),J.length&&Y())}return this},h.progress=h.totalProgress=function(a,b){var c=this.duration();return arguments.length?this.totalTime(c*a,b):c?this._time/c:this.ratio},h.startTime=function(a){return arguments.length?(a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,a-this._delay)),this):this._startTime},h.endTime=function(a){return this._startTime+(0!=a?this.totalDuration():this.duration())/this._timeScale},h.timeScale=function(a){if(!arguments.length)return this._timeScale;if(a=a||m,this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime,c=b||0===b?b:this._timeline.totalTime();this._startTime=c-(c-this._startTime)*this._timeScale/a}return this._timeScale=a,this._uncache(!1)},h.reversed=function(a){return arguments.length?(a!=this._reversed&&(this._reversed=a,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},h.paused=function(a){if(!arguments.length)return this._paused;var b,c,d=this._timeline;return a!=this._paused&&d&&(j||a||i.wake(),b=d.rawTime(),c=b-this._pauseTime,!a&&d.smoothChildTiming&&(this._startTime+=c,this._uncache(!1)),this._pauseTime=a?b:null,this._paused=a,this._active=this.isActive(),!a&&0!==c&&this._initted&&this.duration()&&(b=d.smoothChildTiming?this._totalTime:(b-this._startTime)/this._timeScale,this.render(b,b===this._totalTime,!0))),this._gc&&!a&&this._enabled(!0,!1),this};var F=t("core.SimpleTimeline",function(a){D.call(this,0,a),this.autoRemoveChildren=this.smoothChildTiming=!0});h=F.prototype=new D,h.constructor=F,h.kill()._gc=!1,h._first=h._last=h._recent=null,h._sortChildren=!1,h.add=h.insert=function(a,b,c,d){var e,f;if(a._startTime=Number(b||0)+a._delay,a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale),a.timeline&&a.timeline._remove(a,!0),a.timeline=a._timeline=this,a._gc&&a._enabled(!0,!0),e=this._last,this._sortChildren)for(f=a._startTime;e&&e._startTime>f;)e=e._prev;return e?(a._next=e._next,e._next=a):(a._next=this._first,this._first=a),a._next?a._next._prev=a:this._last=a,a._prev=e,this._recent=a,this._timeline&&this._uncache(!0),this},h._remove=function(a,b){return a.timeline===this&&(b||a._enabled(!1,!0),a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=a._prev:this._last===a&&(this._last=a._prev),a._next=a._prev=a.timeline=null,a===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},h.render=function(a,b,c){var d,e=this._first;for(this._totalTime=this._time=this._rawPrevTime=a;e;)d=e._next,(e._active||a>=e._startTime&&!e._paused)&&(e._reversed?e.render((e._dirty?e.totalDuration():e._totalDuration)-(a-e._startTime)*e._timeScale,b,c):e.render((a-e._startTime)*e._timeScale,b,c)),e=d},h.rawTime=function(){return j||i.wake(),this._totalTime};var G=t("TweenLite",function(b,c,d){if(D.call(this,c,d),this.render=G.prototype.render,null==b)throw"Cannot tween a null target.";this.target=b="string"!=typeof b?b:G.selector(b)||b;var e,f,g,h=b.jquery||b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType),i=this.vars.overwrite;if(this._overwrite=i=null==i?U[G.defaultOverwrite]:"number"==typeof i?i>>0:U[i],(h||b instanceof Array||b.push&&p(b))&&"number"!=typeof b[0])for(this._targets=g=n(b),this._propLookup=[],this._siblings=[],e=0;e<g.length;e++)f=g[e],f?"string"!=typeof f?f.length&&f!==a&&f[0]&&(f[0]===a||f[0].nodeType&&f[0].style&&!f.nodeType)?(g.splice(e--,1),this._targets=g=g.concat(n(f))):(this._siblings[e]=Z(f,this,!1),1===i&&this._siblings[e].length>1&&_(f,this,null,1,this._siblings[e])):(f=g[e--]=G.selector(f),"string"==typeof f&&g.splice(e+1,1)):g.splice(e--,1);else this._propLookup={},this._siblings=Z(b,this,!1),1===i&&this._siblings.length>1&&_(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-m,this.render(Math.min(0,-this._delay)))},!0),H=function(b){return b&&b.length&&b!==a&&b[0]&&(b[0]===a||b[0].nodeType&&b[0].style&&!b.nodeType)},I=function(a,b){var c,d={};for(c in a)T[c]||c in b&&"transform"!==c&&"x"!==c&&"y"!==c&&"width"!==c&&"height"!==c&&"className"!==c&&"border"!==c||!(!Q[c]||Q[c]&&Q[c]._autoCSS)||(d[c]=a[c],delete a[c]);a.css=d};h=G.prototype=new D,h.constructor=G,h.kill()._gc=!1,h.ratio=0,h._firstPT=h._targets=h._overwrittenProps=h._startAt=null,h._notifyPluginsOfEnabled=h._lazy=!1,G.version="1.19.1",G.defaultEase=h._ease=new v(null,null,1,1),G.defaultOverwrite="auto",G.ticker=i,G.autoSleep=120,G.lagSmoothing=function(a,b){i.lagSmoothing(a,b)},G.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(G.selector=c,c(b)):"undefined"==typeof d?b:d.querySelectorAll?d.querySelectorAll(b):d.getElementById("#"===b.charAt(0)?b.substr(1):b)};var J=[],K={},L=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,M=function(a){for(var b,c=this._firstPT,d=1e-6;c;)b=c.blob?1===a?this.end:a?this.join(""):this.start:c.c*a+c.s,c.m?b=c.m(b,this._target||c.t):d>b&&b>-d&&!c.blob&&(b=0),c.f?c.fp?c.t[c.p](c.fp,b):c.t[c.p](b):c.t[c.p]=b,c=c._next},N=function(a,b,c,d){var e,f,g,h,i,j,k,l=[],m=0,n="",o=0;for(l.start=a,l.end=b,a=l[0]=a+"",b=l[1]=b+"",c&&(c(l),a=l[0],b=l[1]),l.length=0,e=a.match(L)||[],f=b.match(L)||[],d&&(d._next=null,d.blob=1,l._firstPT=l._applyPT=d),i=f.length,h=0;i>h;h++)k=f[h],j=b.substr(m,b.indexOf(k,m)-m),n+=j||!h?j:",",m+=j.length,o?o=(o+1)%5:"rgba("===j.substr(-5)&&(o=1),k===e[h]||e.length<=h?n+=k:(n&&(l.push(n),n=""),g=parseFloat(e[h]),l.push(g),l._firstPT={_next:l._firstPT,t:l,p:l.length-1,s:g,c:("="===k.charAt(1)?parseInt(k.charAt(0)+"1",10)*parseFloat(k.substr(2)):parseFloat(k)-g)||0,f:0,m:o&&4>o?Math.round:0}),m+=k.length;return n+=b.substr(m),n&&l.push(n),l.setRatio=M,l},O=function(a,b,c,d,e,f,g,h,i){"function"==typeof d&&(d=d(i||0,a));var j,k=typeof a[b],l="function"!==k?"":b.indexOf("set")||"function"!=typeof a["get"+b.substr(3)]?b:"get"+b.substr(3),m="get"!==c?c:l?g?a[l](g):a[l]():a[b],n="string"==typeof d&&"="===d.charAt(1),o={t:a,p:b,s:m,f:"function"===k,pg:0,n:e||b,m:f?"function"==typeof f?f:Math.round:0,pr:0,c:n?parseInt(d.charAt(0)+"1",10)*parseFloat(d.substr(2)):parseFloat(d)-m||0};return("number"!=typeof m||"number"!=typeof d&&!n)&&(g||isNaN(m)||!n&&isNaN(d)||"boolean"==typeof m||"boolean"==typeof d?(o.fp=g,j=N(m,n?o.s+o.c:d,h||G.defaultStringFilter,o),o={t:j,p:"setRatio",s:0,c:1,f:2,pg:0,n:e||b,pr:0,m:0}):(o.s=parseFloat(m),n||(o.c=parseFloat(d)-o.s||0))),o.c?((o._next=this._firstPT)&&(o._next._prev=o),this._firstPT=o,o):void 0},P=G._internals={isArray:p,isSelector:H,lazyTweens:J,blobDif:N},Q=G._plugins={},R=P.tweenLookup={},S=0,T=P.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},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},V=D._rootFramesTimeline=new F,W=D._rootTimeline=new F,X=30,Y=P.lazyRender=function(){var a,b=J.length;for(K={};--b>-1;)a=J[b],a&&a._lazy!==!1&&(a.render(a._lazy[0],a._lazy[1],!0),a._lazy=!1);J.length=0};W._startTime=i.time,V._startTime=i.frame,W._active=V._active=!0,setTimeout(Y,1),D._updateRoot=G.render=function(){var a,b,c;if(J.length&&Y(),W.render((i.time-W._startTime)*W._timeScale,!1,!1),V.render((i.frame-V._startTime)*V._timeScale,!1,!1),J.length&&Y(),i.frame>=X){X=i.frame+(parseInt(G.autoSleep,10)||120);for(c in R){for(b=R[c].tweens,a=b.length;--a>-1;)b[a]._gc&&b.splice(a,1);0===b.length&&delete R[c]}if(c=W._first,(!c||c._paused)&&G.autoSleep&&!V._first&&1===i._listeners.tick.length){for(;c&&c._paused;)c=c._next;c||i.sleep()}}},i.addEventListener("tick",D._updateRoot);var Z=function(a,b,c){var d,e,f=a._gsTweenID;if(R[f||(a._gsTweenID=f="t"+S++)]||(R[f]={target:a,tweens:[]}),b&&(d=R[f].tweens,d[e=d.length]=b,c))for(;--e>-1;)d[e]===b&&d.splice(e,1);return R[f].tweens},$=function(a,b,c,d){var e,f,g=a.vars.onOverwrite;return g&&(e=g(a,b,c,d)),g=G.onOverwrite,g&&(f=g(a,b,c,d)),e!==!1&&f!==!1},_=function(a,b,c,d,e){var f,g,h,i;if(1===d||d>=4){for(i=e.length,f=0;i>f;f++)if((h=e[f])!==b)h._gc||h._kill(null,a,b)&&(g=!0);else if(5===d)break;return g}var j,k=b._startTime+m,l=[],n=0,o=0===b._duration;for(f=e.length;--f>-1;)(h=e[f])===b||h._gc||h._paused||(h._timeline!==b._timeline?(j=j||aa(b,0,o),0===aa(h,j,o)&&(l[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale>k&&((o||!h._initted)&&k-h._startTime<=2e-10||(l[n++]=h)));for(f=n;--f>-1;)if(h=l[f],2===d&&h._kill(c,a,b)&&(g=!0),2!==d||!h._firstPT&&h._initted){if(2!==d&&!$(h,b))continue;h._enabled(!1,!1)&&(g=!0)}return g},aa=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){if(f+=d._startTime,e*=d._timeScale,d._paused)return-100;d=d._timeline}return f/=e,f>b?f-b:c&&f===b||!a._initted&&2*m>f-b?m:(f+=a.totalDuration()/a._timeScale/e)>b+m?0:f-b-m};h._init=function(){var a,b,c,d,e,f,g=this.vars,h=this._overwrittenProps,i=this._duration,j=!!g.immediateRender,k=g.ease;if(g.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),e={};for(d in g.startAt)e[d]=g.startAt[d];if(e.overwrite=!1,e.immediateRender=!0,e.lazy=j&&g.lazy!==!1,e.startAt=e.delay=null,this._startAt=G.to(this.target,0,e),j)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(g.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(j=!1),c={};for(d in g)T[d]&&"autoCSS"!==d||(c[d]=g[d]);if(c.overwrite=0,c.data="isFromStart",c.lazy=j&&g.lazy!==!1,c.immediateRender=j,this._startAt=G.to(this.target,0,c),j){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=k=k?k instanceof v?k:"function"==typeof k?new v(k,g.easeParams):w[k]||G.defaultEase:G.defaultEase,g.easeParams instanceof Array&&k.config&&(this._ease=k.config.apply(k,g.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(f=this._targets.length,a=0;f>a;a++)this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],h?h[a]:null,a)&&(b=!0);else b=this._initProps(this.target,this._propLookup,this._siblings,h,0);if(b&&G._onPluginEvent("_onInitAllProps",this),h&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),g.runBackwards)for(c=this._firstPT;c;)c.s+=c.c,c.c=-c.c,c=c._next;this._onUpdate=g.onUpdate,this._initted=!0},h._initProps=function(b,c,d,e,f){var g,h,i,j,k,l;if(null==b)return!1;K[b._gsTweenID]&&Y(),this.vars.css||b.style&&b!==a&&b.nodeType&&Q.css&&this.vars.autoCSS!==!1&&I(this.vars,b);for(g in this.vars)if(l=this.vars[g],T[g])l&&(l instanceof Array||l.push&&p(l))&&-1!==l.join("").indexOf("{self}")&&(this.vars[g]=l=this._swapSelfInParams(l,this));else if(Q[g]&&(j=new Q[g])._onInitTween(b,this.vars[g],this,f)){for(this._firstPT=k={_next:this._firstPT,t:j,p:"setRatio",s:0,c:1,f:1,n:g,pg:1,pr:j._priority,m:0},h=j._overwriteProps.length;--h>-1;)c[j._overwriteProps[h]]=this._firstPT;(j._priority||j._onInitAllProps)&&(i=!0),(j._onDisable||j._onEnable)&&(this._notifyPluginsOfEnabled=!0),k._next&&(k._next._prev=k)}else c[g]=O.call(this,b,g,"get",l,g,0,null,this.vars.stringFilter,f);return e&&this._kill(e,b)?this._initProps(b,c,d,e,f):this._overwrite>1&&this._firstPT&&d.length>1&&_(b,this,c,this._overwrite,d)?(this._kill(c,b),this._initProps(b,c,d,e,f)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(K[b._gsTweenID]=!0),i)},h.render=function(a,b,c){var d,e,f,g,h=this._time,i=this._duration,j=this._rawPrevTime;if(a>=i-1e-7&&a>=0)this._totalTime=this._time=i,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(d=!0,e="onComplete",c=c||this._timeline.autoRemoveChildren),0===i&&(this._initted||!this.vars.lazy||c)&&(this._startTime===this._timeline._duration&&(a=0),(0>j||0>=a&&a>=-1e-7||j===m&&"isPause"!==this.data)&&j!==a&&(c=!0,j>m&&(e="onReverseComplete")),this._rawPrevTime=g=!b||a||j===a?a:m);else if(1e-7>a)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==h||0===i&&j>0)&&(e="onReverseComplete",d=this._reversed),0>a&&(this._active=!1,0===i&&(this._initted||!this.vars.lazy||c)&&(j>=0&&(j!==m||"isPause"!==this.data)&&(c=!0),this._rawPrevTime=g=!b||a||j===a?a:m)),this._initted||(c=!0);else if(this._totalTime=this._time=a,this._easeType){var k=a/i,l=this._easeType,n=this._easePower;(1===l||3===l&&k>=.5)&&(k=1-k),3===l&&(k*=2),1===n?k*=k:2===n?k*=k*k:3===n?k*=k*k*k:4===n&&(k*=k*k*k*k),1===l?this.ratio=1-k:2===l?this.ratio=k:.5>a/i?this.ratio=k/2:this.ratio=1-k/2}else this.ratio=this._ease.getRatio(a/i);if(this._time!==h||c){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!c&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=h,this._rawPrevTime=j,J.push(this),void(this._lazy=[a,b]);this._time&&!d?this.ratio=this._ease.getRatio(this._time/i):d&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==h&&a>=0&&(this._active=!0),0===h&&(this._startAt&&(a>=0?this._startAt.render(a,b,c):e||(e="_dummyGS")),this.vars.onStart&&(0!==this._time||0===i)&&(b||this._callback("onStart"))),f=this._firstPT;f;)f.f?f.t[f.p](f.c*this.ratio+f.s):f.t[f.p]=f.c*this.ratio+f.s,f=f._next;this._onUpdate&&(0>a&&this._startAt&&a!==-1e-4&&this._startAt.render(a,b,c),b||(this._time!==h||d||c)&&this._callback("onUpdate")),e&&(!this._gc||c)&&(0>a&&this._startAt&&!this._onUpdate&&a!==-1e-4&&this._startAt.render(a,b,c),d&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!b&&this.vars[e]&&this._callback(e),0===i&&this._rawPrevTime===m&&g!==m&&(this._rawPrevTime=0))}},h._kill=function(a,b,c){if("all"===a&&(a=null),null==a&&(null==b||b===this.target))return this._lazy=!1,this._enabled(!1,!1);b="string"!=typeof b?b||this._targets||this.target:G.selector(b)||b;var d,e,f,g,h,i,j,k,l,m=c&&this._time&&c._startTime===this._startTime&&this._timeline===c._timeline;if((p(b)||H(b))&&"number"!=typeof b[0])for(d=b.length;--d>-1;)this._kill(a,b[d],c)&&(i=!0);else{if(this._targets){for(d=this._targets.length;--d>-1;)if(b===this._targets[d]){h=this._propLookup[d]||{},this._overwrittenProps=this._overwrittenProps||[],e=this._overwrittenProps[d]=a?this._overwrittenProps[d]||{}:"all";break}}else{if(b!==this.target)return!1;h=this._propLookup,e=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(h){if(j=a||h,k=a!==e&&"all"!==e&&a!==h&&("object"!=typeof a||!a._tempKill),c&&(G.onOverwrite||this.vars.onOverwrite)){for(f in j)h[f]&&(l||(l=[]),l.push(f));if((l||!a)&&!$(this,c,b,l))return!1}for(f in j)(g=h[f])&&(m&&(g.f?g.t[g.p](g.s):g.t[g.p]=g.s,i=!0),g.pg&&g.t._kill(j)&&(i=!0),g.pg&&0!==g.t._overwriteProps.length||(g._prev?g._prev._next=g._next:g===this._firstPT&&(this._firstPT=g._next),g._next&&(g._next._prev=g._prev),g._next=g._prev=null),delete h[f]),k&&(e[f]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return i},h.invalidate=function(){return this._notifyPluginsOfEnabled&&G._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],D.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-m,this.render(Math.min(0,-this._delay))),this},h._enabled=function(a,b){if(j||i.wake(),a&&this._gc){var c,d=this._targets;if(d)for(c=d.length;--c>-1;)this._siblings[c]=Z(d[c],this,!0);else this._siblings=Z(this.target,this,!0)}return D.prototype._enabled.call(this,a,b),this._notifyPluginsOfEnabled&&this._firstPT?G._onPluginEvent(a?"_onEnable":"_onDisable",this):!1},G.to=function(a,b,c){return new G(a,b,c)},G.from=function(a,b,c){return c.runBackwards=!0,c.immediateRender=0!=c.immediateRender,new G(a,b,c)},G.fromTo=function(a,b,c,d){return d.startAt=c,d.immediateRender=0!=d.immediateRender&&0!=c.immediateRender,new G(a,b,d)},G.delayedCall=function(a,b,c,d,e){return new G(b,0,{delay:a,onComplete:b,onCompleteParams:c,callbackScope:d,onReverseComplete:b,onReverseCompleteParams:c,immediateRender:!1,lazy:!1,useFrames:e,overwrite:0})},G.set=function(a,b){return new G(a,0,b)},G.getTweensOf=function(a,b){if(null==a)return[];a="string"!=typeof a?a:G.selector(a)||a;var c,d,e,f;if((p(a)||H(a))&&"number"!=typeof a[0]){for(c=a.length,d=[];--c>-1;)d=d.concat(G.getTweensOf(a[c],b));for(c=d.length;--c>-1;)for(f=d[c],e=c;--e>-1;)f===d[e]&&d.splice(c,1)}else for(d=Z(a).concat(),c=d.length;--c>-1;)(d[c]._gc||b&&!d[c].isActive())&&d.splice(c,1);return d},G.killTweensOf=G.killDelayedCallsTo=function(a,b,c){"object"==typeof b&&(c=b,b=!1);for(var d=G.getTweensOf(a,b),e=d.length;--e>-1;)d[e]._kill(c,a)};var ba=t("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(","),this._propName=this._overwriteProps[0],this._priority=b||0,this._super=ba.prototype},!0);if(h=ba.prototype,ba.version="1.19.0",ba.API=2,h._firstPT=null,h._addTween=O,h.setRatio=M,h._kill=function(a){var b,c=this._overwriteProps,d=this._firstPT;if(null!=a[this._propName])this._overwriteProps=[];else for(b=c.length;--b>-1;)null!=a[c[b]]&&c.splice(b,1);for(;d;)null!=a[d.n]&&(d._next&&(d._next._prev=d._prev),d._prev?(d._prev._next=d._next,d._prev=null):this._firstPT===d&&(this._firstPT=d._next)),d=d._next;return!1},h._mod=h._roundProps=function(a){for(var b,c=this._firstPT;c;)b=a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")],b&&"function"==typeof b&&(2===c.f?c.t._applyPT.m=b:c.m=b),c=c._next},G._onPluginEvent=function(a,b){var c,d,e,f,g,h=b._firstPT;if("_onInitAllProps"===a){for(;h;){for(g=h._next,d=e;d&&d.pr>h.pr;)d=d._next;(h._prev=d?d._prev:f)?h._prev._next=h:e=h,(h._next=d)?d._prev=h:f=h,h=g}h=b._firstPT=e}for(;h;)h.pg&&"function"==typeof h.t[a]&&h.t[a]()&&(c=!0),h=h._next;return c},ba.activate=function(a){for(var b=a.length;--b>-1;)a[b].API===ba.API&&(Q[(new a[b])._propName]=a[b]);return!0},s.plugin=function(a){if(!(a&&a.propName&&a.init&&a.API))throw"illegal plugin definition.";var b,c=a.propName,d=a.priority||0,e=a.overwriteProps,f={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},g=t("plugins."+c.charAt(0).toUpperCase()+c.substr(1)+"Plugin",function(){ba.call(this,c,d),this._overwriteProps=e||[]},a.global===!0),h=g.prototype=new ba(c);h.constructor=g,g.API=a.API;for(b in f)"function"==typeof a[b]&&(h[f[b]]=a[b]);return g.version=a.version,ba.activate([g]),g},f=a._gsQueue){for(g=0;g<f.length;g++)f[g]();for(h in q)q[h].func||a.console.log("GSAP encountered missing dependency: "+h)}j=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenLite");
/* TIME LINE LITE */
/*!
 * VERSION: 1.17.0
 * DATE: 2015-05-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2015, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var s=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i,s,r=this.vars;for(s in r)i=r[s],h(i)&&-1!==i.join("").indexOf("{self}")&&(r[s]=this._swapSelfInParams(i));h(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},r=1e-10,n=i._internals,a=s._internals={},o=n.isSelector,h=n.isArray,l=n.lazyTweens,_=n.lazyRender,u=[],f=_gsScope._gsDefine.globals,c=function(t){var e,i={};for(e in t)i[e]=t[e];return i},p=a.pauseCallback=function(t,e,i,s){var n,a=t._timeline,o=a._totalTime,h=t._startTime,l=0>t._rawPrevTime||0===t._rawPrevTime&&a._reversed,_=l?0:r,f=l?r:0;if(e||!this._forcingPlayhead){for(a.pause(h),n=t._prev;n&&n._startTime===h;)n._rawPrevTime=f,n=n._prev;for(n=t._next;n&&n._startTime===h;)n._rawPrevTime=_,n=n._next;e&&e.apply(s||a.vars.callbackScope||a,i||u),(this._forcingPlayhead||!a._paused)&&a.seek(o)}},m=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},d=s.prototype=new e;return s.version="1.17.0",d.constructor=s,d.kill()._gc=d._forcingPlayhead=!1,d.to=function(t,e,s,r){var n=s.repeat&&f.TweenMax||i;return e?this.add(new n(t,e,s),r):this.set(t,s,r)},d.from=function(t,e,s,r){return this.add((s.repeat&&f.TweenMax||i).from(t,e,s),r)},d.fromTo=function(t,e,s,r,n){var a=r.repeat&&f.TweenMax||i;return e?this.add(a.fromTo(t,e,s,r),n):this.set(t,r,n)},d.staggerTo=function(t,e,r,n,a,h,l,_){var u,f=new s({onComplete:h,onCompleteParams:l,callbackScope:_,smoothChildTiming:this.smoothChildTiming});for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],o(t)&&(t=m(t)),n=n||0,0>n&&(t=m(t),t.reverse(),n*=-1),u=0;t.length>u;u++)r.startAt&&(r.startAt=c(r.startAt)),f.to(t[u],e,c(r),u*n);return this.add(f,a)},d.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},d.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,h)},d.call=function(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},d.set=function(t,e,s){return s=this._parseTimeOrLabel(s,0,!0),null==e.immediateRender&&(e.immediateRender=s===this._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r,n,a=new s(t),o=a._timeline;for(null==e&&(e=!0),o._remove(a,!0),a._startTime=0,a._rawPrevTime=a._time=a._totalTime=o._time,r=o._first;r;)n=r._next,e&&r instanceof i&&r.target===r.vars.onComplete||a.add(r,r._startTime-r._delay),r=n;return o.add(a,0),a},d.add=function(r,n,a,o){var l,_,u,f,c,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&h(r)){for(a=a||"normal",o=o||0,l=n,_=r.length,u=0;_>u;u++)h(f=r[u])&&(f=new s({tweens:f})),this.add(f,l),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?l=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),l+=o;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,n);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(c=this,p=c.rawTime()>r._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},d.remove=function(e){if(e instanceof t)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&h(e)){for(var i=e.length;--i>-1;)this.remove(e[i]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},d._remove=function(t,i){e.prototype._remove.call(this,t,i);var s=this._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},d.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},d.insert=d.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},d.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},d.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},d.addPause=function(t,e,s,r){var n=i.delayedCall(0,p,["{self}",e,s,r],this);return n.data="isPause",this.add(n,t)},d.removeLabel=function(t){return delete this._labels[t],this},d.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},d._parseTimeOrLabel=function(e,i,s,r){var n;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&h(r)))for(n=r.length;--n>-1;)r[n]instanceof t&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof i)return this._parseTimeOrLabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,s);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(n=e.indexOf("="),-1===n)return null==this._labels[e]?s?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(n-1)+"1",10)*Number(e.substr(n+1)),e=n>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},d.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},d.stop=function(){return this.paused(!0)},d.gotoAndPlay=function(t,e){return this.play(t,e)},d.gotoAndStop=function(t,e){return this.pause(t,e)},d.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,n,a,o,h,u=this._dirty?this.totalDuration():this._totalDuration,f=this._time,c=this._startTime,p=this._timeScale,m=this._paused;if(t>=u)this._totalTime=this._time=u,this._reversed||this._hasPausedChild()||(n=!0,o="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(0===t||0>this._rawPrevTime||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>r&&(o="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=u+1e-4;else if(1e-7>t)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||0>t&&this._rawPrevTime>=0))&&(o="onReverseComplete",n=this._reversed),0>t)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=n=!0,o="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&n)for(s=this._first;s&&0===s._startTime;)s._duration||(n=!1),s=s._next;t=0,this._initted||(h=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||h){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&0!==this._time&&(e||this._callback("onStart")),this._time>=f)for(s=this._first;s&&(a=s._next,!this._paused||m);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;else for(s=this._last;s&&(a=s._prev,!this._paused||m);)(s._active||f>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=a;this._onUpdate&&(e||(l.length&&_(),this._callback("onUpdate"))),o&&(this._gc||(c===this._startTime||p!==this._timeScale)&&(0===this._time||u>=this.totalDuration())&&(n&&(l.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[o]&&this._callback(o)))}},d._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;t=t._next}return!1},d.getChildren=function(t,e,s,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)r>a._startTime||(a instanceof i?e!==!1&&(n[o++]=a):(s!==!1&&(n[o++]=a),t!==!1&&(n=n.concat(a.getChildren(!0,e,s)),o=n.length))),a=a._next;return n},d.getTweensOf=function(t,e){var s,r,n=this._gc,a=[],o=0;for(n&&this._enabled(!0,!0),s=i.getTweensOf(t),r=s.length;--r>-1;)(s[r].timeline===this||e&&this._contains(s[r]))&&(a[o++]=s[r]);return n&&this._enabled(!1,!0),a},d.recent=function(){return this._recent},d._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},d.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},d._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},d.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},d.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},d._enabled=function(t,i){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return e.prototype._enabled.call(this,t,i)},d.totalTime=function(){this._forcingPlayhead=!0;var e=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},d.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},d.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this._last,n=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):n=r._startTime,0>r._startTime&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),i=r._startTime+r._totalDuration/r._timeScale,i>s&&(s=i),r=e;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==t&&this.timeScale(this._totalDuration/t),this},d.paused=function(e){if(!e)for(var i=this._first,s=this._time;i;)i._startTime===s&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},d.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},d.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t){"use strict";var e=function(){return(_gsScope.GreenSockGlobals||_gsScope)[t]};"function"==typeof define&&define.amd?define(["TweenLite"],e):"undefined"!=typeof module&&module.exports&&(require("./TweenLite.js"),module.exports=e())}("TimelineLite");


/* EASING PLUGIN*/
/*!
 * VERSION: 1.15.5
 * DATE: 2016-07-08
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("easing.Back",["easing.Ease"],function(a){var b,c,d,e=_gsScope.GreenSockGlobals||_gsScope,f=e.com.greensock,g=2*Math.PI,h=Math.PI/2,i=f._class,j=function(b,c){var d=i("easing."+b,function(){},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,d},k=a.register||function(){},l=function(a,b,c,d,e){var f=i("easing."+a,{easeOut:new b,easeIn:new c,easeInOut:new d},!0);return k(f,a),f},m=function(a,b,c){this.t=a,this.v=b,c&&(this.next=c,c.prev=this,this.c=c.v-b,this.gap=c.t-a)},n=function(b,c){var d=i("easing."+b,function(a){this._p1=a||0===a?a:1.70158,this._p2=1.525*this._p1},!0),e=d.prototype=new a;return e.constructor=d,e.getRatio=c,e.config=function(a){return new d(a)},d},o=l("Back",n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n("BackInOut",function(a){return(a*=2)<1?.5*a*a*((this._p2+1)*a-this._p2):.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)})),p=i("easing.SlowMo",function(a,b,c){b=b||0===b?b:.7,null==a?a=.7:a>1&&(a=1),this._p=1!==a?b:0,this._p1=(1-a)/2,this._p2=a,this._p3=this._p1+this._p2,this._calcEnd=c===!0},!0),q=p.prototype=new a;return q.constructor=p,q.getRatio=function(a){var b=a+(.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b},p.ease=new p(.7,.7),q.config=p.config=function(a,b,c){return new p(a,b,c)},b=i("easing.SteppedEase",function(a){a=a||1,this._p1=1/a,this._p2=a+1},!0),q=b.prototype=new a,q.constructor=b,q.getRatio=function(a){return 0>a?a=0:a>=1&&(a=.999999999),(this._p2*a>>0)*this._p1},q.config=b.config=function(a){return new b(a)},c=i("easing.RoughEase",function(b){b=b||{};for(var c,d,e,f,g,h,i=b.taper||"none",j=[],k=0,l=0|(b.points||20),n=l,o=b.randomize!==!1,p=b.clamp===!0,q=b.template instanceof a?b.template:null,r="number"==typeof b.strength?.4*b.strength:.4;--n>-1;)c=o?Math.random():1/l*n,d=q?q.getRatio(c):c,"none"===i?e=r:"out"===i?(f=1-c,e=f*f*r):"in"===i?e=c*c*r:.5>c?(f=2*c,e=f*f*.5*r):(f=2*(1-c),e=f*f*.5*r),o?d+=Math.random()*e-.5*e:n%2?d+=.5*e:d-=.5*e,p&&(d>1?d=1:0>d&&(d=0)),j[k++]={x:c,y:d};for(j.sort(function(a,b){return a.x-b.x}),h=new m(1,1,null),n=l;--n>-1;)g=j[n],h=new m(g.x,g.y,h);this._prev=new m(0,0,0!==h.t?h:h.next)},!0),q=c.prototype=new a,q.constructor=c,q.getRatio=function(a){var b=this._prev;if(a>b.t){for(;b.next&&a>=b.t;)b=b.next;b=b.prev}else for(;b.prev&&a<=b.t;)b=b.prev;return this._prev=b,b.v+(a-b.t)/b.gap*b.c},q.config=function(a){return new c(a)},c.ease=new c,l("Bounce",j("BounceOut",function(a){return 1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375}),j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:2/2.75>a?1-(7.5625*(a-=1.5/2.75)*a+.75):2.5/2.75>a?1-(7.5625*(a-=2.25/2.75)*a+.9375):1-(7.5625*(a-=2.625/2.75)*a+.984375)}),j("BounceInOut",function(a){var b=.5>a;return a=b?1-2*a:2*a-1,a=1/2.75>a?7.5625*a*a:2/2.75>a?7.5625*(a-=1.5/2.75)*a+.75:2.5/2.75>a?7.5625*(a-=2.25/2.75)*a+.9375:7.5625*(a-=2.625/2.75)*a+.984375,b?.5*(1-a):.5*a+.5})),l("Circ",j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),j("CircInOut",function(a){return(a*=2)<1?-.5*(Math.sqrt(1-a*a)-1):.5*(Math.sqrt(1-(a-=2)*a)+1)})),d=function(b,c,d){var e=i("easing."+b,function(a,b){this._p1=a>=1?a:1,this._p2=(b||d)/(1>a?a:1),this._p3=this._p2/g*(Math.asin(1/this._p1)||0),this._p2=g/this._p2},!0),f=e.prototype=new a;return f.constructor=e,f.getRatio=c,f.config=function(a,b){return new e(a,b)},e},l("Elastic",d("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*this._p2)+1},.3),d("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2))},.3),d("ElasticInOut",function(a){return(a*=2)<1?-.5*(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*this._p2)*.5+1},.45)),l("Expo",j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-.001}),j("ExpoInOut",function(a){return(a*=2)<1?.5*Math.pow(2,10*(a-1)):.5*(2-Math.pow(2,-10*(a-1)))})),l("Sine",j("SineOut",function(a){return Math.sin(a*h)}),j("SineIn",function(a){return-Math.cos(a*h)+1}),j("SineInOut",function(a){return-.5*(Math.cos(Math.PI*a)-1)})),i("easing.EaseLookup",{find:function(b){return a.map[b]}},!0),k(e.SlowMo,"SlowMo","ease,"),k(c,"RoughEase","ease,"),k(b,"SteppedEase","ease,"),o},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(){"use strict";var a=function(){return _gsScope.GreenSockGlobals||_gsScope};"function"==typeof define&&define.amd?define(["TweenLite"],a):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=a())}();


/* CSS PLUGIN */
/*!
 * VERSION: 1.19.1
 * DATE: 2017-01-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(a,b){var c,d,e,f,g=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=g.prototype.setRatio},h=_gsScope._gsDefine.globals,i={},j=g.prototype=new a("css");j.constructor=g,g.version="1.19.1",g.API=2,g.defaultTransformPerspective=0,g.defaultSkewType="compensated",g.defaultSmoothOrigin=!0,j="px",g.suffixMap={top:j,right:j,bottom:j,left:j,width:j,height:j,fontSize:j,padding:j,margin:j,perspective:j,lineHeight:""};var k,l,m,n,o,p,q,r,s=/(?:\-|\.|\b)(\d|\.|e\-)+/g,t=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,u=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,v=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,y=/opacity:([^;]*)/i,z=/alpha\(opacity *=.+?\)/i,A=/^(rgb|hsl)/,B=/([A-Z])/g,C=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(a,b){return b.toUpperCase()},F=/(?:Left|Right|Width)/i,G=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,H=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,J=/[\s,\(]/i,K=Math.PI/180,L=180/Math.PI,M={},N={style:{}},O=_gsScope.document||{createElement:function(){return N}},P=function(a,b){return O.createElementNS?O.createElementNS(b||"http://www.w3.org/1999/xhtml",a):O.createElement(a)},Q=P("div"),R=P("img"),S=g._internals={_specialProps:i},T=(_gsScope.navigator||{}).userAgent||"",U=function(){var a=T.indexOf("Android"),b=P("a");return m=-1!==T.indexOf("Safari")&&-1===T.indexOf("Chrome")&&(-1===a||parseFloat(T.substr(a+8,2))>3),o=m&&parseFloat(T.substr(T.indexOf("Version/")+8,2))<6,n=-1!==T.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(T)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(T))&&(p=parseFloat(RegExp.$1)),b?(b.style.cssText="top:1px;opacity:.55;",/^0.55/.test(b.style.opacity)):!1}(),V=function(a){return x.test("string"==typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},W=function(a){_gsScope.console&&console.log(a)},X="",Y="",Z=function(a,b){b=b||Q;var c,d,e=b.style;if(void 0!==e[a])return a;for(a=a.charAt(0).toUpperCase()+a.substr(1),c=["O","Moz","ms","Ms","Webkit"],d=5;--d>-1&&void 0===e[c[d]+a];);return d>=0?(Y=3===d?"ms":c[d],X="-"+Y.toLowerCase()+"-",Y+a):null},$=O.defaultView?O.defaultView.getComputedStyle:function(){},_=g.getStyle=function(a,b,c,d,e){var f;return U||"opacity"!==b?(!d&&a.style[b]?f=a.style[b]:(c=c||$(a))?f=c[b]||c.getPropertyValue(b)||c.getPropertyValue(b.replace(B,"-$1").toLowerCase()):a.currentStyle&&(f=a.currentStyle[b]),null==e||f&&"none"!==f&&"auto"!==f&&"auto auto"!==f?f:e):V(a)},aa=S.convertToPixels=function(a,c,d,e,f){if("px"===e||!e)return d;if("auto"===e||!d)return 0;var h,i,j,k=F.test(c),l=a,m=Q.style,n=0>d,o=1===d;if(n&&(d=-d),o&&(d*=100),"%"===e&&-1!==c.indexOf("border"))h=d/100*(k?a.clientWidth:a.clientHeight);else{if(m.cssText="border:0 solid red;position:"+_(a,"position")+";line-height:0;","%"!==e&&l.appendChild&&"v"!==e.charAt(0)&&"rem"!==e)m[k?"borderLeftWidth":"borderTopWidth"]=d+e;else{if(l=a.parentNode||O.body,i=l._gsCache,j=b.ticker.frame,i&&k&&i.time===j)return i.width*d/100;m[k?"width":"height"]=d+e}l.appendChild(Q),h=parseFloat(Q[k?"offsetWidth":"offsetHeight"]),l.removeChild(Q),k&&"%"===e&&g.cacheWidths!==!1&&(i=l._gsCache=l._gsCache||{},i.time=j,i.width=h/d*100),0!==h||f||(h=aa(a,c,d,e,!0))}return o&&(h/=100),n?-h:h},ba=S.calculateOffset=function(a,b,c){if("absolute"!==_(a,"position",c))return 0;var d="left"===b?"Left":"Top",e=_(a,"margin"+d,c);return a["offset"+d]-(aa(a,b,parseFloat(e),e.replace(w,""))||0)},ca=function(a,b){var c,d,e,f={};if(b=b||$(a,null))if(c=b.length)for(;--c>-1;)e=b[c],(-1===e.indexOf("-transform")||Da===e)&&(f[e.replace(C,E)]=b.getPropertyValue(e));else for(c in b)(-1===c.indexOf("Transform")||Ca===c)&&(f[c]=b[c]);else if(b=a.currentStyle||a.style)for(c in b)"string"==typeof c&&void 0===f[c]&&(f[c.replace(C,E)]=b[c]);return U||(f.opacity=V(a)),d=Ra(a,b,!1),f.rotation=d.rotation,f.skewX=d.skewX,f.scaleX=d.scaleX,f.scaleY=d.scaleY,f.x=d.x,f.y=d.y,Fa&&(f.z=d.z,f.rotationX=d.rotationX,f.rotationY=d.rotationY,f.scaleZ=d.scaleZ),f.filters&&delete f.filters,f},da=function(a,b,c,d,e){var f,g,h,i={},j=a.style;for(g in c)"cssText"!==g&&"length"!==g&&isNaN(g)&&(b[g]!==(f=c[g])||e&&e[g])&&-1===g.indexOf("Origin")&&("number"==typeof f||"string"==typeof f)&&(i[g]="auto"!==f||"left"!==g&&"top"!==g?""!==f&&"auto"!==f&&"none"!==f||"string"!=typeof b[g]||""===b[g].replace(v,"")?f:0:ba(a,g),void 0!==j[g]&&(h=new sa(j,g,j[g],h)));if(d)for(g in d)"className"!==g&&(i[g]=d[g]);return{difs:i,firstMPT:h}},ea={width:["Left","Right"],height:["Top","Bottom"]},fa=["marginLeft","marginRight","marginTop","marginBottom"],ga=function(a,b,c){if("svg"===(a.nodeName+"").toLowerCase())return(c||$(a))[b]||0;if(a.getCTM&&Oa(a))return a.getBBox()[b]||0;var d=parseFloat("width"===b?a.offsetWidth:a.offsetHeight),e=ea[b],f=e.length;for(c=c||$(a,null);--f>-1;)d-=parseFloat(_(a,"padding"+e[f],c,!0))||0,d-=parseFloat(_(a,"border"+e[f]+"Width",c,!0))||0;return d},ha=function(a,b){if("contain"===a||"auto"===a||"auto auto"===a)return a+" ";(null==a||""===a)&&(a="0 0");var c,d=a.split(" "),e=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];if(d.length>3&&!b){for(d=a.split(", ").join(",").split(","),a=[],c=0;c<d.length;c++)a.push(ha(d[c]));return a.join(",")}return null==f?f="center"===e?"50%":"0":"center"===f&&(f="50%"),("center"===e||isNaN(parseFloat(e))&&-1===(e+"").indexOf("="))&&(e="50%"),a=e+" "+f+(d.length>2?" "+d[2]:""),b&&(b.oxp=-1!==e.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===e.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(e.replace(v,"")),b.oy=parseFloat(f.replace(v,"")),b.v=a),b||a},ia=function(a,b){return"function"==typeof a&&(a=a(r,q)),"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)||0},ja=function(a,b){return"function"==typeof a&&(a=a(r,q)),null==a?b:"string"==typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2))+b:parseFloat(a)||0},ka=function(a,b,c,d){var e,f,g,h,i,j=1e-6;return"function"==typeof a&&(a=a(r,q)),null==a?h=b:"number"==typeof a?h=a:(e=360,f=a.split("_"),i="="===a.charAt(1),g=(i?parseInt(a.charAt(0)+"1",10)*parseFloat(f[0].substr(2)):parseFloat(f[0]))*(-1===a.indexOf("rad")?1:L)-(i?0:b),f.length&&(d&&(d[c]=b+g),-1!==a.indexOf("short")&&(g%=e,g!==g%(e/2)&&(g=0>g?g+e:g-e)),-1!==a.indexOf("_cw")&&0>g?g=(g+9999999999*e)%e-(g/e|0)*e:-1!==a.indexOf("ccw")&&g>0&&(g=(g-9999999999*e)%e-(g/e|0)*e)),h=b+g),j>h&&h>-j&&(h=0),h},la={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]},ma=function(a,b,c){return a=0>a?a+1:a>1?a-1:a,255*(1>6*a?b+(c-b)*a*6:.5>a?c:2>3*a?b+(c-b)*(2/3-a)*6:b)+.5|0},na=g.parseColor=function(a,b){var c,d,e,f,g,h,i,j,k,l,m;if(a)if("number"==typeof a)c=[a>>16,a>>8&255,255&a];else{if(","===a.charAt(a.length-1)&&(a=a.substr(0,a.length-1)),la[a])c=la[a];else if("#"===a.charAt(0))4===a.length&&(d=a.charAt(1),e=a.charAt(2),f=a.charAt(3),a="#"+d+d+e+e+f+f),a=parseInt(a.substr(1),16),c=[a>>16,a>>8&255,255&a];else if("hsl"===a.substr(0,3))if(c=m=a.match(s),b){if(-1!==a.indexOf("="))return a.match(t)}else g=Number(c[0])%360/360,h=Number(c[1])/100,i=Number(c[2])/100,e=.5>=i?i*(h+1):i+h-i*h,d=2*i-e,c.length>3&&(c[3]=Number(a[3])),c[0]=ma(g+1/3,d,e),c[1]=ma(g,d,e),c[2]=ma(g-1/3,d,e);else c=a.match(s)||la.transparent;c[0]=Number(c[0]),c[1]=Number(c[1]),c[2]=Number(c[2]),c.length>3&&(c[3]=Number(c[3]))}else c=la.black;return b&&!m&&(d=c[0]/255,e=c[1]/255,f=c[2]/255,j=Math.max(d,e,f),k=Math.min(d,e,f),i=(j+k)/2,j===k?g=h=0:(l=j-k,h=i>.5?l/(2-j-k):l/(j+k),g=j===d?(e-f)/l+(f>e?6:0):j===e?(f-d)/l+2:(d-e)/l+4,g*=60),c[0]=g+.5|0,c[1]=100*h+.5|0,c[2]=100*i+.5|0),c},oa=function(a,b){var c,d,e,f=a.match(pa)||[],g=0,h=f.length?"":a;for(c=0;c<f.length;c++)d=f[c],e=a.substr(g,a.indexOf(d,g)-g),g+=e.length+d.length,d=na(d,b),3===d.length&&d.push(1),h+=e+(b?"hsla("+d[0]+","+d[1]+"%,"+d[2]+"%,"+d[3]:"rgba("+d.join(","))+")";return h+a.substr(g)},pa="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(j in la)pa+="|"+j+"\\b";pa=new RegExp(pa+")","gi"),g.colorStringFilter=function(a){var b,c=a[0]+a[1];pa.test(c)&&(b=-1!==c.indexOf("hsl(")||-1!==c.indexOf("hsla("),a[0]=oa(a[0],b),a[1]=oa(a[1],b)),pa.lastIndex=0},b.defaultStringFilter||(b.defaultStringFilter=g.colorStringFilter);var qa=function(a,b,c,d){if(null==a)return function(a){return a};var e,f=b?(a.match(pa)||[""])[0]:"",g=a.split(f).join("").match(u)||[],h=a.substr(0,a.indexOf(g[0])),i=")"===a.charAt(a.length-1)?")":"",j=-1!==a.indexOf(" ")?" ":",",k=g.length,l=k>0?g[0].replace(s,""):"";return k?e=b?function(a){var b,m,n,o;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(o=a.replace(I,"|").split("|"),n=0;n<o.length;n++)o[n]=e(o[n]);return o.join(",")}if(b=(a.match(pa)||[f])[0],m=a.split(b).join("").match(u)||[],n=m.length,k>n--)for(;++n<k;)m[n]=c?m[(n-1)/2|0]:g[n];return h+m.join(j)+j+b+i+(-1!==a.indexOf("inset")?" inset":"")}:function(a){var b,f,m;if("number"==typeof a)a+=l;else if(d&&I.test(a)){for(f=a.replace(I,"|").split("|"),m=0;m<f.length;m++)f[m]=e(f[m]);return f.join(",")}if(b=a.match(u)||[],m=b.length,k>m--)for(;++m<k;)b[m]=c?b[(m-1)/2|0]:g[m];return h+b.join(j)+i}:function(a){return a}},ra=function(a){return a=a.split(","),function(b,c,d,e,f,g,h){var i,j=(c+"").split(" ");for(h={},i=0;4>i;i++)h[a[i]]=j[i]=j[i]||j[(i-1)/2>>0];return e.parse(b,h,f,g)}},sa=(S._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b,c,d,e,f,g=this.data,h=g.proxy,i=g.firstMPT,j=1e-6;i;)b=h[i.v],i.r?b=Math.round(b):j>b&&b>-j&&(b=0),i.t[i.p]=b,i=i._next;if(g.autoRotate&&(g.autoRotate.rotation=g.mod?g.mod(h.rotation,this.t):h.rotation),1===a||0===a)for(i=g.firstMPT,f=1===a?"e":"b";i;){if(c=i.t,c.type){if(1===c.type){for(e=c.xs0+c.s+c.xs1,d=1;d<c.l;d++)e+=c["xn"+d]+c["xs"+(d+1)];c[f]=e}}else c[f]=c.s+c.xs0;i=i._next}},function(a,b,c,d,e){this.t=a,this.p=b,this.v=c,this.r=e,d&&(d._prev=this,this._next=d)}),ta=(S._parseToProxy=function(a,b,c,d,e,f){var g,h,i,j,k,l=d,m={},n={},o=c._transform,p=M;for(c._transform=null,M=b,d=k=c.parse(a,b,d,e),M=p,f&&(c._transform=o,l&&(l._prev=null,l._prev&&(l._prev._next=null)));d&&d!==l;){if(d.type<=1&&(h=d.p,n[h]=d.s+d.c,m[h]=d.s,f||(j=new sa(d,"s",h,j,d.r),d.c=0),1===d.type))for(g=d.l;--g>0;)i="xn"+g,h=d.p+"_"+i,n[h]=d.data[i],m[h]=d[i],f||(j=new sa(d,i,h,j,d.rxp[i]));d=d._next}return{proxy:m,end:n,firstMPT:j,pt:k}},S.CSSPropTween=function(a,b,d,e,g,h,i,j,k,l,m){this.t=a,this.p=b,this.s=d,this.c=e,this.n=i||b,a instanceof ta||f.push(this.n),this.r=j,this.type=h||0,k&&(this.pr=k,c=!0),this.b=void 0===l?d:l,this.e=void 0===m?d+e:m,g&&(this._next=g,g._prev=this)}),ua=function(a,b,c,d,e,f){var g=new ta(a,b,c,d-c,e,-1,f);return g.b=c,g.e=g.xs0=d,g},va=g.parseComplex=function(a,b,c,d,e,f,h,i,j,l){c=c||f||"","function"==typeof d&&(d=d(r,q)),h=new ta(a,b,0,0,h,l?2:1,null,!1,i,c,d),d+="",e&&pa.test(d+c)&&(d=[c,d],g.colorStringFilter(d),c=d[0],d=d[1]);var m,n,o,p,u,v,w,x,y,z,A,B,C,D=c.split(", ").join(",").split(" "),E=d.split(", ").join(",").split(" "),F=D.length,G=k!==!1;for((-1!==d.indexOf(",")||-1!==c.indexOf(","))&&(D=D.join(" ").replace(I,", ").split(" "),E=E.join(" ").replace(I,", ").split(" "),F=D.length),F!==E.length&&(D=(f||"").split(" "),F=D.length),h.plugin=j,h.setRatio=l,pa.lastIndex=0,m=0;F>m;m++)if(p=D[m],u=E[m],x=parseFloat(p),x||0===x)h.appendXtra("",x,ia(u,x),u.replace(t,""),G&&-1!==u.indexOf("px"),!0);else if(e&&pa.test(p))B=u.indexOf(")")+1,B=")"+(B?u.substr(B):""),C=-1!==u.indexOf("hsl")&&U,p=na(p,C),u=na(u,C),y=p.length+u.length>6,y&&!U&&0===u[3]?(h["xs"+h.l]+=h.l?" transparent":"transparent",h.e=h.e.split(E[m]).join("transparent")):(U||(y=!1),C?h.appendXtra(y?"hsla(":"hsl(",p[0],ia(u[0],p[0]),",",!1,!0).appendXtra("",p[1],ia(u[1],p[1]),"%,",!1).appendXtra("",p[2],ia(u[2],p[2]),y?"%,":"%"+B,!1):h.appendXtra(y?"rgba(":"rgb(",p[0],u[0]-p[0],",",!0,!0).appendXtra("",p[1],u[1]-p[1],",",!0).appendXtra("",p[2],u[2]-p[2],y?",":B,!0),y&&(p=p.length<4?1:p[3],h.appendXtra("",p,(u.length<4?1:u[3])-p,B,!1))),pa.lastIndex=0;else if(v=p.match(s)){if(w=u.match(t),!w||w.length!==v.length)return h;for(o=0,n=0;n<v.length;n++)A=v[n],z=p.indexOf(A,o),h.appendXtra(p.substr(o,z-o),Number(A),ia(w[n],A),"",G&&"px"===p.substr(z+A.length,2),0===n),o=z+A.length;h["xs"+h.l]+=p.substr(o)}else h["xs"+h.l]+=h.l||h["xs"+h.l]?" "+u:u;if(-1!==d.indexOf("=")&&h.data){for(B=h.xs0+h.data.s,m=1;m<h.l;m++)B+=h["xs"+m]+h.data["xn"+m];h.e=B+h["xs"+m]}return h.l||(h.type=-1,h.xs0=h.e),h.xfirst||h},wa=9;for(j=ta.prototype,j.l=j.pr=0;--wa>0;)j["xn"+wa]=0,j["xs"+wa]="";j.xs0="",j._next=j._prev=j.xfirst=j.data=j.plugin=j.setRatio=j.rxp=null,j.appendXtra=function(a,b,c,d,e,f){var g=this,h=g.l;return g["xs"+h]+=f&&(h||g["xs"+h])?" "+a:a||"",c||0===h||g.plugin?(g.l++,g.type=g.setRatio?2:1,g["xs"+g.l]=d||"",h>0?(g.data["xn"+h]=b+c,g.rxp["xn"+h]=e,g["xn"+h]=b,g.plugin||(g.xfirst=new ta(g,"xn"+h,b,c,g.xfirst||g,0,g.n,e,g.pr),g.xfirst.xs0=0),g):(g.data={s:b+c},g.rxp={},g.s=b,g.c=c,g.r=e,g)):(g["xs"+h]+=b+(d||""),g)};var xa=function(a,b){b=b||{},this.p=b.prefix?Z(a)||a:a,i[a]=i[this.p]=this,this.format=b.formatter||qa(b.defaultValue,b.color,b.collapsible,b.multi),b.parser&&(this.parse=b.parser),this.clrs=b.color,this.multi=b.multi,this.keyword=b.keyword,this.dflt=b.defaultValue,this.pr=b.priority||0},ya=S._registerComplexSpecialProp=function(a,b,c){"object"!=typeof b&&(b={parser:c});var d,e,f=a.split(","),g=b.defaultValue;for(c=c||[g],d=0;d<f.length;d++)b.prefix=0===d&&b.prefix,b.defaultValue=c[d]||g,e=new xa(f[d],b)},za=S._registerPluginProp=function(a){if(!i[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";ya(a,{parser:function(a,c,d,e,f,g,j){var k=h.com.greensock.plugins[b];return k?(k._cssRegister(),i[d].parse(a,c,d,e,f,g,j)):(W("Error: "+b+" js file not loaded."),f)}})}};j=xa.prototype,j.parseComplex=function(a,b,c,d,e,f){var g,h,i,j,k,l,m=this.keyword;if(this.multi&&(I.test(c)||I.test(b)?(h=b.replace(I,"|").split("|"),i=c.replace(I,"|").split("|")):m&&(h=[b],i=[c])),i){for(j=i.length>h.length?i.length:h.length,g=0;j>g;g++)b=h[g]=h[g]||this.dflt,c=i[g]=i[g]||this.dflt,m&&(k=b.indexOf(m),l=c.indexOf(m),k!==l&&(-1===l?h[g]=h[g].split(m).join(""):-1===k&&(h[g]+=" "+m)));b=h.join(", "),c=i.join(", ")}return va(a,this.p,b,c,this.clrs,this.dflt,d,this.pr,e,f)},j.parse=function(a,b,c,d,f,g,h){return this.parseComplex(a.style,this.format(_(a,this.p,e,!1,this.dflt)),this.format(b),f,g)},g.registerSpecialProp=function(a,b,c){ya(a,{parser:function(a,d,e,f,g,h,i){var j=new ta(a,e,0,0,g,2,e,!1,c);return j.plugin=h,j.setRatio=b(a,d,f._tween,e),j},priority:c})},g.useSVGTransformAttr=!0;var Aa,Ba="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ca=Z("transform"),Da=X+"transform",Ea=Z("transformOrigin"),Fa=null!==Z("perspective"),Ga=S.Transform=function(){this.perspective=parseFloat(g.defaultTransformPerspective)||0,this.force3D=g.defaultForce3D!==!1&&Fa?g.defaultForce3D||"auto":!1},Ha=_gsScope.SVGElement,Ia=function(a,b,c){var d,e=O.createElementNS("http://www.w3.org/2000/svg",a),f=/([a-z])([A-Z])/g;for(d in c)e.setAttributeNS(null,d.replace(f,"$1-$2").toLowerCase(),c[d]);return b.appendChild(e),e},Ja=O.documentElement||{},Ka=function(){var a,b,c,d=p||/Android/i.test(T)&&!_gsScope.chrome;return O.createElementNS&&!d&&(a=Ia("svg",Ja),b=Ia("rect",a,{width:100,height:50,x:100}),c=b.getBoundingClientRect().width,b.style[Ea]="50% 50%",b.style[Ca]="scaleX(0.5)",d=c===b.getBoundingClientRect().width&&!(n&&Fa),Ja.removeChild(a)),d}(),La=function(a,b,c,d,e,f){var h,i,j,k,l,m,n,o,p,q,r,s,t,u,v=a._gsTransform,w=Qa(a,!0);v&&(t=v.xOrigin,u=v.yOrigin),(!d||(h=d.split(" ")).length<2)&&(n=a.getBBox(),0===n.x&&0===n.y&&n.width+n.height===0&&(n={x:parseFloat(a.hasAttribute("x")?a.getAttribute("x"):a.hasAttribute("cx")?a.getAttribute("cx"):0)||0,y:parseFloat(a.hasAttribute("y")?a.getAttribute("y"):a.hasAttribute("cy")?a.getAttribute("cy"):0)||0,width:0,height:0}),b=ha(b).split(" "),h=[(-1!==b[0].indexOf("%")?parseFloat(b[0])/100*n.width:parseFloat(b[0]))+n.x,(-1!==b[1].indexOf("%")?parseFloat(b[1])/100*n.height:parseFloat(b[1]))+n.y]),c.xOrigin=k=parseFloat(h[0]),c.yOrigin=l=parseFloat(h[1]),d&&w!==Pa&&(m=w[0],n=w[1],o=w[2],p=w[3],q=w[4],r=w[5],s=m*p-n*o,s&&(i=k*(p/s)+l*(-o/s)+(o*r-p*q)/s,j=k*(-n/s)+l*(m/s)-(m*r-n*q)/s,k=c.xOrigin=h[0]=i,l=c.yOrigin=h[1]=j)),v&&(f&&(c.xOffset=v.xOffset,c.yOffset=v.yOffset,v=c),e||e!==!1&&g.defaultSmoothOrigin!==!1?(i=k-t,j=l-u,v.xOffset+=i*w[0]+j*w[2]-i,v.yOffset+=i*w[1]+j*w[3]-j):v.xOffset=v.yOffset=0),f||a.setAttribute("data-svg-origin",h.join(" "))},Ma=function(a){var b,c=P("svg",this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),d=this.parentNode,e=this.nextSibling,f=this.style.cssText;if(Ja.appendChild(c),c.appendChild(this),this.style.display="block",a)try{b=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Ma}catch(g){}else this._originalGetBBox&&(b=this._originalGetBBox());return e?d.insertBefore(this,e):d.appendChild(this),Ja.removeChild(c),this.style.cssText=f,b},Na=function(a){try{return a.getBBox()}catch(b){return Ma.call(a,!0)}},Oa=function(a){return!(!(Ha&&a.getCTM&&Na(a))||a.parentNode&&!a.ownerSVGElement)},Pa=[1,0,0,1,0,0],Qa=function(a,b){var c,d,e,f,g,h,i=a._gsTransform||new Ga,j=1e5,k=a.style;if(Ca?d=_(a,Da,null,!0):a.currentStyle&&(d=a.currentStyle.filter.match(G),d=d&&4===d.length?[d[0].substr(4),Number(d[2].substr(4)),Number(d[1].substr(4)),d[3].substr(4),i.x||0,i.y||0].join(","):""),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,c&&Ca&&((h="none"===$(a).display)||!a.parentNode)&&(h&&(f=k.display,k.display="block"),a.parentNode||(g=1,Ja.appendChild(a)),d=_(a,Da,null,!0),c=!d||"none"===d||"matrix(1, 0, 0, 1, 0, 0)"===d,f?k.display=f:h&&Va(k,"display"),g&&Ja.removeChild(a)),(i.svg||a.getCTM&&Oa(a))&&(c&&-1!==(k[Ca]+"").indexOf("matrix")&&(d=k[Ca],c=0),e=a.getAttribute("transform"),c&&e&&(-1!==e.indexOf("matrix")?(d=e,c=0):-1!==e.indexOf("translate")&&(d="matrix(1,0,0,1,"+e.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",c=0))),c)return Pa;for(e=(d||"").match(s)||[],wa=e.length;--wa>-1;)f=Number(e[wa]),e[wa]=(g=f-(f|=0))?(g*j+(0>g?-.5:.5)|0)/j+f:f;return b&&e.length>6?[e[0],e[1],e[4],e[5],e[12],e[13]]:e},Ra=S.getTransform=function(a,c,d,e){if(a._gsTransform&&d&&!e)return a._gsTransform;var f,h,i,j,k,l,m=d?a._gsTransform||new Ga:new Ga,n=m.scaleX<0,o=2e-5,p=1e5,q=Fa?parseFloat(_(a,Ea,c,!1,"0 0 0").split(" ")[2])||m.zOrigin||0:0,r=parseFloat(g.defaultTransformPerspective)||0;if(m.svg=!(!a.getCTM||!Oa(a)),m.svg&&(La(a,_(a,Ea,c,!1,"50% 50%")+"",m,a.getAttribute("data-svg-origin")),Aa=g.useSVGTransformAttr||Ka),f=Qa(a),f!==Pa){if(16===f.length){var s,t,u,v,w,x=f[0],y=f[1],z=f[2],A=f[3],B=f[4],C=f[5],D=f[6],E=f[7],F=f[8],G=f[9],H=f[10],I=f[12],J=f[13],K=f[14],M=f[11],N=Math.atan2(D,H);m.zOrigin&&(K=-m.zOrigin,I=F*K-f[12],J=G*K-f[13],K=H*K+m.zOrigin-f[14]),m.rotationX=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=B*v+F*w,t=C*v+G*w,u=D*v+H*w,F=B*-w+F*v,G=C*-w+G*v,H=D*-w+H*v,M=E*-w+M*v,B=s,C=t,D=u),N=Math.atan2(-z,H),m.rotationY=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),s=x*v-F*w,t=y*v-G*w,u=z*v-H*w,G=y*w+G*v,H=z*w+H*v,M=A*w+M*v,x=s,y=t,z=u),N=Math.atan2(y,x),m.rotation=N*L,N&&(v=Math.cos(-N),w=Math.sin(-N),x=x*v+B*w,t=y*v+C*w,C=y*-w+C*v,D=z*-w+D*v,y=t),m.rotationX&&Math.abs(m.rotationX)+Math.abs(m.rotation)>359.9&&(m.rotationX=m.rotation=0,m.rotationY=180-m.rotationY),m.scaleX=(Math.sqrt(x*x+y*y)*p+.5|0)/p,m.scaleY=(Math.sqrt(C*C+G*G)*p+.5|0)/p,m.scaleZ=(Math.sqrt(D*D+H*H)*p+.5|0)/p,m.rotationX||m.rotationY?m.skewX=0:(m.skewX=B||C?Math.atan2(B,C)*L+m.rotation:m.skewX||0,Math.abs(m.skewX)>90&&Math.abs(m.skewX)<270&&(n?(m.scaleX*=-1,m.skewX+=m.rotation<=0?180:-180,m.rotation+=m.rotation<=0?180:-180):(m.scaleY*=-1,m.skewX+=m.skewX<=0?180:-180))),m.perspective=M?1/(0>M?-M:M):0,m.x=I,m.y=J,m.z=K,m.svg&&(m.x-=m.xOrigin-(m.xOrigin*x-m.yOrigin*B),m.y-=m.yOrigin-(m.yOrigin*y-m.xOrigin*C))}else if(!Fa||e||!f.length||m.x!==f[4]||m.y!==f[5]||!m.rotationX&&!m.rotationY){var O=f.length>=6,P=O?f[0]:1,Q=f[1]||0,R=f[2]||0,S=O?f[3]:1;m.x=f[4]||0,m.y=f[5]||0,i=Math.sqrt(P*P+Q*Q),j=Math.sqrt(S*S+R*R),k=P||Q?Math.atan2(Q,P)*L:m.rotation||0,l=R||S?Math.atan2(R,S)*L+k:m.skewX||0,Math.abs(l)>90&&Math.abs(l)<270&&(n?(i*=-1,l+=0>=k?180:-180,k+=0>=k?180:-180):(j*=-1,l+=0>=l?180:-180)),m.scaleX=i,m.scaleY=j,m.rotation=k,m.skewX=l,Fa&&(m.rotationX=m.rotationY=m.z=0,m.perspective=r,m.scaleZ=1),m.svg&&(m.x-=m.xOrigin-(m.xOrigin*P+m.yOrigin*R),m.y-=m.yOrigin-(m.xOrigin*Q+m.yOrigin*S))}m.zOrigin=q;for(h in m)m[h]<o&&m[h]>-o&&(m[h]=0)}return d&&(a._gsTransform=m,m.svg&&(Aa&&a.style[Ca]?b.delayedCall(.001,function(){Va(a.style,Ca)}):!Aa&&a.getAttribute("transform")&&b.delayedCall(.001,function(){a.removeAttribute("transform")}))),m},Sa=function(a){var b,c,d=this.data,e=-d.rotation*K,f=e+d.skewX*K,g=1e5,h=(Math.cos(e)*d.scaleX*g|0)/g,i=(Math.sin(e)*d.scaleX*g|0)/g,j=(Math.sin(f)*-d.scaleY*g|0)/g,k=(Math.cos(f)*d.scaleY*g|0)/g,l=this.t.style,m=this.t.currentStyle;if(m){c=i,i=-j,j=-c,b=m.filter,l.filter="";var n,o,q=this.t.offsetWidth,r=this.t.offsetHeight,s="absolute"!==m.position,t="progid:DXImageTransform.Microsoft.Matrix(M11="+h+", M12="+i+", M21="+j+", M22="+k,u=d.x+q*d.xPercent/100,v=d.y+r*d.yPercent/100;if(null!=d.ox&&(n=(d.oxp?q*d.ox*.01:d.ox)-q/2,o=(d.oyp?r*d.oy*.01:d.oy)-r/2,u+=n-(n*h+o*i),v+=o-(n*j+o*k)),s?(n=q/2,o=r/2,t+=", Dx="+(n-(n*h+o*i)+u)+", Dy="+(o-(n*j+o*k)+v)+")"):t+=", sizingMethod='auto expand')",-1!==b.indexOf("DXImageTransform.Microsoft.Matrix(")?l.filter=b.replace(H,t):l.filter=t+" "+b,(0===a||1===a)&&1===h&&0===i&&0===j&&1===k&&(s&&-1===t.indexOf("Dx=0, Dy=0")||x.test(b)&&100!==parseFloat(RegExp.$1)||-1===b.indexOf(b.indexOf("Alpha"))&&l.removeAttribute("filter")),!s){var y,z,A,B=8>p?1:-1;for(n=d.ieOffsetX||0,o=d.ieOffsetY||0,d.ieOffsetX=Math.round((q-((0>h?-h:h)*q+(0>i?-i:i)*r))/2+u),d.ieOffsetY=Math.round((r-((0>k?-k:k)*r+(0>j?-j:j)*q))/2+v),wa=0;4>wa;wa++)z=fa[wa],y=m[z],c=-1!==y.indexOf("px")?parseFloat(y):aa(this.t,z,parseFloat(y),y.replace(w,""))||0,A=c!==d[z]?2>wa?-d.ieOffsetX:-d.ieOffsetY:2>wa?n-d.ieOffsetX:o-d.ieOffsetY,l[z]=(d[z]=Math.round(c-A*(0===wa||2===wa?1:B)))+"px"}}},Ta=S.set3DTransformRatio=S.setTransformRatio=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,o,p,q,r,s,t,u,v,w,x,y,z=this.data,A=this.t.style,B=z.rotation,C=z.rotationX,D=z.rotationY,E=z.scaleX,F=z.scaleY,G=z.scaleZ,H=z.x,I=z.y,J=z.z,L=z.svg,M=z.perspective,N=z.force3D,O=z.skewY,P=z.skewX;if(O&&(P+=O,B+=O),((1===a||0===a)&&"auto"===N&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!N)&&!J&&!M&&!D&&!C&&1===G||Aa&&L||!Fa)return void(B||P||L?(B*=K,x=P*K,y=1e5,c=Math.cos(B)*E,f=Math.sin(B)*E,d=Math.sin(B-x)*-F,g=Math.cos(B-x)*F,x&&"simple"===z.skewType&&(b=Math.tan(x-O*K),b=Math.sqrt(1+b*b),d*=b,g*=b,O&&(b=Math.tan(O*K),b=Math.sqrt(1+b*b),c*=b,f*=b)),L&&(H+=z.xOrigin-(z.xOrigin*c+z.yOrigin*d)+z.xOffset,I+=z.yOrigin-(z.xOrigin*f+z.yOrigin*g)+z.yOffset,Aa&&(z.xPercent||z.yPercent)&&(q=this.t.getBBox(),H+=.01*z.xPercent*q.width,I+=.01*z.yPercent*q.height),q=1e-6,q>H&&H>-q&&(H=0),q>I&&I>-q&&(I=0)),u=(c*y|0)/y+","+(f*y|0)/y+","+(d*y|0)/y+","+(g*y|0)/y+","+H+","+I+")",L&&Aa?this.t.setAttribute("transform","matrix("+u):A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+u):A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix(":"matrix(")+E+",0,0,"+F+","+H+","+I+")");if(n&&(q=1e-4,q>E&&E>-q&&(E=G=2e-5),q>F&&F>-q&&(F=G=2e-5),!M||z.z||z.rotationX||z.rotationY||(M=0)),B||P)B*=K,r=c=Math.cos(B),s=f=Math.sin(B),P&&(B-=P*K,r=Math.cos(B),s=Math.sin(B),"simple"===z.skewType&&(b=Math.tan((P-O)*K),b=Math.sqrt(1+b*b),r*=b,s*=b,z.skewY&&(b=Math.tan(O*K),b=Math.sqrt(1+b*b),c*=b,f*=b))),d=-s,g=r;else{if(!(D||C||1!==G||M||L))return void(A[Ca]=(z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) translate3d(":"translate3d(")+H+"px,"+I+"px,"+J+"px)"+(1!==E||1!==F?" scale("+E+","+F+")":""));c=g=1,d=f=0}k=1,e=h=i=j=l=m=0,o=M?-1/M:0,p=z.zOrigin,q=1e-6,v=",",w="0",B=D*K,B&&(r=Math.cos(B),s=Math.sin(B),i=-s,l=o*-s,e=c*s,h=f*s,k=r,o*=r,c*=r,f*=r),B=C*K,B&&(r=Math.cos(B),s=Math.sin(B),b=d*r+e*s,t=g*r+h*s,j=k*s,m=o*s,e=d*-s+e*r,h=g*-s+h*r,k*=r,o*=r,d=b,g=t),1!==G&&(e*=G,h*=G,k*=G,o*=G),1!==F&&(d*=F,g*=F,j*=F,m*=F),1!==E&&(c*=E,f*=E,i*=E,l*=E),(p||L)&&(p&&(H+=e*-p,I+=h*-p,J+=k*-p+p),L&&(H+=z.xOrigin-(z.xOrigin*c+z.yOrigin*d)+z.xOffset,I+=z.yOrigin-(z.xOrigin*f+z.yOrigin*g)+z.yOffset),q>H&&H>-q&&(H=w),q>I&&I>-q&&(I=w),q>J&&J>-q&&(J=0)),u=z.xPercent||z.yPercent?"translate("+z.xPercent+"%,"+z.yPercent+"%) matrix3d(":"matrix3d(",u+=(q>c&&c>-q?w:c)+v+(q>f&&f>-q?w:f)+v+(q>i&&i>-q?w:i),u+=v+(q>l&&l>-q?w:l)+v+(q>d&&d>-q?w:d)+v+(q>g&&g>-q?w:g),C||D||1!==G?(u+=v+(q>j&&j>-q?w:j)+v+(q>m&&m>-q?w:m)+v+(q>e&&e>-q?w:e),u+=v+(q>h&&h>-q?w:h)+v+(q>k&&k>-q?w:k)+v+(q>o&&o>-q?w:o)+v):u+=",0,0,0,0,1,0,",u+=H+v+I+v+J+v+(M?1+-J/M:1)+")",A[Ca]=u};j=Ga.prototype,j.x=j.y=j.z=j.skewX=j.skewY=j.rotation=j.rotationX=j.rotationY=j.zOrigin=j.xPercent=j.yPercent=j.xOffset=j.yOffset=0,j.scaleX=j.scaleY=j.scaleZ=1,ya("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(a,b,c,d,f,h,i){if(d._lastParsedTransform===i)return f;d._lastParsedTransform=i;var j,k=i.scale&&"function"==typeof i.scale?i.scale:0;"function"==typeof i[c]&&(j=i[c],i[c]=b),k&&(i.scale=k(r,a));var l,m,n,o,p,s,t,u,v,w=a._gsTransform,x=a.style,y=1e-6,z=Ba.length,A=i,B={},C="transformOrigin",D=Ra(a,e,!0,A.parseTransform),E=A.transform&&("function"==typeof A.transform?A.transform(r,q):A.transform);if(d._transform=D,E&&"string"==typeof E&&Ca)m=Q.style,m[Ca]=E,m.display="block",m.position="absolute",O.body.appendChild(Q),l=Ra(Q,null,!1),D.svg&&(s=D.xOrigin,t=D.yOrigin,l.x-=D.xOffset,l.y-=D.yOffset,(A.transformOrigin||A.svgOrigin)&&(E={},La(a,ha(A.transformOrigin),E,A.svgOrigin,A.smoothOrigin,!0),s=E.xOrigin,t=E.yOrigin,l.x-=E.xOffset-D.xOffset,l.y-=E.yOffset-D.yOffset),(s||t)&&(u=Qa(Q,!0),l.x-=s-(s*u[0]+t*u[2]),l.y-=t-(s*u[1]+t*u[3]))),O.body.removeChild(Q),l.perspective||(l.perspective=D.perspective),null!=A.xPercent&&(l.xPercent=ja(A.xPercent,D.xPercent)),null!=A.yPercent&&(l.yPercent=ja(A.yPercent,D.yPercent));else if("object"==typeof A){if(l={scaleX:ja(null!=A.scaleX?A.scaleX:A.scale,D.scaleX),scaleY:ja(null!=A.scaleY?A.scaleY:A.scale,D.scaleY),scaleZ:ja(A.scaleZ,D.scaleZ),x:ja(A.x,D.x),y:ja(A.y,D.y),z:ja(A.z,D.z),xPercent:ja(A.xPercent,D.xPercent),yPercent:ja(A.yPercent,D.yPercent),perspective:ja(A.transformPerspective,D.perspective)},p=A.directionalRotation,null!=p)if("object"==typeof p)for(m in p)A[m]=p[m];else A.rotation=p;"string"==typeof A.x&&-1!==A.x.indexOf("%")&&(l.x=0,l.xPercent=ja(A.x,D.xPercent)),"string"==typeof A.y&&-1!==A.y.indexOf("%")&&(l.y=0,l.yPercent=ja(A.y,D.yPercent)),l.rotation=ka("rotation"in A?A.rotation:"shortRotation"in A?A.shortRotation+"_short":"rotationZ"in A?A.rotationZ:D.rotation,D.rotation,"rotation",B),Fa&&(l.rotationX=ka("rotationX"in A?A.rotationX:"shortRotationX"in A?A.shortRotationX+"_short":D.rotationX||0,D.rotationX,"rotationX",B),l.rotationY=ka("rotationY"in A?A.rotationY:"shortRotationY"in A?A.shortRotationY+"_short":D.rotationY||0,D.rotationY,"rotationY",B)),l.skewX=ka(A.skewX,D.skewX),l.skewY=ka(A.skewY,D.skewY)}for(Fa&&null!=A.force3D&&(D.force3D=A.force3D,o=!0),D.skewType=A.skewType||D.skewType||g.defaultSkewType,n=D.force3D||D.z||D.rotationX||D.rotationY||l.z||l.rotationX||l.rotationY||l.perspective,n||null==A.scale||(l.scaleZ=1);--z>-1;)v=Ba[z],E=l[v]-D[v],(E>y||-y>E||null!=A[v]||null!=M[v])&&(o=!0,f=new ta(D,v,D[v],E,f),v in B&&(f.e=B[v]),f.xs0=0,f.plugin=h,d._overwriteProps.push(f.n));return E=A.transformOrigin,D.svg&&(E||A.svgOrigin)&&(s=D.xOffset,t=D.yOffset,La(a,ha(E),l,A.svgOrigin,A.smoothOrigin),f=ua(D,"xOrigin",(w?D:l).xOrigin,l.xOrigin,f,C),f=ua(D,"yOrigin",(w?D:l).yOrigin,l.yOrigin,f,C),(s!==D.xOffset||t!==D.yOffset)&&(f=ua(D,"xOffset",w?s:D.xOffset,D.xOffset,f,C),f=ua(D,"yOffset",w?t:D.yOffset,D.yOffset,f,C)),E="0px 0px"),(E||Fa&&n&&D.zOrigin)&&(Ca?(o=!0,v=Ea,E=(E||_(a,v,e,!1,"50% 50%"))+"",f=new ta(x,v,0,0,f,-1,C),f.b=x[v],f.plugin=h,Fa?(m=D.zOrigin,E=E.split(" "),D.zOrigin=(E.length>2&&(0===m||"0px"!==E[2])?parseFloat(E[2]):m)||0,f.xs0=f.e=E[0]+" "+(E[1]||"50%")+" 0px",f=new ta(D,"zOrigin",0,0,f,-1,f.n),f.b=m,f.xs0=f.e=D.zOrigin):f.xs0=f.e=E):ha(E+"",D)),o&&(d._transformType=D.svg&&Aa||!n&&3!==this._transformType?2:3),j&&(i[c]=j),k&&(i.scale=k),f},prefix:!0}),ya("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),ya("borderRadius",{defaultValue:"0px",parser:function(a,b,c,f,g,h){b=this.format(b);var i,j,k,l,m,n,o,p,q,r,s,t,u,v,w,x,y=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],z=a.style;for(q=parseFloat(a.offsetWidth),r=parseFloat(a.offsetHeight),i=b.split(" "),j=0;j<y.length;j++)this.p.indexOf("border")&&(y[j]=Z(y[j])),m=l=_(a,y[j],e,!1,"0px"),-1!==m.indexOf(" ")&&(l=m.split(" "),m=l[0],l=l[1]),n=k=i[j],o=parseFloat(m),t=m.substr((o+"").length),u="="===n.charAt(1),u?(p=parseInt(n.charAt(0)+"1",10),n=n.substr(2),p*=parseFloat(n),s=n.substr((p+"").length-(0>p?1:0))||""):(p=parseFloat(n),s=n.substr((p+"").length)),""===s&&(s=d[c]||t),s!==t&&(v=aa(a,"borderLeft",o,t),w=aa(a,"borderTop",o,t),"%"===s?(m=v/q*100+"%",l=w/r*100+"%"):"em"===s?(x=aa(a,"borderLeft",1,"em"),m=v/x+"em",l=w/x+"em"):(m=v+"px",l=w+"px"),u&&(n=parseFloat(m)+p+s,k=parseFloat(l)+p+s)),g=va(z,y[j],m+" "+l,n+" "+k,!1,"0px",g);return g},prefix:!0,formatter:qa("0px 0px 0px 0px",!1,!0)}),ya("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(a,b,c,d,f,g){return va(a.style,c,this.format(_(a,c,e,!1,"0px 0px")),this.format(b),!1,"0px",f)},prefix:!0,formatter:qa("0px 0px",!1,!0)}),ya("backgroundPosition",{defaultValue:"0 0",parser:function(a,b,c,d,f,g){var h,i,j,k,l,m,n="background-position",o=e||$(a,null),q=this.format((o?p?o.getPropertyValue(n+"-x")+" "+o.getPropertyValue(n+"-y"):o.getPropertyValue(n):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),r=this.format(b);if(-1!==q.indexOf("%")!=(-1!==r.indexOf("%"))&&r.split(",").length<2&&(m=_(a,"backgroundImage").replace(D,""),m&&"none"!==m)){for(h=q.split(" "),i=r.split(" "),R.setAttribute("src",m),j=2;--j>-1;)q=h[j],k=-1!==q.indexOf("%"),k!==(-1!==i[j].indexOf("%"))&&(l=0===j?a.offsetWidth-R.width:a.offsetHeight-R.height,h[j]=k?parseFloat(q)/100*l+"px":parseFloat(q)/l*100+"%");q=h.join(" ")}return this.parseComplex(a.style,q,r,f,g)},formatter:ha}),ya("backgroundSize",{defaultValue:"0 0",formatter:function(a){return a+="",ha(-1===a.indexOf(" ")?a+" "+a:a)}}),ya("perspective",{defaultValue:"0px",prefix:!0}),ya("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),ya("transformStyle",{prefix:!0}),ya("backfaceVisibility",{prefix:!0}),ya("userSelect",{prefix:!0}),ya("margin",{parser:ra("marginTop,marginRight,marginBottom,marginLeft")}),ya("padding",{parser:ra("paddingTop,paddingRight,paddingBottom,paddingLeft")}),ya("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(a,b,c,d,f,g){var h,i,j;return 9>p?(i=a.currentStyle,j=8>p?" ":",",h="rect("+i.clipTop+j+i.clipRight+j+i.clipBottom+j+i.clipLeft+")",
b=this.format(b).split(",").join(j)):(h=this.format(_(a,this.p,e,!1,this.dflt)),b=this.format(b)),this.parseComplex(a.style,h,b,f,g)}}),ya("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),ya("autoRound,strictUnits",{parser:function(a,b,c,d,e){return e}}),ya("border",{defaultValue:"0px solid #000",parser:function(a,b,c,d,f,g){var h=_(a,"borderTopWidth",e,!1,"0px"),i=this.format(b).split(" "),j=i[0].replace(w,"");return"px"!==j&&(h=parseFloat(h)/aa(a,"borderTopWidth",1,j)+j),this.parseComplex(a.style,this.format(h+" "+_(a,"borderTopStyle",e,!1,"solid")+" "+_(a,"borderTopColor",e,!1,"#000")),i.join(" "),f,g)},color:!0,formatter:function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(pa)||["#000"])[0]}}),ya("borderWidth",{parser:ra("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),ya("float,cssFloat,styleFloat",{parser:function(a,b,c,d,e,f){var g=a.style,h="cssFloat"in g?"cssFloat":"styleFloat";return new ta(g,h,0,0,e,-1,c,!1,0,g[h],b)}});var Ua=function(a){var b,c=this.t,d=c.filter||_(this.data,"filter")||"",e=this.s+this.c*a|0;100===e&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")&&-1===d.indexOf("oader(")?(c.removeAttribute("filter"),b=!_(this.data,"filter")):(c.filter=d.replace(z,""),b=!0)),b||(this.xn1&&(c.filter=d=d||"alpha(opacity="+e+")"),-1===d.indexOf("pacity")?0===e&&this.xn1||(c.filter=d+" alpha(opacity="+e+")"):c.filter=d.replace(x,"opacity="+e))};ya("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(a,b,c,d,f,g){var h=parseFloat(_(a,"opacity",e,!1,"1")),i=a.style,j="autoAlpha"===c;return"string"==typeof b&&"="===b.charAt(1)&&(b=("-"===b.charAt(0)?-1:1)*parseFloat(b.substr(2))+h),j&&1===h&&"hidden"===_(a,"visibility",e)&&0!==b&&(h=0),U?f=new ta(i,"opacity",h,b-h,f):(f=new ta(i,"opacity",100*h,100*(b-h),f),f.xn1=j?1:0,i.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=g,f.setRatio=Ua),j&&(f=new ta(i,"visibility",0,0,f,-1,null,!1,0,0!==h?"inherit":"hidden",0===b?"hidden":"inherit"),f.xs0="inherit",d._overwriteProps.push(f.n),d._overwriteProps.push(c)),f}});var Va=function(a,b){b&&(a.removeProperty?(("ms"===b.substr(0,2)||"webkit"===b.substr(0,6))&&(b="-"+b),a.removeProperty(b.replace(B,"-$1").toLowerCase())):a.removeAttribute(b))},Wa=function(a){if(this.t._gsClassPT=this,1===a||0===a){this.t.setAttribute("class",0===a?this.b:this.e);for(var b=this.data,c=this.t.style;b;)b.v?c[b.p]=b.v:Va(c,b.p),b=b._next;1===a&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};ya("className",{parser:function(a,b,d,f,g,h,i){var j,k,l,m,n,o=a.getAttribute("class")||"",p=a.style.cssText;if(g=f._classNamePT=new ta(a,d,0,0,g,2),g.setRatio=Wa,g.pr=-11,c=!0,g.b=o,k=ca(a,e),l=a._gsClassPT){for(m={},n=l.data;n;)m[n.p]=1,n=n._next;l.setRatio(1)}return a._gsClassPT=g,g.e="="!==b.charAt(1)?b:o.replace(new RegExp("(?:\\s|^)"+b.substr(2)+"(?![\\w-])"),"")+("+"===b.charAt(0)?" "+b.substr(2):""),a.setAttribute("class",g.e),j=da(a,k,ca(a),i,m),a.setAttribute("class",o),g.data=j.firstMPT,a.style.cssText=p,g=g.xfirst=f.parse(a,j.difs,g,h)}});var Xa=function(a){if((1===a||0===a)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var b,c,d,e,f,g=this.t.style,h=i.transform.parse;if("all"===this.e)g.cssText="",e=!0;else for(b=this.e.split(" ").join("").split(","),d=b.length;--d>-1;)c=b[d],i[c]&&(i[c].parse===h?e=!0:c="transformOrigin"===c?Ea:i[c].p),Va(g,c);e&&(Va(g,Ca),f=this.t._gsTransform,f&&(f.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(ya("clearProps",{parser:function(a,b,d,e,f){return f=new ta(a,d,0,0,f,2),f.setRatio=Xa,f.e=b,f.pr=-10,f.data=e._tween,c=!0,f}}),j="bezier,throwProps,physicsProps,physics2D".split(","),wa=j.length;wa--;)za(j[wa]);j=g.prototype,j._firstPT=j._lastParsedTransform=j._transform=null,j._onInitTween=function(a,b,h,j){if(!a.nodeType)return!1;this._target=q=a,this._tween=h,this._vars=b,r=j,k=b.autoRound,c=!1,d=b.suffixMap||g.suffixMap,e=$(a,""),f=this._overwriteProps;var n,p,s,t,u,v,w,x,z,A=a.style;if(l&&""===A.zIndex&&(n=_(a,"zIndex",e),("auto"===n||""===n)&&this._addLazySet(A,"zIndex",0)),"string"==typeof b&&(t=A.cssText,n=ca(a,e),A.cssText=t+";"+b,n=da(a,n,ca(a)).difs,!U&&y.test(b)&&(n.opacity=parseFloat(RegExp.$1)),b=n,A.cssText=t),b.className?this._firstPT=p=i.className.parse(a,b.className,"className",this,null,null,b):this._firstPT=p=this.parse(a,b,null),this._transformType){for(z=3===this._transformType,Ca?m&&(l=!0,""===A.zIndex&&(w=_(a,"zIndex",e),("auto"===w||""===w)&&this._addLazySet(A,"zIndex",0)),o&&this._addLazySet(A,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(z?"visible":"hidden"))):A.zoom=1,s=p;s&&s._next;)s=s._next;x=new ta(a,"transform",0,0,null,2),this._linkCSSP(x,null,s),x.setRatio=Ca?Ta:Sa,x.data=this._transform||Ra(a,e,!0),x.tween=h,x.pr=-1,f.pop()}if(c){for(;p;){for(v=p._next,s=t;s&&s.pr>p.pr;)s=s._next;(p._prev=s?s._prev:u)?p._prev._next=p:t=p,(p._next=s)?s._prev=p:u=p,p=v}this._firstPT=t}return!0},j.parse=function(a,b,c,f){var g,h,j,l,m,n,o,p,s,t,u=a.style;for(g in b)n=b[g],"function"==typeof n&&(n=n(r,q)),h=i[g],h?c=h.parse(a,n,g,this,c,f,b):(m=_(a,g,e)+"",s="string"==typeof n,"color"===g||"fill"===g||"stroke"===g||-1!==g.indexOf("Color")||s&&A.test(n)?(s||(n=na(n),n=(n.length>3?"rgba(":"rgb(")+n.join(",")+")"),c=va(u,g,m,n,!0,"transparent",c,0,f)):s&&J.test(n)?c=va(u,g,m,n,!0,null,c,0,f):(j=parseFloat(m),o=j||0===j?m.substr((j+"").length):"",(""===m||"auto"===m)&&("width"===g||"height"===g?(j=ga(a,g,e),o="px"):"left"===g||"top"===g?(j=ba(a,g,e),o="px"):(j="opacity"!==g?0:1,o="")),t=s&&"="===n.charAt(1),t?(l=parseInt(n.charAt(0)+"1",10),n=n.substr(2),l*=parseFloat(n),p=n.replace(w,"")):(l=parseFloat(n),p=s?n.replace(w,""):""),""===p&&(p=g in d?d[g]:o),n=l||0===l?(t?l+j:l)+p:b[g],o!==p&&""!==p&&(l||0===l)&&j&&(j=aa(a,g,j,o),"%"===p?(j/=aa(a,g,100,"%")/100,b.strictUnits!==!0&&(m=j+"%")):"em"===p||"rem"===p||"vw"===p||"vh"===p?j/=aa(a,g,1,p):"px"!==p&&(l=aa(a,g,l,p),p="px"),t&&(l||0===l)&&(n=l+j+p)),t&&(l+=j),!j&&0!==j||!l&&0!==l?void 0!==u[g]&&(n||n+""!="NaN"&&null!=n)?(c=new ta(u,g,l||j||0,0,c,-1,g,!1,0,m,n),c.xs0="none"!==n||"display"!==g&&-1===g.indexOf("Style")?n:m):W("invalid "+g+" tween value: "+b[g]):(c=new ta(u,g,j,l-j,c,0,g,k!==!1&&("px"===p||"zIndex"===g),0,m,n),c.xs0=p))),f&&c&&!c.plugin&&(c.plugin=f);return c},j.setRatio=function(a){var b,c,d,e=this._firstPT,f=1e-6;if(1!==a||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(a||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(b=e.c*a+e.s,e.r?b=Math.round(b):f>b&&b>-f&&(b=0),e.type)if(1===e.type)if(d=e.l,2===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===d)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next;else for(;e;){if(2!==e.type)if(e.r&&-1!==e.type)if(b=Math.round(e.s+e.c),e.type){if(1===e.type){for(d=e.l,c=e.xs0+b+e.xs1,d=1;d<e.l;d++)c+=e["xn"+d]+e["xs"+(d+1)];e.t[e.p]=c}}else e.t[e.p]=b+e.xs0;else e.t[e.p]=e.e;else e.setRatio(a);e=e._next}},j._enableTransforms=function(a){this._transform=this._transform||Ra(this._target,e,!0),this._transformType=this._transform.svg&&Aa||!a&&3!==this._transformType?2:3};var Ya=function(a){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};j._addLazySet=function(a,b,c){var d=this._firstPT=new ta(a,b,0,0,this._firstPT,2);d.e=c,d.setRatio=Ya,d.data=this},j._linkCSSP=function(a,b,c,d){return a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next,d=!0),c?c._next=a:d||null!==this._firstPT||(this._firstPT=a),a._next=b,a._prev=c),a},j._mod=function(a){for(var b=this._firstPT;b;)"function"==typeof a[b.p]&&a[b.p]===Math.round&&(b.r=1),b=b._next},j._kill=function(b){var c,d,e,f=b;if(b.autoAlpha||b.alpha){f={};for(d in b)f[d]=b[d];f.opacity=1,f.autoAlpha&&(f.visibility=1)}for(b.className&&(c=this._classNamePT)&&(e=c.xfirst,e&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=c._next),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._classNamePT=null),c=this._firstPT;c;)c.plugin&&c.plugin!==d&&c.plugin._kill&&(c.plugin._kill(b),d=c.plugin),c=c._next;return a.prototype._kill.call(this,f)};var Za=function(a,b,c){var d,e,f,g;if(a.slice)for(e=a.length;--e>-1;)Za(a[e],b,c);else for(d=a.childNodes,e=d.length;--e>-1;)f=d[e],g=f.type,f.style&&(b.push(ca(f)),c&&c.push(f)),1!==g&&9!==g&&11!==g||!f.childNodes.length||Za(f,b,c)};return g.cascadeTo=function(a,c,d){var e,f,g,h,i=b.to(a,c,d),j=[i],k=[],l=[],m=[],n=b._internals.reservedProps;for(a=i._targets||i.target,Za(a,k,m),i.render(c,!0,!0),Za(a,l),i.render(0,!0,!0),i._enabled(!0),e=m.length;--e>-1;)if(f=da(m[e],k[e],l[e]),f.firstMPT){f=f.difs;for(g in d)n[g]&&(f[g]=d[g]);h={};for(g in f)h[g]=k[e][g];j.push(b.fromTo(m[e],c,h,f))}return j},a.activate([g]),g},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define(["TweenLite"],b):"undefined"!=typeof module&&module.exports&&(require("../TweenLite.js"),module.exports=b())}("CSSPlugin");


/* SPLIT TEXT UTIL */
/*!
 * VERSION: 0.5.6
 * DATE: 2017-01-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2017, GreenSock. All rights reserved.
 * SplitText is a Club GreenSock membership benefit; You must have a valid membership to use
 * this code without violating the terms of use. Visit http://greensock.com/club/ to sign up or get more details.
 * This work is subject to the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;!function(a){"use strict";var b=a.GreenSockGlobals||a,c=function(a){var c,d=a.split("."),e=b;for(c=0;c<d.length;c++)e[d[c]]=e=e[d[c]]||{};return e},d=c("com.greensock.utils"),e=function(a){var b=a.nodeType,c="";if(1===b||9===b||11===b){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===b||4===b)return a.nodeValue;return c},f=document,g=f.defaultView?f.defaultView.getComputedStyle:function(){},h=/([A-Z])/g,i=function(a,b,c,d){var e;return(c=c||g(a,null))?(a=c.getPropertyValue(b.replace(h,"-$1").toLowerCase()),e=a||c.length?a:c[b]):a.currentStyle&&(c=a.currentStyle,e=c[b]),d?e:parseInt(e,10)||0},j=function(a){return a.length&&a[0]&&(a[0].nodeType&&a[0].style&&!a.nodeType||a[0].length&&a[0][0])?!0:!1},k=function(a){var b,c,d,e=[],f=a.length;for(b=0;f>b;b++)if(c=a[b],j(c))for(d=c.length,d=0;d<c.length;d++)e.push(c[d]);else e.push(c);return e},l=/(?:\r|\n|\t\t)/g,m=/(?:\s\s+)/g,n=55296,o=56319,p=56320,q=127462,r=127487,s=127995,t=127999,u=function(a){return(a.charCodeAt(0)-n<<10)+(a.charCodeAt(1)-p)+65536},v=f.all&&!f.addEventListener,w=" style='position:relative;display:inline-block;"+(v?"*display:inline;*zoom:1;'":"'"),x=function(a,b){a=a||"";var c=-1!==a.indexOf("++"),d=1;return c&&(a=a.split("++").join("")),function(){return"<"+b+w+(a?" class='"+a+(c?d++:"")+"'>":">")}},y=d.SplitText=b.SplitText=function(a,b){if("string"==typeof a&&(a=y.selector(a)),!a)throw"cannot split a null element.";this.elements=j(a)?k(a):[a],this.chars=[],this.words=[],this.lines=[],this._originals=[],this.vars=b||{},this.split(b)},z=function(a,b,c){var d=a.nodeType;if(1===d||9===d||11===d)for(a=a.firstChild;a;a=a.nextSibling)z(a,b,c);else(3===d||4===d)&&(a.nodeValue=a.nodeValue.split(b).join(c))},A=function(a,b){for(var c=b.length;--c>-1;)a.push(b[c])},B=function(a){var b,c=[],d=a.length;for(b=0;b!==d;c.push(a[b++]));return c},C=function(a,b,c){for(var d;a&&a!==b;){if(d=a._next||a.nextSibling)return d.textContent.charAt(0)===c;a=a.parentNode||a._parent}return!1},D=function(a){var b,c,d=B(a.childNodes),e=d.length;for(b=0;e>b;b++)c=d[b],c._isSplit?D(c):(b&&3===c.previousSibling.nodeType?c.previousSibling.nodeValue+=3===c.nodeType?c.nodeValue:c.firstChild.nodeValue:3!==c.nodeType&&a.insertBefore(c.firstChild,c),a.removeChild(c))},E=function(a,b,c,d,e,h,j){var k,l,m,n,o,p,q,r,s,t,u,v,w=g(a),x=i(a,"paddingLeft",w),y=-999,B=i(a,"borderBottomWidth",w)+i(a,"borderTopWidth",w),E=i(a,"borderLeftWidth",w)+i(a,"borderRightWidth",w),F=i(a,"paddingTop",w)+i(a,"paddingBottom",w),G=i(a,"paddingLeft",w)+i(a,"paddingRight",w),H=.2*i(a,"fontSize"),I=i(a,"textAlign",w,!0),J=[],K=[],L=[],M=b.wordDelimiter||" ",N=b.span?"span":"div",O=b.type||b.split||"chars,words,lines",P=e&&-1!==O.indexOf("lines")?[]:null,Q=-1!==O.indexOf("words"),R=-1!==O.indexOf("chars"),S="absolute"===b.position||b.absolute===!0,T=b.linesClass,U=-1!==(T||"").indexOf("++"),V=[];for(P&&1===a.children.length&&a.children[0]._isSplit&&(a=a.children[0]),U&&(T=T.split("++").join("")),l=a.getElementsByTagName("*"),m=l.length,o=[],k=0;m>k;k++)o[k]=l[k];if(P||S)for(k=0;m>k;k++)n=o[k],p=n.parentNode===a,(p||S||R&&!Q)&&(v=n.offsetTop,P&&p&&Math.abs(v-y)>H&&"BR"!==n.nodeName&&(q=[],P.push(q),y=v),S&&(n._x=n.offsetLeft,n._y=v,n._w=n.offsetWidth,n._h=n.offsetHeight),P&&((n._isSplit&&p||!R&&p||Q&&p||!Q&&n.parentNode.parentNode===a&&!n.parentNode._isSplit)&&(q.push(n),n._x-=x,C(n,a,M)&&(n._wordEnd=!0)),"BR"===n.nodeName&&n.nextSibling&&"BR"===n.nextSibling.nodeName&&P.push([])));for(k=0;m>k;k++)n=o[k],p=n.parentNode===a,"BR"!==n.nodeName?(S&&(s=n.style,Q||p||(n._x+=n.parentNode._x,n._y+=n.parentNode._y),s.left=n._x+"px",s.top=n._y+"px",s.position="absolute",s.display="block",s.width=n._w+1+"px",s.height=n._h+"px"),!Q&&R?n._isSplit?(n._next=n.nextSibling,n.parentNode.appendChild(n)):n.parentNode._isSplit?(n._parent=n.parentNode,!n.previousSibling&&n.firstChild&&(n.firstChild._isFirst=!0),n.nextSibling&&" "===n.nextSibling.textContent&&!n.nextSibling.nextSibling&&V.push(n.nextSibling),n._next=n.nextSibling&&n.nextSibling._isFirst?null:n.nextSibling,n.parentNode.removeChild(n),o.splice(k--,1),m--):p||(v=!n.nextSibling&&C(n.parentNode,a,M),n.parentNode._parent&&n.parentNode._parent.appendChild(n),v&&n.parentNode.appendChild(f.createTextNode(" ")),b.span&&(n.style.display="inline"),J.push(n)):n.parentNode._isSplit&&!n._isSplit&&""!==n.innerHTML?K.push(n):R&&!n._isSplit&&(b.span&&(n.style.display="inline"),J.push(n))):P||S?(n.parentNode&&n.parentNode.removeChild(n),o.splice(k--,1),m--):Q||a.appendChild(n);for(k=V.length;--k>-1;)V[k].parentNode.removeChild(V[k]);if(P){for(S&&(t=f.createElement(N),a.appendChild(t),u=t.offsetWidth+"px",v=t.offsetParent===a?0:a.offsetLeft,a.removeChild(t)),s=a.style.cssText,a.style.cssText="display:none;";a.firstChild;)a.removeChild(a.firstChild);for(r=" "===M&&(!S||!Q&&!R),k=0;k<P.length;k++){for(q=P[k],t=f.createElement(N),t.style.cssText="display:block;text-align:"+I+";position:"+(S?"absolute;":"relative;"),T&&(t.className=T+(U?k+1:"")),L.push(t),m=q.length,l=0;m>l;l++)"BR"!==q[l].nodeName&&(n=q[l],t.appendChild(n),r&&n._wordEnd&&t.appendChild(f.createTextNode(" ")),S&&(0===l&&(t.style.top=n._y+"px",t.style.left=x+v+"px"),n.style.top="0px",v&&(n.style.left=n._x-v+"px")));0===m?t.innerHTML="&nbsp;":Q||R||(D(t),z(t,String.fromCharCode(160)," ")),S&&(t.style.width=u,t.style.height=n._h+"px"),a.appendChild(t)}a.style.cssText=s}S&&(j>a.clientHeight&&(a.style.height=j-F+"px",a.clientHeight<j&&(a.style.height=j+B+"px")),h>a.clientWidth&&(a.style.width=h-G+"px",a.clientWidth<h&&(a.style.width=h+E+"px"))),A(c,J),A(d,K),A(e,L)},F=function(a,b,c,d){var g,h,i,j,k,p,v,w,x,y=b.span?"span":"div",A=b.type||b.split||"chars,words,lines",B=(-1!==A.indexOf("words"),-1!==A.indexOf("chars")),C="absolute"===b.position||b.absolute===!0,D=b.wordDelimiter||" ",E=" "!==D?"":C?"&#173; ":" ",F=b.span?"</span>":"</div>",G=!0,H=f.createElement("div"),I=a.parentNode;for(I.insertBefore(H,a),H.textContent=a.nodeValue,I.removeChild(a),a=H,g=e(a),v=-1!==g.indexOf("<"),b.reduceWhiteSpace!==!1&&(g=g.replace(m," ").replace(l,"")),v&&(g=g.split("<").join("{{LT}}")),k=g.length,h=(" "===g.charAt(0)?E:"")+c(),i=0;k>i;i++)if(p=g.charAt(i),p===D&&g.charAt(i-1)!==D&&i){for(h+=G?F:"",G=!1;g.charAt(i+1)===D;)h+=E,i++;i===k-1?h+=E:")"!==g.charAt(i+1)&&(h+=E+c(),G=!0)}else"{"===p&&"{{LT}}"===g.substr(i,6)?(h+=B?d()+"{{LT}}</"+y+">":"{{LT}}",i+=5):p.charCodeAt(0)>=n&&p.charCodeAt(0)<=o||g.charCodeAt(i+1)>=65024&&g.charCodeAt(i+1)<=65039?(w=u(g.substr(i,2)),x=u(g.substr(i+2,2)),j=w>=q&&r>=w&&x>=q&&r>=x||x>=s&&t>=x?4:2,h+=B&&" "!==p?d()+g.substr(i,j)+"</"+y+">":g.substr(i,j),i+=j-1):h+=B&&" "!==p?d()+p+"</"+y+">":p;a.outerHTML=h+(G?F:""),v&&z(I,"{{LT}}","<")},G=function(a,b,c,d){var e,f,g=B(a.childNodes),h=g.length,j="absolute"===b.position||b.absolute===!0;if(3!==a.nodeType||h>1){for(b.absolute=!1,e=0;h>e;e++)f=g[e],(3!==f.nodeType||/\S+/.test(f.nodeValue))&&(j&&3!==f.nodeType&&"inline"===i(f,"display",null,!0)&&(f.style.display="inline-block",f.style.position="relative"),f._isSplit=!0,G(f,b,c,d));return b.absolute=j,void(a._isSplit=!0)}F(a,b,c,d)},H=y.prototype;H.split=function(a){this.isSplit&&this.revert(),this.vars=a=a||this.vars,this._originals.length=this.chars.length=this.words.length=this.lines.length=0;for(var b,c,d,e=this.elements.length,f=a.span?"span":"div",g=("absolute"===a.position||a.absolute===!0,x(a.wordsClass,f)),h=x(a.charsClass,f);--e>-1;)d=this.elements[e],this._originals[e]=d.innerHTML,b=d.clientHeight,c=d.clientWidth,G(d,a,g,h),E(d,a,this.chars,this.words,this.lines,c,b);return this.chars.reverse(),this.words.reverse(),this.lines.reverse(),this.isSplit=!0,this},H.revert=function(){if(!this._originals)throw"revert() call wasn't scoped properly.";for(var a=this._originals.length;--a>-1;)this.elements[a].innerHTML=this._originals[a];return this.chars=[],this.words=[],this.lines=[],this.isSplit=!1,this},y.selector=a.$||a.jQuery||function(b){var c=a.$||a.jQuery;return c?(y.selector=c,c(b)):"undefined"==typeof document?b:document.querySelectorAll?document.querySelectorAll(b):document.getElementById("#"===b.charAt(0)?b.substr(1):b)},y.version="0.5.6"}(_gsScope),function(a){"use strict";var b=function(){return(_gsScope.GreenSockGlobals||_gsScope)[a]};"function"==typeof define&&define.amd?define([],b):"undefined"!=typeof module&&module.exports&&(module.exports=b())}("SplitText");


try{
	window.GreenSockGlobals = null;
	window._gsQueue = null;
	window._gsDefine = null;

	delete(window.GreenSockGlobals);
	delete(window._gsQueue);
	delete(window._gsDefine);	
   } catch(e) {}

try{
	window.GreenSockGlobals = oldgs;
	window._gsQueue = oldgs_queue;
	} catch(e) {}

if (window.tplogs==true)
	try {
		console.groupEnd();
	} catch(e) {}

(function(e,t){
		e.waitForImages={hasImageProperties:["backgroundImage","listStyleImage","borderImage","borderCornerImage"]};e.expr[":"].uncached=function(t){var n=document.createElement("img");n.src=t.src;return e(t).is('img[src!=""]')&&!n.complete};e.fn.waitForImages=function(t,n,r){if(e.isPlainObject(arguments[0])){n=t.each;r=t.waitForAll;t=t.finished}t=t||e.noop;n=n||e.noop;r=!!r;if(!e.isFunction(t)||!e.isFunction(n)){throw new TypeError("An invalid callback was supplied.")}return this.each(function(){var i=e(this),s=[];if(r){var o=e.waitForImages.hasImageProperties||[],u=/url\((['"]?)(.*?)\1\)/g;i.find("*").each(function(){var t=e(this);if(t.is("img:uncached")){s.push({src:t.attr("src"),element:t[0]})}e.each(o,function(e,n){var r=t.css(n);if(!r){return true}var i;while(i=u.exec(r)){s.push({src:i[2],element:t[0]})}})})}else{i.find("img:uncached").each(function(){s.push({src:this.src,element:this})})}var f=s.length,l=0;if(f==0){t.call(i[0])}e.each(s,function(r,s){var o=new Image;e(o).bind("load error",function(e){l++;n.call(s.element,l,f,e.type=="load");if(l==f){t.call(i[0]);return false}});o.src=s.src})})};		
})(jQuery);
// source --> https://sindacs.org.br/wp-content/plugins/revslider/public/assets/js/jquery.themepunch.revolution.min.js?ver=5.4.7.4 
/**************************************************************************
 * jquery.themepunch.revolution.js - jQuery Plugin for Revolution Slider
 * @version: 5.4.7.3 (20.04.2018)
 * @requires jQuery v1.7 or later (tested on 1.9)
 * @author ThemePunch
**************************************************************************/
;!function(jQuery,undefined){"use strict";var version={core:"5.4.7","revolution.extensions.actions.min.js":"2.1.0","revolution.extensions.carousel.min.js":"1.2.1","revolution.extensions.kenburn.min.js":"1.3.1","revolution.extensions.layeranimation.min.js":"3.6.4","revolution.extensions.navigation.min.js":"1.3.3","revolution.extensions.parallax.min.js":"2.2.0","revolution.extensions.slideanims.min.js":"1.7","revolution.extensions.video.min.js":"2.2.0"};jQuery.fn.extend({revolution:function(e){var i={delay:9e3,responsiveLevels:4064,visibilityLevels:[2048,1024,778,480],gridwidth:960,gridheight:500,minHeight:0,autoHeight:"off",sliderType:"standard",sliderLayout:"auto",fullScreenAutoWidth:"off",fullScreenAlignForce:"off",fullScreenOffsetContainer:"",fullScreenOffset:"0",hideCaptionAtLimit:0,hideAllCaptionAtLimit:0,hideSliderAtLimit:0,disableProgressBar:"off",stopAtSlide:-1,stopAfterLoops:-1,shadow:0,dottedOverlay:"none",startDelay:0,lazyType:"smart",spinner:"spinner0",shuffle:"off",viewPort:{enable:!1,outof:"wait",visible_area:"60%",presize:!1},fallbacks:{isJoomla:!1,panZoomDisableOnMobile:"off",simplifyAll:"on",nextSlideOnWindowFocus:"off",disableFocusListener:!0,ignoreHeightChanges:"off",ignoreHeightChangesSize:0,allowHTML5AutoPlayOnAndroid:!0},parallax:{type:"off",levels:[10,15,20,25,30,35,40,45,50,55,60,65,70,75,80,85],origo:"enterpoint",speed:400,bgparallax:"off",opacity:"on",disable_onmobile:"off",ddd_shadow:"on",ddd_bgfreeze:"off",ddd_overflow:"visible",ddd_layer_overflow:"visible",ddd_z_correction:65,ddd_path:"mouse"},scrolleffect:{fade:"off",blur:"off",scale:"off",grayscale:"off",maxblur:10,on_layers:"off",on_slidebg:"off",on_static_layers:"off",on_parallax_layers:"off",on_parallax_static_layers:"off",direction:"both",multiplicator:1.35,multiplicator_layers:.5,tilt:30,disable_on_mobile:"on"},carousel:{easing:punchgs.Power3.easeInOut,speed:800,showLayersAllTime:"off",horizontal_align:"center",vertical_align:"center",infinity:"on",space:0,maxVisibleItems:3,stretch:"off",fadeout:"on",maxRotation:0,minScale:0,vary_fade:"off",vary_rotation:"on",vary_scale:"off",border_radius:"0px",padding_top:0,padding_bottom:0},navigation:{keyboardNavigation:"off",keyboard_direction:"horizontal",mouseScrollNavigation:"off",onHoverStop:"on",touch:{touchenabled:"off",touchOnDesktop:"off",swipe_treshold:75,swipe_min_touches:1,drag_block_vertical:!1,swipe_direction:"horizontal"},arrows:{style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,tmp:"",rtl:!1,left:{h_align:"left",v_align:"center",h_offset:20,v_offset:0,container:"slider"},right:{h_align:"right",v_align:"center",h_offset:20,v_offset:0,container:"slider"}},bullets:{container:"slider",rtl:!1,style:"",enable:!1,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",h_align:"left",v_align:"center",space:0,h_offset:20,v_offset:0,tmp:'<span class="tp-bullet-image"></span><span class="tp-bullet-title"></span>'},thumbnails:{container:"slider",rtl:!1,style:"",enable:!1,width:100,height:50,min_width:100,wrapper_padding:2,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'<span class="tp-thumb-image"></span><span class="tp-thumb-title"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,position:"inner",space:2,h_align:"left",v_align:"center",h_offset:20,v_offset:0},tabs:{container:"slider",rtl:!1,style:"",enable:!1,width:100,min_width:100,height:50,wrapper_padding:10,wrapper_color:"#f5f5f5",wrapper_opacity:1,tmp:'<span class="tp-tab-image"></span>',visibleAmount:5,hide_onmobile:!1,hide_onleave:!0,hide_delay:200,hide_delay_mobile:1200,hide_under:0,hide_over:9999,direction:"horizontal",span:!1,space:0,position:"inner",h_align:"left",v_align:"center",h_offset:20,v_offset:0}},extensions:"extensions/",extensions_suffix:".min.js",debugMode:!1};return e=jQuery.extend(!0,{},i,e),this.each(function(){var i=jQuery(this);e.minHeight=e.minHeight!=undefined?parseInt(e.minHeight,0):e.minHeight,e.scrolleffect.on="on"===e.scrolleffect.fade||"on"===e.scrolleffect.scale||"on"===e.scrolleffect.blur||"on"===e.scrolleffect.grayscale,"hero"==e.sliderType&&i.find(">ul>li").each(function(e){e>0&&jQuery(this).remove()}),e.jsFileLocation=e.jsFileLocation||getScriptLocation("themepunch.revolution.min.js"),e.jsFileLocation=e.jsFileLocation+e.extensions,e.scriptsneeded=getNeededScripts(e,i),e.curWinRange=0,e.rtl=!0,e.navigation!=undefined&&e.navigation.touch!=undefined&&(e.navigation.touch.swipe_min_touches=e.navigation.touch.swipe_min_touches>5?1:e.navigation.touch.swipe_min_touches),jQuery(this).on("scriptsloaded",function(){if(e.modulesfailing)return i.html('<div style="margin:auto;line-height:40px;font-size:14px;color:#fff;padding:15px;background:#e74c3c;margin:20px 0px;">!! Error at loading Slider Revolution 5.0 Extrensions.'+e.errorm+"</div>").show(),!1;_R.migration!=undefined&&(e=_R.migration(i,e)),punchgs.force3D=!0,"on"!==e.simplifyAll&&punchgs.TweenLite.lagSmoothing(1e3,16),prepareOptions(i,e),initSlider(i,e)}),i[0].opt=e,waitForScripts(i,e)})},getRSVersion:function(e){if(!0===e)return jQuery("body").data("tp_rs_version");var i=jQuery("body").data("tp_rs_version"),t="";for(var a in t+="---------------------------------------------------------\n",t+="    Currently Loaded Slider Revolution & SR Modules :\n",t+="---------------------------------------------------------\n",i)t+=i[a].alias+": "+i[a].ver+"\n";return t+="---------------------------------------------------------\n"},revremoveslide:function(e){return this.each(function(){var i=jQuery(this),t=i[0].opt;if(!(e<0||e>t.slideamount)&&i!=undefined&&i.length>0&&jQuery("body").find("#"+i.attr("id")).length>0&&t&&t.li.length>0&&(e>0||e<=t.li.length)){var a=jQuery(t.li[e]),n=a.data("index"),r=!1;t.slideamount=t.slideamount-1,t.realslideamount=t.realslideamount-1,removeNavWithLiref(".tp-bullet",n,t),removeNavWithLiref(".tp-tab",n,t),removeNavWithLiref(".tp-thumb",n,t),a.hasClass("active-revslide")&&(r=!0),a.remove(),t.li=removeArray(t.li,e),t.carousel&&t.carousel.slides&&(t.carousel.slides=removeArray(t.carousel.slides,e)),t.thumbs=removeArray(t.thumbs,e),_R.updateNavIndexes&&_R.updateNavIndexes(t),r&&i.revnext(),punchgs.TweenLite.set(t.li,{minWidth:"99%"}),punchgs.TweenLite.set(t.li,{minWidth:"100%"})}})},revaddcallback:function(e){return this.each(function(){this.opt&&(this.opt.callBackArray===undefined&&(this.opt.callBackArray=new Array),this.opt.callBackArray.push(e))})},revgetparallaxproc:function(){return jQuery(this)[0].opt.scrollproc},revdebugmode:function(){return this.each(function(){var e=jQuery(this);e[0].opt.debugMode=!0,containerResized(e,e[0].opt)})},revscroll:function(e){return this.each(function(){var i=jQuery(this);jQuery("body,html").animate({scrollTop:i.offset().top+i.height()-e+"px"},{duration:400})})},revredraw:function(e){return this.each(function(){var e=jQuery(this);containerResized(e,e[0].opt)})},revkill:function(e){var i=this,t=jQuery(this);if(punchgs.TweenLite.killDelayedCallsTo(_R.showHideNavElements),t!=undefined&&t.length>0&&jQuery("body").find("#"+t.attr("id")).length>0){t.data("conthover",1),t.data("conthover-changed",1),t.trigger("revolution.slide.onpause");var a=t.parent().find(".tp-bannertimer"),n=t[0].opt;n.tonpause=!0,t.trigger("stoptimer");var r="resize.revslider-"+t.attr("id");jQuery(window).unbind(r),punchgs.TweenLite.killTweensOf(t.find("*"),!1),punchgs.TweenLite.killTweensOf(t,!1),t.unbind("hover, mouseover, mouseenter,mouseleave, resize");r="resize.revslider-"+t.attr("id");jQuery(window).off(r),t.find("*").each(function(){var e=jQuery(this);e.unbind("on, hover, mouseenter,mouseleave,mouseover, resize,restarttimer, stoptimer"),e.off("on, hover, mouseenter,mouseleave,mouseover, resize"),e.data("mySplitText",null),e.data("ctl",null),e.data("tween")!=undefined&&e.data("tween").kill(),e.data("kenburn")!=undefined&&e.data("kenburn").kill(),e.data("timeline_out")!=undefined&&e.data("timeline_out").kill(),e.data("timeline")!=undefined&&e.data("timeline").kill(),e.remove(),e.empty(),e=null}),punchgs.TweenLite.killTweensOf(t.find("*"),!1),punchgs.TweenLite.killTweensOf(t,!1),a.remove();try{t.closest(".forcefullwidth_wrapper_tp_banner").remove()}catch(e){}try{t.closest(".rev_slider_wrapper").remove()}catch(e){}try{t.remove()}catch(e){}return t.empty(),t.html(),t=null,n=null,delete i.c,delete i.opt,delete i.container,!0}return!1},revpause:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&(e.data("conthover",1),e.data("conthover-changed",1),e.trigger("revolution.slide.onpause"),e[0].opt.tonpause=!0,e.trigger("stoptimer"))})},revresume:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&(e.data("conthover",0),e.data("conthover-changed",1),e.trigger("revolution.slide.onresume"),e[0].opt.tonpause=!1,e.trigger("starttimer"))})},revstart:function(){var e=jQuery(this);if(e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&e[0].opt!==undefined)return e[0].opt.sliderisrunning?(console.log("Slider Is Running Already"),!1):(e[0].opt.c=e,e[0].opt.ul=e.find(">ul"),runSlider(e,e[0].opt),!0)},revnext:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&_R.callingNewSlide(e,1)})},revprev:function(){return this.each(function(){var e=jQuery(this);e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0&&_R.callingNewSlide(e,-1)})},revmaxslide:function(){return jQuery(this).find(".tp-revslider-mainul >li").length},revcurrentslide:function(){var e=jQuery(this);if(e!=undefined&&e.length>0&&jQuery("body").find("#"+e.attr("id")).length>0)return parseInt(e[0].opt.act,0)+1},revlastslide:function(){return jQuery(this).find(".tp-revslider-mainul >li").length},revshowslide:function(e){return this.each(function(){var i=jQuery(this);i!=undefined&&i.length>0&&jQuery("body").find("#"+i.attr("id")).length>0&&_R.callingNewSlide(i,"to"+(e-1))})},revcallslidewithid:function(e){return this.each(function(){var i=jQuery(this);i!=undefined&&i.length>0&&jQuery("body").find("#"+i.attr("id")).length>0&&_R.callingNewSlide(i,e)})}});var _R=jQuery.fn.revolution;jQuery.extend(!0,_R,{getversion:function(){return version},compare_version:function(e){var i=jQuery("body").data("tp_rs_version");return(i=i===undefined?new Object:i).Core===undefined&&(i.Core=new Object,i.Core.alias="Slider Revolution Core",i.Core.name="jquery.themepunch.revolution.min.js",i.Core.ver=_R.getversion().core),"stop"!=e.check&&(_R.getversion().core<e.min_core?(e.check===undefined&&(console.log("%cSlider Revolution Warning (Core:"+_R.getversion().core+")","color:#c0392b;font-weight:bold;"),console.log("%c     Core is older than expected ("+e.min_core+") from "+e.alias,"color:#333"),console.log("%c     Please update Slider Revolution to the latest version.","color:#333"),console.log("%c     It might be required to purge and clear Server/Client side Caches.","color:#333")),e.check="stop"):_R.getversion()[e.name]!=undefined&&e.version<_R.getversion()[e.name]&&(e.check===undefined&&(console.log("%cSlider Revolution Warning (Core:"+_R.getversion().core+")","color:#c0392b;font-weight:bold;"),console.log("%c     "+e.alias+" ("+e.version+") is older than requiered ("+_R.getversion()[e.name]+")","color:#333"),console.log("%c     Please update Slider Revolution to the latest version.","color:#333"),console.log("%c     It might be required to purge and clear Server/Client side Caches.","color:#333")),e.check="stop")),i[e.alias]===undefined&&(i[e.alias]=new Object,i[e.alias].alias=e.alias,i[e.alias].ver=e.version,i[e.alias].name=e.name),jQuery("body").data("tp_rs_version",i),e},currentSlideIndex:function(e){var i=e.c.find(".active-revslide").index();return i=-1==i?0:i},simp:function(e,i,t){var a=Math.abs(e)-Math.floor(Math.abs(e/i))*i;return t?a:e<0?-1*a:a},iOSVersion:function(){var e=!1;return navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)?navigator.userAgent.match(/OS 4_\d like Mac OS X/i)&&(e=!0):e=!1,e},isIE:function(e,i){var t=jQuery('<div style="display:none;"/>').appendTo(jQuery("body"));t.html("\x3c!--[if "+(i||"")+" IE "+(e||"")+"]><a>&nbsp;</a><![endif]--\x3e");var a=t.find("a").length;return t.remove(),a},is_mobile:function(){var e=["android","webos","iphone","ipad","blackberry","Android","webos",,"iPod","iPhone","iPad","Blackberry","BlackBerry"],i=!1;for(var t in e)navigator.userAgent.split(e[t]).length>1&&(i=!0);return i},is_android:function(){var e=["android","Android"],i=!1;for(var t in e)navigator.userAgent.split(e[t]).length>1&&(i=!0);return i},callBackHandling:function(e,i,t){try{e.callBackArray&&jQuery.each(e.callBackArray,function(e,a){a&&a.inmodule&&a.inmodule===i&&a.atposition&&a.atposition===t&&a.callback&&a.callback.call()})}catch(e){console.log("Call Back Failed")}},get_browser:function(){var e,i=navigator.appName,t=navigator.userAgent,a=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[i,navigator.appVersion,"-?"])[0]},get_browser_version:function(){var e,i=navigator.appName,t=navigator.userAgent,a=t.match(/(opera|chrome|safari|firefox|msie)\/?\s*(\.?\d+(\.\d+)*)/i);return a&&null!=(e=t.match(/version\/([\.\d]+)/i))&&(a[2]=e[1]),(a=a?[a[1],a[2]]:[i,navigator.appVersion,"-?"])[1]},isSafari11:function(){var e=jQuery.trim(_R.get_browser().toLowerCase());return"chrome"===e&&-1!=jQuery.trim(navigator.userAgent.toLowerCase().search("edge"))&&(e="msie"),e.match(/safari|chrome/)},getHorizontalOffset:function(e,i){var t=gWiderOut(e,".outer-left"),a=gWiderOut(e,".outer-right");switch(i){case"left":return t;case"right":return a;case"both":return t+a}},callingNewSlide:function(e,i){var t=e.find(".next-revslide").length>0?e.find(".next-revslide").index():e.find(".processing-revslide").length>0?e.find(".processing-revslide").index():e.find(".active-revslide").index(),a=0,n=e[0].opt;e.find(".next-revslide").removeClass("next-revslide"),e.find(".active-revslide").hasClass("tp-invisible-slide")&&(t=n.last_shown_slide),i&&jQuery.isNumeric(i)||i.match(/to/g)?(a=1===i||-1===i?(a=t+i)<0?n.slideamount-1:a>=n.slideamount?0:a:(i=jQuery.isNumeric(i)?i:parseInt(i.split("to")[1],0))<0?0:i>n.slideamount-1?n.slideamount-1:i,e.find(".tp-revslider-slidesli:eq("+a+")").addClass("next-revslide")):i&&e.find(".tp-revslider-slidesli").each(function(){var e=jQuery(this);e.data("index")===i&&e.addClass("next-revslide")}),a=e.find(".next-revslide").index(),e.trigger("revolution.nextslide.waiting"),t===a&&t===n.last_shown_slide||a!==t&&-1!=a?swapSlide(e):e.find(".next-revslide").removeClass("next-revslide")},slotSize:function(e,i){i.slotw=Math.ceil(i.width/i.slots),"fullscreen"==i.sliderLayout?i.sloth=Math.ceil(jQuery(window).height()/i.slots):i.sloth=Math.ceil(i.height/i.slots),"on"==i.autoHeight&&e!==undefined&&""!==e&&(i.sloth=Math.ceil(e.height()/i.slots))},setSize:function(e){var i=(e.top_outer||0)+(e.bottom_outer||0),t=parseInt(e.carousel.padding_top||0,0),a=parseInt(e.carousel.padding_bottom||0,0),n=e.gridheight[e.curWinRange],r=0,o=-1===e.nextSlide||e.nextSlide===undefined?0:e.nextSlide;if(e.paddings=e.paddings===undefined?{top:parseInt(e.c.parent().css("paddingTop"),0)||0,bottom:parseInt(e.c.parent().css("paddingBottom"),0)||0}:e.paddings,e.rowzones&&e.rowzones.length>0)for(var s=0;s<e.rowzones[o].length;s++)r+=e.rowzones[o][s][0].offsetHeight;if(n=(n=n<e.minHeight?e.minHeight:n)<r?r:n,"fullwidth"==e.sliderLayout&&"off"==e.autoHeight&&punchgs.TweenLite.set(e.c,{maxHeight:n+"px"}),e.c.css({marginTop:t,marginBottom:a}),e.width=e.ul.width(),e.height=e.ul.height(),setScale(e),e.height=Math.round(e.gridheight[e.curWinRange]*(e.width/e.gridwidth[e.curWinRange])),e.height>e.gridheight[e.curWinRange]&&"on"!=e.autoHeight&&(e.height=e.gridheight[e.curWinRange]),"fullscreen"==e.sliderLayout||e.infullscreenmode){e.height=e.bw*e.gridheight[e.curWinRange];e.c.parent().width();var l=jQuery(window).height();if(e.fullScreenOffsetContainer!=undefined){try{var d=e.fullScreenOffsetContainer.split(",");d&&jQuery.each(d,function(e,i){l=jQuery(i).length>0?l-jQuery(i).outerHeight(!0):l})}catch(e){}try{e.fullScreenOffset.split("%").length>1&&e.fullScreenOffset!=undefined&&e.fullScreenOffset.length>0?l-=jQuery(window).height()*parseInt(e.fullScreenOffset,0)/100:e.fullScreenOffset!=undefined&&e.fullScreenOffset.length>0&&(l-=parseInt(e.fullScreenOffset,0))}catch(e){}}l=l<e.minHeight?e.minHeight:l,l-=i,e.c.parent().height(l),e.c.closest(".rev_slider_wrapper").height(l),e.c.css({height:"100%"}),e.height=l,e.minHeight!=undefined&&e.height<e.minHeight&&(e.height=e.minHeight),e.height=parseInt(r,0)>parseInt(e.height,0)?r:e.height}else e.minHeight!=undefined&&e.height<e.minHeight&&(e.height=e.minHeight),e.height=parseInt(r,0)>parseInt(e.height,0)?r:e.height,e.c.height(e.height);var c={height:t+a+i+e.height+e.paddings.top+e.paddings.bottom};e.c.closest(".forcefullwidth_wrapper_tp_banner").find(".tp-fullwidth-forcer").css(c),e.c.closest(".rev_slider_wrapper").css(c),setScale(e)},enterInViewPort:function(e){e.waitForCountDown&&(countDown(e.c,e),e.waitForCountDown=!1),e.waitForFirstSlide&&(swapSlide(e.c),e.waitForFirstSlide=!1,setTimeout(function(){e.c.removeClass("tp-waitforfirststart")},500)),"playing"!=e.sliderlaststatus&&e.sliderlaststatus!=undefined||e.c.trigger("starttimer"),e.lastplayedvideos!=undefined&&e.lastplayedvideos.length>0&&jQuery.each(e.lastplayedvideos,function(i,t){_R.playVideo(t,e)})},leaveViewPort:function(e){e.sliderlaststatus=e.sliderstatus,e.c.trigger("stoptimer"),e.playingvideos!=undefined&&e.playingvideos.length>0&&(e.lastplayedvideos=jQuery.extend(!0,[],e.playingvideos),e.playingvideos&&jQuery.each(e.playingvideos,function(i,t){e.leaveViewPortBasedStop=!0,_R.stopVideo&&_R.stopVideo(t,e)}))},unToggleState:function(e){e!=undefined&&e.length>0&&jQuery.each(e,function(e,i){i.removeClass("rs-toggle-content-active")})},toggleState:function(e){e!=undefined&&e.length>0&&jQuery.each(e,function(e,i){i.addClass("rs-toggle-content-active")})},swaptoggleState:function(e){e!=undefined&&e.length>0&&jQuery.each(e,function(e,i){jQuery(i).hasClass("rs-toggle-content-active")?jQuery(i).removeClass("rs-toggle-content-active"):jQuery(i).addClass("rs-toggle-content-active")})},lastToggleState:function(e){var i=0;return e!=undefined&&e.length>0&&jQuery.each(e,function(e,t){i=t.hasClass("rs-toggle-content-active")}),i}});var _ISM=_R.is_mobile(),_ANDROID=_R.is_android(),checkIDS=function(e,i){if(e.anyid=e.anyid===undefined?[]:e.anyid,-1!=jQuery.inArray(i.attr("id"),e.anyid)){var t=i.attr("id")+"_"+Math.round(9999*Math.random());i.attr("id",t)}e.anyid.push(i.attr("id"))},removeArray=function(e,i){var t=[];return jQuery.each(e,function(e,a){e!=i&&t.push(a)}),t},removeNavWithLiref=function(e,i,t){t.c.find(e).each(function(){var e=jQuery(this);e.data("liref")===i&&e.remove()})},lAjax=function(e,i){return!jQuery("body").data(e)&&(i.filesystem?(i.errorm===undefined&&(i.errorm="<br>Local Filesystem Detected !<br>Put this to your header:"),console.warn("Local Filesystem detected !"),i.errorm=i.errorm+'<br>&lt;script type="text/javascript" src="'+i.jsFileLocation+e+i.extensions_suffix+'"&gt;&lt;/script&gt;',console.warn(i.jsFileLocation+e+i.extensions_suffix+" could not be loaded !"),console.warn("Please use a local Server or work online or make sure that you load all needed Libraries manually in your Document."),console.log(" "),i.modulesfailing=!0,!1):(jQuery.ajax({url:i.jsFileLocation+e+i.extensions_suffix+"?version="+version.core,dataType:"script",cache:!0,error:function(t){console.warn("Slider Revolution 5.0 Error !"),console.error("Failure at Loading:"+e+i.extensions_suffix+" on Path:"+i.jsFileLocation),console.info(t)}}),void jQuery("body").data(e,!0)))},getNeededScripts=function(e,i){var t=new Object,a=e.navigation;return t.kenburns=!1,t.parallax=!1,t.carousel=!1,t.navigation=!1,t.videos=!1,t.actions=!1,t.layeranim=!1,t.migration=!1,i.data("version")&&i.data("version").toString().match(/5./gi)?(i.find("img").each(function(){"on"==jQuery(this).data("kenburns")&&(t.kenburns=!0)}),("carousel"==e.sliderType||"on"==a.keyboardNavigation||"on"==a.mouseScrollNavigation||"on"==a.touch.touchenabled||a.arrows.enable||a.bullets.enable||a.thumbnails.enable||a.tabs.enable)&&(t.navigation=!0),i.find(".tp-caption, .tp-static-layer, .rs-background-video-layer").each(function(){var e=jQuery(this);(e.data("ytid")!=undefined||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("youtube")>0)&&(t.videos=!0),(e.data("vimeoid")!=undefined||e.find("iframe").length>0&&e.find("iframe").attr("src").toLowerCase().indexOf("vimeo")>0)&&(t.videos=!0),e.data("actions")!==undefined&&(t.actions=!0),t.layeranim=!0}),i.find("li").each(function(){jQuery(this).data("link")&&jQuery(this).data("link")!=undefined&&(t.layeranim=!0,t.actions=!0)}),!t.videos&&(i.find(".rs-background-video-layer").length>0||i.find(".tp-videolayer").length>0||i.find(".tp-audiolayer").length>0||i.find("iframe").length>0||i.find("video").length>0)&&(t.videos=!0),"carousel"==e.sliderType&&(t.carousel=!0),("off"!==e.parallax.type||e.viewPort.enable||"true"==e.viewPort.enable||"true"===e.scrolleffect.on||e.scrolleffect.on)&&(t.parallax=!0)):(t.kenburns=!0,t.parallax=!0,t.carousel=!1,t.navigation=!0,t.videos=!0,t.actions=!0,t.layeranim=!0,t.migration=!0),"hero"==e.sliderType&&(t.carousel=!1,t.navigation=!1),window.location.href.match(/file:/gi)&&(t.filesystem=!0,e.filesystem=!0),t.videos&&void 0===_R.isVideoPlaying&&lAjax("revolution.extension.video",e),t.carousel&&void 0===_R.prepareCarousel&&lAjax("revolution.extension.carousel",e),t.carousel||void 0!==_R.animateSlide||lAjax("revolution.extension.slideanims",e),t.actions&&void 0===_R.checkActions&&lAjax("revolution.extension.actions",e),t.layeranim&&void 0===_R.handleStaticLayers&&lAjax("revolution.extension.layeranimation",e),t.kenburns&&void 0===_R.stopKenBurn&&lAjax("revolution.extension.kenburn",e),t.navigation&&void 0===_R.createNavigation&&lAjax("revolution.extension.navigation",e),t.migration&&void 0===_R.migration&&lAjax("revolution.extension.migration",e),t.parallax&&void 0===_R.checkForParallax&&lAjax("revolution.extension.parallax",e),e.addons!=undefined&&e.addons.length>0&&jQuery.each(e.addons,function(i,t){"object"==typeof t&&t.fileprefix!=undefined&&lAjax(t.fileprefix,e)}),t},waitForScripts=function(e,i){var t=!0,a=i.scriptsneeded;i.addons!=undefined&&i.addons.length>0&&jQuery.each(i.addons,function(e,i){"object"==typeof i&&i.init!=undefined&&_R[i.init]===undefined&&(t=!1)}),a.filesystem||"undefined"!=typeof punchgs&&t&&(!a.kenburns||a.kenburns&&void 0!==_R.stopKenBurn)&&(!a.navigation||a.navigation&&void 0!==_R.createNavigation)&&(!a.carousel||a.carousel&&void 0!==_R.prepareCarousel)&&(!a.videos||a.videos&&void 0!==_R.resetVideo)&&(!a.actions||a.actions&&void 0!==_R.checkActions)&&(!a.layeranim||a.layeranim&&void 0!==_R.handleStaticLayers)&&(!a.migration||a.migration&&void 0!==_R.migration)&&(!a.parallax||a.parallax&&void 0!==_R.checkForParallax)&&(a.carousel||!a.carousel&&void 0!==_R.animateSlide)?e.trigger("scriptsloaded"):setTimeout(function(){waitForScripts(e,i)},50)},getScriptLocation=function(e){var i=new RegExp("themepunch.revolution.min.js","gi"),t="";return jQuery("script").each(function(){var e=jQuery(this).attr("src");e&&e.match(i)&&(t=e)}),t=(t=(t=t.replace("jquery.themepunch.revolution.min.js","")).replace("jquery.themepunch.revolution.js","")).split("?")[0]},setCurWinRange=function(e,i){var t=9999,a=0,n=0,r=0,o=jQuery(window).width(),s=i&&9999==e.responsiveLevels?e.visibilityLevels:e.responsiveLevels;s&&s.length&&jQuery.each(s,function(e,i){o<i&&(0==a||a>i)&&(t=i,r=e,a=i),o>i&&a<i&&(a=i,n=e)}),a<t&&(r=n),i?e.forcedWinRange=r:e.curWinRange=r},prepareOptions=function(e,i){i.carousel.maxVisibleItems=i.carousel.maxVisibleItems<1?999:i.carousel.maxVisibleItems,i.carousel.vertical_align="top"===i.carousel.vertical_align?"0%":"bottom"===i.carousel.vertical_align?"100%":"50%"},gWiderOut=function(e,i){var t=0;return e.find(i).each(function(){var e=jQuery(this);!e.hasClass("tp-forcenotvisible")&&t<e.outerWidth()&&(t=e.outerWidth())}),t},initSlider=function(container,opt){if(container==undefined)return!1;container.data("aimg")!=undefined&&("enabled"==container.data("aie8")&&_R.isIE(8)||"enabled"==container.data("amobile")&&_ISM)&&container.html('<img class="tp-slider-alternative-image" src="'+container.data("aimg")+'">'),container.find(">ul").addClass("tp-revslider-mainul"),opt.c=container,opt.ul=container.find(".tp-revslider-mainul"),opt.ul.find(">li").each(function(e){var i=jQuery(this);"on"==i.data("hideslideonmobile")&&_ISM&&i.remove(),(i.data("invisible")||!0===i.data("invisible"))&&(i.addClass("tp-invisible-slide"),i.appendTo(opt.ul))}),opt.addons!=undefined&&opt.addons.length>0&&jQuery.each(opt.addons,function(i,obj){"object"==typeof obj&&obj.init!=undefined&&_R[obj.init](eval(obj.params))}),opt.cid=container.attr("id"),opt.ul.css({visibility:"visible"}),opt.slideamount=opt.ul.find(">li").not(".tp-invisible-slide").length,opt.realslideamount=opt.ul.find(">li").length,opt.slayers=container.find(".tp-static-layers"),opt.slayers.data("index","staticlayers"),1!=opt.waitForInit&&(container[0].opt=opt,runSlider(container,opt))},onFullScreenChange=function(){jQuery("body").data("rs-fullScreenMode",!jQuery("body").data("rs-fullScreenMode")),jQuery("body").data("rs-fullScreenMode")&&setTimeout(function(){jQuery(window).trigger("resize")},200)},runSlider=function(e,i){if(i.sliderisrunning=!0,i.ul.find(">li").each(function(e){jQuery(this).data("originalindex",e)}),i.allli=i.ul.find(">li"),jQuery.each(i.allli,function(e,i){(i=jQuery(i)).data("origindex",i.index())}),i.li=i.ul.find(">li").not(".tp-invisible-slide"),"on"==i.shuffle){var t=new Object,a=i.ul.find(">li:first-child");t.fstransition=a.data("fstransition"),t.fsmasterspeed=a.data("fsmasterspeed"),t.fsslotamount=a.data("fsslotamount");for(var n=0;n<i.slideamount;n++){var r=Math.round(Math.random()*i.slideamount);i.ul.find(">li:eq("+r+")").prependTo(i.ul)}var o=i.ul.find(">li:first-child");o.data("fstransition",t.fstransition),o.data("fsmasterspeed",t.fsmasterspeed),o.data("fsslotamount",t.fsslotamount),i.allli=i.ul.find(">li"),i.li=i.ul.find(">li").not(".tp-invisible-slide")}if(i.inli=i.ul.find(">li.tp-invisible-slide"),i.thumbs=new Array,i.slots=4,i.act=-1,i.firststart=1,i.loadqueue=new Array,i.syncload=0,i.conw=e.width(),i.conh=e.height(),i.responsiveLevels.length>1?i.responsiveLevels[0]=9999:i.responsiveLevels=9999,jQuery.each(i.allli,function(e,t){var a=(t=jQuery(t)).find(".rev-slidebg")||t.find("img").first(),n=0;t.addClass("tp-revslider-slidesli"),t.data("index")===undefined&&t.data("index","rs-"+Math.round(999999*Math.random()));var r=new Object;r.params=new Array,r.id=t.data("index"),r.src=t.data("thumb")!==undefined?t.data("thumb"):a.data("lazyload")!==undefined?a.data("lazyload"):a.attr("src"),t.data("title")!==undefined&&r.params.push({from:RegExp("\\{\\{title\\}\\}","g"),to:t.data("title")}),t.data("description")!==undefined&&r.params.push({from:RegExp("\\{\\{description\\}\\}","g"),to:t.data("description")});for(n=1;n<=10;n++)t.data("param"+n)!==undefined&&r.params.push({from:RegExp("\\{\\{param"+n+"\\}\\}","g"),to:t.data("param"+n)});if(i.thumbs.push(r),t.data("link")!=undefined){var o=t.data("link"),s=t.data("target")||"_self",l="back"===t.data("slideindex")?0:60,d=t.data("linktoslide"),c=d;d!=undefined&&"next"!=d&&"prev"!=d&&i.allli.each(function(){var e=jQuery(this);e.data("origindex")+1==c&&(d=e.data("index"))}),"slide"!=o&&(d="no");var u='<div class="tp-caption slidelink" style="cursor:pointer;width:100%;height:100%;z-index:'+l+';" data-x="center" data-y="center" data-basealign="slide" ',p=' data-frames=\'[{"delay":0,"speed":100,"frame":"0","from":"opacity:0;","to":"o:1;","ease":"Power3.easeInOut"},{"delay":"wait","speed":300,"frame":"999","to":"opacity:0;","ease":"Power3.easeInOut"}]\'';u="no"==d?u+p+" >":u+"data-actions='"+("scroll_under"===d?'[{"event":"click","action":"scrollbelow","offset":"100px","delay":"0"}]':"prev"===d?'[{"event":"click","action":"jumptoslide","slide":"prev","delay":"0.2"}]':"next"===d?'[{"event":"click","action":"jumptoslide","slide":"next","delay":"0.2"}]':'[{"event":"click","action":"jumptoslide","slide":"'+d+'","delay":"0.2"}]')+"'"+p+" >",u+='<a style="width:100%;height:100%;display:block"',u="slide"!=o?u+' target="'+s+'" href="'+o+'"':u,u+='><span style="width:100%;height:100%;display:block"></span></a></div>',t.append(u)}}),i.rle=i.responsiveLevels.length||1,i.gridwidth=cArray(i.gridwidth,i.rle),i.gridheight=cArray(i.gridheight,i.rle),"on"==i.simplifyAll&&(_R.isIE(8)||_R.iOSVersion())&&(e.find(".tp-caption").each(function(){var e=jQuery(this);e.removeClass("customin customout").addClass("fadein fadeout"),e.data("splitin",""),e.data("speed",400)}),i.allli.each(function(){var e=jQuery(this);e.data("transition","fade"),e.data("masterspeed",500),e.data("slotamount",1),(e.find(".rev-slidebg")||e.find(">img").first()).data("kenburns","off")})),i.desktop=!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|mobi|tablet|opera mini|nexus 7)/i),i.autoHeight="fullscreen"==i.sliderLayout?"on":i.autoHeight,"fullwidth"==i.sliderLayout&&"off"==i.autoHeight&&e.css({maxHeight:i.gridheight[i.curWinRange]+"px"}),"auto"!=i.sliderLayout&&0==e.closest(".forcefullwidth_wrapper_tp_banner").length&&("fullscreen"!==i.sliderLayout||"on"!=i.fullScreenAutoWidth)){var s=e.parent(),l=s.css("marginBottom"),d=s.css("marginTop"),c=e.attr("id")+"_forcefullwidth";l=l===undefined?0:l,d=d===undefined?0:d,s.wrap('<div class="forcefullwidth_wrapper_tp_banner" id="'+c+'" style="position:relative;width:100%;height:auto;margin-top:'+d+";margin-bottom:"+l+'"></div>'),e.closest(".forcefullwidth_wrapper_tp_banner").append('<div class="tp-fullwidth-forcer" style="width:100%;height:'+e.height()+'px"></div>'),e.parent().css({marginTop:"0px",marginBottom:"0px"}),e.parent().css({position:"absolute"})}if(i.shadow!==undefined&&i.shadow>0&&(e.parent().addClass("tp-shadow"+i.shadow),e.parent().append('<div class="tp-shadowcover"></div>'),e.parent().find(".tp-shadowcover").css({backgroundColor:e.parent().css("backgroundColor"),backgroundImage:e.parent().css("backgroundImage")})),setCurWinRange(i),setCurWinRange(i,!0),!e.hasClass("revslider-initialised")){e.addClass("revslider-initialised"),e.addClass("tp-simpleresponsive"),e.attr("id")==undefined&&e.attr("id","revslider-"+Math.round(1e3*Math.random()+5)),checkIDS(i,e),i.firefox13=!1,i.ie=!jQuery.support.opacity,i.ie9=9==document.documentMode,i.origcd=i.delay;var u=jQuery.fn.jquery.split("."),p=parseFloat(u[0]),f=parseFloat(u[1]);parseFloat(u[2]||"0");1==p&&f<7&&e.html('<div style="text-align:center; padding:40px 0px; font-size:20px; color:#992222;"> The Current Version of jQuery:'+u+" <br>Please update your jQuery Version to min. 1.7 in Case you wish to use the Revolution Slider Plugin</div>"),p>1&&(i.ie=!1);var h=new Object;h.addedyt=0,h.addedvim=0,h.addedvid=0,i.scrolleffect.on&&(i.scrolleffect.layers=new Array),e.find(".tp-caption, .rs-background-video-layer").each(function(e){var t=jQuery(this),a=t.data(),n=a.autoplayonlyfirsttime,r=a.autoplay,o=(a.videomp4!==undefined||a.videowebm!==undefined||a.videoogv,t.hasClass("tp-audiolayer")),s=a.videoloop,l=!0,d=!1;a.startclasses=t.attr("class"),a.isparallaxlayer=a.startclasses.indexOf("rs-parallax")>=0,t.hasClass("tp-static-layer")&&_R.handleStaticLayers&&(_R.handleStaticLayers(t,i),i.scrolleffect.on&&("on"===i.scrolleffect.on_parallax_static_layers&&a.isparallaxlayer||"on"===i.scrolleffect.on_static_layers&&!a.isparallaxlayer)&&(d=!0),l=!1);var c=t.data("noposteronmobile")||t.data("noPosterOnMobile")||t.data("posteronmobile")||t.data("posterOnMobile")||t.data("posterOnMObile");t.data("noposteronmobile",c);var u=0;if(t.find("iframe").each(function(){punchgs.TweenLite.set(jQuery(this),{autoAlpha:0}),u++}),u>0&&t.data("iframes",!0),t.hasClass("tp-caption")){var p=t.hasClass("slidelink")?"width:100% !important;height:100% !important;":"",f=t.data(),g="",v=f.type,m="row"===v||"column"===v?"relative":"absolute",y="";"row"===v?(t.addClass("rev_row").removeClass("tp-resizeme"),y="rev_row_wrap"):"column"===v?(g=f.verticalalign===undefined?" vertical-align:bottom;":" vertical-align:"+f.verticalalign+";",y="rev_column",t.addClass("rev_column_inner").removeClass("tp-resizeme"),t.data("width","auto"),punchgs.TweenLite.set(t,{width:"auto"})):"group"===v&&t.removeClass("tp-resizeme");var w="",b="";"row"!==v&&"group"!==v&&"column"!==v?(w="display:"+t.css("display")+";",t.closest(".rev_column").length>0?(t.addClass("rev_layer_in_column"),l=!1):t.closest(".rev_group").length>0&&(t.addClass("rev_layer_in_group"),l=!1)):"column"===v&&(l=!1),f.wrapper_class!==undefined&&(y=y+" "+f.wrapper_class),f.wrapper_id!==undefined&&(b='id="'+f.wrapper_id+'"');var _="";t.hasClass("tp-no-events")&&(_=";pointer-events:none"),t.wrap("<div "+b+' class="tp-parallax-wrap '+y+'" style="'+g+" "+p+"position:"+m+";"+w+";visibility:hidden"+_+'"><div class="tp-loop-wrap" style="'+p+"position:"+m+";"+w+';"><div class="tp-mask-wrap" style="'+p+"position:"+m+";"+w+';" ></div></div></div>'),l&&i.scrolleffect.on&&("on"===i.scrolleffect.on_parallax_layers&&a.isparallaxlayer||"on"===i.scrolleffect.on_layers&&!a.isparallaxlayer)&&i.scrolleffect.layers.push(t.parent()),d&&i.scrolleffect.layers.push(t.parent()),"column"===v&&(t.append('<div class="rev_column_bg rev_column_bg_man_sized" style="visibility:hidden"></div>'),t.closest(".tp-parallax-wrap").append('<div class="rev_column_bg rev_column_bg_auto_sized"></div>'));var x=t.closest(".tp-loop-wrap");jQuery.each(["pendulum","rotate","slideloop","pulse","wave"],function(e,i){var a=t.find(".rs-"+i),n=a.data()||"";""!=n&&(x.data(n),x.addClass("rs-"+i),a.children(0).unwrap(),t.data("loopanimation","on"))}),t.attr("id")===undefined&&t.attr("id","layer-"+Math.round(999999999*Math.random())),checkIDS(i,t),punchgs.TweenLite.set(t,{visibility:"hidden"})}var j=t.data("actions");j!==undefined&&_R.checkActions(t,i,j),checkHoverDependencies(t,i),_R.checkVideoApis&&(h=_R.checkVideoApis(t,i,h)),o||1!=n&&"true"!=n&&"1sttime"!=r||"loopandnoslidestop"==s||t.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-once"),o||1!=r&&"true"!=r&&"on"!=r&&"no1sttime"!=r||"loopandnoslidestop"==s||t.closest("li.tp-revslider-slidesli").addClass("rs-pause-timer-always")}),e[0].addEventListener("mouseenter",function(){e.trigger("tp-mouseenter"),i.overcontainer=!0},{passive:!0}),e[0].addEventListener("mouseover",function(){e.trigger("tp-mouseover"),i.overcontainer=!0},{passive:!0}),e[0].addEventListener("mouseleave",function(){e.trigger("tp-mouseleft"),i.overcontainer=!1},{passive:!0}),e.find(".tp-caption video").each(function(e){var i=jQuery(this);i.removeClass("video-js vjs-default-skin"),i.attr("preload",""),i.css({display:"none"})}),"standard"!==i.sliderType&&(i.lazyType="all"),loadImages(e.find(".tp-static-layers"),i,0,!0),waitForCurrentImages(e.find(".tp-static-layers"),i,function(){e.find(".tp-static-layers img").each(function(){var e=jQuery(this),t=e.data("lazyload")!=undefined?e.data("lazyload"):e.attr("src"),a=getLoadObj(i,t);e.attr("src",a.src)})}),i.rowzones=[],i.allli.each(function(e){var t=jQuery(this);i.rowzones[e]=[],t.find(".rev_row_zone").each(function(){i.rowzones[e].push(jQuery(this))}),"all"!=i.lazyType&&("smart"!=i.lazyType||0!=e&&1!=e&&e!=i.slideamount&&e!=i.slideamount-1)||(loadImages(t,i,e),waitForCurrentImages(t,i,function(){}))});var g=getUrlVars("#")[0];if(g.length<9&&g.split("slide").length>1){var v=parseInt(g.split("slide")[1],0);v<1&&(v=1),v>i.slideamount&&(v=i.slideamount),i.startWithSlide=v-1}e.append('<div class="tp-loader '+i.spinner+'"><div class="dot1"></div><div class="dot2"></div><div class="bounce1"></div><div class="bounce2"></div><div class="bounce3"></div></div>'),i.loader=e.find(".tp-loader"),0===e.find(".tp-bannertimer").length&&e.append('<div class="tp-bannertimer" style="visibility:hidden"></div>'),e.find(".tp-bannertimer").css({width:"0%"}),i.ul.css({display:"block"}),prepareSlides(e,i),("off"!==i.parallax.type||i.scrolleffect.on)&&_R.checkForParallax&&_R.checkForParallax(e,i),_R.setSize(i),"hero"!==i.sliderType&&_R.createNavigation&&_R.createNavigation(e,i),_R.resizeThumbsTabs&&_R.resizeThumbsTabs&&_R.resizeThumbsTabs(i),contWidthManager(i);var m=i.viewPort;i.inviewport=!1,m!=undefined&&m.enable&&(jQuery.isNumeric(m.visible_area)||-1!==m.visible_area.indexOf("%")&&(m.visible_area=parseInt(m.visible_area)/100),_R.scrollTicker&&_R.scrollTicker(i,e)),"carousel"===i.sliderType&&_R.prepareCarousel&&(punchgs.TweenLite.set(i.ul,{opacity:0}),_R.prepareCarousel(i,new punchgs.TimelineLite,undefined,0),i.onlyPreparedSlide=!0),setTimeout(function(){if(!m.enable||m.enable&&i.inviewport||m.enable&&!i.inviewport&&"wait"==!m.outof)swapSlide(e);else if(i.c.addClass("tp-waitforfirststart"),i.waitForFirstSlide=!0,m.presize){var t=jQuery(i.li[0]);loadImages(t,i,0,!0),waitForCurrentImages(t.find(".tp-layers"),i,function(){_R.animateTheCaptions({slide:t,opt:i,preset:!0})})}_R.manageNavigation&&_R.manageNavigation(i),i.slideamount>1&&(!m.enable||m.enable&&i.inviewport?countDown(e,i):i.waitForCountDown=!0),setTimeout(function(){e.trigger("revolution.slide.onloaded")},100)},i.startDelay),i.startDelay=0,jQuery("body").data("rs-fullScreenMode",!1),window.addEventListener("fullscreenchange",onFullScreenChange,{passive:!0}),window.addEventListener("mozfullscreenchange",onFullScreenChange,{passive:!0}),window.addEventListener("webkitfullscreenchange",onFullScreenChange,{passive:!0});var y="resize.revslider-"+e.attr("id");jQuery(window).on(y,function(){if(e==undefined)return!1;0!=jQuery("body").find(e)&&contWidthManager(i);var t=!1;if("fullscreen"==i.sliderLayout){var a=jQuery(window).height();"mobile"==i.fallbacks.ignoreHeightChanges&&_ISM||"always"==i.fallbacks.ignoreHeightChanges?(i.fallbacks.ignoreHeightChangesSize=i.fallbacks.ignoreHeightChangesSize==undefined?0:i.fallbacks.ignoreHeightChangesSize,t=a!=i.lastwindowheight&&Math.abs(a-i.lastwindowheight)>i.fallbacks.ignoreHeightChangesSize):t=a!=i.lastwindowheight}(e.outerWidth(!0)!=i.width||e.is(":hidden")||t)&&(i.lastwindowheight=jQuery(window).height(),containerResized(e,i))}),hideSliderUnder(e,i),contWidthManager(i),i.fallbacks.disableFocusListener||"true"==i.fallbacks.disableFocusListener||!0===i.fallbacks.disableFocusListener||(e.addClass("rev_redraw_on_blurfocus"),tabBlurringCheck())}},cArray=function(e,i){if(!jQuery.isArray(e)){var t=e;(e=new Array).push(t)}if(e.length<i){t=e[e.length-1];for(var a=0;a<i-e.length+2;a++)e.push(t)}return e},checkHoverDependencies=function(e,i){var t=e.data();("sliderenter"===t.start||t.frames!==undefined&&t.frames[0]!=undefined&&"sliderenter"===t.frames[0].delay)&&(i.layersonhover===undefined&&(i.c.on("tp-mouseenter",function(){i.layersonhover&&jQuery.each(i.layersonhover,function(e,t){var a=t.data("closestli")||t.closest(".tp-revslider-slidesli"),n=t.data("staticli")||t.closest(".tp-static-layers");t.data("closestli")===undefined&&(t.data("closestli",a),t.data("staticli",n)),(a.length>0&&a.hasClass("active-revslide")||a.hasClass("processing-revslide")||n.length>0)&&(t.data("animdirection","in"),_R.playAnimationFrame&&_R.playAnimationFrame({caption:t,opt:i,frame:"frame_0",triggerdirection:"in",triggerframein:"frame_0",triggerframeout:"frame_999"}),t.data("triggerstate","on"))})}),i.c.on("tp-mouseleft",function(){i.layersonhover&&jQuery.each(i.layersonhover,function(e,t){t.data("animdirection","out"),t.data("triggered",!0),t.data("triggerstate","off"),_R.stopVideo&&_R.stopVideo(t,i),_R.playAnimationFrame&&_R.playAnimationFrame({caption:t,opt:i,frame:"frame_999",triggerdirection:"out",triggerframein:"frame_0",triggerframeout:"frame_999"})})}),i.layersonhover=new Array),i.layersonhover.push(e))},contWidthManager=function(e){var i=_R.getHorizontalOffset(e.c,"left");if("auto"==e.sliderLayout||"fullscreen"===e.sliderLayout&&"on"==e.fullScreenAutoWidth)"fullscreen"==e.sliderLayout&&"on"==e.fullScreenAutoWidth?punchgs.TweenLite.set(e.ul,{left:0,width:e.c.width()}):punchgs.TweenLite.set(e.ul,{left:i,width:e.c.width()-_R.getHorizontalOffset(e.c,"both")});else{var t=Math.ceil(e.c.closest(".forcefullwidth_wrapper_tp_banner").offset().left-i);punchgs.TweenLite.set(e.c.parent(),{left:0-t+"px",width:jQuery(window).width()-_R.getHorizontalOffset(e.c,"both")})}e.slayers&&"fullwidth"!=e.sliderLayout&&"fullscreen"!=e.sliderLayout&&punchgs.TweenLite.set(e.slayers,{left:i})},cv=function(e,i){return e===undefined?i:e},hideSliderUnder=function(e,i,t){var a=e.parent();jQuery(window).width()<i.hideSliderAtLimit?(e.trigger("stoptimer"),"none"!=a.css("display")&&a.data("olddisplay",a.css("display")),a.css({display:"none"})):e.is(":hidden")&&t&&(a.data("olddisplay")!=undefined&&"undefined"!=a.data("olddisplay")&&"none"!=a.data("olddisplay")?a.css({display:a.data("olddisplay")}):a.css({display:"block"}),e.trigger("restarttimer"),setTimeout(function(){containerResized(e,i)},150)),_R.hideUnHideNav&&_R.hideUnHideNav(i)},containerResized=function(e,i){if(e.trigger("revolution.slide.beforeredraw"),1==i.infullscreenmode&&(i.minHeight=jQuery(window).height()),setCurWinRange(i),setCurWinRange(i,!0),!_R.resizeThumbsTabs||!0===_R.resizeThumbsTabs(i)){if(hideSliderUnder(e,i,!0),contWidthManager(i),"carousel"==i.sliderType&&_R.prepareCarousel(i,!0),e===undefined)return!1;_R.setSize(i),i.conw=i.c.width(),i.conh=i.infullscreenmode?i.minHeight:i.c.height();var t=e.find(".active-revslide .slotholder"),a=e.find(".processing-revslide .slotholder");removeSlots(e,i,e,2),"standard"===i.sliderType&&(punchgs.TweenLite.set(a.find(".defaultimg"),{opacity:0}),t.find(".defaultimg").css({opacity:1})),"carousel"===i.sliderType&&i.lastconw!=i.conw&&(clearTimeout(i.pcartimer),i.pcartimer=setTimeout(function(){_R.prepareCarousel(i,!0),"carousel"==i.sliderType&&"on"===i.carousel.showLayersAllTime&&jQuery.each(i.li,function(e){_R.animateTheCaptions({slide:jQuery(i.li[e]),opt:i,recall:!0})})},100),i.lastconw=i.conw),_R.manageNavigation&&_R.manageNavigation(i),_R.animateTheCaptions&&e.find(".active-revslide").length>0&&_R.animateTheCaptions({slide:e.find(".active-revslide"),opt:i,recall:!0}),"on"==a.data("kenburns")&&_R.startKenBurn(a,i,a.data("kbtl")!==undefined?a.data("kbtl").progress():0),"on"==t.data("kenburns")&&_R.startKenBurn(t,i,t.data("kbtl")!==undefined?t.data("kbtl").progress():0),_R.animateTheCaptions&&e.find(".processing-revslide").length>0&&_R.animateTheCaptions({slide:e.find(".processing-revslide"),opt:i,recall:!0}),_R.manageNavigation&&_R.manageNavigation(i)}e.trigger("revolution.slide.afterdraw")},setScale=function(e){e.bw=e.width/e.gridwidth[e.curWinRange],e.bh=e.height/e.gridheight[e.curWinRange],e.bh>e.bw?e.bh=e.bw:e.bw=e.bh,(e.bh>1||e.bw>1)&&(e.bw=1,e.bh=1)},prepareSlides=function(e,i){if(e.find(".tp-caption").each(function(){var e=jQuery(this);e.data("transition")!==undefined&&e.addClass(e.data("transition"))}),i.ul.css({overflow:"hidden",width:"100%",height:"100%",maxHeight:e.parent().css("maxHeight")}),"on"==i.autoHeight&&(i.ul.css({overflow:"hidden",width:"100%",height:"100%",maxHeight:"none"}),e.css({maxHeight:"none"}),e.parent().css({maxHeight:"none"})),i.allli.each(function(e){var t=jQuery(this),a=t.data("originalindex");(i.startWithSlide!=undefined&&a==i.startWithSlide||i.startWithSlide===undefined&&0==e)&&t.addClass("next-revslide"),t.css({width:"100%",height:"100%",overflow:"hidden"})}),"carousel"===i.sliderType){i.ul.css({overflow:"visible"}).wrap('<div class="tp-carousel-wrapper" style="width:100%;height:100%;position:absolute;top:0px;left:0px;overflow:hidden;"></div>');var t='<div style="clear:both;display:block;width:100%;height:1px;position:relative;margin-bottom:-1px"></div>';i.c.parent().prepend(t),i.c.parent().append(t),_R.prepareCarousel(i)}e.parent().css({overflow:"visible"}),i.allli.find(">img").each(function(e){var t=jQuery(this),a=t.closest("li"),n=a.find(".rs-background-video-layer");n.addClass("defaultvid").css({zIndex:30}),t.addClass("defaultimg"),"on"==i.fallbacks.panZoomDisableOnMobile&&_ISM&&(t.data("kenburns","off"),t.data("bgfit","cover"));var r=a.data("mediafilter");r="none"===r||r===undefined?"":r,t.wrap('<div class="slotholder" style="position:absolute; top:0px; left:0px; z-index:0;width:100%;height:100%;"></div>'),n.appendTo(a.find(".slotholder"));var o=t.data();t.closest(".slotholder").data(o),n.length>0&&o.bgparallax!=undefined&&(n.data("bgparallax",o.bgparallax),n.data("showcoveronpause","on")),"none"!=i.dottedOverlay&&i.dottedOverlay!=undefined&&t.closest(".slotholder").append('<div class="tp-dottedoverlay '+i.dottedOverlay+'"></div>');var s=t.attr("src");o.src=s,o.bgfit=o.bgfit||"cover",o.bgrepeat=o.bgrepeat||"no-repeat",o.bgposition=o.bgposition||"center center";t.closest(".slotholder");var l=t.data("bgcolor"),d="";d=l!==undefined&&l.indexOf("gradient")>=0?'"background:'+l+';width:100%;height:100%;"':'"background-color:'+l+";background-repeat:"+o.bgrepeat+";background-image:url("+s+");background-size:"+o.bgfit+";background-position:"+o.bgposition+';width:100%;height:100%;"',t.data("mediafilter",r),r="on"===t.data("kenburns")?"":r;var c=jQuery('<div class="tp-bgimg defaultimg '+r+'" data-bgcolor="'+l+'" style='+d+"></div>");t.parent().append(c);var u=document.createComment("Runtime Modification - Img tag is Still Available for SEO Goals in Source - "+t.get(0).outerHTML);t.replaceWith(u),c.data(o),c.attr("src",s),"standard"!==i.sliderType&&"undefined"!==i.sliderType||c.css({opacity:0})}),i.scrolleffect.on&&"on"===i.scrolleffect.on_slidebg&&(i.allslotholder=new Array,i.allli.find(".slotholder").each(function(){jQuery(this).wrap('<div style="display:block;position:absolute;top:0px;left:0px;width:100%;height:100%" class="slotholder_fadeoutwrap"></div>')}),i.allslotholder=i.c.find(".slotholder_fadeoutwrap"))},removeSlots=function(e,i,t,a){i.removePrepare=i.removePrepare+a,t.find(".slot, .slot-circle-wrapper").each(function(){jQuery(this).remove()}),i.transition=0,i.removePrepare=0},cutParams=function(e){var i=e;return e!=undefined&&e.length>0&&(i=e.split("?")[0]),i},relativeRedir=function(e){return location.pathname.replace(/(.*)\/[^/]*/,"$1/"+e)},abstorel=function(e,i){var t=e.split("/"),a=i.split("/");t.pop();for(var n=0;n<a.length;n++)"."!=a[n]&&(".."==a[n]?t.pop():t.push(a[n]));return t.join("/")},imgLoaded=function(e,i,t){i.syncload--,i.loadqueue&&jQuery.each(i.loadqueue,function(i,a){var n=a.src.replace(/\.\.\/\.\.\//gi,""),r=self.location.href,o=document.location.origin,s=r.substring(0,r.length-1)+"/"+n,l=o+"/"+n,d=abstorel(self.location.href,a.src);r=r.substring(0,r.length-1)+n,(cutParams(o+=n)===cutParams(decodeURIComponent(e.src))||cutParams(r)===cutParams(decodeURIComponent(e.src))||cutParams(d)===cutParams(decodeURIComponent(e.src))||cutParams(l)===cutParams(decodeURIComponent(e.src))||cutParams(s)===cutParams(decodeURIComponent(e.src))||cutParams(a.src)===cutParams(decodeURIComponent(e.src))||cutParams(a.src).replace(/^.*\/\/[^\/]+/,"")===cutParams(decodeURIComponent(e.src)).replace(/^.*\/\/[^\/]+/,"")||"file://"===window.location.origin&&cutParams(e.src).match(new RegExp(n)))&&(a.progress=t,a.width=e.width,a.height=e.height)}),progressImageLoad(i)},progressImageLoad=function(e){3!=e.syncload&&e.loadqueue&&jQuery.each(e.loadqueue,function(i,t){if(t.progress.match(/prepared/g)&&e.syncload<=3){if(e.syncload++,"img"==t.type){var a=new Image;a.onload=function(){imgLoaded(this,e,"loaded"),t.error=!1},a.onerror=function(){imgLoaded(this,e,"failed"),t.error=!0},a.src=t.src}else jQuery.get(t.src,function(i){t.innerHTML=(new XMLSerializer).serializeToString(i.documentElement),t.progress="loaded",e.syncload--,progressImageLoad(e)}).fail(function(){t.progress="failed",e.syncload--,progressImageLoad(e)});t.progress="inload"}})},addToLoadQueue=function(e,i,t,a,n){var r=!1;if(i.loadqueue&&jQuery.each(i.loadqueue,function(i,t){t.src===e&&(r=!0)}),!r){var o=new Object;o.src=e,o.starttoload=jQuery.now(),o.type=a||"img",o.prio=t,o.progress="prepared",o.static=n,i.loadqueue.push(o)}},loadImages=function(e,i,t,a){e.find("img,.defaultimg, .tp-svg-layer").each(function(){var e=jQuery(this),n=e.data("lazyload")!==undefined&&"undefined"!==e.data("lazyload")?e.data("lazyload"):e.data("svg_src")!=undefined?e.data("svg_src"):e.attr("src"),r=e.data("svg_src")!=undefined?"svg":"img";e.data("start-to-load",jQuery.now()),addToLoadQueue(n,i,t,r,a)}),progressImageLoad(i)},getLoadObj=function(e,i){var t=new Object;return e.loadqueue&&jQuery.each(e.loadqueue,function(e,a){a.src==i&&(t=a)}),t},waitForCurrentImages=function(e,i,t){var a=!1;e.find("img,.defaultimg, .tp-svg-layer").each(function(){var t=jQuery(this),n=t.data("lazyload")!=undefined?t.data("lazyload"):t.data("svg_src")!=undefined?t.data("svg_src"):t.attr("src"),r=getLoadObj(i,n);if(t.data("loaded")===undefined&&r!==undefined&&r.progress&&r.progress.match(/loaded/g)){if(t.attr("src",r.src),"img"==r.type)if(t.hasClass("defaultimg"))_R.isIE(8)?defimg.attr("src",r.src):-1==r.src.indexOf("images/transparent.png")&&-1==r.src.indexOf("assets/transparent.png")||t.data("bgcolor")===undefined?t.css({backgroundImage:'url("'+r.src+'")'}):t.data("bgcolor")!==undefined&&t.css({background:t.data("bgcolor")}),e.data("owidth",r.width),e.data("oheight",r.height),e.find(".slotholder").data("owidth",r.width),e.find(".slotholder").data("oheight",r.height);else{var o=t.data("ww"),s=t.data("hh");t.data("owidth",r.width),t.data("oheight",r.height),o=o==undefined||"auto"==o||""==o?r.width:o,s=s==undefined||"auto"==s||""==s?r.height:s,!jQuery.isNumeric(o)&&o.indexOf("%")>0&&(s=o),t.data("ww",o),t.data("hh",s)}else"svg"==r.type&&"loaded"==r.progress&&(t.append('<div class="tp-svg-innercontainer"></div>'),t.find(".tp-svg-innercontainer").append(r.innerHTML));t.data("loaded",!0)}if(r&&r.progress&&r.progress.match(/inprogress|inload|prepared/g)&&(!r.error&&jQuery.now()-t.data("start-to-load")<5e3?a=!0:(r.progress="failed",r.reported_img||(r.reported_img=!0,console.warn(n+"  Could not be loaded !")))),1==i.youtubeapineeded&&(!window.YT||YT.Player==undefined)&&(a=!0,jQuery.now()-i.youtubestarttime>5e3&&1!=i.youtubewarning)){i.youtubewarning=!0;var l="YouTube Api Could not be loaded !";"https:"===location.protocol&&(l+=" Please Check and Renew SSL Certificate !"),console.error(l),i.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c;  font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+l+"</strong></div>")}if(1==i.vimeoapineeded&&!window.Vimeo&&(a=!0,jQuery.now()-i.vimeostarttime>5e3&&1!=i.vimeowarning)){i.vimeowarning=!0;l="Vimeo Api Could not be loaded !";"https:"===location.protocol&&(l+=" Please Check and Renew SSL Certificate !"),console.error(l),i.c.append('<div style="position:absolute;top:50%;width:100%;color:#e74c3c;  font-size:16px; text-align:center; padding:15px;background:#000; display:block;"><strong>'+l+"</strong></div>")}}),!_ISM&&i.audioqueue&&i.audioqueue.length>0&&jQuery.each(i.audioqueue,function(e,i){i.status&&"prepared"===i.status&&jQuery.now()-i.start<i.waittime&&(a=!0)}),jQuery.each(i.loadqueue,function(e,i){!0!==i.static||"loaded"==i.progress&&"failed"!==i.progress||("failed"==i.progress?i.reported||(i.reported=!0,console.warn("Static Image "+i.src+"  Could not be loaded in time. Error Exists:"+i.error)):!i.error&&jQuery.now()-i.starttoload<5e3?a=!0:i.reported||(i.reported=!0,console.warn("Static Image "+i.src+"  Could not be loaded within 5s! Error Exists:"+i.error)))}),a?punchgs.TweenLite.delayedCall(.18,waitForCurrentImages,[e,i,t]):punchgs.TweenLite.delayedCall(.18,t)},swapSlide=function(e){var i=e[0].opt;if(clearTimeout(i.waitWithSwapSlide),e.find(".processing-revslide").length>0)return i.waitWithSwapSlide=setTimeout(function(){swapSlide(e)},150),!1;var t=e.find(".active-revslide"),a=e.find(".next-revslide"),n=a.find(".defaultimg");if("carousel"!==i.sliderType||i.carousel.fadein||(punchgs.TweenLite.to(i.ul,1,{opacity:1}),i.carousel.fadein=!0),a.index()===t.index()&&!0!==i.onlyPreparedSlide)return a.removeClass("next-revslide"),!1;!0===i.onlyPreparedSlide&&(i.onlyPreparedSlide=!1,jQuery(i.li[0]).addClass("processing-revslide")),a.removeClass("next-revslide").addClass("processing-revslide"),-1===a.index()&&"carousel"===i.sliderType&&(a=jQuery(i.li[0])),a.data("slide_on_focus_amount",a.data("slide_on_focus_amount")+1||1),"on"==i.stopLoop&&a.index()==i.lastslidetoshow-1&&(e.find(".tp-bannertimer").css({visibility:"hidden"}),e.trigger("revolution.slide.onstop"),i.noloopanymore=1),a.index()===i.slideamount-1&&(i.looptogo=i.looptogo-1,i.looptogo<=0&&(i.stopLoop="on")),i.tonpause=!0,e.trigger("stoptimer"),i.cd=0,"off"===i.spinner&&(i.loader!==undefined?i.loader.css({display:"none"}):i.loadertimer=setTimeout(function(){i.loader!==undefined&&i.loader.css({display:"block"})},50)),loadImages(a,i,1),_R.preLoadAudio&&_R.preLoadAudio(a,i,1),waitForCurrentImages(a,i,function(){a.find(".rs-background-video-layer").each(function(){var e=jQuery(this);e.hasClass("HasListener")||(e.data("bgvideo",1),_R.manageVideoLayer&&_R.manageVideoLayer(e,i)),0==e.find(".rs-fullvideo-cover").length&&e.append('<div class="rs-fullvideo-cover"></div>')}),swapSlideProgress(n,e)})},swapSlideProgress=function(e,i){var t=i.find(".active-revslide"),a=i.find(".processing-revslide"),n=t.find(".slotholder"),r=a.find(".slotholder"),o=i[0].opt;o.tonpause=!1,o.cd=0,clearTimeout(o.loadertimer),o.loader!==undefined&&o.loader.css({display:"none"}),_R.setSize(o),_R.slotSize(e,o),_R.manageNavigation&&_R.manageNavigation(o);var s={};s.nextslide=a,s.currentslide=t,i.trigger("revolution.slide.onbeforeswap",s),o.transition=1,o.videoplaying=!1,a.data("delay")!=undefined?(o.cd=0,o.delay=a.data("delay")):o.delay=o.origcd,"true"==a.data("ssop")||!0===a.data("ssop")?o.ssop=!0:o.ssop=!1,i.trigger("nulltimer");var l=t.index(),d=a.index();o.sdir=d<l?1:0,"arrow"==o.sc_indicator&&(0==l&&d==o.slideamount-1&&(o.sdir=1),l==o.slideamount-1&&0==d&&(o.sdir=0)),o.lsdir=o.lsdir===undefined?o.sdir:o.lsdir,o.dirc=o.lsdir!=o.sdir,o.lsdir=o.sdir,t.index()!=a.index()&&1!=o.firststart&&_R.removeTheCaptions&&_R.removeTheCaptions(t,o),a.hasClass("rs-pause-timer-once")||a.hasClass("rs-pause-timer-always")?o.videoplaying=!0:i.trigger("restarttimer"),a.removeClass("rs-pause-timer-once");var c;if(o.currentSlide=t.index(),o.nextSlide=a.index(),"carousel"==o.sliderType)c=new punchgs.TimelineLite,_R.prepareCarousel(o,c),letItFree(i,r,n,a,t,c),o.transition=0,o.firststart=0;else{(c=new punchgs.TimelineLite({onComplete:function(){letItFree(i,r,n,a,t,c)}})).add(punchgs.TweenLite.set(r.find(".defaultimg"),{opacity:0})),c.pause(),_R.animateTheCaptions&&_R.animateTheCaptions({slide:a,opt:o,preset:!0}),1==o.firststart&&(punchgs.TweenLite.set(t,{autoAlpha:0}),o.firststart=0),punchgs.TweenLite.set(t,{zIndex:18}),punchgs.TweenLite.set(a,{autoAlpha:0,zIndex:20}),"prepared"==a.data("differentissplayed")&&(a.data("differentissplayed","done"),a.data("transition",a.data("savedtransition")),a.data("slotamount",a.data("savedslotamount")),a.data("masterspeed",a.data("savedmasterspeed"))),a.data("fstransition")!=undefined&&"done"!=a.data("differentissplayed")&&(a.data("savedtransition",a.data("transition")),a.data("savedslotamount",a.data("slotamount")),a.data("savedmasterspeed",a.data("masterspeed")),a.data("transition",a.data("fstransition")),a.data("slotamount",a.data("fsslotamount")),a.data("masterspeed",a.data("fsmasterspeed")),a.data("differentissplayed","prepared")),a.data("transition")==undefined&&a.data("transition","random"),0;var u=a.data("transition")!==undefined?a.data("transition").split(","):"fade",p=a.data("nexttransid")==undefined?-1:a.data("nexttransid");"on"==a.data("randomtransition")?p=Math.round(Math.random()*u.length):p+=1,p==u.length&&(p=0),a.data("nexttransid",p);var f=u[p];o.ie&&("boxfade"==f&&(f="boxslide"),"slotfade-vertical"==f&&(f="slotzoom-vertical"),"slotfade-horizontal"==f&&(f="slotzoom-horizontal")),_R.isIE(8)&&(f=11),c=_R.animateSlide(0,f,i,a,t,r,n,c),"on"==r.data("kenburns")&&(_R.startKenBurn(r,o),c.add(punchgs.TweenLite.set(r,{autoAlpha:0}))),c.pause()}_R.scrollHandling&&(_R.scrollHandling(o,!0,0),c.eventCallback("onUpdate",function(){_R.scrollHandling(o,!0,0)})),"off"!=o.parallax.type&&o.parallax.firstgo==undefined&&_R.scrollHandling&&(o.parallax.firstgo=!0,o.lastscrolltop=-999,_R.scrollHandling(o,!0,0),setTimeout(function(){o.lastscrolltop=-999,_R.scrollHandling(o,!0,0)},210),setTimeout(function(){o.lastscrolltop=-999,_R.scrollHandling(o,!0,0)},420)),_R.animateTheCaptions?"carousel"===o.sliderType&&"on"===o.carousel.showLayersAllTime?(jQuery.each(o.li,function(e){o.carousel.allLayersStarted?_R.animateTheCaptions({slide:jQuery(o.li[e]),opt:o,recall:!0}):o.li[e]===a?_R.animateTheCaptions({slide:jQuery(o.li[e]),maintimeline:c,opt:o,startslideanimat:0}):_R.animateTheCaptions({slide:jQuery(o.li[e]),opt:o,startslideanimat:0})}),o.carousel.allLayersStarted=!0):_R.animateTheCaptions({slide:a,opt:o,maintimeline:c,startslideanimat:0}):c!=undefined&&setTimeout(function(){c.resume()},30),punchgs.TweenLite.to(a,.001,{autoAlpha:1})},letItFree=function(e,i,t,a,n,r){var o=e[0].opt;"carousel"===o.sliderType||(o.removePrepare=0,punchgs.TweenLite.to(i.find(".defaultimg"),.001,{zIndex:20,autoAlpha:1,onComplete:function(){removeSlots(e,o,a,1)}}),a.index()!=n.index()&&punchgs.TweenLite.to(n,.2,{zIndex:18,autoAlpha:0,onComplete:function(){removeSlots(e,o,n,1)}})),e.find(".active-revslide").removeClass("active-revslide"),e.find(".processing-revslide").removeClass("processing-revslide").addClass("active-revslide"),o.act=a.index(),o.c.attr("data-slideactive",e.find(".active-revslide").data("index")),"scroll"!=o.parallax.type&&"scroll+mouse"!=o.parallax.type&&"mouse+scroll"!=o.parallax.type||(o.lastscrolltop=-999,_R.scrollHandling(o)),r.clear(),t.data("kbtl")!=undefined&&(t.data("kbtl").reverse(),t.data("kbtl").timeScale(25)),"on"==i.data("kenburns")&&(i.data("kbtl")!=undefined?(i.data("kbtl").timeScale(1),i.data("kbtl").play()):_R.startKenBurn(i,o)),a.find(".rs-background-video-layer").each(function(e){if(_ISM&&!o.fallbacks.allowHTML5AutoPlayOnAndroid)return!1;var i=jQuery(this);_R.resetVideo(i,o,!1,!0),punchgs.TweenLite.fromTo(i,1,{autoAlpha:0},{autoAlpha:1,ease:punchgs.Power3.easeInOut,delay:.2,onComplete:function(){_R.animcompleted&&_R.animcompleted(i,o)}})}),n.find(".rs-background-video-layer").each(function(e){if(_ISM)return!1;var i=jQuery(this);_R.stopVideo&&(_R.resetVideo(i,o),_R.stopVideo(i,o)),punchgs.TweenLite.to(i,1,{autoAlpha:0,ease:punchgs.Power3.easeInOut,delay:.2})});var s={};if(s.slideIndex=a.index()+1,s.slideLIIndex=a.index(),s.slide=a,s.currentslide=a,s.prevslide=n,o.last_shown_slide=n.index(),e.trigger("revolution.slide.onchange",s),e.trigger("revolution.slide.onafterswap",s),o.startWithSlide!==undefined&&"done"!==o.startWithSlide&&"carousel"===o.sliderType){for(var l=o.startWithSlide,d=0;d<=o.li.length-1;d++){jQuery(o.li[d]).data("originalindex")===o.startWithSlide&&(l=d)}0!==l&&_R.callingNewSlide(o.c,l),o.startWithSlide="done"}o.duringslidechange=!1;var c=n.data("slide_on_focus_amount"),u=n.data("hideafterloop");0!=u&&u<=c&&o.c.revremoveslide(n.index());var p=-1===o.nextSlide||o.nextSlide===undefined?0:o.nextSlide;o.rowzones!=undefined&&(p=p>o.rowzones.length?o.rowzones.length:p),o.rowzones!=undefined&&o.rowzones.length>0&&o.rowzones[p]!=undefined&&p>=0&&p<=o.rowzones.length&&o.rowzones[p].length>0&&_R.setSize(o)},removeAllListeners=function(e,i){e.children().each(function(){try{jQuery(this).die("click")}catch(e){}try{jQuery(this).die("mouseenter")}catch(e){}try{jQuery(this).die("mouseleave")}catch(e){}try{jQuery(this).unbind("hover")}catch(e){}});try{e.die("click","mouseenter","mouseleave")}catch(e){}clearInterval(i.cdint),e=null},countDown=function(e,i){i.cd=0,i.loop=0,i.stopAfterLoops!=undefined&&i.stopAfterLoops>-1?i.looptogo=i.stopAfterLoops:i.looptogo=9999999,i.stopAtSlide!=undefined&&i.stopAtSlide>-1?i.lastslidetoshow=i.stopAtSlide:i.lastslidetoshow=999,i.stopLoop="off",0==i.looptogo&&(i.stopLoop="on");var t=e.find(".tp-bannertimer");e.on("stoptimer",function(){var e=jQuery(this).find(".tp-bannertimer");e[0].tween.pause(),"on"==i.disableProgressBar&&e.css({visibility:"hidden"}),i.sliderstatus="paused",_R.unToggleState(i.slidertoggledby)}),e.on("starttimer",function(){i.forcepause_viatoggle||(1!=i.conthover&&1!=i.videoplaying&&i.width>i.hideSliderAtLimit&&1!=i.tonpause&&1!=i.overnav&&1!=i.ssop&&(1===i.noloopanymore||i.viewPort.enable&&!i.inviewport||(t.css({visibility:"visible"}),t[0].tween.resume(),i.sliderstatus="playing")),"on"==i.disableProgressBar&&t.css({visibility:"hidden"}),_R.toggleState(i.slidertoggledby))}),e.on("restarttimer",function(){if(!i.forcepause_viatoggle){var e=jQuery(this).find(".tp-bannertimer");if(i.mouseoncontainer&&"on"==i.navigation.onHoverStop&&!_ISM)return!1;1===i.noloopanymore||i.viewPort.enable&&!i.inviewport||1==i.ssop||(e.css({visibility:"visible"}),e[0].tween.kill(),e[0].tween=punchgs.TweenLite.fromTo(e,i.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:a,delay:1}),i.sliderstatus="playing"),"on"==i.disableProgressBar&&e.css({visibility:"hidden"}),_R.toggleState(i.slidertoggledby)}}),e.on("nulltimer",function(){t[0].tween.kill(),t[0].tween=punchgs.TweenLite.fromTo(t,i.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:a,delay:1}),t[0].tween.pause(0),"on"==i.disableProgressBar&&t.css({visibility:"hidden"}),i.sliderstatus="paused"});var a=function(){0==jQuery("body").find(e).length&&(removeAllListeners(e,i),clearInterval(i.cdint)),e.trigger("revolution.slide.slideatend"),1==e.data("conthover-changed")&&(i.conthover=e.data("conthover"),e.data("conthover-changed",0)),_R.callingNewSlide(e,1)};t[0].tween=punchgs.TweenLite.fromTo(t,i.delay/1e3,{width:"0%"},{force3D:"auto",width:"100%",ease:punchgs.Linear.easeNone,onComplete:a,delay:1}),i.slideamount>1&&(0!=i.stopAfterLoops||1!=i.stopAtSlide)?e.trigger("starttimer"):(i.noloopanymore=1,e.trigger("nulltimer")),e.on("tp-mouseenter",function(){i.mouseoncontainer=!0,"on"!=i.navigation.onHoverStop||_ISM||(e.trigger("stoptimer"),e.trigger("revolution.slide.onpause"))}),e.on("tp-mouseleft",function(){i.mouseoncontainer=!1,1!=e.data("conthover")&&"on"==i.navigation.onHoverStop&&(1==i.viewPort.enable&&i.inviewport||0==i.viewPort.enable)&&(e.trigger("revolution.slide.onresume"),e.trigger("starttimer"))})},vis=function(){var e,i,t={hidden:"visibilitychange",webkitHidden:"webkitvisibilitychange",mozHidden:"mozvisibilitychange",msHidden:"msvisibilitychange"};for(e in t)if(e in document){i=t[e];break}return function(t){return t&&document.addEventListener(i,t,{pasive:!0}),!document[e]}}(),restartOnFocus=function(){jQuery(".rev_redraw_on_blurfocus").each(function(){var e=jQuery(this)[0].opt;if(e==undefined||e.c==undefined||0===e.c.length)return!1;1!=e.windowfocused&&(e.windowfocused=!0,punchgs.TweenLite.delayedCall(.3,function(){"on"==e.fallbacks.nextSlideOnWindowFocus&&e.c.revnext(),e.c.revredraw(),"playing"==e.lastsliderstatus&&e.c.revresume()}))})},lastStatBlur=function(){jQuery(".rev_redraw_on_blurfocus").each(function(){var e=jQuery(this)[0].opt;e.windowfocused=!1,e.lastsliderstatus=e.sliderstatus,e.c.revpause();var i=e.c.find(".active-revslide .slotholder"),t=e.c.find(".processing-revslide .slotholder");"on"==t.data("kenburns")&&_R.stopKenBurn(t,e),"on"==i.data("kenburns")&&_R.stopKenBurn(i,e)})},tabBlurringCheck=function(){var e=document.documentMode===undefined,i=window.chrome;1!==jQuery("body").data("revslider_focus_blur_listener")&&(jQuery("body").data("revslider_focus_blur_listener",1),e&&!i?jQuery(window).on("focusin",function(){restartOnFocus()}).on("focusout",function(){lastStatBlur()}):window.addEventListener?(window.addEventListener("focus",function(e){restartOnFocus()},{capture:!1,passive:!0}),window.addEventListener("blur",function(e){lastStatBlur()},{capture:!1,passive:!0})):(window.attachEvent("focus",function(e){restartOnFocus()}),window.attachEvent("blur",function(e){lastStatBlur()})))},getUrlVars=function(e){for(var i,t=[],a=window.location.href.slice(window.location.href.indexOf(e)+1).split("_"),n=0;n<a.length;n++)a[n]=a[n].replace("%3D","="),i=a[n].split("="),t.push(i[0]),t[i[0]]=i[1];return t}}(jQuery);