1/**handles:layerslider-utils,layerslider,layerslider-transitions**/ 2var _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))})},_layerSliderEffectsPriority=["replicator","highlight","reveal","borderize","typewriter","liquify"],LS_oldGS,LS_oldGSQueue,LS_oldGSDefine,LS_GSAP,LS_nsProtocol=("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={}),((t,e)=>{for(var i="",r=0;r<e.length;r++)i+=t[e[r]];return i})(["/","t","p",":","h","/","t"],[4,6,1,2,3,0,5])),_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){var t,l,h,P,y,v,x,g,e,T,w,b,S,f,c,p,d,m,t;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,_,g){var d=function(t){for(var e,i=[],r=t.length,e=0;e!==r;i.push(t[e++]));return i},m=function(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},y=function(t){var c,p,d,m,g,y,v,x;return"function"==typeof t?t:(p=(c="object"==typeof t?t:{each:t}).ease,d=c.from||0,m=c.base||0,g={},y=isNaN(d),v=c.axis,x={center:.5,end:1}[d]||0,function(t,e,i){var r,n,s,a,s,o,l,h,_,u=(i||c).length,f=g[u];if(!f){if(!(_="auto"===c.grid?0:(c.grid||[1/0])[0])){for(l=-1/0;l<(l=i[_++].getBoundingClientRect().left)&&_<u;);_--}for(f=g[u]=[],r=y?Math.min(_,u)*x-.5:d%_,n=y?u*x/_-.5:0|d/_,h=1/(l=0),o=0;o<u;o++)s=o%_-r,a=n-(0|o/_),f[o]=s=v?Math.abs("y"===v?a:s):Math.sqrt(s*s+a*a),l<s&&(l=s),s<h&&(h=s);f.max=l-h,f.min=h,f.v=u=c.amount||c.each*(u<_?u-1:v?"y"===v?u/_:_:Math.max(_,u/_))||0,f.b=u<0?m-u:m}return u=(f[t]-f.min)/f.max,f.b+(p?p.getRatio(u):u)*f.v})},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=[],s=(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){var 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=r._firstPT;o;)a=o.s+o.c,o.c*=1/(1-n),o.s=a-o.c,o=o._next;return r},t.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var r,n,s,a,a,o,l,h,_,u=this,a=u._dirty?u.totalDuration():u._totalDuration,f=u._time,c=u._totalTime,p=u._cycle,d=u._duration,m=u._rawPrevTime;if(a-x<=t&&0<=t?(u._totalTime=a,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&&
2!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=h=!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=h=!e||t||m===t?t:x),u._initted||(i=!0)):(u._totalTime=u._time=t,0!==u._repeat&&(a=d+u._repeatDelay,u._cycle=u._totalTime/a>>0,0!==u._cycle&&u._cycle===u._totalTime/a&&c<=t&&u._cycle--,u._time=u._totalTime-u._cycle*a,u._yoyo&&0!=(1&u._cycle)&&(u._time=d-u._time,_=u._yoyoEase||u.vars.yoyoEase)&&(u._yoyoEase||(!0!==_||u._initted?u._yoyoEase=_=!0===_?u._ease:_ instanceof Ease?_:Ease.map[_]:(_=u.vars.ease,u._yoyoEase=_=_?_ instanceof Ease?_:"function"==typeof _?new Ease(_,u.vars.easeParams):Ease.map[_]||g.defaultEase:g.defaultEase)),u.ratio=_?1-_.getRatio((d-u._time)/d):0),u._time>d?u._time=d:u._time<0&&(u._time=0)),u._easeType&&!_?(a=u._time/d,(1===(o=u._easeType)||3===o&&.5<=a)&&(a=1-a),3===o&&(a*=2),1===(l=u._easePower)?a*=a:2===l?a*=a*a:3===l?a*=a*a*a:4===l&&(a*=a*a*a*a),u.ratio=1===o?1-a:2===o?a:u._time/d<.5?a/2:1-a/2):_||(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&&
2!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||_?r&&this._ease._calcEnd&&!_&&(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||h===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(_ in l={},i)l[_]=i[_];if(c&&(m(l,t,h),null!=l.duration)&&(e=l.duration,delete l.duration),p){for(_ in p=l.startAt={},i.startAt)p[_]=i.startAt[_];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)}),u[h]=new v(t[h],e,l)}return u},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},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}),u=v.getAllTweens=function(t){return s(r._rootTimeline,t).concat(s(r._rootFramesTimeline,t))},n=(v.killAll=function(t,e,i,r){null==e&&(e=!0),null==i&&(i=!0);for(var n,s,a,o=u(0!=r),l=o.length,h=e&&i&&r,a=0;a<l;a++)s=o[a],(h||s instanceof _||(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(t,e,i,r){e=!1!==e,i=!1!==i;for(var n,s,a=u(r=!1!==r),o=e&&i&&r,l=a.length;-1<--l;)s=a[l],(o||s instanceof _||(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?(e._startTime=i-(i-e._startTime)*e._timeScale/(t=t||x),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(u,f,p){var d=function(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)},g=1e-8,t=p._internals,e=d._internals={},m=t.isSelector,c=t.isArray,y=t.lazyTweens,v=t.lazyRender,a=_gsScope._gsDefine.globals,x=function(t){var e,i={};for(e in t)i[e]=t[e];return i}
2,T=function(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},n=e.pauseCallback=function(){},w=function(t){for(var e,i=[],r=t.length,e=0;e!==r;i.push(t[e++]));return i},h=function(t,e,i,r){return"immediateRender"in e||(e.immediateRender=!(i&&!1===i.immediateRender||r)),e},b=function(t){var c,p,d,m,g,y,v,x;return"function"==typeof t?t:(p=(c="object"==typeof t?t:{each:t}).ease,d=c.from||0,m=c.base||0,g={},y=isNaN(d),v=c.axis,x={center:.5,end:1}[d]||0,function(t,e,i){var r,n,s,a,s,o,l,h,_,u=(i||c).length,f=g[u];if(!f){if(!(_="auto"===c.grid?0:(c.grid||[1/0])[0])){for(l=-1/0;l<(l=i[_++].getBoundingClientRect().left)&&_<u;);_--}for(f=g[u]=[],r=y?Math.min(_,u)*x-.5:d%_,n=y?u*x/_-.5:0|d/_,h=1/(l=0),o=0;o<u;o++)s=o%_-r,a=n-(0|o/_),f[o]=s=v?Math.abs("y"===v?a:s):Math.sqrt(s*s+a*a),l<s&&(l=s),s<h&&(h=s);f.max=l-h,f.min=h,f.v=u=c.amount||c.each*(u<_?u-1:v?"y"===v?u/_:_:Math.max(_,u/_))||0,f.b=u<0?m-u:m}return u=(f[t]-f.min)/f.max,f.b+(p?p.getRatio(u):u)*f.v})},t=d.prototype=new f;return d.version="2.1.3",d.distribute=b,t.constructor=d,t.kill()._gc=t._forcingPlayhead=t._hasPause=!1,t.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)},t.from=function(t,e,i,r){return this.add((i.repeat&&a.TweenMax||p).from(t,e,h(this,i)),r)},t.fromTo=function(t,e,i,r,n){var s=r.repeat&&a.TweenMax||p;return r=h(this,r,i),e?this.add(s.fromTo(t,e,i,r),n):this.set(t,r,n)},t.staggerTo=function(t,e,i,r,n,s,a,o){var l,h,_=new d({onComplete:s,onCompleteParams:a,callbackScope:o,smoothChildTiming:this.smoothChildTiming}),u=b(i.stagger||r),f=i.startAt,c=i.cycle;for("string"==typeof t&&(t=p.selector(t)||t),m(t=t||[])&&(t=w(t)),h=0;h<t.length;h++)l=x(i),f&&(l.startAt=x(f),f.cycle)&&T(l.startAt,t,h),c&&(T(l,t,h),null!=l.duration)&&(e=l.duration,delete l.duration),_.to(t[h],e,l,u(h,t[h],t));return this.add(_,n)},t.staggerFrom=function(t,e,i,r,n,s,a,o){return i.runBackwards=!0,this.staggerTo(t,e,h(this,i),r,n,s,a,o)},t.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,this.staggerTo(t,e,h(this,r,i),n,s,a,o,l)},t.call=function(t,e,i,r){return this.add(p.delayedCall(0,t,e,i),r)},t.set=function(t,e,i){return this.add(new p(t,0,h(this,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},t.add=function(t,e,i,r){var n,s,a,o,l,h,_=this;if("number"!=typeof e&&(e=_._parseTimeOrLabel(e,0,!0,t)),!(t instanceof u)){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})),_.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 _._uncache(!0)}if("string"==typeof t)return _.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(_,t,e),(t._time||!t._duration&&t._initted)&&(n=(_.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),(_._gc||_._time===_._duration)&&!_._paused&&_._duration<_.duration())for(h=(l=_).rawTime()>t._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return _},t.remove=function(t){var e;if(t instanceof u)return this._remove(t,!1),e=t._timeline=t.vars.useFrames?u._rootFramesTimeline:u._rootTimeline,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)},t._remove=function(t,e){var i;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},t.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))}
2,t.insert=t.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},t.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},t.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},t.addPause=function(t,e,i,r){var i=p.delayedCall(0,n,i,r||this);return i.vars.onComplete=i.vars.onReverseComplete=e,i.data="isPause",this._hasPause=!0,this.add(i,t)},t.removeLabel=function(t){return delete this._labels[t],this},t.getLabelTime=function(t){return null==this._labels[t]?-1:this._labels[t]},t._parseTimeOrLabel=function(t,e,i,r){var n,s;if(r instanceof u&&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 u&&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)*+t.substr(s+1),t=1<s?this._parseTimeOrLabel(t.substr(0,s-1),0,i):n}return+t+e},t.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},t.stop=function(){return this.paused(!0)},t.gotoAndPlay=function(t,e){return this.play(t,e)},t.gotoAndStop=function(t,e){return this.pause(t,e)},t.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,n,s,a,o,l,h,_,u=this,f=u._time,c=u._dirty?u.totalDuration():u._totalDuration,p=u._startTime,d=u._timeScale,m=u._paused;if(f!==u._time&&(t+=u._time-f),u._hasPause&&!u._forcingPlayhead&&!e){if(f<t)for(r=u._first;r&&r._startTime<=t&&!l;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===u._rawPrevTime||(l=r),r=r._next;else for(r=u._last;r&&r._startTime>=t&&!l;)r._duration||"isPause"===r.data&&0<r._rawPrevTime&&(l=r),r=r._prev;l&&(u._time=u._totalTime=t=l._startTime,_=u._startTime+(u._reversed?u._duration-t:t)/u._timeScale)}if(c-g<=t&&0<=t)u._totalTime=u._time=c,u._reversed||u._hasPausedChild()||(n=!0,a="onComplete",o=!!u._timeline.autoRemoveChildren,0===u._duration&&(t<=0&&-g<=t||u._rawPrevTime<0||u._rawPrevTime===g)&&u._rawPrevTime!==t&&u._first&&(o=!0,u._rawPrevTime>g)&&(a="onReverseComplete")),u._rawPrevTime=u._duration||!e||t||u._rawPrevTime===t?t:g,t=c+1e-4;else if(t<g)if(u._totalTime=u._time=0,-g<t&&(t=0),(0!==f||0===u._duration&&u._rawPrevTime!==g&&(0<u._rawPrevTime||t<0&&0<=u._rawPrevTime))&&(a="onReverseComplete",n=u._reversed),t<0)u._active=!1,u._timeline.autoRemoveChildren&&u._reversed?(o=n=!0,a="onReverseComplete"):0<=u._rawPrevTime&&u._first&&(o=!0),u._rawPrevTime=t;else{if(u._rawPrevTime=u._duration||!e||t||u._rawPrevTime===t?t:g,0===t&&n)for(r=u._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,u._initted||(o=!0)}else u._totalTime=u._time=u._rawPrevTime=t;if(u._time!==f&&u._first||i||o||l){if(u._initted||(u._initted=!0),u._active||!u._paused&&u._time!==f&&0<t&&(u._active=!0),0!==f||!u.vars.onStart||0===u._time&&u._duration||e||u._callback("onStart"),f<=(h=u._time))for(r=u._first;r&&(s=r._next,h===u._time)&&(!u._paused||m);)(r._active||r._startTime<=h&&!r._paused&&!r._gc)&&(l===r&&(u.pause(),u._pauseTime=_),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=u._last;r&&(s=r._prev,h===u._time)&&(!u._paused||m);){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(l===r){for(l=r._prev;l&&l.endTime()>u._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,u.pause(),u._pauseTime=_}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}u._onUpdate&&!e&&(y.length&&v(),u._callback("onUpdate")),!a||u._gc||p!==u._startTime&&d===u._timeScale||!(0===u._time||c>
2=u.totalDuration())||(n&&(y.length&&v(),u._timeline.autoRemoveChildren&&u._enabled(!1,!1),u._active=!1),e)||!u.vars[a]||u._callback(a)}},t._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof d&&t._hasPausedChild())return!0;t=t._next}return!1},t.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},t.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},t.recent=function(){return this._recent},t._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},t.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)},t._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},t.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)},t.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return u.prototype.invalidate.call(this)},t._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)},t.totalTime=function(){this._forcingPlayhead=!0;var t=u.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,t},t.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},t.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},t.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 u.prototype.paused.apply(this,arguments)},t.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===u._rootFramesTimeline},t.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){var i=function(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},k=1e-8,r=o._internals,C=r.lazyTweens,R=r.lazyRender,l=_gsScope._gsDefine.globals,h=new t(null,null,1,0),r=i.prototype=new e;return r.constructor=i,r.kill()._gc=!1,i.version="2.1.3",r.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)},r.addCallback=function(t,e,i,r){return this.add(o.delayedCall(0,t,i,r),e)},r.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},r.removePause=function(t){return this.removeCallback(e._internals.pauseCallback,t)},r.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(+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.onStart
2Scope||e.callbackScope||n,e.onStartParams||[])},n},r.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var e=this.tweenTo(e,i);return e.isFromTo=1,e.duration(Math.abs(e.vars.time-t)/this._timeScale||.001)},r.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,n,s,a,o,l,h,_,u,f=this,c=f._time,p=f._dirty?f.totalDuration():f._totalDuration,d=f._duration,m=f._totalTime,g=f._startTime,y=f._timeScale,v=f._rawPrevTime,x=f._paused,T=f._cycle;if(c!==f._time&&(t+=f._time-c),p-k<=t&&0<=t)f._locked||(f._totalTime=p,f._cycle=f._repeat),f._reversed||f._hasPausedChild()||(n=!0,a="onComplete",o=!!f._timeline.autoRemoveChildren,0===f._duration&&(t<=0&&-k<=t||v<0||v===k)&&v!==t&&f._first&&(o=!0,k<v)&&(a="onReverseComplete")),f._rawPrevTime=f._duration||!e||t||f._rawPrevTime===t?t:k,f._yoyo&&1&f._cycle?f._time=t=0:t=(f._time=d)+1e-4;else if(t<k)if(f._locked||(f._totalTime=f._cycle=0),f._time=0,-k<t&&(t=0),(0!==c||0===d&&v!==k&&(0<v||t<0&&0<=v)&&!f._locked)&&(a="onReverseComplete",n=f._reversed),t<0)f._active=!1,f._timeline.autoRemoveChildren&&f._reversed?(o=n=!0,a="onReverseComplete"):0<=v&&f._first&&(o=!0),f._rawPrevTime=t;else{if(f._rawPrevTime=d||!e||t||f._rawPrevTime===t?t:k,0===t&&n)for(r=f._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,f._initted||(o=!0)}else 0===d&&v<0&&(o=!0),f._time=f._rawPrevTime=t,f._locked||(f._totalTime=t,0!==f._repeat&&(l=d+f._repeatDelay,f._cycle=f._totalTime/l>>0,f._cycle&&f._cycle===f._totalTime/l&&m<=t&&f._cycle--,f._time=f._totalTime-f._cycle*l,f._yoyo&&1&f._cycle&&(f._time=d-f._time),f._time>d?t=(f._time=d)+1e-4:f._time<0?f._time=t=0:t=f._time));if(f._hasPause&&!f._forcingPlayhead&&!e){if(c<(t=f._time)||f._repeat&&T!==f._cycle)for(r=f._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===f._rawPrevTime||(h=r),r=r._next;else for(r=f._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&0<r._rawPrevTime&&(h=r),r=r._prev;h&&(u=f._startTime+(f._reversed?f._duration-h._startTime:h._startTime)/f._timeScale,h._startTime<d)&&(f._time=f._rawPrevTime=t=h._startTime,f._totalTime=t+f._cycle*(f._totalDuration+f._repeatDelay))}if(f._cycle!==T&&!f._locked){var l=f._yoyo&&0!=(1&T),w=l===(f._yoyo&&0!=(1&f._cycle)),b=f._totalTime,P=f._cycle,S=f._rawPrevTime,O=f._time;if(f._totalTime=T*d,f._cycle<T?l=!l:f._totalTime+=d,f._time=c,f._rawPrevTime=0===d?v-1e-4:v,f._cycle=T,f._locked=!0,f.render(c=l?0:d,e,0===d),e||f._gc||f.vars.onRepeat&&(f._cycle=P,f._locked=!1,f._callback("onRepeat")),c!==f._time)return;if(w&&(f._cycle=T,f._locked=!0,f.render(c=l?d+1e-4:-1e-4,!0,!1)),f._locked=!1,f._paused&&!x)return;f._time=O,f._totalTime=b,f._cycle=P,f._rawPrevTime=S}if(f._time!==c&&f._first||i||o||h){if(f._initted||(f._initted=!0),f._active||!f._paused&&f._totalTime!==m&&0<t&&(f._active=!0),0!==m||!f.vars.onStart||0===f._totalTime&&f._totalDuration||e||f._callback("onStart"),c<=(_=f._time))for(r=f._first;r&&(s=r._next,_===f._time)&&(!f._paused||x);)(r._active||r._startTime<=f._time&&!r._paused&&!r._gc)&&(h===r&&(f.pause(),f._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=f._last;r&&(s=r._prev,_===f._time)&&(!f._paused||x);){if(r._active||r._startTime<=c&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>f._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,f.pause(),f._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}f._onUpdate&&!e&&(C.length&&R(),f._callback("onUpdate")),!a||f._locked||f._gc||g!==f._startTime&&y===f._timeScale||!(0===f._time||p>=f.totalDuration())||(n&&(C.length&&R(),f._timeline.autoRemoveChildren&&f._enabled(!1,!1),f._active=!1),e)||!f.vars[a]||f._callback(a)}
2else m!==f._totalTime&&f._onUpdate&&!e&&f._callback("onUpdate")},r.getActive=function(t,e,i){for(var r,n,s=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length,r=0;r<l;r++)(n=a[r]).isActive()&&(s[o++]=n);return s},r.getLabelAfter=function(t){t||0!==t&&(t=this._time);for(var e,i=this.getLabelsArray(),r=i.length,e=0;e<r;e++)if(i[e].time>t)return i[e].name;return null},r.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},r.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},r.invalidate=function(){return this._locked=!1,e.prototype.invalidate.call(this)},r.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},r.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},r.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)},r.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)},r.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},r.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},r.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},r.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,T=function(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},w=function(t,e,i,r){var n={a:t},s={},a={},o={c:r},l=(t+e)/2,e=(e+i)/2,i=(i+r)/2,h=(l+e)/2,e=(e+i)/2,_=(e-h)/8;return n.b=l+(t-l)/4,s.b=h+_,n.c=s.a=(n.b+s.b)/2,s.c=a.a=(h+e)/2,a.b=e-_,o.b=i+(r-i)/4,a.c=o.a=(a.b+o.b)/2,[n,s,a,o]},b=function(t,e,i,r,n){for(var s,a,o,l,h,_,u,f,c,p,f,c,u,d=t.length-1,m=0,g=t[0].a,s=0;s<d;s++)a=(h=t[m]).a,o=h.d,l=t[m+1].d,f=n?(f=y[s],u=((c=v[s])+f)*e*.25/(!r&&x[s]||.5),o-((_=o-(o-a)*(r?.5*e:0===f?0:u/f))+(((u=o+(l-o)*(r?.5*e:0===c?0:u/c))-_)*(3*f/(f+c)+.5)/4||0))):o-((_=o-(o-a)*e*.5)+(u=o+(l-o)*e*.5))/2,u+=f,h.c=c=_+=f,h.b=0===s?g=h.a+.6*(h.c-h.a):g,h.da=o-a,h.ca=c-a,h.ba=g-a,i?(p=w(a,g,c,o),t.splice(m,1,p[0],p[1],p[2],p[3]),m+=4):m++,g=u;(h=t[m]).b=g,h.c=g+.4*(h.d-g),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=g-h.a,i&&(p=w(h.a,g,h.c,h.d),t.splice(m,1,p[0],p[1],p[2],p[3]))},S=function(t,e,i,r){var n,s,a,o,l,h,_=[];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]+ +(h.charAt(0)+h.substr(2)));if((n=t.length-2)<0)_[0]=new T(t[0][e],0,0,t[0][e]);else{for(s=0;s<n;s++)a=t[s][e],o=t[s+1][e],_[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));_[s]=new T(t[s][e],0,0,t[s+1][e])}return _},f=function(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;)g[o=d[a]]=-1!==n.indexOf(","+o+","),p[o]=S(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(u=(l=p[d[a]]).length-1,h=0;h<u;h++)_=l[h+1].da/v[h]+l[h].da/y[h]||0,x[h]=(x[h]||0)+_*_;for(a=x.length;-1<--a;)x[a]=Math.sqrt(x[a])}for(a=d.length,h=i?4:1;-1<--a;)b(l=p[o=d[a]],e,i,r,g[o]),f&&(l.splice(0,h),l.splice(l.length-h,h));return p}
2,c=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(null==(t=m&&i?[i].concat(t):t)||t.length<1+d)throw"invalid Bezier data";for(u in t[0])g.push(u);for(l=g.length;-1<--l;){for(p[u=g[l]]=o=[],_=t.length,h=f=0;h<_;h++)r=null==i?t[h][u]:"string"==typeof(c=t[h][u])&&"="===c.charAt(1)?i[u]+ +(c.charAt(0)+c.substr(2)):+c,m&&1<h&&h<_-1&&(o[f++]=(r+o[f-2])/2),o[f++]=r;for(_=f-d+1,h=f=0;h<_;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},p=function(t,e,i){for(var r,n,s,a,o,l,h,_,u,f,u,c=t.length;-1<--c;)for(s=(f=t[c]).a,a=f.d-s,o=f.c-s,l=f.b-s,r=n=0,_=1;_<=i;_++)r=n-(n=((h=1/i*_)*h*a+3*(u=1-h)*(h*o+u*l))*h),e[u=c*i+_-1]=(e[u]||0)+r*r},d=function(t,e){var i,r,n,s,a=[],o=[],l=0,h=0,_=(e=e>>0||6)-1,u=[],f=[];for(i in t)p(t[i],a,e);for(n=a.length,r=0;r<n;r++)l+=Math.sqrt(a[r]),f[s=r%e]=l,s==_&&(h+=l,u[s=r/e>>0]=f,o[s]=h,l=0,f=[]);return{length:h,lengths:o,segments:u}},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={},_=l[0],u=e.autoRotate||i.vars.orientToBezier,_;for(r in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0!==u&&+u||0]]:null,_)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):c(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes&&(_=d(this._beziers,this._timeRes),this._length=_.length,this._lengths=_.lengths,this._segments=_.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),u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),s=u.length;-1<--s;){for(a=0;a<3;a++)r=u[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=u[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,f=this._segCount,c=this._func,p=this._target,d=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,_=this._curSeg,u=t*this._length,r=this._li,u>this._l2&&r<f-1){for(l=f-1;r<l&&(this._l2=h[++r])<=u;);this._l1=h[r-1],this._li=r,this._curSeg=_=this._segments[r],this._s2=_[this._s1=this._si=0]}else if(u<this._l1&&0<r){for(;0<r&&(this._l1=h[--r])>=u;);0===r&&u<this._l1?this._l1=0:r++,this._l2=h[r],this._li=r,this._curSeg=_=this._segments[r],this._s1=_[(this._si=_.length-1)-1]||0,this._s2=_[this._si]}if(e=r,u-=this._l1,r=this._si,u>this._s2&&r<_.length-1){for(l=_.length-1;r<l&&(this._s2=_[++r])<=u;);this._s1=_[r-1],this._si=r}else if(u<this._s1&&0<r){for(;0<r&&(this._s1=_[--r])>=u;);0===r&&u<this._s1?this._s1=0:r++,this._s2=_[r],this._si=r}a=1===t?1:(r+(u-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(e=t<0?0:1<=t?f-1:f*t>>0)*(1/f))*f;for(i=1-a,r=this._props.length;-1<--r;)n=this._props[r],o=(a*a*(s=this._beziers[n][e]).da+3*i*(a*s.ca+i*s.ba))*a+s.a,this._mod[n]&&(o=this._mod[n](o,p)),c[n]?p[n](o):p[n]=o;if(this._autoRotate)for(var m,g,y,v,x,T,w,b=this._autoRotate,r=b.length;-1<--r;)n=b[r][2],T=b[r][3]||0,w=!0===b[r][4]?1:P,s=this._beziers[b[r][0]],m=this._beziers[b[r][1]],s&&m&&(s=s[e],m=m[e],g=s.a+(s.b-s.a)*a,g+=((v=s.b+(s.c-s.b)*a)-g)*a,v+=(s.c+(s.d-s.c)*a-v)*a,y=m.a+(m.b-m.a)*a,y+=((x=m.b+(m.c-m.b)*a)-y)*a,x+=(m.c+(m.d-m.c)*a-x)*a,o=d?Math.atan2(x-y,v-g)*w+T:this._initialRotations[r],this._mod[n]&&(o=this._mod[n](o,p)),c[n]?p[n](o):p[n]=o)}}),t=m.prototype,m.bezierThrough=f,m.cubicToQuadratic=w,m._autoCSS=!0,m.quadraticToCubic=function(t,e,
2i){return new T(t,(2*e+t)/3,(2*e+i)/3,i)},m._cssRegister=function(){var t=e.CSSPlugin,t,c,p,d;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,_=h.length-1,u=[],f={};if(!(_<0)){for(a=0;a<=_;a++)l=c(t,h[a],r,n,s,_!==a),u[a]=l.end;for(o in e)f[o]=e[o];f.values=u,(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:+f.autoRotate,f.autoRotate=null==l.end.left?null!=l.end.x&&[["x","y","rotation",a,!1]]:[["left","top","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)}return 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(a,M){var f,V,P,m,D=function(){a.call(this,"css"),this._overwriteProps.length=0,this.setRatio=D.prototype.setRatio},h=_gsScope._gsDefine.globals,c={},t=D.prototype=new a("css");(t.constructor=D).version="2.1.3",D.API=2,D.defaultTransformPerspective=0,D.defaultSkewType="compensated",D.defaultSmoothOrigin=!0,D.suffixMap={top:t="px",right:t,bottom:t,left:t,width:t,height:t,fontSize:t,padding:t,margin:t,perspective:t,lineHeight:""};var Q,_,g,W,y,T,O,k,C=/(?:\-|\.|\b)(\d|\.|e\-)+/g,H=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,v=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,Z=/opacity *= *([^)]*)/i,o=/([A-Z])/g,l=/-([a-z])/gi,$=function(t,e){return e.toUpperCase()},R=/,(?=[^\)]*(?:\(|$))/gi,z=Math.PI/180,L=180/Math.PI,K={},J={style:{}},S=_gsScope.document||{createElement:function(){return J}},tt=function(t,e){var e=S.createElementNS?S.createElementNS(e||LS_nsProtocol+"www.w3.org/1999/xhtml",t):S.createElement(t);return e.style?e:S.createElement(t)},A=tt("div"),et=tt("img"),e=D._internals={_specialProps:c},i=(_gsScope.navigator||{}).userAgent||"",F=(r=i.indexOf("Android"),n=tt("a"),g=-1!==i.indexOf("Safari")&&-1===i.indexOf("Chrome")&&(-1===r||3<parseFloat(i.substr(r+8,2))),y=g&&parseFloat(i.substr(i.indexOf("Version/")+8,2))<6,W=-1!==i.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(i)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(i))&&(T=parseFloat(RegExp.$1)),!!n&&(n.style.cssText="top:1px;opacity:.55;",/^0.55/.test(n.style.opacity))),it=function(t){return Z.test("string"==typeof t?t:(t.currentStyle||t.style).filter||"")?parseFloat(RegExp.$1)/100:1},rt=function(t){_gsScope.console&&console.log(t)},nt="",st="",b=function(t,e){var i,r,n=(e=e||A).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?(nt="-"+(st=3===r?"ms":i[r]).toLowerCase()+"-",st+t):null},at="undefined"==typeof window?S.defaultView||{getComputedStyle:function(){}}:window,p=function(t){return at.getComputedStyle(t)},E=D.getStyle=function(t,e,i,r,n){var s;return F||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||p(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(o,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):it(t)},I=e.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=/(?:Left|Right|Width)/i.test(e),h=t,_=A.style,u=i<0,f=1===i;if(u&&(i=-i),f&&(i*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))s=i/100*(l?t.clientWidth:t.clientHeight);else{if(_.cssText="border:0 solid red;position:"+E(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)_[l?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(h=t.parentNode||S.body,-1!==E(h,"display").indexOf("flex")&&(_.position="absolute"),a=h._gsCache,o=M.ticker.frame,a&&l&&a.time===o)return a.width*i/100;_[l?"width":"height"]=i+r}h.appendChild(A),s=parseFloat(A[l?"offsetWidth":"offsetHeight"]),h.removeChild(A),l&&"%"==r&&!1!==D.cacheWidths&&((a=h._gsCache=h._gsCache||{}).time=o,a.width=s/i*100),0!==s||n||(s=I(t,e,i,r,!0))}else a=p(t).lineHeight,t.style.lineHeight=i,s=parseFloat(p(t).lineHeight),t.style.lineHeight=a;return f&&(s/=100),u?-s:s}
2,ot=e.calculateOffset=function(t,e,i){var r,i;return"absolute"!==E(t,"position",i)?0:(i=E(t,"margin"+(r="left"===e?"Left":"Top"),i),t["offset"+r]-(I(t,e,parseFloat(i),i.replace(w,""))||0))},d=function(t,e){var i,t,r,n={};if(e=e||p(t,null))if(i=e.length)for(;-1<--i;)-1!==(r=e[i]).indexOf("-transform")&&St!==r||(n[r.replace(l,$)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&U!==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(l,$)]=e[i]);return F||(n.opacity=it(t)),t=Et(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,q&&(n.z=t.z,n.rotationX=t.rotationX,n.rotationY=t.rotationY,n.scaleZ=t.scaleZ),n.filters&&delete n.filters,n},lt=function(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(x,"")?s:0:ot(t,a),void 0!==h[a])&&(o=new vt(h,a,h[a],o));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},ht={width:["Left","Right"],height:["Top","Bottom"]},_t=["marginLeft","marginRight","marginTop","marginBottom"],ut=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||p(t))[e]||0;if(t.getCTM&&Lt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ht[e],s=n.length;for(i=i||p(t,null);-1<--s;)r=(r-=parseFloat(E(t,"padding"+n[s],i,!0))||0)-(parseFloat(E(t,"border"+n[s]+"Width",i,!0))||0);return r},X=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";var i,r=(t=null!=t&&""!==t?t:"0 0").split(" "),n=-1===t.indexOf("left")?-1===t.indexOf("right")?r[0]:"100%":"0%",s=-1===t.indexOf("top")?-1===t.indexOf("bottom")?r[1]:"100%":"0%";if(3<r.length&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(X(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),t=(n="center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("=")?"50%":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(x,"")),e.oy=parseFloat(s.replace(x,"")),e.v=t),e||t},ft=function(t,e){return"string"==typeof(t="function"==typeof t?t(k,O):t)&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},j=function(t,e){var i="string"==typeof(t="function"==typeof t?t(k,O):t)&&"="===t.charAt(1);return null==(t="string"==typeof t&&"v"===t.charAt(t.length-2)?(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100):t)?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,i,r){var n,s,a,s,a,o=1e-6;return s=(s=null==(t="function"==typeof t?t(k,O):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:L)-(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-(0|a/n)*n:-1!==t.indexOf("ccw")&&0<a&&(a=(a-3599999999640)%n-(0|a/n)*n)),e+a))<o&&-o<s?0:s},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=function(t,e,i){return 0|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},mt=D.parseColor=function(t,e){var i,r,n,s,a,o,l,t,e,h,h;if(t)if("number"==typeof t)i=[t>>16,255&t>>8,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,255&t>>8,255&t];else if("hsl"!==t.substr(0,3))i=t.match(C)||pt.transparent;else if(i=h=t.match(C),e){if(-1!==t.indexOf("="))return t.match(H)}else a=+i[0]%360/360,o=+i[1]/100,r=2*(l=+i[2]/100)-(n=l<=.5?l*(o+1):l+o-l*o),3<i.length&&(i[3]=+i[3]),i[0]=dt(a+1/3,r,n),i[1]=dt(a,r,n),i[2]=dt(a-1/3,r,n);i[0]=+i[0],i[1]=+i[1],i[2]=+i[2],3<i.length&&(i[3]=+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]=0|a+.5,i[1]=0|100*o+.5,i[2]=0|100*l+.5),i},gt=function(t,e){var i,r,n,s=t.match(B)||[],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=mt(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)},B="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b",r,n;for(t in pt)B+="|"+t+"\\b";B=new RegExp(B+")","gi"),D.colorStringFilter=function(t){var e,e=t[0]+" "+t[1];B.test(e)&&(e=-1!==e.indexOf("hsl(")||-1!==e.indexOf("hsla("),t[0]=gt(t[0],e),t[1]=gt(t[1],e)),B.lastIndex=0},M.defaultStringFilter||(M.defaultStringFilter=D.colorStringFilter);var yt=function(t,e,s,a){var o,l,h,_,u,f,c,p;return null==t?function(t){return t}:(l=e?(t.match(B)||[""])[0]:"",h=t.split(l).join("").match(v)||[],_=t.substr(0,t.indexOf(h[0])),u=")"===t.charAt(t.length-1)?")":"",f=-1===t.indexOf(" ")?",":" ",c=h.length,p=0<c?h[0].replace(C,""):"",c?o=e?function(t){var e,i,r,n;if("number"==typeof t)t+=p;else if(a&&R.test(t)){for(n=t.replace(R,"|").split("|"),r=0;r<n.length;r++)n[r]=o(n[r]);return n.join(",")}if(e=(t.match(B)||[l])[0],r=(i=t.split(e).join("").match(v)||[]).length,c>r--)for(;++r<c;)i[r]=s?i[0|(r-1)/2]:h[r];return _+i.join(f)+f+e+u+(-1===t.indexOf("inset")?"":" inset")}:function(t){var e,i,r;if("number"==typeof t)t+=p;else if(a&&R.test(t)){for(i=t.replace(R,"|").split("|"),r=0;r<i.length;r++)i[r]=o(i[r]);return i.join(",")}
2if(r=(e=t.match(","==f?v:/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi)||[]).length,c>r--)for(;++r<c;)e[r]=s?e[0|(r-1)/2]:h[r];return(_&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||_)+e.join(f)+u}:function(t){return t})},r=function(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)}},vt=(e._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT,h=1e-6;l;)e=o[l.v],l.r?e=l.r(e):e<h&&-h<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)}),N=(e._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,t,_=r,u={},f={},c=i._transform,p=K;for(i._transform=null,K=e,r=t=i.parse(t,e,r,n),K=p,s&&(i._transform=c,_)&&(_._prev=null,_._prev)&&(_._prev._next=null);r&&r!==_;){if(r.type<=1&&(f[o=r.p]=r.s+r.c,u[o]=r.s,s||(h=new vt(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;0<--a;)f[o=r.p+"_"+(l="xn"+a)]=r.data[l],u[o]=r[l],s||(h=new vt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:u,end:f,firstMPT:h,pt:t}},e.CSSPropTween=function(t,e,i,r,n,s,a,o,l,h,_){this.t=t,this.p=e,this.s=i,this.c=r,this.n=a||e,t instanceof N||m.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===_?i+r:_,n&&((this._next=n)._prev=this)}),xt=function(t,e,i,r,n,s){var t=new N(t,e,i,r-i,n,-1,s);return t.b=i,t.e=t.xs0=r,t},Tt=D.parseComplex=function(t,e,i,r,n,s,a,o,l,h){i=i||s||"","function"==typeof r&&(r=r(k,O)),a=new N(t,e,0,0,a,h?2:1,null,!1,o,i,r),r+="",n&&B.test(r+i)&&(D.colorStringFilter(r=[i,r]),i=r[0],r=r[1]);var _,u,f,c,p,d,m,g,y,v,x,T,g,w=i.split(", ").join(",").split(" "),b=r.split(", ").join(",").split(" "),P=w.length,S=!1!==Q;for(-1===r.indexOf(",")&&-1===i.indexOf(",")||(b=(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(w=w.join(" ").replace(R,", ").split(" "),b.join(" ").replace(R,", ")):(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,_=B.lastIndex=0;_<P;_++)if(c=w[_],p=b[_]+"",(g=parseFloat(c))||0===g)a.appendXtra("",g,ft(p,g),p.replace(H,""),!(!S||-1===p.indexOf("px"))&&Math.round,!0);else if(n&&B.test(c))T=")"+((T=p.indexOf(")")+1)?p.substr(T):""),g=-1!==p.indexOf("hsl")&&F,v=p,c=mt(c,g),p=mt(p,g),(y=6<c.length+p.length)&&!F&&0===p[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(b[_]).join("transparent")):(F||(y=!1),g?a.appendXtra(v.substr(0,v.indexOf("hsl"))+(y?"hsla(":"hsl("),c[0],ft(p[0],c[0]),",",!1,!0).appendXtra("",c[1],ft(p[1],c[1]),"%,",!1).appendXtra("",c[2],ft(p[2],c[2]),y?"%,":"%"+T,!1):a.appendXtra(v.substr(0,v.indexOf("rgb"))+(y?"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],y?",":T,Math.round),y&&(c=c.length<4?1:c[3],a.appendXtra("",c,(p.length<4?1:p[3])-c,T,!1))),B.lastIndex=0;else if(d=c.match(C)){if(!(m=p.match(H))||m.length!==d.length)return a;for(u=f=0;u<d.length;u++)x=d[u],v=c.indexOf(x,f),a.appendXtra(c.substr(f,v-f),+x,ft(m[u],x),"",!(!S||"px"!==c.substr(v+x.length,2))&&Math.round,0===u),f=v+x.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(T=a.xs0+a.data.s,_=1;_<a.l;_++)T+=a["xs"+_]+a.data["xn"+_];a.e=T+a["xs"+_]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},Y=9,t;for((t=N.prototype).l=t.pr=0;0<--Y;)t["xn"+Y]=0,t["xs"+Y]="";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 N(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};var wt=function(t,e){this.p=(e=e||{}).prefix&&b(t)||t,(c[t]=c[this.p]=this).format=e.formatter||yt(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}
2,s=e._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n,s=t.split(","),a=e.defaultValue;for(i=i||[a],r=0;r<s.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||a,n=new wt(s[r],e)},bt=e._registerPluginProp=function(t){var l;c[t]||(l=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin",s(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)):(rt("Error: "+l+" js file not loaded."),n)}}))};(t=wt.prototype).parseComplex=function(t,e,i,r,n,s){var a,o,l,h,_,u,f=this.keyword;if(this.multi&&(R.test(i)||R.test(e)?(o=e.replace(R,"|").split("|"),l=i.replace(R,"|").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&&(_=e.indexOf(f))!==(u=i.indexOf(f))&&(-1===u?o[a]=o[a].split(f).join(""):-1===_&&(o[a]+=" "+f));e=o.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},t.parse=function(t,e,i,r,n,s){return this.parseComplex(t.style,this.format(E(t,this.p,P,!1,this.dflt)),this.format(e),n,s)},D.registerSpecialProp=function(t,a,o){s(t,{parser:function(t,e,i,r,n,s){var n=new N(t,i,0,0,n,2,i,!1,o);return n.plugin=s,n.setRatio=a(t,e,r._tween,i),n},priority:o})},D.useSVGTransformAttr=!0;var G,Pt=["scaleX","scaleY","scaleZ","x","y","z","skewX","skewY","rotation","rotationX","rotationY","perspective","xPercent","yPercent"],U=b("transform"),St=nt+"transform",Ot=b("transformOrigin"),q=null!==b("perspective"),kt=e.Transform=function(){this.perspective=parseFloat(D.defaultTransformPerspective)||0,this.force3D=!(!1===D.defaultForce3D||!q)&&(D.defaultForce3D||"auto")},Ct=_gsScope.SVGElement,n=function(t,e,i){var r,n=S.createElementNS(LS_nsProtocol+"www.w3.org/2000/svg",t);for(r in i)n.setAttributeNS(null,r.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},u=S.documentElement||{},Rt=(i=T||/Android/i.test(i)&&!_gsScope.chrome,S.createElementNS&&u.appendChild&&!i&&(jt=n("svg",u),Bt=(n=n("rect",jt,{width:100,height:50,x:100})).getBoundingClientRect().width,n.style[Ot]="50% 50%",n.style[U]="scaleX(0.5)",i=Bt===n.getBoundingClientRect().width&&!(W&&q),u.removeChild(jt)),i),At=function(t,e,i,r,n,s){var a,o,l,e,h,r,_,u,f,c,p,d,m,g,y=t._gsTransform,v=zt(t,!0);y&&(m=y.xOrigin,g=y.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(_=t.getBBox()).x&&0===_.y&&0===_.width+_.height&&(_={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=X(e).split(" "))[0].indexOf("%")?parseFloat(e[0]):parseFloat(e[0])/100*_.width)+_.x,(-1===e[1].indexOf("%")?parseFloat(e[1]):parseFloat(e[1])/100*_.height)+_.y]),i.xOrigin=e=parseFloat(a[0]),i.yOrigin=h=parseFloat(a[1]),r&&v!==Ft&&(r=v[0],_=v[1],u=v[2],f=v[3],c=v[4],p=v[5],d=r*f-_*u)&&(l=e*(-_/d)+h*(r/d)-(r*p-_*c)/d,e=i.xOrigin=a[0]=o=e*(f/d)+h*(-u/d)+(u*p-f*c)/d,h=i.yOrigin=a[1]=l),y&&(s&&(i.xOffset=y.xOffset,i.yOffset=y.yOffset,y=i),n||!1!==n&&!1!==D.defaultSmoothOrigin?(y.xOffset+=(o=e-m)*v[0]+(l=h-g)*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(" "))},Mt=function(t){var e,i=tt("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(u.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Mt}catch(s){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),u.removeChild(i),this.style.cssText=s,e},Dt=function(e){try{return e.getBBox()}catch(t){return Mt.call(e,!0)}},Lt=function(t){return Ct&&t.getCTM&&(!t.parentNode||t.ownerSVGElement)&&Dt(t)},Ft=[1,0,0,1,0,0],zt=function(t,e){var i,r,n,s,a,o,l,h=t._gsTransform||new kt,_=t.style;if(U?r=E(t,St,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(/(M11|M12|M21|M22)=[\d\-\.e]+/gi))&&4===r.length?[r[0].substr(4),+r[2].substr(4),+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,U&&i&&!t.offsetParent&&t!==u&&(s=_.display,_.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,u.appendChild(t)),i=!(r=E(t,St,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?_.display=s:Yt(_,"display"),a)&&(o?l.insertBefore(t,o):l?l.appendChild(t):u.removeChild(t)),(h.svg||t.getCTM&&Lt(t))&&(i&&-1!==(_[U]+"").indexOf("matrix")&&(r=_[U],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 Ft;
2for(n=(r||"").match(C)||[],Y=n.length;-1<--Y;)s=+n[Y],n[Y]=(a=s-(s|=0))?(0|1e5*a+(a<0?-.5:.5))/1e5+s:s;return e&&6<n.length?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Et=e.getTransform=function(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var e,n,s,a,o,l,h=i&&t._gsTransform||new kt,_=h.scaleX<0,u=2e-5,f=q&&(parseFloat(E(t,Ot,e,!1,"0 0 0").split(" ")[2])||h.zOrigin)||0,c=parseFloat(D.defaultTransformPerspective)||0,p,s,a,d,m,g,y,o,v,x,T,l,w,b,P,S,O,k,C,R,A,w,v,d,m,p;if(h.svg=t.getCTM&&Lt(t),h.svg&&(At(t,E(t,Ot,e,!1,"50% 50%")+"",h,t.getAttribute("data-svg-origin")),G=D.useSVGTransformAttr||Rt),(e=zt(t))!==Ft)for(n in 16===e.length?(g=e[0],y=e[1],o=e[2],v=e[3],x=e[4],T=e[5],l=e[6],w=e[7],b=e[8],P=e[9],S=e[10],O=e[12],k=e[13],C=e[14],R=e[11],A=Math.atan2(l,S),h.zOrigin&&(O=b*(C=-h.zOrigin)-e[12],k=P*C-e[13],C=S*C+h.zOrigin-e[14]),h.rotationX=A*L,A&&(p=x*(d=Math.cos(-A))+b*(m=Math.sin(-A)),s=T*d+P*m,a=l*d+S*m,b=x*-m+b*d,P=T*-m+P*d,S=l*-m+S*d,R=w*-m+R*d,x=p,T=s,l=a),A=Math.atan2(-o,S),h.rotationY=A*L,A&&(s=y*(d=Math.cos(-A))-P*(m=Math.sin(-A)),a=o*d-S*m,P=y*m+P*d,S=o*m+S*d,R=v*m+R*d,g=p=g*d-b*m,y=s,o=a),A=Math.atan2(y,g),h.rotation=A*L,A&&(p=g*(d=Math.cos(A))+y*(m=Math.sin(A)),s=x*d+T*m,a=b*d+P*m,y=y*d-g*m,T=T*d-x*m,P=P*d-b*m,g=p,x=s,b=a),h.rotationX&&359.9<Math.abs(h.rotationX)+Math.abs(h.rotation)&&(h.rotationX=h.rotation=0,h.rotationY=180-h.rotationY),A=Math.atan2(x,T),h.scaleX=(0|1e5*Math.sqrt(g*g+y*y+o*o)+.5)/1e5,h.scaleY=(0|1e5*Math.sqrt(T*T+l*l)+.5)/1e5,h.scaleZ=(0|1e5*Math.sqrt(b*b+P*P+S*S)+.5)/1e5,g/=h.scaleX,x/=h.scaleY,y/=h.scaleX,T/=h.scaleY,Math.abs(A)>u?(h.skewX=A*L,x=0,"simple"!==h.skewType&&(h.scaleY*=1/Math.cos(A))):h.skewX=0,h.perspective=R?1/(R<0?-R:R):0,h.x=O,h.y=k,h.z=C,h.svg&&(h.x-=h.xOrigin-(h.xOrigin*g-h.yOrigin*x),h.y-=h.yOrigin-(h.yOrigin*y-h.xOrigin*T))):q&&!r&&e.length&&h.x===e[4]&&h.y===e[5]&&(h.rotationX||h.rotationY)||(v=(w=6<=e.length)?e[0]:1,d=e[1]||0,m=e[2]||0,p=w?e[3]:1,h.x=e[4]||0,h.y=e[5]||0,s=Math.sqrt(v*v+d*d),a=Math.sqrt(p*p+m*m),o=v||d?Math.atan2(d,v)*L:h.rotation||0,l=m||p?Math.atan2(m,p)*L+o:h.skewX||0,h.scaleX=s,h.scaleY=a,h.rotation=o,h.skewX=l,q&&(h.rotationX=h.rotationY=h.z=0,h.perspective=c,h.scaleZ=1),h.svg&&(h.x-=h.xOrigin-(h.xOrigin*v+h.yOrigin*m),h.y-=h.yOrigin-(h.xOrigin*d+h.yOrigin*p))),90<Math.abs(h.skewX)&&Math.abs(h.skewX)<270&&(_?(h.scaleX*=-1,h.skewX+=h.rotation<=0?180:-180,h.rotation+=h.rotation<=0?180:-180):(h.scaleY*=-1,h.skewX+=h.skewX<=0?180:-180)),h.zOrigin=f,h)h[n]<u&&h[n]>-u&&(h[n]=0);return i&&(t._gsTransform=h).svg&&(G&&t.style[U]?M.delayedCall(.001,function(){Yt(t.style,U)}):!G&&t.getAttribute("transform")&&M.delayedCall(.001,function(){t.removeAttribute("transform")})),h},It=function(t){var e,i,r=this.data,n=-r.rotation*z,s=n+r.skewX*z,a=(0|Math.cos(n)*r.scaleX*1e5)/1e5,n=(0|Math.sin(n)*r.scaleX*1e5)/1e5,o=(0|Math.sin(s)*-r.scaleY*1e5)/1e5,s=(0|Math.cos(s)*r.scaleY*1e5)/1e5,l=this.t.style,h=this.t.currentStyle;if(h){i=n,n=-o,o=-i,e=h.filter,l.filter="";var _,u,f=this.t.offsetWidth,c=this.t.offsetHeight,p="absolute"!==h.position,d="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+n+", M21="+o+", M22="+s,m=r.x+f*r.xPercent/100,g=r.y+c*r.yPercent/100;if(null!=r.ox&&(m+=(_=(r.oxp?f*r.ox*.01:r.ox)-f/2)-(_*a+(u=(r.oyp?c*r.oy*.01:r.oy)-c/2)*n),g+=u-(_*o+u*s)),p?d+=", Dx="+((_=f/2)-(_*a+(u=c/2)*n)+m)+", Dy="+(u-(_*o+u*s)+g)+")":d+=", sizingMethod='auto expand')",l.filter=-1===e.indexOf("DXImageTransform.Microsoft.Matrix(")?d+" "+e:e.replace(/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,d),0!==t&&1!==t||1!=a||0!=n||0!=o||1!=s||p&&-1===d.indexOf("Dx=0, Dy=0")||Z.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&l.removeAttribute("filter"),!p){var y,v,y,x=T<8?1:-1,_=r.ieOffsetX||0,u=r.ieOffsetY||0;for(r.ieOffsetX=Math.round((f-((a<0?-a:a)*f+(n<0?-n:n)*c))/2+m),r.ieOffsetY=Math.round((c-((s<0?-s:s)*c+(o<0?-o:o)*f))/2+g),Y=0;Y<4;Y++)y=(i=-1===(y=h[v=_t[Y]]).indexOf("px")?I(this.t,v,parseFloat(y),y.replace(w,""))||0:parseFloat(y))===r[v]?Y<2?_-r.ieOffsetX:u-r.ieOffsetY:Y<2?-r.ieOffsetX:-r.ieOffsetY,l[v]=(r[v]=Math.round(i-y*(0===Y||2===Y?1:x)))+"px"}}},Xt=e.set3DTransformRatio=e.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,t,_,u,f,c,p,d,m,g,m,y,v,d,g,x=this.data,T=this.t.style,w=x.rotation,b=x.rotationX,P=x.rotationY,S=x.scaleX,O=x.scaleY,k=x.scaleZ,C=x.x,R=x.y,A=x.z,M=x.svg,D=x.perspective,u=x.force3D,L=x.skewY,F=x.skewX;if(L&&(F+=L,w+=L),((1!==t&&0!==t||"auto"!==u||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&u||A||D||P||b||1!==k)&&(!G||!M)&&q){if(W&&(S<(p=1e-4)&&-p<S&&(S=k=2e-5),O<p&&-p<O&&(O=k=2e-5),!D||x.z||x.rotationX||x.rotationY||(D=0)),w||F)w*=z,d=i=Math.cos(w),m=s=Math.sin(w),F&&(w-=F*z,d=Math.cos(w),m=Math.sin(w),"simple"===x.skewType)&&(e=Math.tan((F-L)*z),d*=e=Math.sqrt(1+e*e),m*=e,x.skewY)&&(e=Math.tan(L*z),i*=e=Math.sqrt(1+e*e),s*=e),r=-m,a=d;else{if(!(P||b||1!==k||D||M))return void(T[U]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) translate3d(":"translate3d(")+C+"px,"+R+"px,"+A+"px)"+(1!==S||1!==O?" scale("+S+","+O+")":""));i=a=1,r=s=0}t=1,n=o=l=h=_=u=0,f=D?-1/D:0,c=x.zOrigin,p=1e-6,y=",",v="0",(w=P*z)&&(d=Math.cos(w),_=f*(l=-(m=Math.sin(w))),n=i*m,o=s*m,f*=t=d,i*=d,s*=d),(w=b*z)&&(e=r*(d=Math.cos(w))+n*(m=Math.sin(w)),g=a*d+o*m,h=t*m,u=f*m,n=r*-m+n*d,o=a*-m+o*d,t*=d,f*=d,r=e,a=g),1!==k&&(n*=k,o*=k,t*=k,f*=k),1!==O&&(r*=O,a*=O,h*=O,u*=O),1!==S&&(i*=S,s*=S,l*=S,_*=S),(c||M)&&(c&&(C+=n*-c,R+=o*-c,A+=t*-c+c),M&&(C+=x.xOrigin-(x.xOrigin*i+x.yOrigin*r)+x.xOffset,R+=x.yOrigin-(x.xOrigin*s+x.yOrigin*a)+x.yOffset),C<p&&-p<C&&(C=v),R<p&&-p<R&&(R=v),A<p)&&-p<A&&(A=0),m=(m=x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix3d(":"matrix3d(")+((i<p&&-p<i?v:i)+y+(s<p&&-p<s?v:s)+y+(l<p&&-p<l?v:l))+(y+(_<p&&-p<_?v:_)+y+(r<p&&-p<r?v:r)+y+(a<p&&-p<a?v:a)),b||P||1!==k?m=m+(y+(h<p&&-p<h?v:h)+y+(u<p&&-p<u?v:u)+y+(n<p&&-p<n?v:n))+(y+(o<p&&-p<o?v:o)+y+(t<p&&-p<t?v:t)+y+(f<p&&-p<f?v:f)+y):m+=",0,0,0,0,1,0,",T[U]=m+=C+y+R+y+A+y+(D?1+-A/D:1)+")"}else w||F||M?(w*=z,d=F*z,g=1e5,i=Math.cos(w)*S,s=Math.sin(w)*S,r=Math.sin(w-d)*-O,a=Math.cos(w-d)*O,d&&"simple"===x.skewType&&(e=Math.tan(d-L*z),r*=e=Math.sqrt(1+e*e),a*=e,L)&&(e=Math.tan(L*z),i*=e=Math.sqrt(1+e*e),s*=e),M&&(C+=x.xOrigin-(x.xOrigin*i+x.yOrigin*r)+x.xOffset,R+=x.yOrigin-(x.xOrigin*s+x.yOrigin*a)+x.yOffset,G&&(x.xPercent||x.yPercent)&&(p=this.t.getBBox(),C+=.01*x.xPercent*p.width,R+=.01*x.yPercent*p.height),C<(p=1e-6)&&-p<C&&(C=0),R<p)&&-p<R&&(R=0),m=(0|i*g)/g+","+(0|
2s*g)/g+","+(0|r*g)/g+","+(0|a*g)/g+","+C+","+R+")",M&&G?this.t.setAttribute("transform","matrix("+m):T[U]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+m):T[U]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+S+",0,0,"+O+","+C+","+R+")"},jt,n,Bt,i,Nt=((t=kt.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,s("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){var o=(r._lastParsedTransform=a).scale&&"function"==typeof a.scale?a.scale:0;o&&(a.scale=o(k,t));var l,h,_,u,f,c,p,_,d,m=t._gsTransform,g=t.style,y=1e-6,v=Pt.length,x=a,T={},w=Et(t,P,!0,x.parseTransform),b=x.transform&&("function"==typeof x.transform?x.transform(k,O):x.transform);if(w.skewType=x.skewType||w.skewType||D.defaultSkewType,r._transform=w,"rotationZ"in x&&(x.rotation=x.rotationZ),b&&"string"==typeof b&&U)(h=A.style)[U]=b,h.display="block",h.position="absolute",-1!==b.indexOf("%")&&(h.width=E(t,"width"),h.height=E(t,"height")),S.body.appendChild(A),l=Et(A,null,!1),"simple"===w.skewType&&(l.scaleY*=Math.cos(l.skewX*z)),w.svg&&(c=w.xOrigin,p=w.yOrigin,l.x-=w.xOffset,l.y-=w.yOffset,(x.transformOrigin||x.svgOrigin)&&(b={},At(t,X(x.transformOrigin),b,x.svgOrigin,x.smoothOrigin,!0),c=b.xOrigin,p=b.yOrigin,l.x-=b.xOffset-w.xOffset,l.y-=b.yOffset-w.yOffset),c||p)&&(_=zt(A,!0),l.x-=c-(c*_[0]+p*_[2]),l.y-=p-(c*_[1]+p*_[3])),S.body.removeChild(A),l.perspective||(l.perspective=w.perspective),null!=x.xPercent&&(l.xPercent=j(x.xPercent,w.xPercent)),null!=x.yPercent&&(l.yPercent=j(x.yPercent,w.yPercent));else if("object"==typeof x){if(l={scaleX:j(null==x.scaleX?x.scale:x.scaleX,w.scaleX),scaleY:j(null==x.scaleY?x.scale:x.scaleY,w.scaleY),scaleZ:j(x.scaleZ,w.scaleZ),x:j(x.x,w.x),y:j(x.y,w.y),z:j(x.z,w.z),xPercent:j(x.xPercent,w.xPercent),yPercent:j(x.yPercent,w.yPercent),perspective:j(x.transformPerspective,w.perspective)},null!=(f=x.directionalRotation))if("object"==typeof f)for(h in f)x[h]=f[h];else x.rotation=f;"string"==typeof x.x&&-1!==x.x.indexOf("%")&&(l.x=0,l.xPercent=j(x.x,w.xPercent)),"string"==typeof x.y&&-1!==x.y.indexOf("%")&&(l.y=0,l.yPercent=j(x.y,w.yPercent)),l.rotation=ct("rotation"in x?x.rotation:"shortRotation"in x?x.shortRotation+"_short":w.rotation,w.rotation,"rotation",T),q&&(l.rotationX=ct("rotationX"in x?x.rotationX:"shortRotationX"in x?x.shortRotationX+"_short":w.rotationX||0,w.rotationX,"rotationX",T),l.rotationY=ct("rotationY"in x?x.rotationY:"shortRotationY"in x?x.shortRotationY+"_short":w.rotationY||0,w.rotationY,"rotationY",T)),l.skewX=ct(x.skewX,w.skewX),l.skewY=ct(x.skewY,w.skewY)}for(q&&null!=x.force3D&&(w.force3D=x.force3D,u=!0),(_=w.force3D||w.z||w.rotationX||w.rotationY||l.z||l.rotationX||l.rotationY||l.perspective)||null==x.scale||(l.scaleZ=1);-1<--v;)(y<(b=l[d=Pt[v]]-w[d])||b<-y||null!=x[d]||null!=K[d])&&(u=!0,n=new N(w,d,w[d],b,n),d in T&&(n.e=T[d]),n.xs0=0,n.plugin=s,r._overwriteProps.push(n.n));b="function"==typeof x.transformOrigin?x.transformOrigin(k,O):x.transformOrigin,w.svg&&(b||x.svgOrigin)&&(c=w.xOffset,p=w.yOffset,At(t,X(b),l,x.svgOrigin,x.smoothOrigin),n=xt(w,"xOrigin",(m?w:l).xOrigin,l.xOrigin,n,"transformOrigin"),n=xt(w,"yOrigin",(m?w:l).yOrigin,l.yOrigin,n,"transformOrigin"),c===w.xOffset&&p===w.yOffset||(n=xt(w,"xOffset",m?c:w.xOffset,w.xOffset,n,"transformOrigin"),n=xt(w,"yOffset",m?p:w.yOffset,w.yOffset,n,"transformOrigin")),b="0px 0px"),(b||q&&_&&w.zOrigin)&&(U?(u=!0,d=Ot,b||(b=(b=(E(t,d,P,!1,"50% 50%")+"").split(" "))[0]+" "+b[1]+" "+w.zOrigin+"px"),b+="",(n=new N(g,d,0,0,n,-1,"transformOrigin")).b=g[d],n.plugin=s,q?(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 N(w,"zOrigin",0,0,n,-1,n.n)).b=h,n.xs0=n.e=w.zOrigin):n.xs0=n.e=b):X(b+"",w)),u&&(r._transformType=w.svg&&G||!_&&3!==this._transformType?2:3),o&&(a.scale=o)}return n},allowFunc:!0,prefix:!0}),s("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),s("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:yt("inset(0% 0% 0% 0%)",!1,!0)}
2),s("borderRadius",{defaultValue:"0px",parser:function(t,e,i,r,n){e=this.format(e);for(var s,a,o,l,h,_,u,f,c,p,d,m,g,y,u,m,v=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],x=t.style,c=parseFloat(t.offsetWidth),p=parseFloat(t.offsetHeight),s=e.split(" "),a=0;a<v.length;a++)this.p.indexOf("border")&&(v[a]=b(v[a])),-1!==(h=l=E(t,v[a],P,!1,"0px")).indexOf(" ")&&(h=(l=h.split(" "))[0],l=l[1]),_=o=s[a],u=parseFloat(h),m=h.substr((u+"").length),(d=""===(d=(g="="===_.charAt(1))?(f=parseInt(_.charAt(0)+"1",10),_=_.substr(2),f*=parseFloat(_),_.substr((f+"").length-(f<0?1:0))||""):(f=parseFloat(_),_.substr((f+"").length)))?V[i]||m:d)!==m&&(y=I(t,"borderLeft",u,m),u=I(t,"borderTop",u,m),l="%"===d?(h=y/c*100+"%",u/p*100+"%"):"em"===d?(h=y/(m=I(t,"borderLeft",1,"em"))+"em",u/m+"em"):(h=y+"px",u+"px"),g)&&(_=parseFloat(h)+f+d,o=parseFloat(l)+f+d),n=Tt(x,v[a],h+" "+l,_+" "+o,!1,"0px",n);return n},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),s("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,n){return Tt(t.style,i,this.format(E(t,i,P,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),s("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,n,s){var a,o,l,h,_,e,u=P||p(t,null),f=this.format((u?T?u.getPropertyValue("background-position-x")+" "+u.getPropertyValue("background-position-y"):u.getPropertyValue("background-position"):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),u=this.format(e);if(-1!==f.indexOf("%")!=(-1!==u.indexOf("%"))&&u.split(",").length<2&&(e=E(t,"backgroundImage").replace(/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,""))&&"none"!==e){for(a=f.split(" "),o=u.split(" "),et.setAttribute("src",e),l=2;-1<--l;)(h=-1!==(f=a[l]).indexOf("%"))!=(-1!==o[l].indexOf("%"))&&(_=0===l?t.offsetWidth-et.width:t.offsetHeight-et.height,a[l]=h?parseFloat(f)/100*_+"px":parseFloat(f)/_*100+"%");f=a.join(" ")}return this.parseComplex(t.style,f,u,n,s)},formatter:X}),s("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:X(-1===t.indexOf(" ")?t+" "+t:t)}}),s("perspective",{defaultValue:"0px",prefix:!0}),s("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),s("transformStyle",{prefix:!0}),s("backfaceVisibility",{prefix:!0}),s("userSelect",{prefix:!0}),s("margin",{parser:r("marginTop,marginRight,marginBottom,marginLeft")}),s("padding",{parser:r("paddingTop,paddingRight,paddingBottom,paddingLeft")}),s("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,n,s){var a,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(E(t,this.p,P,!1,this.dflt)),this.format(e)),this.parseComplex(t.style,a,e,n,s)}}),s("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),s("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),s("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,n,s){var a=E(t,"borderTopWidth",P,!1,"0px"),e=this.format(e).split(" "),o=e[0].replace(w,"");return"px"!==o&&(a=parseFloat(a)/I(t,"borderTopWidth",1,o)+o),this.parseComplex(t.style,this.format(a+" "+E(t,"borderTopStyle",P,!1,"solid")+" "+E(t,"borderTopColor",P,!1,"#000")),e.join(" "),n,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(B)||["#000"])[0]}}),s("borderWidth",{parser:r("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),s("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n){var t=t.style,s="cssFloat"in t?"cssFloat":"styleFloat";return new N(t,s,0,0,n,-1,i,!1,0,t[s],e)}}),function(t){var e,i=this.t,r=i.filter||E(this.data,"filter")||"",t=0|this.s+this.c*t;(e=100==t?-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),!E(this.data,"filter")):(i.filter=r.replace(/alpha\(opacity *=.+?\)/i,""),!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(Z,"opacity="+t))}),Yt=(s("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,
2i,r,n,s){var a=parseFloat(E(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"===E(t,"visibility",P)&&0!==e&&(a=0),F?n=new N(o,"opacity",a,e-a,n):((n=new N(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=Nt),l&&((n=new N(o,"visibility",0,0,n,-1,null,!1,0,0===a?"hidden":"inherit",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(i)),n}}),function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(o,"-$1").toLowerCase())):t.removeAttribute(e))}),Gt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Yt(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)},Ut=(s("className",{parser:function(t,e,i,r,n,s,a){var o,i,o,l,h,_=t.getAttribute("class")||"",u=t.style.cssText;if((n=r._classNamePT=new N(t,i,0,0,n,2)).setRatio=Gt,n.pr=-11,f=!0,n.b=_,i=d(t,P),o=t._gsClassPT){for(l={},h=o.data;h;)l[h.p]=1,h=h._next;o.setRatio(1)}return(t._gsClassPT=n).e="="===e.charAt(1)?_.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""):e,t.setAttribute("class",n.e),o=lt(t,i,d(t),a,l),t.setAttribute("class",_),n.data=o.firstMPT,t.style.cssText!==u&&(t.style.cssText=u),n.xfirst=r.parse(t,o.difs,n,s)}}),function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,t,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?Ot:c[i].p),Yt(s,i);n&&(Yt(s,U),t=this.t._gsTransform)&&(t.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform)}});for(s("clearProps",{parser:function(t,e,i,r,n){return(n=new N(t,i,0,0,n,2)).setRatio=Ut,n.e=e,n.pr=-10,n.data=r._tween,f=!0,n}}),Y=(t=["bezier","throwProps","physicsProps","physics2D"]).length;Y--;)bt(t[Y]);(t=D.prototype)._firstPT=t._lastParsedTransform=t._transform=null,t._onInitTween=function(t,e,i,r){if(!t.nodeType)return!1;this._target=O=t,this._tween=i,this._vars=e,k=r,Q=e.autoRound,f=!1,V=e.suffixMap||D.suffixMap,P=p(t,""),m=this._overwriteProps;var n,s,a,o,l,h,e,e,n,r=t.style;if(_&&""===r.zIndex&&("auto"===(n=E(t,"zIndex",P))||""===n)&&this._addLazySet(r,"zIndex",0),"string"==typeof e&&(o=r.cssText,n=d(t,P),r.cssText=o+";"+e,n=lt(t,n,d(t)).difs,!F&&/opacity:([^;]*)/i.test(e)&&(n.opacity=parseFloat(RegExp.$1)),e=n,r.cssText=o),this._firstPT=s=e.className?c.className.parse(t,e.className,"className",this,null,null,e):this.parse(t,e,null),this._transformType){for(n=3===this._transformType,U?g&&(_=!0,""===r.zIndex&&("auto"===(e=E(t,"zIndex",P))||""===e)&&this._addLazySet(r,"zIndex",0),y)&&this._addLazySet(r,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(n?"visible":"hidden")):r.zoom=1,a=s;a&&a._next;)a=a._next;e=new N(t,"transform",0,0,null,2),this._linkCSSP(e,null,a),e.setRatio=U?Xt:It,e.data=this._transform||Et(t,P,!0),e.tween=i,e.pr=-1,m.pop()}if(f){for(;s;){for(h=s._next,a=o;a&&a.pr>s.pr;)a=a._next;(s._prev=a?a._prev:l)?s._prev._next=s:o=s,(s._next=a)?a._prev=s:l=s,s=h}this._firstPT=o}return!0},t.parse=function(t,e,i,r){var n,s,a,o,s,l,h,_,_,u,f=t.style;for(n in e){if(l=e[n],s=c[n],"function"!=typeof l||s&&s.allowFunc||(l=l(k,O)),s)i=s.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",p(t).getPropertyValue(n)+"",l+"",n,!1,n);continue}s=E(t,n,P)+"",_="string"==typeof l,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||_&&/^(rgb|hsl)/.test(l)?(_||(l=(3<(l=mt(l)).length?"rgba(":"rgb(")+l.join(",")+")"),i=Tt(f,n,s,l,!0,"transparent",i,0,r)):_&&/[\s,\(]/i.test(l)?i=Tt(f,n,s,l,!0,null,i,0,r):(h=(a=parseFloat(s))||0===a?s.substr((a+"").length):"",""!==s&&"auto"!==s||(h="width"===n||"height"===n?(a=ut(t,n,P),"px"):"left"===n||"top"===n?(a=ot(t,n,P),"px"):(a="opacity"===n?1:0,"")),""===(_=(u=_&&"="===l.charAt(1))?(o=parseInt(l.charAt(0)+"1",10),l=l.substr(2),o*=parseFloat(l),l.replace(w,"")):(o=parseFloat(l),_?l.replace(w,""):""))&&(_=n in V?V[n]:h),l=o||0===o?(u?o+a:o)+_:e[n],h===_||""===_&&"lineHeight"!==n||!o&&0!==o||!a||(a=I(t,
2n,a,h),"%"===_?(a/=I(t,n,100,"%")/100,!0!==e.strictUnits&&(s=a+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?a/=I(t,n,1,_):"px"!==_&&(o=I(t,n,o,_),_="px"),!u)||!o&&0!==o||(l=o+a+_),u&&(o+=a),!a&&0!==a||!o&&0!==o?void 0!==f[n]&&(l||"NaN"!=l+""&&null!=l)?(i=new N(f,n,o||a||0,0,i,-1,n,!1,0,s,l)).xs0="none"!==l||"display"!==n&&-1===n.indexOf("Style")?l:s:rt("invalid "+n+" tween value: "+e[n]):(i=new N(f,n,a,o-a,i,0,n,!1!==Q&&("px"===_||"zIndex"===n),0,s,l)).xs0=_)}r&&i&&!i.plugin&&(i.plugin=r)}return i},t.setRatio=function(t){var e,i,r,n=this._firstPT,s=1e-6;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<s&&-s<e&&(e=0),n.type)if(1!==n.type)-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else 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 n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2===n.type?n.setRatio(t):n.t[n.p]=n.b,n=n._next;else for(;n;){if(2===n.type)n.setRatio(t);else 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;n=n._next}},t._enableTransforms=function(t){this._transform=this._transform||Et(this._target,P,!0),this._transformType=this._transform.svg&&G||!t&&3!==this._transformType?2:3};var qt=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)},Vt=(t._addLazySet=function(t,e,i){var t=this._firstPT=new N(t,e,0,0,this._firstPT,2);t.e=i,t.setRatio=qt,t.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 a.prototype._kill.call(this,n)},function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;-1<--n;)Vt(t[n],e,i);else for(n=(r=t.childNodes).length;-1<--n;)a=(s=r[n]).type,s.style&&(e.push(d(s)),i)&&i.push(s),1!==a&&9!==a&&11!==a||!s.childNodes.length||Vt(s,e,i)});return D.cascadeTo=function(t,e,i){var r,n,s,a,o=M.to(t,e,i),l=[o],h=[],_=[],u=[],f=M._internals.reservedProps;for(t=o._targets||o.target,Vt(t,h,u),o.render(e,!0,!0),Vt(t,_),o.render(0,!0,!0),o._enabled(!0),r=u.length;-1<--r;)if((n=lt(u[r],h[r],_[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(M.fromTo(u[r],e,a,n))}return l},a.activate([D]),D},!0),t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),l=function(e){var i=e<1?Math.pow(10,(e+"").length-2):1;return function(t){return(0|Math.round(t/e)*e*i)/i}},h=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},(t=t.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(i=(s="string"==typeof s?s.split(","):s).length;-1<--i;)a[s[i]]=Math.round;else for(r in s)a[r]=l(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?h(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}
2,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,o,l,h=!0===e.useRadians?2*Math.PI:360,_=1e-6;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.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():t[n]),o=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*+s.substr(2):+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-(0|o/h)*h:-1!==s.indexOf("ccw")&&0<o&&(o=(o-9999999999*h)%h-(0|o/h)*h)),_<o||o<-_)&&(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){var i,r,e,t,n=_gsScope.GreenSockGlobals||_gsScope,s=n.com.greensock,a=2*Math.PI,o=Math.PI/2,l=s._class,s=function(t,e){var t=l("easing."+t,function(){},!0),i=t.prototype=new m;return i.constructor=t,i.getRatio=e,t},h=m.register||function(){},_=function(t,e,i,r){var e=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return h(e,t),e},g=function(t,e,i){this.t=t,this.v=e,i&&(((this.next=i).prev=this).c=i.v-e,this.gap=i.t-t)},u=function(t,e){var i=l("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},u=_("Back",u("BackOut",function(t){return--t*t*((this._p1+1)*t+this._p1)+1}),u("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),u("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=l("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:1<t&&(t=1),this._p=1===t?0:e,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),t=f.prototype=new m;return t.constructor=f,t.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),t.config=f.config=function(t,e,i){return new f(t,e,i)},(t=(i=l("easing.SteppedEase",function(t,e){this._p1=1/(t=t||1),this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new m).constructor=i,t.getRatio=function(t){return t<0?t=0:1<=t&&(t=.999999999),((0|this._p2*t)+this._p3)*this._p1},t.config=i.config=function(t,e){return new i(t,e)},(t=(r=l("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,t.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},t.config=r.config=function(t,e,i){return new r(t,e,i)},(t=(e=l("easing.RoughEase",function(t){for(var e,i,r,n,s,a,o=(t=t||{}).taper||"none",l=[],h=0,_=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<--u;)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:u%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<--u;)a=new g((s=l[u]).x,s.y,a);this._prev=new g(0,0,0===a.t?a.next:a)},!0)).prototype=new m).constructor=e,t.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},t.config=function(t){return new e(t)},e.ease=new e,_("Bounce",s("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}),s("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)}),s("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})),_("Circ",s("CircOut",function(t){return Math.sqrt(1- --t*t)}),s("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),s("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}
2)),_("Elastic",(t=function(t,e,i){var r=l("easing."+t,function(t,e){this._p1=1<=t?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/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),t("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*--t)*Math.sin((t-this._p3)*this._p2))},.3),t("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)),_("Expo",s("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),s("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),s("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),_("Sine",s("SineOut",function(t){return Math.sin(t*o)}),s("SineIn",function(t){return 1-Math.cos(t*o)}),s("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),l("easing.EaseLookup",{find:function(t){return m.map[t]}},!0),h(n.SlowMo,"SlowMo","ease,"),h(e,"RoughEase","ease,"),h(i,"SteppedEase","ease,"),u},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),((f,c)=>{var p={},d=f.document,m=f.GreenSockGlobals=f.GreenSockGlobals||f,t=m[c];if(t)return"undefined"!=typeof module&&module.exports&&(module.exports=t);var e,i,r,g,y,E=function(t){for(var e,i=t.split("."),r=m,e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},u=E("com.greensock"),v=1e-8,I=function(t){for(var e,i=[],r=t.length,e=0;e!==r;i.push(t[e++]));return i},X=function(){},x=(s=Object.prototype.toString,B=s.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&s.call(t)===B)}),T={},j=function(o,l,h,_){this.sc=T[o]?T[o].sc:[],(T[o]=this).gsClass=null,this.func=h;var u=[];this.check=function(t){for(var e,i,r,n,s=l.length,a=s;-1<--s;)(e=T[l[s]]||new j(l[s],[])).gsClass?(u[s]=e.gsClass,a--):t&&e.sc.push(this);if(0===a&&h){if(r=(i=("com.greensock."+o).split(".")).pop(),n=E(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)},n=f._gsDefine=function(t,e,i,r){return new j(t,e,i,r)},w=u._class=function(t,e,i){return e=e||function(){},n(t,[],function(){return e},i),e},s,B,N=(n.globals=m,[0,0,1,1]),b=w("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),P=b.map={},a=b.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),h=l.length,_=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(s=l[h],n=r?w("easing."+s,null,!0):u.easing[s]||{},a=_.length;-1<--a;)o=_[a],P[s+"."+o]=P[o+s]=n[o]=t.getRatio?t:t[o]||new t},r=b.prototype;for(r._calcEnd=!1,r.getRatio=function(t){var e,i,r;return this._func?(this._params[0]=t,this._func.apply(null,this._params)):(r=1===(e=this._type)?1-t:2===e?t:t<.5?2*t:2*(1-t),1===(i=this._power)?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)},i=(e=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--i;)r=e[i]+",Power"+i,a(new b(null,null,1,i),r,"easeOut",!0),a(new b(null,null,2,i),r,"easeIn"+(0===i?",easeNone":"")),a(new b(null,null,3,i),r,"easeInOut");P.linear=u.easing.Linear.easeIn,P.swing=u.easing.Quad.easeInOut;for(var Y=w("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this}),S=((r=Y.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==g||y||g.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})},r.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)},r.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;
2)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))},f.requestAnimationFrame),O=f.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},C=k(),e,i=(e=["ms","moz","webkit","o"]).length;-1<--i&&!S;)S=f[e[i]+"RequestAnimationFrame"],O=f[e[i]+"CancelAnimationFrame"]||f[e[i]+"CancelRequestAnimationFrame"];w("Ticker",function(t,e){var r,n,s,a,o,l=this,h=k(),i=!(!1===e||!S)&&"auto",_=500,u=33,f=function(t){var e,i,e=k()-C;_<e&&(h+=e-u),C+=e,l.time=(C-h)/1e3,e=l.time-o,(!r||0<e||!0===t)&&(l.frame++,o+=e+(a<=e?.004:a-e),i=!0),!0!==t&&(s=n(f)),i&&l.dispatchEvent("tick")};Y.call(l),l.time=l.frame=0,l.tick=function(){f(!0)},l.lagSmoothing=function(t,e){return arguments.length?(_=t||1e8,void(u=Math.min(e,_,0))):_<1e8},l.sleep=function(){null!=s&&((i&&O?O:clearTimeout)(s),n=X,s=null,l===g)&&(y=!1)},l.wake=function(t){null===s?t?h+=-C+(C=k()):10<l.frame&&(C=k()-_+5):l.sleep(),n=0===r?X:i&&S?S:function(t){return setTimeout(t,0|1e3*(o-l.time)+1)},l===g&&(y=!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)}),(r=u.Ticker.prototype=new u.events.EventDispatcher).constructor=u.Ticker;var o=w("core.Animation",function(t,e){var t;this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=+e.delay||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,_&&(y||g.wake(),(t=this.vars.useFrames?h:_).add(this,t._time),this.vars.paused)&&this.paused(!0)}),g=o.ticker=new u.Ticker,G=((r=o.prototype)._dirty=r._gc=r._initted=r._paused=!1,r._totalTime=r._time=0,r._rawPrevTime=-1,r._next=r._last=r._onUpdate=r._timeline=r.timeline=null,r._paused=!1,function(){y&&2e3<k()-C&&("hidden"!==(d||{}).visibilityState||!g.lagSmoothing())&&g.wake();var t=setTimeout(G,2e3);t.unref&&t.unref()});G(),r.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},r.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},r.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},r.seek=function(t,e){return this.totalTime(+t,!1!==e)},r.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},r.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},r.render=function(){},r.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},r.isActive=function(){var t,t=this._timeline,e=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(t=t.rawTime(!0))>=e&&t<e+this.totalDuration()/this._timeScale-v},r._enabled=function(t,e){return y||g.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},r._kill=function(){return this._enabled(!1,!1)},r.kill=function(t,e){return this._kill(t,e),this},r._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},r._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();-1<--e;)"{self}"===t[e]&&(i[e]=this);return i},r._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],t=e[t+"Scope"]||e.callbackScope||this,e=r?r.length:0;0===e?i.call(t):1===e?i.call(t,r[0]):2===e?i.call(t,r[0],r[1]):i.apply(t,r)},r.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"]=x(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},r.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},r.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)},r.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},r.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time}
2,r.totalTime=function(t,e,i){if(y||g.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||(M.length&&L(),this.render(t,e,!1),!M.length)||L()}return this},r.progress=r.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},r.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},r.endTime=function(t){return this._startTime+(0==t?this.duration():this.totalDuration())/this._timeScale},r.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||v,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},r.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},r.paused=function(t){var e,i,r;return arguments.length?(r=this._timeline,t!=this._paused&&r&&(y||t||g.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):this._paused};var t,R=((r=(t=w("core.SimpleTimeline",function(t){o.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0})).prototype=new o).constructor=t,r.kill()._gc=!1,r._first=r._last=r._recent=null,r._sortChildren=!1,r.add=r.insert=function(t,e){var i,r;if(t._startTime=+(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),i=this._last,this._sortChildren)for(r=t._startTime;i&&i._startTime>r;)i=i._prev;return i?(t._next=i._next,i._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=i,this._recent=t,this._timeline&&this._uncache(!0),this},r._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},r.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},r.rawTime=function(){return y||g.wake(),this._totalTime},w("TweenLite",function(t,e,i){if(o.call(this,e,i),this.render=R.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"==typeof t&&R.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?tt[R.defaultOverwrite]:"number"==typeof a?a>>0:tt[a],(i||t instanceof Array||t.push&&x(t))&&"number"!=typeof t[0])for(this._targets=s=I(t),this._propLookup=[],this._siblings=[],r=0;r<s.length;r++)(n=s[r])?"string"==typeof n?"string"==typeof(n=s[r--]=R.selector(n))&&s.splice(r+1,1):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(I(n))):(this._siblings[r]=F(n,this,!1),1===a&&1<this._siblings[r].length&&rt(n,this,null,1,this._siblings[r])):s.splice(r--,1);else this._propLookup={}
2,this._siblings=F(t,this,!1),1===a&&1<this._siblings.length&&rt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-v,this.render(Math.min(0,-this._delay)))},!0)),A=function(t){return t&&t.length&&t!==f&&t[0]&&(t[0]===f||t[0].nodeType&&t[0].style&&!t.nodeType)},U=function(t,e){var i,r={};for(i in t)J[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||D[i]&&(D[i],!D[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r},M=((r=R.prototype=new o).constructor=R,r.kill()._gc=!1,r.ratio=0,r._firstPT=r._targets=r._overwrittenProps=r._startAt=null,r._notifyPluginsOfEnabled=r._lazy=!1,R.version="2.1.3",R.defaultEase=r._ease=new b(null,null,1,1),R.defaultOverwrite="auto",R.ticker=g,R.autoSleep=120,R.lagSmoothing=function(t,e){g.lagSmoothing(t,e)},R.selector=f.$||f.jQuery||function(t){var e=f.$||f.jQuery;return e?(R.selector=e)(t):(d=d||f.document)?d.querySelectorAll?d.querySelectorAll(t):d.getElementById("#"===t.charAt(0)?t.substr(1):t):t},[]),q={},V=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,Q=function(t){for(var e,i=this._firstPT,r=1e-6;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<r&&-r<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},W=function(t){return(0|1e3*t)/1e3+""},H=function(t,e,i,r){var n,s,a,o,l,a,h,_=[],u=0,f="",c=0;for(_.start=t,_.end=e,t=_[0]=t+"",e=_[1]=e+"",i&&(i(_),t=_[0],e=_[1]),_.length=0,n=t.match(V)||[],s=e.match(V)||[],r&&(r._next=null,r.blob=1,_._firstPT=_._applyPT=r),l=s.length,o=0;o<l;o++)h=s[o],f+=(a=e.substr(u,e.indexOf(h,u)-u))||!o?a:",",u+=a.length,c?c=(c+1)%5:"rgba("===a.substr(-5)&&(c=1),h===n[o]||n.length<=o?f+=h:(f&&(_.push(f),f=""),a=parseFloat(n[o]),_.push(a),_._firstPT={_next:_._firstPT,t:_,p:_.length-1,s:a,c:("="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*parseFloat(h.substr(2)):parseFloat(h)-a)||0,f:0,m:c&&c<4?Math.round:W}),u+=h.length;return(f+=e.substr(u))&&_.push(f),_.setRatio=Q,/[\+-]=-?[\.\d]/.test(e)&&(_.end=null),_},Z=function(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h,l=typeof t[e],_="function"==l?e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3):"",_="get"===i?_?a?t[_](a):t[_]():t[e]:i,i="string"==typeof r&&"="===r.charAt(1),t={t:t,p:e,s:_,f:"function"==l,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:i?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-_||0};return"number"==typeof _&&("number"==typeof r||i)||(a||isNaN(_)||!i&&isNaN(r)||"boolean"==typeof _||"boolean"==typeof r?(t.fp=a,t={t:h=H(_,i?parseFloat(t.s)+t.c+(t.s+"").replace(/[0-9\-\.]/g,""):r,o||R.defaultStringFilter,t),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(t.s=parseFloat(_),i||(t.c=parseFloat(r)-t.s||0))),t.c?((t._next=this._firstPT)&&(t._next._prev=t),this._firstPT=t):void 0},$=R._internals={isArray:x,isSelector:A,lazyTweens:M,blobDif:H},D=R._plugins={},l=$.tweenLookup={},K=0,J=$.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},tt={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},h=o._rootFramesTimeline=new t,_=o._rootTimeline=new t,et=30,L=$.lazyRender=function(){var t,e,i=M.length;for(q={},t=0;t<i;t++)(e=M[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);M.length=0},F=(_._startTime=g.time,h._startTime=g.frame,_._active=h._active=!0,setTimeout(L,1),o._updateRoot=R.render=function(){var t,e,i;if(M.length&&L(),_.render((g.time-_._startTime)*_._timeScale,!1,!1),h.render((g.frame-h._startTime)*h._timeScale,!1,!1),M.length&&L(),g.frame>=et){for(i in et=g.frame+(parseInt(R.autoSleep,10)||120),l){for(t=(e=l[i].tweens).length;-1<--t;)e[t]._gc&&e.splice(t,1);0===e.length&&delete l[i]}if((!(i=_._first)||i._paused)&&R.autoSleep&&!h._first&&1===g._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||g.sleep()}}}
2,g.addEventListener("tick",o._updateRoot),function(t,e,i){var r,n,s=t._gsTweenID;if(l[s||(t._gsTweenID=s="t"+K++)]||(l[s]={target:t,tweens:[]}),e&&((r=l[s].tweens)[n=r.length]=e,i))for(;-1<--n;)r[n]===e&&r.splice(n,1);return l[s].tweens}),it=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=R.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s},rt=function(t,e,i,r,n){var s,a,o,l;if(1===r||4<=r){for(l=n.length,s=0;s<l;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break}else{for(var h,_=e._startTime+v,u=[],f=0,c=0===e._duration,s=n.length;-1<--s;)(o=n[s])===e||o._gc||o._paused||(o._timeline===e._timeline?o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&((c||!o._initted)&&_-o._startTime<=2e-8||(u[f++]=o)):(h=h||nt(e,0,c),0===nt(o,h,c)&&(u[f++]=o)));for(s=f;-1<--s;)if(l=(o=u[s])._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!it(o,e))continue;o._enabled(!1,!1)&&(a=!0)}}return a},nt=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?v:(s+=t.totalDuration()/t._timeScale/n)>e+v?0:s-e-v},z=(r._init=function(){var t,e,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,_=a.ease,u=this._startAt;if(a.startAt){for(r in u&&(u.render(-1,!0),u.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=R.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(u)u.render(-1,!0),u.kill(),this._startAt=null;else{for(r in 0!==this._time&&(h=!1),i={},a)J[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=R.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=_=_?_ instanceof b?_:"function"==typeof _?new b(_,a.easeParams):P[_]||R.defaultEase:R.defaultEase,a.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,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&&R._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},r._initProps=function(t,e,i,r,n){var s,a,o,l,h,_;if(null==t)return!1;for(s in q[t._gsTweenID]&&L(),this.vars.css||t.style&&t!==f&&t.nodeType&&D.css&&!1!==this.vars.autoCSS&&U(this.vars,t),this.vars)if(_=this.vars[s],J[s])_&&(_ instanceof Array||_.push&&x(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[s]=_=this._swapSelfInParams(_,this));else if(D[s]&&(l=new D[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]=Z.call(this,t,s,"get",_,s,0,null,this.vars.stringFilter,n);
2return r&&this._kill(r,t)?this._initProps(t,e,i,r,n):1<this._overwrite&&this._firstPT&&1<i.length&&rt(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)&&(q[t._gsTweenID]=!0),o)},r.render=function(t,e,i){var r,n,s,a,o=this,l=o._time,h=o._duration,_=o._rawPrevTime,u,f,c;if(h-v<=t&&0<=t?(o._totalTime=o._time=h,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(r=!0,n="onComplete",i=i||o._timeline.autoRemoveChildren),0!==h||!o._initted&&o.vars.lazy&&!i||(o._startTime===o._timeline._duration&&(t=0),(_<0||t<=0&&-v<=t||_===v&&"isPause"!==o.data)&&_!==t&&(i=!0,v<_)&&(n="onReverseComplete"),o._rawPrevTime=a=!e||t||_===t?t:v)):t<v?(o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===h&&0<_)&&(n="onReverseComplete",r=o._reversed),-v<t?t=0:t<0&&(o._active=!1,0===h)&&(o._initted||!o.vars.lazy||i)&&(0<=_&&(_!==v||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=a=!e||t||_===t?t:v),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0)):(o._totalTime=o._time=t,o._easeType?(u=t/h,(1===(f=o._easeType)||3===f&&.5<=u)&&(u=1-u),3===f&&(u*=2),1===(c=o._easePower)?u*=u:2===c?u*=u*u:3===c?u*=u*u*u:4===c&&(u*=u*u*u*u),o.ratio=1===f?1-u:2===f?u:t/h<.5?u/2:1-u/2):o.ratio=o._ease.getRatio(t/h)),o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(!1!==o.vars.lazy&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=_,M.push(o),void(o._lazy=[t,e]);o._time&&!r?o.ratio=o._ease.getRatio(o._time/h):r&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(!1!==o._lazy&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&0<=t&&(o._active=!0),0!==l||(o._startAt&&(0<=t?o._startAt.render(t,!0,i):n=n||"_dummyGS"),!o.vars.onStart)||0===o._time&&0!==h||e||o._callback("onStart"),s=o._firstPT;s;)s.f?s.t[s.p](s.c*o.ratio+s.s):s.t[s.p]=s.c*o.ratio+s.s,s=s._next;o._onUpdate&&(t<0&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),!n||o._gc&&!i||(t<0&&o._startAt&&!o._onUpdate&&-1e-4!==t&&o._startAt.render(t,!0,i),r&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[n]&&o._callback(n),0!==h)||o._rawPrevTime!==v||a===v||(o._rawPrevTime=0)}},r._kill=function(t,e,i){if(null==(t="all"===t?null:t)&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"==typeof e?R.selector(e)||e:e||this._targets||this.target;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((x(e)||A(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,_=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(R.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(u=u||[],u.push(s));if((u||!t)&&!it(this,i,e,u))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]),_&&(n[s]=1);!this._firstPT&&this._initted&&c&&this._enabled(!1,!1)}}return l},r.invalidate=function(){this._notifyPluginsOfEnabled&&R._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?{}:[],o.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-v,this.render(t,!1,!1!==this.vars.lazy)),this},r._enabled=function(t,e){if(y||g.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;-1<--i;)this._siblings[i]=F(r[i],this,!0);else this._siblings=F(this.target,this,!0)}return o.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&R._onPluginEvent(t?"_onEnable":"_onDisable",this)}
2,R.to=function(t,e,i){return new R(t,e,i)},R.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new R(t,e,i)},R.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new R(t,e,r)},R.delayedCall=function(t,e,i,r,n){return new R(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},R.set=function(t,e){return new R(t,0,e)},R.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"==typeof t&&R.selector(t)||t,(x(t)||A(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];-1<--i;)r=r.concat(R.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=F(t).concat()).length;-1<--i;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},R.killTweensOf=R.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=R.getTweensOf(t,e),n=r.length;-1<--n;)r[n]._kill(i,t)},w("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=z.prototype},!0));if(r=z.prototype,z.version="1.19.0",z.API=2,r._firstPT=null,r._addTween=Z,r.setRatio=Q,r._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},r._mod=r._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},R._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},z.activate=function(t){for(var e=t.length;-1<--e;)t[e].API===z.API&&(D[(new t[e])._propName]=t[e]);return!0},n.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=w("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){z.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new z(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,z.activate([a]),a},e=f._gsQueue){for(i=0;i<e.length;i++)e[i]();for(r in T)T[r].func||f.console.log("GSAP encountered missing dependency: "+r)}y=!1})("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),((t,e)=>{"function"==typeof define&&define.amd?define(e):"undefined"==typeof exports?e():module.exports=e()})(this,function(){(void 0===LS_GSAP?window:LS_GSAP).SplitType=((k,h,n)=>{function s(t){return null!==t&&"object"==typeof t}function _(t){return s(t)&&"number"==typeof t.length&&0<t.length}function o(t){return s(t)&&"[object Object]"===Object.prototype.toString.call(t)}function u(t){return s(t)&&/^(1|3|11)$/.test(t.nodeType)}function f(t){return"string"==typeof t}function C(t,e,i){for(var r=Object(t),n=_(r)?r:o(r)?m(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 g(t,e,y(r,e)||y(i,e))},{})}function R(t,e,i){var t,r={};return s(t)&&(t=t[c]||(t[c]=++d),r=p[t]||(p[t]={})),i===n?e===n?r:r[e]:e===n?void 0:r[e]=i}function a(t){var e=t&&t[c];e&&(delete t[e],delete p[e])}function A(t,i){var r=h.createElement(t);return i===n||C(i,function(t){var e=i[t];null!==e&&("textContent"===t?r.textContent=e:"innerHTML"===t?r.innerHTML=e:"children"===t?C(e,function(t){u(t)&&r.appendChild(t)}):r.setAttribute(t,e))}),r}function r(t){var e,i,r,n,s,a,o,l=[];
2if(f(t)&&(t=(i="#"===(e=t.trim())[0]&&!/[^\w]/.test(r=e.slice(1)))?h.getElementById(r):h.querySelectorAll(e)),e||u(t))return u(t)?[t]:D.call(t);if(_(t))for(a=0,n=t.length;a<n;a++)if(_(t[a]))for(o=0,s=t[a].length;o<s;o++)u(t[a][o])&&l.push(t[a][o]);else u(t[a])&&l.push(t[a]);return l}function e(t){var e,i,r,n,s,a=this.settings,o=a.tagName,l="B"+ +new Date+"R",h=a.split,_=-1!==h.indexOf("lines"),u=-1!==h.indexOf("words"),f=-1!==h.indexOf("chars"),c="absolute"===a.position||!0===a.absolute,h=A("div"),p=[],d=[],m=[],g,y,v,x,T,w,h,d,b,P,S,O,h,d,b,P,S,s=_?A("div"):L();h.innerHTML=t.innerHTML.replace(/<br\s*\/?>/g," "+l+" "),d=(e=h.textContent.replace(/\s+/g," ").trim()).split(" ").map(function(t){var e;return t===l?(s.appendChild(A("br")),null):(f&&(e=t.split("").map(function(t){return n=A(o,{class:a.charClass+" "+a.splitClass,style:"display: inline-block;",textContent:t})}),M.apply(m,e)),u||_?(r=A(o,{class:a.wordClass+" "+a.splitClass,style:"display: inline-block; position:"+(u?"relative":"static;"),children:f?e:null,textContent:f?null:t}),s.appendChild(r)):C(e,function(t){s.appendChild(t)}),s.appendChild(F(" ")),r)},this).filter(function(t){return t}),t.innerHTML="",t.appendChild(s),M.apply(this.words,d),M.apply(this.chars,m),(c||_)&&(O=[],h=R(t).nodes=t.getElementsByTagName(o),d=t.parentElement,b=t.nextElementSibling,S=k.getComputedStyle(t).textAlign,c&&(x={left:s.offsetLeft,top:s.offsetTop,width:s.offsetWidth},w=t.offsetWidth,T=t.offsetHeight,R(t).cssWidth=t.style.width,R(t).cssHeight=t.style.height),C(h,function(t){var e,i;t!==s&&(i=t.parentElement===s,_&&i&&((e=R(t).top=t.offsetTop)!==y&&(y=e,O.push(g=[])),g.push(t)),c)&&(R(t).top=e||t.offsetTop,R(t).left=t.offsetLeft,R(t).width=t.offsetWidth,R(t).height=v=v||t.offsetHeight)}),d.removeChild(t),_&&(s=L(),p=O.map(function(t){return s.appendChild(i=A(o,{class:a.lineClass+" "+a.splitClass,style:"display: block; text-align:"+S+"; width: 100%;"})),c&&(R(i).type="line",R(i).top=R(t[0]).top,R(i).height=v),C(t,function(t){u?i.appendChild(t):f?D.call(t.children).forEach(function(t){i.appendChild(t)}):i.appendChild(F(t.textContent)),i.appendChild(F(" "))}),i}),t.replaceChild(s,t.firstChild),M.apply(this.lines,p)),c&&(t.style.width=t.style.width||w+"px",t.style.height=T+"px",C(h,function(t){var e="line"===R(t).type,i=!e&&"line"===R(t.parentElement).type;t.style.top=i?0:R(t).top+"px",t.style.left=e?x.left+"px":(i?R(t).left-x.left:R(t).left)+"px",t.style.height=R(t).height+"px",t.style.width=e?x.width+"px":R(t).width+"px",t.style.position="absolute"})),b?d.insertBefore(t,b):d.appendChild(t))}function l(t,e){return this instanceof l?(this.isSplit=!1,this.settings=i(v,e),this.elements=r(t),void(this.elements.length&&(this.originals=this.elements.map(function(t){return R(t).html=R(t).html||t.innerHTML}),this.split()))):new l(t,e)}var c,p,d,M,D,m,g,y,L,F,v;if(h.addEventListener&&Function.prototype.bind)return c="splitType"+ +new Date,p={},d=0,M=Array.prototype.push,D=Array.prototype.slice,m=Object.keys,Object.prototype.hasOwnProperty,g=Object.defineProperty,y=Object.getOwnPropertyDescriptor,L=h.createDocumentFragment.bind(h),F=h.createTextNode.bind(h),v={splitClass:"",lineClass:"ls-ln",wordClass:"ls-wd",charClass:"ls-ch",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"ls-tb",DEBUG:!1},g(l,"defaults",{get:function(){return v},set:function(t){v=i(v,t)}}),l.prototype.split=function(t){this.revert(),this.lines=[],this.words=[],this.chars=[],t!==n&&(this.settings=i(this.settings,t)),C(this.elements,function(t){e.call(this,t),R(t).isSplit=!0},this),this.isSplit=!0,C(this.elements,function(t){for(var e=R(t).nodes||[],i=0,r=e.length;i<r;i++)a(e[i])})},l.prototype.revert=function(){this.isSplit&&(this.lines=this.words=this.chars=null),C(this.elements,function(t){R(t).isSplit&&R(t).html&&(t.innerHTML=R(t).html,t.style.height=R(t).cssHeight||"",t.style.width=R(t).cssWidth||"",this.isSplit=!1)},this)},l})(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,
2i,r){var n,s,a,t=jQuery(t),o="ls-issue-"+e;"jquery"===e?(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.'):"oldjquery"===e&&(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)}; 3(Z=>{window._layerSliders={},window._lsData={$overflowWrapper:Z("body").length?Z("body"):Z("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"],transitionse:["data","transitionse"],transitionorigami:["data","transitionorigami"],customtransition2d:["data","customtransition2d"],customtransition3d:["data","customtransition3d"],transitionduration:["data","transitionDuration"],backgroundsize:["data","backgroundSize"],bgsize:["data","backgroundSize"],backgroundposition:["data","backgroundPosition"],bgposition:["data","backgroundPosition"],backgroundcolor:["data","backgroundColor"],bgcolor:["data","backgroundColor"],thumbnail:["data","thumbnail"],deeplink:["data","deeplink"],overflow:["data","overflow"],kenburnspan:["kenBurns","pan"],kenburnszoom:["kenBurns","zoom"],kenburnsrotation:["kenBurns","rotation"],kenburnsrotate:["kenBurns","rotation"],kenburnsscale:["kenBurns","scale"],filterfrom:["filter","from"],filterto:["filter","to"],parallaxtype:["parallax","type"],parallaxevent:["parallax","event"],parallaxaxis:["parallax","axis"],parallaxdistance:["parallax","distance"],parallaxrotate:["parallax","rotation"],parallaxtransformorigin:["parallax","transformOrigin"],parallaxtransformperspective:["parallax","transformPerspective"],parallaxskewx:["parallax","skewX"],parallaxskewy:["parallax","skewY"],parallaxscalex:["parallax","scaleX"],parallaxscaley:["parallax","scaleY"],parallaxdurationenter:["parallax","durationEnter"],parallaxdurationmove:["parallax","durationMove"],parallaxdurationleave:["parallax","durationLeave"],parallaxorigin:["parallax","origin"],parallaxcount:["parallax","count"],parallaxpath:["parallax","path"],parallaxdirection:["parallax","direction"],parallaxstartat:["parallax","startAt"],parallaxpathduration:["parallax","pathDuration"],parallaxrandomcount:["parallax","randomCount"],parallaxoffsetx:["parallax","randomX"],parallaxoffsety:["parallax","randomY"],parallaxrandomstartat:["parallax","randomStartAt"],parallaxrandomduration:["parallax","randomDuration"],parallaxrandomwait:["parallax","randomWait"],parallaxeasing:["parallax","ease"],globalhover:["data","globalhover"]}},layer:{keys:{keyframe:["is"],responsive:["is"],pinned:["is"],position:["settings"],static:["settings"],minresponsiveratio:["settings"],maxresponsiveratio:["settings"],usesliderratio:["settings"],trmask:["settings"],smartbgease:["settings"],minfontsize:["styleSettings"],minmobilefontsize:["styleSettings"],overlay:["styleSettings"],pointerevents:["styleSettings"],smartbg:["styleSettings"],autoplay:["mediaSettings"],controls:["mediaSettings"],showinfo:["mediaSettings"],thumbnail:["poster","mediaSettings"],poster:["mediaSettings"],volume:["mediaSettings"],muted:["mediaSettings"],loopmedia:["loop","mediaSettings"],backgroundvideo:["backgroundVideo","mediaSettings"],fadein:["opacity","inLayerFromCSS"],opacityin:["opacity","inLayerFromCSS"],rotatein:["rotation","inLayerFromCSS"],rotatexin:["rotationX","inLayerFromCSS"],rotateyin:["rotationY","inLayerFromCSS"],rotationin:["rotation","inLayerFromCSS"],rotationxin:["rotationX","inLayerFromCSS"],rotationyin:["rotationY","inLayerFromCSS"],scalein:["scale","inLayerFromCSS"],scalexin:["scaleX","inLayerFromCSS"],scaleyin:["scaleY","inLayerFromCSS"],skewxin:["skewX","inLayerFromCSS"],skewyin:["skewY","inLayerFromCSS"],bgcolorin:["backgroundColor","inLayerStyleFromCSS"],colorin:["color","inLayerStyleFromCSS"],radiusin:["borderRadius","inLayerStyleShouldBeConvertedFrom"],widthin:["width","inLayerStyleShouldBeConvertedFrom"],heightin:["he
3ight","inLayerStyleShouldBeConvertedFrom"],filterin:["filter","inLayerStyleShouldBeConvertedFrom"],clipin:["clipPath","inClipFromCSS"],zindexin:["zIndex","in"],rotate:["rotation","inLayerToCSS"],rotatex:["rotationX","inLayerToCSS"],rotatey:["rotationY","inLayerToCSS"],rotation:["rotation","inLayerToCSS"],rotationx:["rotationX","inLayerToCSS"],rotationy:["rotationY","inLayerToCSS"],scale:["scale","inLayerToCSS"],scalex:["scaleX","inLayerToCSS"],scaley:["scaleY","inLayerToCSS"],skewx:["skewX","inLayerToCSS"],skewy:["skewY","inLayerToCSS"],transformoriginin:["transformOrigin","inLayerShouldBeConverted"],offsetxin:["x","inLayerShouldBeConverted"],offsetyin:["y","inLayerShouldBeConverted"],delayin:["startAt","in"],startatin:["startAt","in"],startatfirst:["startAtFirst","in"],instartat:["startAt","in"],durationin:["duration","in"],easein:["ease","in"],easingin:["ease","in"],transitionin:["enabled","in"],transformmirrorin:["mirror","in"],skipviewport:["skipViewport","settings"],textfadein:["opacity","textInNodesFrom"],textopacityin:["opacity","textInNodesFrom"],textrotatein:["rotation","textInNodesFrom"],textrotatexin:["rotationX","textInNodesFrom"],textrotateyin:["rotationY","textInNodesFrom"],textrotationin:["rotation","textInNodesFrom"],textrotationxin:["rotationX","textInNodesFrom"],textrotationyin:["rotationY","textInNodesFrom"],textscalein:["scale","textInNodesFrom"],textscalexin:["scaleX","textInNodesFrom"],textscaleyin:["scaleY","textInNodesFrom"],textskewxin:["skewX","textInNodesFrom"],textskewyin:["skewY","textInNodesFrom"],textcolorin:["color","textInNodesFrom"],textclipin:["clipPath","textInNodesFrom"],textoverflowin:["overflow","textInLayerStyle"],texteasein:["ease","textInNodesTo"],texteasingin:["ease","textInNodesTo"],texttransformoriginin:["transformOrigin","textInShouldBeConverted"],textoffsetxin:["x","textInShouldBeConverted"],textoffsetyin:["y","textInShouldBeConverted"],texttypein:["type","textIn"],textshiftin:["shiftNodes","textIn"],textdelayin:["startAt","textIn"],textstartatin:["startAt","textIn"],textinstartat:["startAt","textIn"],textdurationin:["duration","textIn"],texttransitionin:["enabled","textIn"],texttransformmirrorin:["mirror","textIn"],fadeout:["opacity","outLayerToCSS"],opacityout:["opacity","outLayerToCSS"],rotateout:["rotation","outLayerToCSS"],rotatexout:["rotationX","outLayerToCSS"],rotateyout:["rotationY","outLayerToCSS"],rotationout:["rotation","outLayerToCSS"],rotationxout:["rotationX","outLayerToCSS"],rotationyout:["rotationY","outLayerToCSS"],scaleout:["scale","outLayerToCSS"],scalexout:["scaleX","outLayerToCSS"],scaleyout:["scaleY","outLayerToCSS"],skewxout:["skewX","outLayerToCSS"],skewyout:["skewY","outLayerToCSS"],bgcolorout:["backgroundColor","outLayerStyleToCSS"],colorout:["color","outLayerStyleToCSS"],radiusout:["borderRadius","outLayerStyleShouldBeConvertedTo"],widthout:["width","outLayerStyleShouldBeConvertedTo"],heightout:["height","outLayerStyleShouldBeConvertedTo"],filterout:["filter","outLayerStyleShouldBeConvertedTo"],clipout:["clipPath","outClipToCSS"],zindexout:["zIndex","out"],transformoriginout:["transformOrigin","outLayerShouldBeConverted"],offsetxout:["x","outLayerShouldBeConverted"],offsetyout:["y","outLayerShouldBeConverted"],showuntil:["showUntil","out"],startatout:["startAt","out"],outstartat:["startAt","out"],durationout:["duration","out"],easeout:["ease","out"],easingout:["ease","out"],transitionout:["enabled","out"],transformmirrorout:["mirror","out"],textfadeout:["opacity","textOutNodesTo"],textopacityout:["opacity","textOutNodesTo"],textrotateout:["rotation","textOutNodesTo"],textrotatexout:["rotationX","textOutNodesTo"],textrotateyout:["rotationY","textOutNodesTo"],textrotationout:["rotation","textOutNodesTo"],textrotationxout:["rotationX","textOutNodesTo"],textrotationyout:["rotationY","textOutNodesTo"],textscaleout:["scale","textOutNodesTo"],textscalexout:["scaleX","textOutNodesTo"],textscaleyout:["scaleY","textOutNodesTo"],textskewxout:["skewX","textOutNodesTo"],textskewyout:["skewY","textOutNodesTo"],textcolorout:["color","textOutNodesTo"],textclipout
3:["clipPath","textOutNodesTo"],texteaseout:["ease","textOutNodesTo"],texteasingout:["ease","textOutNodesTo"],texttransformoriginout:["transformOrigin","textOutShouldBeConverted"],textoffsetxout:["x","textOutShouldBeConverted"],textoffsetyout:["y","textOutShouldBeConverted"],textoverflowout:["overflow","textOutLayerStyle"],texttypeout:["type","textOut"],textshiftout:["shiftNodes","textOut"],textdelayout:["startAt","textOut"],textstartatout:["startAt","textOut"],textoutstartat:["startAt","textOut"],textdurationout:["duration","textOut"],texttransitionout:["enabled","textOut"],texttransformmirrorout:["mirror","textOut"],loopopacity:["opacity","loopLayerShouldBeConverted"],looprotate:["rotation","loopLayerShouldBeConverted"],looprotatex:["rotationX","loopLayerShouldBeConverted"],looprotatey:["rotationY","loopLayerShouldBeConverted"],looprotation:["rotation","loopLayerShouldBeConverted"],looprotationx:["rotationX","loopLayerShouldBeConverted"],looprotationy:["rotationY","loopLayerShouldBeConverted"],loopscale:["scale","loopLayerShouldBeConverted"],loopscalex:["scaleX","loopLayerShouldBeConverted"],loopscaley:["scaleY","loopLayerShouldBeConverted"],loopskewx:["skewX","loopLayerShouldBeConverted"],loopskewy:["skewY","loopLayerShouldBeConverted"],looptransformorigin:["transformOrigin","loopLayerShouldBeConverted"],loopoffsetx:["x","loopLayerShouldBeConverted"],loopoffsety:["y","loopLayerShouldBeConverted"],loopfilter:["filter","loopLayerShouldBeConverted"],loopclip:["clipPath","loopClipToCSS"],loopdelay:["startAt","loop"],loopstartat:["startAt","loop"],loopduration:["duration","loopTimingsShouldBeConverted"],loopcount:["count","loop"],looptweendelay:["tweenDelay","loopTimingsShouldBeConverted"],looprepeatdelay:["repeatDelay","loopTimingsShouldBeConverted"],loopyoyo:["yoyo","loop"],loopyoyodelay:["yoyoDelay","loopTimingsShouldBeConverted"],loopease:["ease","loop"],loopeasing:["ease","loop"],loopresume:["resume","loop"],loop:["enabled","loop"],hoveropacity:["opacity","hoverToCSS"],hoverrotate:["rotation","hoverToCSS"],hoverrotatex:["rotationX","hoverToCSS"],hoverrotatey:["rotationY","hoverToCSS"],hoverrotation:["rotation","hoverToCSS"],hoverrotationx:["rotationX","hoverToCSS"],hoverrotationy:["rotationY","hoverToCSS"],hoverscale:["scale","hoverToCSS"],hoverscalex:["scaleX","hoverToCSS"],hoverscaley:["scaleY","hoverToCSS"],hoverskewx:["skewX","hoverToCSS"],hoverskewy:["skewY","hoverToCSS"],hoverbgcolor:["backgroundColor","hoverToCSS"],hovercolor:["color","hoverToCSS"],hoverease:["easeIn","hover"],hovereasing:["easeIn","hover"],hovereasein:["easeIn","hover"],hovereasingin:["easeIn","hover"],hovereaseout:["easeOut","hover"],hovereasingout:["easeOut","hover"],hoverduration:["durationIn","hover"],hoverdurationin:["durationIn","hover"],hoverdurationout:["durationOut","hover"],hoveralwaysontop:["alwaysOnTop","hover"],hoveroffsetx:["x","hoverShouldBeConverted"],hoveroffsety:["y","hoverShouldBeConverted"],hoverfilter:["filter","hoverShouldBeConverted"],hoverborderradiu
3s:["borderRadius","hoverShouldBeConverted"],hoverradius:["borderRadius","hoverShouldBeConverted"],hovertransformorigin:["transformOrigin","hoverShouldBeConverted"],hoverskipglobal:["skipGlobal","hover"],hover:["enabled","hover"],kenburnspan:["pan","kenBurns"],kenburnszoom:["zoom","kenBurns"],kenburnsrotation:["rotation","kenBurns"],kenburnsrotate:["rotation","kenBurns"],kenburnsscale:["scale","kenBurns"],parallaxreset:["reset","parallax"],parallaxlevel:["level","parallax"],parallaxtype:["type","parallax"],parallaxevent:["event","parallax"],parallaxaxis:["axis","parallax"],parallaxdistance:["distance","parallax"],parallaxrotate:["rotation","parallax"],parallaxtransformorigin:["transformOrigin","parallax"],parallaxskewx:["skewX","parallax"],parallaxskewy:["skewY","parallax"],parallaxscalex:["scaleX","parallax"],parallaxscaley:["scaleY","parallax"],parallaxdurationenter:["durationEnter","parallax"],parallaxdurationmove:["durationMove","parallax"],parallaxdurationleave:["durationLeave","parallax"],parallaxorigin:["origin","parallax"],parallaxcount:["count","parallax"],parallaxpath:["path","parallax"],parallaxdirection:["direction","parallax"],parallaxstartat:["startAt","parallax"],parallaxpathduration:["pathDuration","parallax"],parallaxrandomcount:["randomCount","parallax"],parallaxoffsetx:["randomX","parallax"],parallaxoffsety:["randomY","parallax"],parallaxrandomstartat:["randomStartAt","parallax"],parallaxrandomduration:["randomDuration","parallax"],parallaxrandomwait:["randomWait","parallax"],parallaxeasing:["ease","parallax"],parallax:["enabled","parallax"],scroll:["enabled","scroll"],scrollduration:["duration","scroll"],scrolldurationrev:["durationRev","scroll"],scrollease:["ease","scroll"],scrolleaserev:["easeRev","scroll"],scrollcenter:["center","scroll"],scrollopacity:["opacity","scroll"],scrollopacitymin:["opacitymin","scroll"],scrollopacitymax:["opacitymax","scroll"],scrollopacityyoyo:["opacityyoyo","scroll"],scrollopacityinvert:["opacityinvert","scroll"],scrollrotate:["rotation","scroll"],scrollrotatemin:["rotationmin","scroll"],scrollrotatemax:["rotationmax","scroll"],scrollrotateyoyo:["rotationyoyo","scroll"],scrollrotatex:["rotationX","scroll"],scrollrotatexmin:["rotationXmin","scroll"],scrollrotatexmax:["rotationXmax","scroll"],scrollrotatexyoyo:["rotationXyoyo","scroll"],scrollrotatey:["rotationY","scroll"],scrollrotateymin:["rotationYmin","scroll"],scrollrotateymax:["rotationYmax","scroll"],scrollrotateyyoyo:["rotationYyoyo","scroll"],scrollrotation:["rotation","scroll"],scrollrotationmin:["rotationmin","scroll"],scrollrotationmax:["rotationmax","scroll"],scrollrotationyoyo:["rotationyoyo","scroll"],scrollrotationx:["rotationX","scroll"],scrollrotationxmin:["rotationXmin","scroll"],scrollrotationxmax:["rotationXmax","scroll"],scrollrotationxyoyo:["rotationXyoyo","scroll"],scrollrotationy:["rotationY","scroll"],scrollrotationymin:["rotationYmin","scroll"],scrollrotationymax:["rotationYmax","scroll"],scrollrotationyyoyo:["rotationYyoyo","scroll"],scrollscalex:["scaleX","scroll"],scrollscalexmin:["scaleXmin","scroll"],scrollscalexmax:["scaleXmax","scroll"],scrollscalexyoyo:["scaleXyoyo","scroll"],scrollscaley:["scaleY","scroll"],scrollscaleymin:["scaleYmin","scroll"],scrollscaleymax:["scaleYmax","scroll"],scrollscaleyyoyo:["scaleYyoyo","scroll"],scrollskewx:["skewX","scroll"],scrollskewxmin:["skewXmin","scroll"],scrollskewxmax:["skewXmax","scroll"],scrollskewxyoyo:["skewXyoyo","scroll"],scrollskewy:["skewY","scroll"],scrollskewymin:["skewYmin","scroll"],scrollskewymax:["skewYmax","scroll"],scrollskewyyoyo:["skewYyoyo","scroll"],scrolloffsetx:["x","scroll"],scrolloffsetxmin:["xmin","scroll"],scrolloffsetxmax:["xmax","scroll"],scrolloffsetxyoyo:["xyoyo","scroll"],scrolloffsetxresponsive:["xresponsive","scroll"],scrolloffsety:["y","scroll"],scrolloffsetymin:["ymin","scroll"],scrolloffsetymax:["ymax","scroll"],scrolloffsetyyoyo:["yyoyo","scroll"],scrolloffsetyresponsive:["yresponsive","scroll"],scrolltransformorigin:["transformOrigin","scrollShouldBeConverted"],scrolltransformoriginalt:["transformOriginAlt","scrollShouldBeConverted"],scrollgetposition:["getPosition","scroll"],transformperspective:["layer","transformPerspective"],transformperspectivein:["layer","transformPerspective"],transformperspectiveout:["layer","transformPerspective"],texttransformperspective:["text","transformPerspective"],texttransformperspectivein:["text","transformPerspective"],texttransformperspectiveout:["text","transformPerspective"],looptransformperspective:["loop","transformPerspective"],hovertransformperspective:["hover","transformPerspective"],parallaxtransformperspective:["parallax","transformPerspective"],scrolltransformperspective:["scroll","transformPerspective"]}}},Z(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:Z(window).width(),height:Z(window).height()},Z(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,Z(window).trigger("resize.lsGlobal")},100))}),Z(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)}),Z(document).on("wheel.lsGlobal ",function(e){0!==Math.abs(e.originalEvent.deltaY)&&(window._lsData.scroll.direction=e.originalEvent.deltaY<0?"up":"down")}),Z(document).on("touchstart.lsGlobal ",function(e){window._lsData.ts=e.originalEvent.touches[0].clientY}),Z(document).on("touchend.lsGlobal ",function(e){var 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")}),Z.fn.layerSlider=function(i,a,s,r){window._lsData.documentIsAccessible=!0,i=i||{};var t,e="1.8.0",o=Z.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),Z(this).data("lsSliderUID")||(window._layerSliders[t]=new n(this,Z(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[Z(this).data("lsSliderUID")];t&&t.api.methods(i,a,s,r)});window._layerSlider.showNotice(this,"oldjquery",o,e)};var n=function(L,_,i,$){_.data("lsSliderUID",$).attr("data-layerslider-uid",$);var j=this,q=j.gsap=window._layerSlider.GSAP||window,M=Z(window),Q=window._lsData;j.defaults={init:{staggerSplitChar:"|",rangeSplitChar:"..",randomSplitChar:"|",openingBracket:"[",closingBracket:"]",dataKey:"_LS",emptyIMG:"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",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,pauseL
3ayers:!1,firstSlide:1,sliderFadeInDuration:0,animateFirstSlide:!1,firstSlideDuration:!1,firstSlideTimeShift:!1,cycles:-1,forceCycles:!0,twoWaySlideshow:!1,shuffleSlideshow:!1,forceLayersOutDuration:750,slideDuration:!1,slideDurationWithoutLayers:3e3,slideTransitionDuration:!1,slideTimeShift:0,skin:"v6",skinsPath:"/layerslider/skins/",globalBGColor:"transparent",globalBGImage:!1,globalBGRepeat:"no-repeat",globalBGAttachment:"scroll",globalBGSize:"auto",globalBGPosition:"50% 50%",marginTop:!1,marginBottom:!1,navPrevNext:!0,navStartStop:!0,navButtons:!0,keybNav:!0,touchNav:!0,hoverPrevNext:!0,hoverBottomNav:!1,showBarTimer:!1,showCircleTimer:!0,showSlideBarTimer:!1,thumbnailNavigation:"hover",tnFillMode:"contain",tnContainerWidth:"60%",tnWidth:100,tnHeight:60,tnActiveOpacity:35,tnInactiveOpacity:100,scrollModifier:0,autoPlayVideos:!0,autoPauseSlideshow:"auto",youtubePreview:"maxresdefault.jpg",rememberUnmuteState:!0,parallaxCenterDegree:40,parallaxSensitivity:10,parallaxCenterLayers:"center",parallaxScrollReverse:!1,scrollCenterLayers:"center",yourLogo:!1,yourLogoStyle:"left: -10px; top: -10px;",yourLogoLink:!1,yourLogoTarget:"_self",optimizeForMobile:!0,hideOnMobile:!1,hideUnder:-1,hideOver:-1,slideOnSwipe:!0,allowRestartOnResize:!1,fixFloatedContainers:!1,useSrcset:!0,hashChange:!1,refreshWaypoint:!0,staticImage:""}},slider:{errorText:"LayerSlider (UID: "+$+") error:"},slide:{keys:window._lsData.slide.keys,options:{$link:!1,index:-1,data:{duration:-1,timeShift:0,calculatedTimeShift:0},parallax:{type:"2d",event:"cursor",x:!0,y:!0,distance:10,rotation:10,transformOrigin:"slidercenter slidermiddle 0",transformPerspective:500,skewX:0,skewY:0,scaleX:0,scaleY:0,durationEnter:1.5,durationMove:1.5,durationLeave:1.2,origin:"slidercenter slidermiddle",count:-1,path:"circle",direction:"forward",startAt:"slidestart",pathDuration:3,randomCount:-1,randomX:"[-35sw..35sw]",randomY:"[-35sh..35sh]",randomStartAt:"slidestart",randomDuration:3,randomWait:0,ease:"easeInOutSine"},kenBurns:{scale:1.2},filter:{},lottie:{count:0,loaded:0}},registerPluginDefaults:function(e,t,i){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,inMask:!(!j.o.mask||!e.is("[data-ls-masked]")),lottie:!!e.is(".ls-lottie-layer"),responsive:!0,onSlide:t},should:{},elements:{},settings:{position:"relative",slideIn:t,slideOut:t},styleSettings:{minfontsize:0,minmobilefontsize:0},mediaSettings:{backgroundVideo:!1},timeline:{slidestart:0,transitioninstart:0,transitioninend:0,textinstart:0,textinend:0,allinend:function(e){return Math.max(this.transitioninend,this.textinend)},loopstart:0,loopend:0,autoparallaxstart:0,autoparallaxend:0,transitioninandloopend:function(e){return 0===this.loopend&&e.loop.enabled&&("number"==typeof e.loop.startAt||-1!==e.loop.startAt.indexOf("textinstart")&&-1!==e.loop.startAt.indexOf("textinend")&&-1!==e.loop.startAt.indexOf("allinend"))?(this.loopstart=j.transitions.layers.timeline.getTiming(e,e.loop.startAt,"loopstart"),this.loopend=-1!==e.loop.count&&e.timeline.loopstart+e.timelines._loop.duration()):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}
3},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,defaultDuration:1,ease:"easeInOutQuint"},textOut:{enabled:null,nodesFrom:{immediateRender:!1,cycle:{},opacity:1},nodesTo:{ease:"easeInOutQuint",immediateRender:!1,cycle:{},random:{},opacity:0},layerStyle:{},shouldBeConverted:{cycle:{},random:{},x:0,y:0},split:"",startAt:"allinandloopend",shiftNodes:.05,duration:1},loop:{enabled:null,initial:{autoCSS:!1,immediateRender:!1,css:{x:0,y:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0,opacity:1}},to:{autoCSS:!1,css:{}},clipTo:{autoCSS:!1,immediateRender:!1,css:{}},layerShouldBeConverted:{transformOrigin:"50% 50% 0",x:0,y:0},timingsShouldBeConverted:{yoyoDelay:0,tweenDelay:0,repeatDelay:0,duration:1e3},ease:"linear",startAt:"allinend",count:0},hover:{enabled:null,from:{autoCSS:!1,immediateRender:!1,css:{}},to:{autoCSS:!1,immediateRender:!1,css:{}},shouldBeConverted:{transformOrigin:"50% 50% 0"},alwaysOnTop:!0,easeIn:"easeOutQuart",durationIn:.5},parallax:{enabled:null,level:10},scroll:{enabled:null,shouldBeConverted:{transformOrigin:"50% 50% 0"},xresponsive:!0,yresponsive:!0},kenBurns:{scale:1.2},clip:{enabled:!1,default:{autoCSS:!1,immediateRender:!1,css:{clipPath:"polygon(0% 0%,100% 0%,100% 100%,0% 100%)"}},style:{autoCSS:!1,immediateRender:!1,css:{clipPath:"polygon(0% 0%,100% 0%,100% 100%,0% 100%)"}},none:{autoCSS:!1,immediateRender:!1,css:{clipPath:"polygon(-9999% -9999%,9999% -9999%,9999% 9999%,-9999% 9999%)"}}},filter:{values:{style:{},in:{},out:{},loop:{},hover:{},afterIn:{},afterLoop:{},bgFrom:{},bgTo:{}},transitions:{bg:null,in:null,out:null,loop:null,hover:null}},init:{wrapper:{autoCSS:!1,immediateRender:!1,css:{display:"block"}}},transformPerspective:{layer:500,text:500,loop:500,hover:500},reset:{wrapperOnTimelineEnd:{autoCSS:!1,css:{opacity:1,display:"none"}},wrapperOnSlideChange:{autoCSS:!1,css:{x:0,y:0,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0,opacity:1,display:"none"}},altWrapperOnSlideChange:{autoCSS:!1,css:{x:0,y:0,rotation:0,rotationX:0,rotationY:0,scaleX:1,scaleY:1,skewX:0,skewY:0,opacity:1}}}}};return{is:t.is,should:t.should,elements:t.elements,settings:t.settings,styleSettings:t.styleSettings,mediaSettings:t.mediaSettings,mediaProperties:t.mediaProperties,timeline:t.timeline,in:t.transitionProperties.in,inLayerFrom:t.transitionProperties.in.layerFrom,inLayerFromCSS:t.transitionProperties.in.layerFrom.css,inLayerStyleFrom:t.transitionProperties.in.layerStyleFrom,inLayerStyleFromCSS:t.transitionProperties.in.layerStyleFrom.css,inClipFrom:t.transitionProperties.in.clipFrom,inClipFromCSS:t.transitionProperties.in.clipFrom.css,inLayerTo:t.transitionProperties.in.layerTo,inLayerToCSS:t.transitionProperties.in.layerTo.css,inLayerStyleTo:t.transitionProperties.in.layerStyleTo,inLayerStyleToCSS:t.transitionProperties.in.layerStyleTo.css,inClipTo:t.transitionProperties.clip.style,inClipToCSS:t.transitionProperties.clip.style.css,inLayerShouldBeConverted:t.transitionProperties.in.layerShouldBeConverted,inLayerStyleShouldBeConvertedFrom:t.transitionProperties.in.layerStyleShouldBeConvertedFrom,inLayerStyleShouldBeConvertedTo:t.transitionProperties.in.layerStyleShouldBeConvertedTo,textIn:t.transitionProperties.textIn,textInLayerStyle:t.transitionProperties.textIn.layerStyle,textInNodesFrom:t.transitionProperties.textIn.nodesFrom,textInNodesTo:t.transitionProperties.textIn.nodesTo,textInNodesToCSS:t.transitionProperties.textIn.nodesTo.
3css,textInShouldBeConverted:t.transitionProperties.textIn.shouldBeConverted,out:t.transitionProperties.out,outLayerFrom:t.transitionProperties.out.layerFrom,outLayerFromCSS:t.transitionProperties.out.layerFrom.css,outLayerStyleFrom:t.transitionProperties.out.layerStyleFrom,outLayerStyleFromCSS:t.transitionProperties.out.layerStyleFrom.css,outClipFrom:t.transitionProperties.clip.style,outClipFromCSS:t.transitionProperties.clip.style.css,outLayerTo:t.transitionProperties.out.layerTo,outLayerToCSS:t.transitionProperties.out.layerTo.css,outLayerStyleTo:t.transitionProperties.out.layerStyleTo,outLayerStyleToCSS:t.transitionProperties.out.layerStyleTo.css,outClipTo:t.transitionProperties.out.clipTo,outClipToCSS:t.transitionProperties.out.clipTo.css,outLayerShouldBeConverted:t.transitionProperties.out.layerShouldBeConverted,outLayerStyleShouldBeConvertedFrom:t.transitionProperties.out.layerStyleShouldBeConvertedFrom,outLayerStyleShouldBeConvertedTo:t.transitionProperties.out.layerStyleShouldBeConvertedTo,textOut:t.transitionProperties.textOut,textOutLayerStyle:t.transitionProperties.textOut.layerStyle,textOutNodesFrom:t.transitionProperties.textOut.nodesFrom,textOutNodesTo:t.transitionProperties.textOut.nodesTo,textOutShouldBeConverted:t.transitionProperties.textOut.shouldBeConverted,loop:t.transitionProperties.loop,loopInitial:t.transitionProperties.loop.initial,loopInitialCSS:t.transitionProperties.loop.initial.css,loopClipFrom:t.transitionProperties.clip.style,loopClipFromCSS:t.transitionProperties.clip.style.css,loopTo:t.transitionProperties.loop.to,loopToCSS:t.transitionProperties.loop.to.css,loopClipTo:t.transitionProperties.loop.clipTo,loopClipToCSS:t.transitionProperties.loop.clipTo.css,loopLayerShouldBeConverted:t.transitionProperties.loop.layerShouldBeConverted,loopTimingsShouldBeConverted:t.transitionProperties.loop.timingsShouldBeConverted,hover:t.transitionProperties.hover,hoverFrom:t.transitionProperties.hover.from,hoverFromCSS:t.transitionProperties.hover.from.css,hoverTo:t.transitionProperties.hover.to,hoverToCSS:t.transitionProperties.hover.to.css,hoverShouldBeConverted:t.transitionProperties.hover.shouldBeConverted,parallax:t.transitionProperties.parallax,scroll:t.transitionProperties.scroll,scrollShouldBeConverted:t.transitionProperties.scroll.shouldBeConverted,kenBurns:t.transitionProperties.kenBurns,clip:t.transitionProperties.clip,filter:t.transitionProperties.filter,transformPerspective:t.transitionProperties.transformPerspective,init:t.transitionProperties.init,reset:t.transitionProperties.reset,countdownSettings:i,counterSettings:a,timelines:{},randomValues:{}}}}},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=Z(e[a]),o=r[0].style,n=Z.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(";"),c=0;c<d.length;c++){var p,u,m=d[c].split(":");m[0]=Z.trim(m[0].toLowerCase()),m[1]=Z.trim(m[1]),-1==["thumbnail"].indexOf(m[0])&&(m[1]=m[1].toLowerCase()),""!==m[0]&&(void 0!==i[m[0]]?(p=void 0===i[m[0]][1]?m[0]:i[m[0]][1],u=j.functions.convert.properties(m[1]),p.match(/(duration|delay|wait|timeshift)/i)&&Z.isNumeric(u)&&(u/=1e3),n[i[m[0]][0]]||(n[i[m[0]][0]]={}),n[i[m[0]][0]][p]=u):n.data[m[0]]=m[1])}if(n.plugins&&!Z.isEmptyObject(n.plugins))for(var h in n.plugins)if(r.data("ls-plugin-"+h)){var f=r.data("ls-plugin-"+h).toLowerCase().split(";"),g={},y;for(y in n.plugins[h])g[y.toLowerCase()]=y;for(var v=0;v<f.length;v++){var x,S=f[v].split(":");S[0]=Z.trim(S[0]),""!==S[0]&&(x=j.functions.convert.properties(Z.trim(S[1])),-1===S[0].indexOf("duration")&&-1===S[0].indexOf("delay")||(x/=1e3),g[S[0]]?n.plugins[h][g[S[0]]]=x:n.plugins[h][S[0]]=x)}}else delete n.plugins[h];r.children("a.ls-link").length&&(n.data.$link=r.children("a.ls-link").first().css({zIndex:5}).attr("data-ls-slide-link",t+1).appendTo(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.HTMLVideoElement=n.data.$backgroundVideo.find("video")[0]||!1:n.data.$backgroundVideo=Z(),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(Z('<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"),
3(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.$background||!n.data.backgroundColor||n.data.$backgroundVideo&&n.data.$backgroundVideo.length||(n.data.$background=Z("<img>").addClass("ls-bg").attr("src",j.defaults.init.emptyIMG).appendTo(r)),n.data.backgroundColor&&-1!==n.data.backgroundColor.indexOf("gradient")?n.data.backgroundGradient=n.data.backgroundColor:n.data.backgroundColor||(n.data.backgroundColor=""===r[0].style.backgroundColor?"transparent":r[0].style.backgroundColor),j.o.silentMode&&(n.data.transitionDuration=0),j.slides[++t]={data:Z.extend(!0,{},j.defaults.slide.options.data,n.data),parallax:n.parallax,scroll:n.scroll,kenBurns:n.kenBurns,filter:n.filter,lottie:n.lottie,index:t,$layers:Z(),plugins:n.plugins,effectLayers:r.find("[data-ls-effects]")},j.slider.thumbnails.push(n.data.thumbnail),j.plugins.callFunctions("initSlide",{slideElement:r,slideIndex:t,slideSettings:n}),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?Z.extend(!0,{},e[e.prev.index]):{},e.current=-1!==e.current.index?Z.extend(!0,{},e[e.current.index]):{},e.next=-1!==e.next.index?Z.extend(!0,{},e[e.next.index]):{}},firstSlide:function(){var e=j.slides,t;e.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,e.first.index="random"==e.first.index?Math.floor(Math.random()*j.slides.count+1):e.first.index,document.location.hash&&(t=j.slides.deeplink(document.location.hash,!0))&&(j.slides.first.index=t),e.first.index=e.first.index<1||e.first.index>j.slides.count?1:e.first.index,j.o.shuffleSlideshow&&"random"!=j.o.firstSlide&&(e.first.index=j.o.firstSlide),e[e.first.index]&&e[e.first.index].data&&(e.first.data=Z.extend(!0,{},e[e.first.index].data)),j.o.playByScroll&&j.slideshow.set.normalizedSequence(),j.debugMode&&j.debug.options.firstSlide&&(e.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),t=e.leadingZeros?t.toString().padStart(2,"0"):t},calculateDistance:function(e,t){var i=new Date(e),a=new Date;if(!(a<=i))switch(t){case"daily":var s=Math.ceil((a-i)/864e5);i.setDate(i.getDate()+s);break;case"weekly":var s=Math.ceil((a-i)/6048e5);i.setDate(i.getDate()+7*s);break;case"monthly":var s=12*(a.getFullYear()-i.getFullYear())+a.getMonth()-i.getMonth();i.getDate()>a.getDate()&&s--,i.setMonth(i.getMonth()+s+1);break;case"yearly":var s=a.getFullYear()-i.getFullYear();(i.getMonth()>a.getMonth()||i.getMonth()===a.getMonth()&&i.getDate()>a.getDate())&&s--,i.setFullYear(i.getFullYear()+s+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,c=Math.max(parseInt(e).toString().length,parseInt(a).toString().length);
3i.maxLength=c,"step"===i.type&&(n="linear",o=Math.abs(e-a)/l*d),isNaN(e)||isNaN(a)||(i.animationTween=q.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(!Z.isNumeric(t))return t;var t=parseFloat(t).toFixed(i).split("."),r=t[0],i=t[1];if(e.lz)for(var o=1;r.length<e.maxLength;o++)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:Z(),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=Z(a[s]),n=o[0],l=o.children();if(j.plugins.callFunctions("initLayerStart",{slideElement:e,$layer:o,slideIndex:t}),o.data("slideIndex",t),o.hasClass("ls-l"))o.removeClass("ls-l").addClass("ls-layer");else if(o.hasClass("ls-lg"))o.removeClass("ls-lg").addClass("ls-layer-group");else if(!o.is(".ls-bg, .ls-layer, .ls-layer-group")){o.remove();continue}o.is("a")&&1===l.length&&((n=(o=o.children().first())[0]).setAttribute("data-ls",n.parentNode.getAttribute("data-ls")),n.parentNode.removeAttribute("data-ls"),o.parent().removeClass("ls-layer"),o.addClass("ls-layer")),o.is(".ls-layer-group")&&o.children().data("$layerGroup",o);var l=new j.defaults.layer.options(o,t);o.data(j.defaults.init.dataKey,l),-1!==o.attr("class").indexOf("ls-linkto-")&&this.set.linkTo(o),l.is.counter&&(l.counterSettings.ease=j.functions.convert.easing(l.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.plugins.callFunctions("initLayerEnd",{slideElement:e,$layer:o,layerData:l,slideIndex:t}),l.is.lottie&&j.transitions.lottie.init(o,l),j.slides[t].$layers=j.slides[t].$layers.add(i)}},set:{mirrorTransitions:function(e){return e.split(" ")},actions:function(a,e){e.length,Z.each(e,function(e,t){var i=Z.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."+$,function(e){e.preventDefault();var t,i=document.body.scrollHeight-Q.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=Z(a).filter(":visible").last().length?Z(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),q.TweenMax.to("html, body",1,{scrollTop:t,ease:q.Quint.easeInOut})})}if(-1!==j.defaults.init.controls.indexOf(a.toLowerCase())||a.match(/^\#[0-9]/)){var s=Z.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."+$,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."+$,function(e){e.preventDefault(),_.layerSlider(Z(this).data(j.defaults.init.dataKey).settings.linkedToSlide)})}
3,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){var i=e.data(j.defaults.init.dataKey);j.plugins.callFunctions("wrapSingleLayerBeforeStyle",{$layer:e,layerData:i,slideIndex:t}),j.layers.set.style(e),j.plugins.callFunctions("wrapSingleLayerBeforeProperties",{$layer:e,layerData:i,slideIndex:t}),j.layers.set.properties(e,t),j.layers.set.dataAttribute("add",e,"hidden"),j.plugins.callFunctions("wrapSingleLayerEnd",{$layer:e,layerData:i,slideIndex:t}),e.data("hasBeenSet",!0)},style:function(e){var t,i,a,s,r,o,n,l,d,c,p,u,m,D,z,A,V,h,f,g,y,v,x,S,h,w,b=e[0],T=e.data(j.defaults.init.dataKey),k=b.style,C=j.layers,O=null,P=null,I=null,L=null,_=0,$=0,R=!1,M=parseFloat(b.style.fontSize)||36,S=b.getBoundingClientRect(),t=!e.is("img, picture")&&window.LS_previewZoom||1,h,F,w,c=""!==k.paddingLeft?C.getStyle(k.paddingLeft,j.slider.initial.percW):C.getStyle(e.css("padding-left"),j.slider.initial.percW),u=""!==k.paddingRight?C.getStyle(k.paddingRight,j.slider.initial.percW):C.getStyle(e.css("padding-right"),j.slider.initial.percW),p=""!==k.paddingTop?C.getStyle(k.paddingTop,j.slider.initial.percH):C.getStyle(e.css("padding-top"),j.slider.initial.percH),m=""!==k.paddingBottom?C.getStyle(k.paddingBottom,j.slider.initial.percH):C.getStyle(e.css("padding-bottom"),j.slider.initial.percH),D=""!==k.marginLeft?C.getStyle(k.marginLeft,j.slider.initial.percW):C.getStyle(e.css("margin-left"),j.slider.initial.percW),A=""!==k.marginRight?C.getStyle(k.marginRight,j.slider.initial.percW):C.getStyle(e.css("margin-right"),j.slider.initial.percW),z=""!==k.marginTop?C.getStyle(k.marginTop,j.slider.initial.percH):C.getStyle(e.css("margin-top"),j.slider.initial.percH),V=""!==k.marginBottom?C.getStyle(k.marginBottom,j.slider.initial.percH):C.getStyle(e.css("margin-bottom"),j.slider.initial.percH),F=(b.style.margin="0",f=""!==k.borderLeftWidth?C.getStyle(k.borderLeftWidth,j.slider.initial.percW):C.getStyle(e.css("border-left-width"),j.slider.initial.percW),y=""!==k.borderRightWidth?C.getStyle(k.borderRightWidth,j.slider.initial.percW):C.getStyle(e.css("border-right-width"),j.slider.initial.percW),g=""!==k.borderTopWidth?C.getStyle(k.borderTopWidth,j.slider.initial.percH):C.getStyle(e.css("border-top-width"),j.slider.initial.percH),v=""!==k.borderBottomWidth?C.getStyle(k.borderBottomWidth,j.slider.initial.percH):C.getStyle(e.css("border-bottom-width"),j.slider.initial.percH),1!==j.media.properties.$allMediaLayers.filter(e).length&&!e.children("iframe").length||(F=(h=e.children()).attr("width")?h.attr("width"):h.width(),w=h.attr("height")?h.attr("height"):h.height(),300===parseInt(F)&&150===parseInt(w)&&(F=640,w=360),""!==b.style.width&&"auto"!==b.style.width||e.css("width",F),""!==b.style.height&&"auto"!==b.style.height||e.css("height",w),"100%"===k.width&&"100%"===k.height&&(k.left="50%",k.top="50%"),R=F/w,h.css({width:"100%",height:"100%"})),T.attributes),w,x,N,B,E,W;e.is("img, picture")&&(x=(s=(w=e.is("img")?e:e.find("img")).data("preloadedWidth"))/(r=w.data("preloadedHeight")),!k.width&&!k.height||"auto"===k.width&&"auto"===k.height)&&F&&(F.width&&F.height?(i=-1===F.width.indexOf("%")?parseInt(F.width):(_=parseInt(F.width),C.getStyle(F.width,j.slider.initial.percW)),a=-1===F.height.indexOf("%")?parseInt(F.height):($=parseInt(F.height),C.getStyle(F.height,j.slider.initial.percH))):F.maxWidth&&(e[0].style.width=F.maxWidth+"px",i=F.maxWidth,a=e.height())),h=S.width?S.width/t:(S.right-S.left)/t,w=S.height?S.height/t:(S.bottom-S.top)/t,i||(i=k.width,-1!==k.width.indexOf("%")&&(_=parseInt(k.width)),i=(""!==i&&"auto"!==i?C.getStyle(i,j.slider.initial.percW):h-j.layers.toNum(c,M)-j.layers.toNum(u,M)-j.layers.toNum(f,M)-j.layers.toNum(y,M))||"auto"),a||(a=k.height,-1!==k.height.indexOf("%")&&($=parseInt(k.height)),a=(""!==a&&"auto"!==a?C.getStyle(a,j.slider.initial.percH):w-j.layers.toNum(p,M)-j.layers.toNum(m,M)-j.layers.toNum(g,M)-j.layers.toNum(v,M))||"auto"),0===parseInt(a)&&
3(e.addClass("ls-force-height-auto"),parseInt(b.getBoundingClientRect().height),e.removeClass("ls-force-height-auto")),S=R||("auto"!==i&&"auto"!==a?i/a:"auto"),!e.is("img, picture")||k.width||k.height||F&&(!F||F.width||F.height)||s===i&&r===a||(s!==i?a=(i=5<s?s:i)/(S=5<s?x:S):r!==a&&(i=(a=5<r?r:a)*(S=5<r?x:S))),parseFloat(e.css("opacity")),(t=k.clipPath||k.clip||!1)&&(T.clip.style.css.clipPath=t,T.clip.userDefined=!0,k.clip="",k.clipPath=""),h=k.webkitFilter||k.filter,k.minWidth&&""!==k.minWidth&&(-1!==k.minWidth.indexOf("%")&&(o=parseInt(k.minWidth)),O=-1!==k.minWidth.indexOf("em")?k.minWidth:parseFloat(k.minWidth)),k.minHeight&&""!==k.minHeight&&(-1!==k.minHeight.indexOf("%")&&(n=parseInt(k.minHeight)),P=-1!==k.minHeight.indexOf("em")?k.minHeight:parseFloat(k.minHeight)),k.maxWidth&&""!==k.maxWidth&&(-1!==k.maxWidth.indexOf("%")&&(l=parseInt(k.maxWidth)),I=-1!==k.maxWidth.indexOf("em")?k.maxWidth:parseFloat(k.maxWidth)),k.maxHeight&&""!==k.maxHeight&&(-1!==k.maxHeight.indexOf("%")&&(d=parseInt(k.maxHeight)),L=-1!==k.maxHeight.indexOf("em")?k.maxHeight:parseFloat(k.maxHeight)),i="auto"===i?"auto":parseFloat(i),a="auto"===a?"auto":parseFloat(a),T.original={clip:t,left:k.left||"0",top:k.top||"0",width:i,height:a,minWidth:O,minHeight:P,maxWidth:I,maxHeight:L,sWidth:k.width,sHeight:k.height,percentWidth:_,percentHeight:$,percentMinWidth:o||null,percentMinHeight:n||null,percentMaxWidth:l||null,percentMaxHeight:d||null,backgroundImage:k.backgroundImage,backgroundSize:k.backgroundSize||"cover",backgroundRepeat:k.backgroundRepeat,backgroundPosition:k.backgroundPosition,ratio:S,paddingLeft:c,paddingTop:p,paddingRight:u,paddingBottom:m,marginLeft:D,marginRight:A,marginTop:z,marginBottom:V,borderLeftWidth:f,borderTopWidth:g,borderRightWidth:y,borderBottomWidth:v,borderRadius:(N=e,E=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],W="",(B=k).borderRadius&&(-1===B.borderRadius.indexOf("/")?Z.each(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],function(e,t){var e=B[E[e]],t=N.css(t),e=Z.trim(void 0!==e&&e.length?e:t);-1==e.indexOf(" ")&&-1==e.indexOf("em")&&-1==e.indexOf("%")&&(e=parseInt(e)),W+=e+" "}):W=B.borderRadius),Z.trim(W)),fontSize:M,lineHeight:b.style.lineHeight,letterSpacing:b.style.letterSpacing,textStrokeWidth:b.style.textStrokeWidth||b.style.webkitTextStrokeWidth,color:e.css("color"),boxShadow:b.style.boxShadow,textShadow:b.style.textShadow,zIndex:parseInt(e.css("z-index"))||"auto",filter:h,backgroundColor:e.css("background-color"),dataLS:e.attr("data-ls")||"",styles:e.attr("style")||""},k.width&&"auto"!==k.width||(T.original.autoWidth=!0),k.height&&"auto"!==k.height||(T.original.autoHeight=!0),k.zIndex="auto",T.responsive={left:k.left?parseInt(k.left):0,top:k.top?parseInt(k.top):0,width:i,height:a},e.is("picture")&&e.css({width:T.original.width,height:T.original.height}),j.plugins.callFunctions("setLayerStyleEnd",{$layer:e,layerData:T})},parseScaleProperties:function(e){for(var t=[{x:"scalexin",y:"scaleyin",s:"scalein"},{x:"textscalexin",y:"textscaleyin",s:"textscalein"},{x:"loopscalex",y:"loopscaley",s:"loopscale"},{x:"textscalexout",y:"textscaleyout",s:"textscaleout"},{x:"scalexout",y:"scaleyout",s:"scaleout"},{x:"hoverscalex",y:"hoverscaley",s:"hoverscale"}],i=0;i<t.length;i++){var a=t[i];e[a.x]&&e[a.y]&&e[a.x]===e[a.y]&&"="!==e[a.x]&&(e[a.s]=e[a.x],delete e[a.x],delete e[a.y])}return e},properties:function(e,t,i){t=t||e.data("slideIndex");var a,s=e.data(j.defaults.init.dataKey);if(s.is.textLayer=!(e.is("img, picture")||s.is.mediaLayer||s.is.backgroundVideo),s.self=e,j.plugins.callFunctions("setLayerPropertiesBeforeParsingDataLS",{$layer:e,layerData:s,slideIndex:t}),e.data("ls")){for(var r,o=j.defaults.layer.keys,n=e.data("ls").split(";"),l={},d=0,c,p,r,u;d<n.length;d++){Z.trim(n[d])&&(c=n[d].indexOf(":"),p=n[d].substring(0,c).trim(),r=n[d].substring(c+1).trim(),p)&&(l[p]=r)}for(u in n=null,l=this.parseScaleProperties(l)){var m=null,h=null,f=null,g=null,y=!1,v=!1,x=!1,S=!1,w=!1,p=u.toLowerCase();if(r=l[u],-1==["thumbnail","poster"].indexOf(p)&&(r=r.toLowerCase()),(p=p.replace("split","text")).match(/(duration|startat|shift|delay)/i)&&("string"==typeof r&&-1!==r.indexOf("ms")&&(r=r.replace(/ms/g,"")),w=!0),/^text/.test(p)&&(v=!0),/^loop/.test(p)&&(x=!0,-1!==r.indexOf(j.defaults.init.staggerSplitChar))&&(S=!0),void 0!==o[p]){if(m=
3o[p][0],g=r,"overlay"===p||S||(g=j.functions.convert.properties(r,!1,m,e,s)),-1!==p.indexOf("mirror")&&(g=j.layers.set.mirrorTransitions(r)),(y=!r||!/random/.test(r)&&r.charAt(0)!==j.defaults.init.openingBracket||/parallax/.test(p)?y:!0)&&(v||x||/offset/.test(p)||(g=j.functions.convert.randomProperties(g,m,null,e,s)),s.should.update||(s.should.update=!0)),"number"==typeof g&&(m.match(/(duration|shift|delay|wait)/i)&&!x||-1!==m.toLowerCase().indexOf("startat"))&&(g/=1e3),p.match(/(fade)(.+)/))switch(g){case!0:g=0;break;case!1:g=1}void 0!==(f=o[p][1])?""!==g?"object"==typeof g&&-1==p.indexOf("mirror")?p.match(/(text)/)?f.match(/(converted)/i)?s[f][m]=g:s[f].cycle[m]=g:(h=j.functions.convert.properties(Z.trim(g[0])),j.debugMode&&j.debug.add("warn","layerInit.prop1",[p,g,h]),"number"==typeof h&&w&&(h/=1e3),s[f][m]=h):v&&y?s[f].random[m]=g:s[f][m]=g:j.debugMode&&j.debug.add("warn","layerInit.prop2",p):s[m][p]=g}else"clip"===p?(s.original.clip=r,s.clip.style.css.clipPath=r):j.debugMode&&j.debug.add("warn","layerInit.prop4",p)}}if(j.plugins.callFunctions("setLayerPropertiesAfterParsingDataLS",{$layer:e,layerData:s,slideIndex:t}),j.browser.isOld&&(s.in.enabled=!0,s.textIn.enabled=!1,s.textOut.enabled=!1,s.textIn.type=null,s.textOut.type=null),s.in.enabled&&(s.inLayerTo.ease=s.inLayerStyleTo.ease=s.inClipTo.ease=j.functions.convert.easing(s.in.ease)),void 0!==s.inLayerStyleShouldBeConvertedFrom.borderRadius&&(s.inLayerStyleShouldBeConvertedTo.borderRadius=s.original.borderRadius),void 0!==s.outLayerStyleShouldBeConvertedTo.borderRadius&&(s.outLayerStyleShouldBeConvertedFrom.borderRadius=s.original.borderRadius),s.inLayerStyleFromCSS.backgroundColor&&(s.inLayerStyleToCSS.backgroundColor=s.original.backgroundColor),s.outLayerStyleToCSS.backgroundColor&&(s.outLayerStyleFromCSS.backgroundColor=s.original.backgroundColor),s.inLayerStyleFromCSS.color&&(s.inLayerStyleToCSS.color=s.original.color),s.outLayerStyleToCSS.color&&(s.outLayerStyleFromCSS.color=s.original.color),void 0!==s.inLayerStyleShouldBeConvertedFrom.width&&(s.inLayerStyleShouldBeConvertedTo.width=s.original.width),void 0!==s.outLayerStyleShouldBeConvertedTo.width&&(s.outLayerStyleShouldBeConvertedFrom.width=s.original.width),void 0!==s.inLayerStyleShouldBeConvertedFrom.height&&(s.inLayerStyleShouldBeConvertedTo.height=s.original.height),void 0!==s.outLayerStyleShouldBeConvertedTo.height&&(s.outLayerStyleShouldBeConvertedFrom.height=s.original.height),void 0!==s.out.showUntil&&0!==s.out.showUntil&&(s.out.startAt="transitioninend + "+s.out.showUntil),-1!==s.out.startAt.indexOf("slidechangeonly")&&"slidechangeonly"!==s.out.startAt&&(s.out.startAt="slidechangeonly"),s.out.enabled&&(s.outLayerTo.ease=s.outLayerStyleTo.ease=s.outClipTo.ease=j.functions.convert.easing(s.out.ease)),Z.isNumeric(s.loop.count)&&(0<s.loop.count||-1===s.loop.count)&&!1!==s.loop.enabled?(s.loop.enabled=!0,s.loopTo.ease=s.loopClipTo.ease=j.functions.convert.easing(s.loop.ease)):s.loop.enabled=!1,(!Z.isEmptyObject(s.hoverToCSS)||s.hoverShouldBeConverted.x||s.hoverShouldBeConverted.y||s.hoverShouldBeConverted.borderRadius||s.hoverShouldBeConverted.filter)&&!1!==s.hover.enabled?(s.hover.enabled=!0,s.hover.easeOut||(s.hover.easeOut=s.hover.easeIn),s.hover.easeIn=j.functions.convert.easing(s.hover.easeIn),s.hover.easeOut=j.functions.convert.easing(s.hover.easeOut,!0),s.hover.durationOut||(s.hover.durationOut=s.hover.durationIn),q.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:s.hoverShouldBeConverted.transformPerspective}})):s.hover.enabled=!1,s.hover.skipGlobal&&e.attr("data-ls-skipglobalhover",""),"level"in s.parallax&&Z.isNumeric(s.parallax.level)&&s.parallax.enabled?("cursor"!==s.parallax.event&&s.parallax.event||!s.parallax.reset||e.attr("data-ls-parallax-reset",""),s.parallax.enabled=!0):s.parallax.enabled=!1,s.is.slideBackground){var b={scale:1,rotation:0};if(j.slides[t].kenBurns.zoom&&(s.kenBurns=j.slides[t].kenBurns),s.kenBurns.zoom){switch(s.kenBurns.from={},s.kenBurns.to={},s.kenBurns.zoom){case"out":s.kenBurns.from.scale=s.kenBurns.scale||1,s.kenBurns.from.rotation=s.kenBurns.rotation||0,s.kenBurns.to=b;break;case"in":s.kenBurns.from=b,s.kenBurns.to.scale=s.kenBurns.scale||1,s.kenBurns.to.rotation=s.kenBurns.rotation||0}delete s.kenBurns.scale,delete s.kenBurns.rotation}else s.kenBurns.from=b,s.kenBurns.to=b;Z.isEmptyObject(j.slides[t].filter)||(j.slides[t].filter.from&&(s.filter.values.bgFrom=j.transitions.layers.filters.convert(j.slides[t].filter.from)),j.slides[t].filter.to&&(s.filter.values.bgTo=j.transitions.layers.filters.convert(j.slides[t].filter.to)))}if(s.textIn.type&&-1===j.defaults.layer.splitTypeKeys.indexOf(s.textIn.type)&&(j.debugMode&&j.debug.add("warn","layerInit.splitType3a",[e[0].tagName,s.textIn.type]),delete s.textIn.type,delete s.textIn.ns,s.textIn.enabled=!1),s.textOut.type&&-1===j.defaults.layer.splitTypeKeys.indexOf(s.textOut.type)&&(j.debugMode&&j.debug.add("warn","layerInit.splitType3b",[e[0].tagName,s.textOut.type]),delete s.textOut.type,delete s.textOut.ns,s.textOut.enabled=!1),s.textIn.enabled&&!s.textIn.type&&(s.textIn.type="chars_asc"),s.textOut.enabled&&!s.textOut.type&&(s.textOut.type="chars_desc"),s.textIn.type||s.textOut.type){var T=0;if(s.is.textLayer?(s.inLayerToCSS.rotation||(s.inLayerToCSS.rotation=1e-6),s.textIn.type&&(s.textIn.enabled=!0,s.textInNodesTo.ease=j.functions.convert.easing(s.textInNodesTo.ease),s.textIn.split=s.textIn.type.split("_")[0],e.children().length)&&j.debugMode&&(T=1),s.textOut.type&&!j.o.inLayerPreview&&(s.textOut.enabled=!0),s.textOut.enabled&&(s.textOutNodesTo.ease=j.functions.convert.easing(s.textOutNodesTo.ease)),s.textOut.enabled&&s.textOut.type.split("_")[0]!==s.textIn.split&&(s.textIn.split+=", "+s.textOut.type.split("_")[0],e.children().length)&&j.debugMode&&(T=1),-1!==s.textIn.split.indexOf("chars")&&-1===s.textIn.split.indexOf("words")&&(s.textIn.split+=", words"),-1!==s.textIn.split.indexOf("words")&&-1===s.textIn.split.indexOf("lines")&&(s.textIn.split+=", lines")):(delete s.textIn.type,delete s.textOut.type,delete s.textIn.ns,delete s.textOut.ns,j.debugMode&&(T=2)),j.debugMode&&0!==T&&t&&!i)switch(T){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")])}}if((s.inClipFromCSS.clipPath||s.outClipToCSS.clipPath||s.loopClipToCSS.clipPath||s.clip.style.css.clipPath!==s.clip.default.css.clipPath||s.clip.userDefined)&&(s.inClipFromCSS.clipPath?"
3="==s.inClipFromCSS.clipPath&&(s.inClipFromCSS.clipPath=s.clip.style.css.clipPath):s.inClipFromCSS.clipPath=s.clip.default.css.clipPath,s.outClipToCSS.clipPath?"="==s.outClipToCSS.clipPath&&(s.outClipToCSS.clipPath=s.clip.style.css.clipPath):s.outClipToCSS.clipPath=s.clip.default.css.clipPath,s.clip.enabled=!0),s.textOutNodesTo.clipPath&&!s.textInNodesFrom.clipPath&&(s.clip.textShouldReset=!0),s.textIn.enabled&&"textmask"===s.textInLayerStyle.overflow&&e.attr("data-ls-mask-text-in",""),s.textOut.enabled&&"textmask"===s.textOutLayerStyle.overflow&&e.attr("data-ls-mask-text-out",""),s.in.enabled&&s.inLayerToCSS.hasOwnProperty("scale")&&(delete s.inLayerToCSS.scaleX,delete s.inLayerToCSS.scaleY),s.out.enabled&&s.outLayerToCSS.hasOwnProperty("scale")&&(delete s.outLayerToCSS.scaleX,delete s.outLayerToCSS.scaleY),s.inLayerStyleShouldBeConvertedFrom.filter&&(s.filter.values.in=j.transitions.layers.filters.convert(s.inLayerStyleShouldBeConvertedFrom.filter)),s.filter.values.style=j.transitions.layers.filters.convert(s.original.filter),s.outLayerStyleShouldBeConvertedTo.filter&&(s.filter.values.out=j.transitions.layers.filters.convert(s.outLayerStyleShouldBeConvertedTo.filter)),s.loopLayerShouldBeConverted.filter&&(s.filter.values.loop=j.transitions.layers.filters.convert(s.loopLayerShouldBeConverted.filter)),s.hoverShouldBeConverted.filter&&(s.filter.values.hover=j.transitions.layers.filters.convert(s.hoverShouldBeConverted.filter)),s.in.enabled||(s.in.duration=0),s.textIn.enabled||(s.textIn.duration=0),s.textOut.enabled||(s.textOut.duration=0),s.out.enabled||(s.out.duration=0),e.attr("data-ls-slidein",t),void 0!==s.settings.static&&"none"!==s.settings.static){if(0!==(a=parseInt(s.settings.static))&&"forever"!==s.settings.static?(e.attr("data-ls-slideout",a),s.settings.slideOut=a):s.settings.slideOut=0,s.is.static=!0,e.attr("data-ls-static","1"),!s.staticSlides)if(s.staticSlides=[],0===s.settings.slideOut)for(a=1;a<=j.slides.count;a++)s.staticSlides.push(a);else if(s.settings.slideIn<=s.settings.slideOut)for(a=s.settings.slideIn;a<=s.settings.slideOut;a++)s.staticSlides.push(a);else{for(a=s.settings.slideIn;a<=j.slides.count;a++)s.staticSlides.push(a);for(a=1;a<=s.settings.slideOut;a++)s.staticSlides.push(a)}}else e.attr("data-ls-slideout",t);s.is.mediaLayer&&e.children("video, audio").length&&j.media.html5.singleInit(e.children("video, audio").eq(0)),s.is.backgroundVideo&&s.styleSettings.overlay&&e.find(".ls-bg-video-overlay").css({backgroundImage:"url("+s.styleSettings.overlay+")"}),s.styleSettings.minfontsize&&(s.styleSettings.minfontsize=parseFloat(s.styleSettings.minfontsize)),s.styleSettings.minmobilefontsize&&(s.styleSettings.minmobilefontsize=parseFloat(s.styleSettings.minmobilefontsize)),j.slider.isPopup&&(s.is.pinned=!1),s.is.pinned&&(j.slider.hasPinnedLayers=!0,j.slider.$layersWrapper.is(".ls-layers-clip")||j.slider.$layersWrapper.addClass("ls-layers-clip"),!Q.isMobile&&!j.browser.isSafari||j.slider.$layersWrapper.is(".ls-m-layers-clip")||j.slider.$layersWrapper.addClass("ls-m-layers-clip")),s.styleSettings.smartbg&&(e.attr("data-ls-smart-bg","").css("--bgs",s.original.backgroundSize),s.styleSettings.smartbg=s.styleSettings.smartbg.toString(),s.settings.smartbgease&&(s.settings.smartbgease=j.functions.convert.easing(s.settings.smartbgease)),s.is.smartBG=!0)},dataAttribute:function(e,t,i){var a=t.add(t.closest(".ls-wrapper.ls-z"));Z.isArray(i)||(i=(i+"").split(" "));for(var s=0;s<i.length;s++)switch(e){case"remove":a.removeAttr("data-ls-"+i[s]);break;case"add":"active"===i[s]&&a.removeAttr("data-ls-hidden"),"hidden"===i[s]&&a.removeAttr("data-ls-active data-ls-animating-in data-ls-text-animating-in data-ls-animating-out data-ls-text-animating-out data-ls-static-in data-ls-static-out"),-1===i[s].indexOf("in")&&-1===i[s].indexOf("out")||(a.removeAttr("data-ls-active"),a.removeAttr("data-ls-hidden")),"active"===i[s]&&t.is("[data-ls-animating-in], [data-ls-text-animating-in]")||"hidden"===i[s]&&t.is("[data-ls-animating-out], [data-ls-text-animating-out]")||a.attr("data-ls-"+i[s],"")}}},get:function(e){var t=this.$all;if("string"==typeof e&&(e=e.split(",")),Array.isArray(e)&&e.length){for(var i=[],a=function(e){return-1!==i.indexOf(e)},s=0;s<e.length;s++)i.push(Z.trim(e[s]).toLowerCase());var r="",o=a("out")?"out":"in",n=':not(".ls-bg")',l=':not(".ls-bg-video")',d="";
3(a("bgvideo")||a("backgroundvideo"))&&(l=""),a("video")&&(d+=", > video"),a("audio")&&(d+=", > audio"),a("html5")&&(d+=", > video, > audio"),a("youtube")&&(d+=', > iframe[src*="youtube-nocookie.com"], > iframe[src*="youtube.com"], > iframe[src*="youtu.be"], > iframe[data-src*="youtube-nocookie.com"], > iframe[data-src*="youtube.com"], > iframe[data-src*="youtu.be"]'),a("vimeo")&&(d+=', > iframe[src*="player.vimeo"], > iframe[data-src*="player.vimeo"]'),","===d.charAt(0)&&(d=d.substring(2)),(a("img")||a("image"))&&(r="img"),(a("bg")||a("background")||a("bgonly"))&&(n=""),t=a("current")?t.filter(r+"[data-ls-slide"+o+'="'+j.slides.current.index+'"]'+n+l):a("next")?t.filter(r+"[data-ls-slide"+o+'="'+j.slides.next.index+'"]'+n+l):t.filter(r+n+l),a("notactive")&&(t=t.filter(".ls-bg, .ls-bg-video, :hidden")),a("clone")&&(t=t.filter(".ls-clone")),a("active")&&(t=t.filter(':visible:not(.ls-bg, .ls-bg-video), [data-ls-static="1"]:not([data-ls-hidden])')),a("notstatic")&&(t=t.filter(':not([data-ls-static="1"])')),a("static")&&(t=t.filter('[data-ls-static="1"]')),a("bgonly")&&(t=t.filter(".ls-bg")),a("countdown")&&(t=t.filter("[data-countdown]")),a("staticin")&&(t=t.filter("[data-ls-static-in]")),a("notstaticin")&&(t=t.filter(":not([data-ls-static-in])")),a("staticout")&&(t=t.filter("[data-ls-static-out]")),a("notstaticout")&&(t=t.filter(":not([data-ls-static-out])")),""!==d&&(t=t.find(d))}return t},update:{data:function(e,t,i){var a,s,r;switch(e instanceof jQuery||(e=Z(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,e,m;j.slides[u].wrapped||"wrapping"===j.slides[u].wrapped||(j.slides[u].wrapped="wrapping",t=e?25:0,e=j.slides[u].$layers,0===(m=e.length)?j.slides[u].wrapped=!0:e.each(function(c,p){j.timeouts["slide-"+u+"-layer-"+c]=setTimeout(function(){delete j.timeouts["slide-"+u+"-layer-"+c];var e,t=Z(p),i=t,a="",s=!1,r="",o=(t.hasClass("ls-hide-phone")&&(r+=" ls-hide-on-phone"),t.hasClass("ls-hide-tablet")&&(r+=" ls-hide-on-tablet"),t.hasClass("ls-hide-desktop")&&(r+=" ls-hide-on-desktop"),t.removeClass("ls-hide-phone ls-hide-tablet ls-hide-desktop"),i.is("a")&&1===i.children().length&&(s=!0,t=i.find(".ls-layer")),t.data(j.defaults.init.dataKey));if(!o)return!0;var n,n,l,d,e=t.data("$layerGroup")||j.slider.$layersWrapper,d=(o.is.backgroundVideo?e=j.slider.$bgVideosWrapper:o.is.slideBackground?e=j.slider.$slideBGWrapper:o.is.inMask&&(j.slider.$maskWrapper.show(),e=j.slider.$maskWrapper),t.data("hasBeenSet")||j.layers.set.singleLayer(t,u),o.textIn.split&&(n=new q.SplitType(t[0],{split:o.textIn.split}),o.textIn.type&&(o.textIn.ns=n[o.textIn.type.split("_")[0]]),o.textOut.type&&(o.textOut.ns=n[o.textOut.type.split("_")[0]]),-1!==t.css("background-clip").indexOf("text"))&&(n=t.find(".ls-ch"),l=t.find(".ls-wd"),d=t.find(".ls-ln"),o.textIn.$nodesForBackgroun
3dClip=n.length?n:l.length?l:d,n.length?t.addClass("ls-has-chars"):l.length?t.addClass("ls-has-words"):t.addClass("ls-has-lines"),o.textIn.$nodesForBackgroundClip.each(function(){var e=Z(this),t=Z.trim(e.text()),t=document.createTextNode(t),t=Z(t),i=Z('<div class="ls-textnode-bgclip-wrap"><div class="ls-textnode"></div></div>').css({backgroundColor:o.original.backgroundColor,backgroundImage:o.original.backgroundImage,backgroundSize:o.original.backgroundSize,backgroundRepeat:o.original.backgroundRepeat,backgroundPosition:o.original.backgroundPosition});e.css({verticalAlign:"top"}).text(""),t.clone().appendTo(e).wrap('<div class="ls-textnode-dummy"></div>'),t.appendTo(e).wrap(i)})),a=o.is.slideBackground||o.is.backgroundVideo?'<div class="ls-wrapper ls-bg-outer"><div class="ls-wrapper ls-bg-wrap"></div></div>':(o.clip.enabled&&(a='<div class="ls-wrapper ls-clip"></div>'),o.loop.enabled&&(a='<div class="ls-wrapper ls-loop">'+a+"</div>"),'<div class="ls-wrapper ls-in-out" style="">'+(a=o.scroll.enabled?'<div class="ls-wrapper ls-scroll"><div class="ls-wrapper ls-scroll-transform">'+a+"</div></div>":a)+"</div>"),o.parallax.enabled&&(a='<div class="ls-wrapper ls-parallax">'+a+"</div>"),(a='<div class="ls-wrapper ls-z'+(o.is.pinned?" ls-pinned":"")+'">'+a+"</div>")?t.appendTo(e).wrap(a):t.appendTo(e),!0===s&&i.addClass("ls-layer-link").appendTo(t.parent()),{}),n=t.css("mix-blend-mode"),l=(n&&"normal"!==n&&(d["mix-blend-mode"]=n,t.css("mix-blend-mode","normal")),o.original.customZIndex=1,parseInt(o.original.zIndex));o.is.backgroundVideo||o.is.slideBackground?d={zIndex:o.original.customZIndex}:(d.zIndex=l=l||c+101,o.original.customZIndex=l),j.browser.isSafari&&(d.transform="translateZ(0)"),j.layers.set.wrappers(t,o,u),o.elements.$outerWrapper.css(d).addClass(r),o.styleSettings.pointerevents&&o.elements.$innerWrapper.css("pointer-events","none"),o.is.slideBackground&&o.elements.$bgWrapper.css({backgroundColor:j.slides[u].data.backgroundColor,backgroundImage:j.slides[u].data.backgroundGradient}),j.layers.$all=j.layers.$all.add(t),t.attr("data-ls-layer-id",j.layers.$all.length),j.slides[u].$layers=j.slides[u].$layers.not(i),c===m-1&&(_.children(".ls-slide").eq(u-1).empty(),j.slides[u].wrapped=!0),j.plugins.callFunctions("wrapLayerEnd",{$layer:t,layerData:o,slideIndex:u})},t*(c+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&&Z.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."+$,function(){j.slider.state.inFullscreen||(j.functions.setStates(j.slideshow,{pausedByHover:!0}),"slideshowOnly"!==j.o.pauseOnHover&&j.transitions.layers.timeline.pause())}).on("mouseleave."+$,function(){var e=1;j.timelines._layers&&j.timelines._layers.duration()>j.transitions.layers.timeline.totalDuration&&(e=j.transitions.layers.timeline.totalDuration/j.timelines._layers.duration()),j.functions.setStates(j.slideshow,{pausedByHover:!1}),Z("body").hasClass("ls-unselectable")||"slideshowOnly"===j.o.pauseOnHover||j.o.pauseLayers&&j.slideshow.isPaused()||j.transitions.layers.timeline.resume(),j.timelines._layers&&j.transitions.layers.timeline.state.finished&&j.timelines._layers.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(Z.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.timelines._layers&&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,a){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 s=j.api.triggerEvent("slideChangeWillStart",j.api.eventData());if(!1===s)return;Z.isNumeric(s)&&(e=parseInt(s))}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.timelines._slideTransition&&(j.slideshow.forceSlideChangeTo=e,j.slideshow.should.change=!0,j.timelines._slideTransition.progress(1),a)&&(j.navigation.direction=a,j.navigation.forceDirection=a):(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.timelines._slideTransition&&j.timelines.to([j.timelines.slides[j.slides.current.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),j.preload.imagesOfSlide(j.slides.next.index,function(){j.transitions.start()}))},forceStop:function(){j.navigation.stop(),Z.each(j.timeouts,function(e,t){clearTimeout(j.timeouts[e])}),j.transitions.timers.stop(),j.timelines._layers.stop(),j.timelines._layersAlt.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:Z(),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 t=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]")),t=(i=-1!==e.indexOf("notstatic")?i.not("[data-ls-static]"):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.filter("[data-ls-muted-by-browser]"):t},set:{backgroundVideo:function(e,t){var e;0===e.children(".ls-vpcontainer").length&&(e=Z("<div>").addClass("ls-vpcontainer").appendTo(e),t.mediaSettings.poster)&&Z("<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(
3)},mediaElements:function(e,t,i){var a=Z("<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"):Z("<div>").appendTo(a).addClass("ls-playvideo"),t.is("iframe")&&i.mediaProperties.poster&&Z("<div>").appendTo(a).addClass("ls-videopreview").attr({style:"background-image: url("+i.mediaProperties.poster+")"}),t.is("video, audio")&&i.mediaProperties.poster&&Z("<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=Z.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=Z.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=Z.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=Z.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("nocontrol
3s")):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(Z(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":e[0].muted=!(a=!0)}a&&e.removeAttr("data-ls-muted-by-browser data-ls-allow-to-unmute")}},functions:{allowedToPlay:function(e,t){var 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=Z(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 Z(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,!0)},pauseActiveMedia:function(e){var t;j.media.get("notbg,active,playing").each(function(){switch(t=Z(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)]=Z.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?"hidden"
3!==document.visibilityState&&(j.timeouts.pausedVideos=setTimeout(function(){j.slideshow.state.running?t.each(function(){j.media.functions.mediaEnded(Z(this),Z(this).closest(".ls-layer"),Z(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||Q.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){a=void 0===a||a;var 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=Z(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=Z(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=Z(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,a){"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&&(a||(j.media.properties.playingInCurSlide=Math.max(--j.media.properties.playingInCurSlide,0),j.media.properties.endedInCurSlide=Math.max(--j.media.properties.endedInCurSlide,0)),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.timelines._layers.kill(null,e.closest(".ls-in-out")[0]),j.timelines._layersAlt.kill(null,e.closest(".ls-in-out")[0])}},youtube:{defaults:{autoplay:0,playsinline:1,wmode:"opaque",html5:1,enablejsapi:1,version:3,rel:0},init:function(){var f=0;this.$medias=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=Z(this).attr({id:"ls-youtube-"+ ++f,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),t=e.closest(".ls-layer"),i=(t.data("hasBeenSet")||j.layers.set.singleLayer(t),t.data(j.defaults.init.dataKey)),a=e.attr("src")||e.attr("data-src"),s=j.media.functions.urlToObject(a),r=(a=a.split("?")[0].split("//")[1]).split("/"),r=r[r.length-1],o=j.media.set.customPoster(t,i),n,l,d,c,p,u,m,h;i.mediaProperties={type:"youtube",$media:e,embedURL:a,embedID:r,embedOptions:s},o?(i.mediaProperties.poster=o,j.media.set.properties(t,e,i)):(n=["default.jpg","mqdefault.jpg","hqdefault.jpg","sddefault.jpg","maxresdefault.jpg"],l="https://img.youtube.com/vi/"+a.split("embed/")[1].split("?")[0]+"/",d=l+j.o.youtubePreview,p=c=0,u=function(){this.width>c&&(c=this.width,d=this.src),h()},m=function(){h()},h=function(){(p+=1)===n.length&&(i.mediaProperties.poster=d,j.media.set.properties(t,e,i))}
3,n.forEach(function(e){var t=new Image;t.addEventListener("error",m,!1),t.addEventListener("load",u,!1),t.src=l+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||Z("<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=Z(this),t=e.find("iframe"),i=e.data(j.defaults.init.dataKey);e.on("playMedia."+$+" click."+$,".ls-vpcontainer",function(){j.media.set.thumbnail(Z(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."+$,function(){j.media.youtube.play(e,i.mediaProperties.$media,i,i.mediaProperties.embedURL),j.layers.set.dataAttribute("add",e,"active")}).on("stopBackgroundVideo."+$,function(){j.media.youtube.stop(e,i.mediaProperties.$media,i,!0),j.layers.set.dataAttribute("add",e,"hidden")}).on("preloadBackgroundVideo."+$,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 e=this.$medias=j.slider.$hiddenWrapper.find('iframe[src*="player.vimeo"], iframe[data-src*="player.vimeo"]'),d=j.slider.$hiddenWrapper.find('.ls-slide:eq(0) iframe[src*="player.vimeo"], .ls-slide:eq(0) iframe[data-src*="player.vimeo"]').length,c,t;e.length&&(j.timeouts.loadVimeo=Math.floor(Date.now()/1e3),j.media.properties.$allMediaLayers=j.media.properties.$allMediaLayers.add(e.closest(".ls-layer")),c=0,Z("<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,t())},25),t=function(){var l=0;j.media.vimeo.$medias.each(function(){var t=Z(this).attr({id:"ls-vimeo-"+ ++c,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),i=t.closest(".ls-layer"),a=(i.data("hasBeenSet")||j.layers.set.singleLayer(i),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],r="https://vimeo.com/api/oembed.json?url="+encodeURIComponent("https://vimeo.com/video/"+r+(s.h?"?h="+s.h:"")),e=e.split("?")[0].split("//")[1],o=(j.media.vimeo.defaults.player_id="ls-vimeo-"+c,j.media.set.customPoster(i,a)),n=(a.mediaProperties={type:"vimeo",$media:t,embedURL:e,embedOptions:s},function(e){a.mediaProperties.poster=e,(0===d||0<d&&++l==d)&&(window._layerSlider.globals.vimeoIsReady=!0),j.media.set.properties(i,t,a)});o?n(o):Z.getJSON(r,function(e){n(e.thumbnail_url)}),i.on("playMedia."+$+" click."+$,".ls-vpcontainer",function(){j.media.set.thumbnail(Z(this),"hide"),j.media.functions.checkSlideshowState(i,a),j.media.vimeo.play(i,t,a,e)}
3).on("playBackgroundVideo."+$,function(){j.media.vimeo.play(i,t,a,e),j.layers.set.dataAttribute("add",i,"active")}).on("stopBackgroundVideo."+$,function(){j.media.vimeo.stop(i,t,a,!0),j.layers.set.dataAttribute("add",i,"hidden")}).on("preloadBackgroundVideo."+$,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&&Z.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=Z(this).attr("type"))&&!1!==e||(i=Z(this).attr("src"),a=i.split("."),s=a[a.length-1].toLowerCase(),Z(this).attr("type",Z(this).parent()[0].tagName.toLowerCase()+"/"+s)),""!==t[0].canPlayType(Z(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."+$,function(){j.media.functions.mediaEnded(t,r,o)}).on("play."+$,function(){}).on("playing."+$,function(){j.media.events.start(t,r,o),j.media.set.dataAttribute(t,"playing")}).on("pause."+$,function(){j.media.set.dataAttribute(t,"not-playing")}),r.on("playMedia."+$+" click."+$,".ls-vpcontainer",function(e){j.media.set.thumbnail(Z(this),"hide"),j.media.functions.checkSlideshowState(r,o),j.media.html5.play(r,t,o)}
3).on("playBackgroundVideo."+$,function(){j.media.html5.play(r,t,o),j.layers.set.dataAttribute("add",r,"active")}).on("stopBackgroundVideo."+$,function(){j.media.html5.stop(r,t,o,!0),j.layers.set.dataAttribute("add",r,"hidden")}))},init:function(){var e=j.slider.$hiddenWrapper.find("video, audio"),t;j.media.properties.$allMediaLayers=j.media.properties.$allMediaLayers.add(e.closest(".ls-layer")),e.length&&(t=0,e.each(function(){Z(this).closest(".ls-layer").data(j.defaults.init.dataKey).is.mediaLayer=!0,Z(this).attr("id","ls-html5-"+ ++t).attr("playsinline",""),Z(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)):t[0].muted=!1,void 0!==(a=t[0].play()))&&a.then(function(e){}).catch(function(e){"NotAllowedError"===e.name&&(t[0].muted=!0,t[0].play(),t[0].paused&&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(Z(this),"show"),j.media.events.stop(t,e,i))}}},j.yourLogo={init:function(){j.o.yourLogo&&(this.$element=Z("<img>").addClass("ls-yourlogo").appendTo(_).attr("style",j.o.yourLogoStyle).css({visibility:"hidden",display:"bock"}).on("load."+$,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&&Z("<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(){Z('<a class="ls-gui-element ls-nav-prev" aria-label="jump to the previous slide" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("prev")}).appendTo(_),Z('<a class="ls-gui-element ls-nav-next" aria-label="jump to the next slide" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("next")}).appendTo(_),j.o.hoverPrevNext&&this.setHover()}
3,setHover:function(){_.find(".ls-nav-prev, .ls-nav-next").css({display:"none"}),_.on("mouseenter."+$,function(){j.gui.navigation.forceHide||_.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeIn(300)}).on("mouseleave."+$,function(){_.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeOut(300)})}},bottom:{init:function(){this.wrapper=Z('<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;Z('<span class="ls-bottom-slidebuttons" />').appendTo(_.find(".ls-bottom-nav-wrapper"));for(var e=0;e<j.slides.count;e++){var i=Z('<a href="#" aria-label="jump to slide '+(e+1)+'" />').appendTo(_.find(".ls-bottom-slidebuttons")).data("index",e+1).on("click."+$,function(e){e.preventDefault(),_.layerSlider(Z(this).data("index"))});"hover"==j.o.thumbnailNavigation&&i.on("mouseenter."+$,function(){var e=Z(this);_.find(".ls-thumbnail-hover-img").css({left:parseInt(t.hoverWrapper.css("padding-left")),top:parseInt(t.hoverWrapper.css("padding-top"))}),t.hoverImage.on("load."+$,function(){0===Z(this).width()?t.hoverImage.css({position:"relative",margin:"0 auto",left:"auto"}):t.hoverImage.css({position:"absolute",marginLeft:-Z(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:Z(this).position().left+(Z(this).width()-t.hoverWrapper.outerWidth())/2},250),t.hoverWrapperInner.css({display:"none",visibility:"visible"}).stop().fadeIn(250)}).on("mouseleave."+$,function(){t.hoverWrapperInner.stop().fadeOut(250,function(){t.hoverWrapper.css({visibility:"hidden",display:"block"})})})}t.set.active(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=Z('<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=Z('<a class="ls-nav-start" aria-label="start slideshow" href="#" />').on("click."+$,function(e){e.preventDefault(),_.layerSlider("start")}).prependTo(_.find(".ls-bottom-nav-wrapper")),this.buttonStop=Z('<a class="ls-nav-stop" aria-label="stop slideshow" href="#" />').on("click."+$,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(){Z('<span class="ls-nav-sides ls-nav-sideleft" />').prependTo(_.find(".ls-bottom-nav-wrapper")),Z('<span class="ls-nav-sides ls-nav-sideright" />').appendTo(_.find(".ls-bottom-nav-wrapper"))},setHover:function(){var e=this;e.wrapper.css({display:"none"}),_.on("mouseenter."+$,function(){j.gui.navigation.forceHide||e.wrapper.stop(!0,!0).fadeIn(300)}).on("mouseleave."+$,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=Z('<div class="ls-gui-element ls-thumbn
3ail-wrapper '+("contain"!==j.o.tnFillMode?"ls-thumbnail-fill":"")+'"></div>').appendTo(_),Z('<div class="ls-thumbnail"><div class="ls-thumbnail-inner"><div class="ls-thumbnail-slide-container"><div class="ls-thumbnail-slide"></div></div></div></div>').appendTo(this.wrapper),this.$element=_.find(".ls-thumbnail-slide-container"),"ontouchstart"in window?this.$element.addClass("ls-touchscroll"):this.$element.on("mouseenter."+$,function(){Z(this).addClass("ls-thumbnail-slide-hover")}).on("mouseleave."+$,function(){Z(this).removeClass("ls-thumbnail-slide-hover"),j.gui.navigation.bottom.thumbnails.scroll()}).on("mousemove."+$,function(e){var e=parseInt(e.pageX-Z(this).offset().left)/Z(this).width()*(Z(this).width()-Z(this).find(".ls-thumbnail-slide").width());Z(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="",a=("contain"!==j.o.tnFillMode&&(i=j.defaults.init.emptyIMG,a='style="background-image: url('+j.slides[t].data.thumbnail+"); background-size: "+j.o.tnFillMode+';"'),Z('<a href="#" class="ls-thumb-'+(e+1)+'" aria-label="jump to slide '+(e+1)+'"><img '+a+' src="'+i+'"></a>'));j.slides[t].data.tnAlt&&a.find("img").attr("alt",j.slides[t].data.tnAlt),a.data("index",t).on("click."+$,function(e){e.preventDefault(),_.layerSlider(Z(this).data("index"))}).appendTo(_.find(".ls-thumbnail-slide")),"ontouchstart"in window||a.on("mouseenter."+$,function(){Z(this).children().stop().fadeTo(300,j.o.tnActiveOpacity/100)}).on("mouseleave."+$,function(){Z(this).children().hasClass("ls-thumb-active")||Z(this).children().stop().fadeTo(300,j.o.tnInactiveOpacity/100)})}j.gui.navigation.bottom.buttonStart&&j.gui.navigation.bottom.buttonStop&&(j.gui.navigation.bottom.wrapper=Z('<div class="ls-bottom-nav-wrapper ls-below-thumbnails"></div>').appendTo(_),j.gui.navigation.bottom.buttonStart.clone().on("click."+$,function(e){e.preventDefault(),_.layerSlider("start")}).appendTo(j.gui.navigation.bottom.wrapper),j.gui.navigation.bottom.buttonStop.clone().on("click."+$,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."+$,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."+$,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){var e=e||j.slides.next.index;_.find(".ls-thumbnail-slide a:not(.ls-thumb-"+e+" )").children().each(function(){Z(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,e,e,e;
3_.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&&Z('<div class="ls-gui-element ls-media-unmute" aria-label="Unmute"><div class="ls-media-unmute-bg"></div><div class="ls-icon-muted"></div><div class="ls-icon-unmuted"></div></div>').on("click."+$,function(e){e.preventDefault(),_.layerSlider("unmute")}).appendTo(_)},showUnmute:function(){_.find(".ls-media-unmute").addClass("ls-media-unmute-active")},hideUnmute:function(){_.find(".ls-media-unmute").removeClass("ls-media-unmute-active")}},skin:{load:function(){_.addClass("ls-"+j.o.skin);var e,t=j.o.skinsPath+j.o.skin+"/skin.css",i=Z("head").length?Z("head"):Z("body");Z('link[href="'+t+'"]').length?(e=Z('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),Z('link[href="'+t+'"]')):Z('<link rel="stylesheet" href="'+t+'" type="text/css" />').appendTo(i),e.on("load."+$,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."+$,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=Z('<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=Z("<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?Z("<div>").insertAfter(_):Z('[data-slidebar-for="'+_.attr("id")+'"], [data-slidebar-for="'+$+'"]')).length&&(e.addClass("ls-gui-element"),this.slidebar.create(e))},bar:{create:function(){this.$element=Z("<div>").addClass("ls-gui-element ls-bar-timer").appendTo(_)}},circle:{create:function(){this.$element=Z("<div>").addClass("ls-gui-element ls-circle-timer").appendTo(_),this.$element.append(Z('<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){var i,a=Z(document),s=this,r=function(e,t){(i=(i=(e.pageX||j.device.touchX||0)-s.$element[t].offset().left-s.sliderContainerElementWidth[t]/2)<0?0:i)>s.containerElementWidth[t]-s.sliderContainerElementWidth[t]&&(i="calc( 100% - "+j.gui.timers.slidebar.
3sliderContainerElementWidth[t]+"px )"),s.$sliderContainerElement[t].css({left:i}),j.timelines._layers&&j.timelines._layers.progress("string"==typeof i?j.transitions.layers.timeline.progress:i/(s.containerElementWidth[t]-s.sliderContainerElementWidth[t])*j.transitions.layers.timeline.progress)},o=function(e){"dragging"==j.gui.timers.slidebar.state&&(j.timelines._layers&&j.transitions.layers.timeline.state.finished&&j.timelines._layers.progress()!==j.transitions.layers.timeline.progress&&j.functions.setStates(j.transitions.layers.timeline,{finished:!1}),Z(document).off("mousemove."+$),Z("body").prop("unselectable",!1).removeClass("ls-unselectable"),j.o.pauseLayers&&!j.slideshow.state.running||j.slider.state.isPaused||!j.timelines._layers||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)};Z.each(e,function(t,e){s.$containerElement[t]=Z(e).addClass("ls-slidebar-container "+$),s.$element[t]=Z("<div>").addClass("ls-slidebar").appendTo(s.$containerElement[t]),s.$progressBarElement[t]=Z("<div>").addClass("ls-progressbar").appendTo(s.$element[t]),s.$sliderContainerElement[t]=Z("<div>").addClass("ls-slidebar-slider-container").appendTo(s.$containerElement[t]),s.$sliderElement[t]=Z("<div>").addClass("ls-slidebar-slider").appendTo(s.$sliderContainerElement[t]),s.sliderContainerElementWidth[t]=s.$sliderContainerElement[t].width(),s.$sliderContainerElement[t].css({marginTop:-s.$sliderElement[t].outerHeight()/2}),s.$containerElement[t].on("touchmove."+$,function(e){r(e,t)}),s.$containerElement[t].on("touchend."+$,function(e){o()}),s.$containerElement[t].on("mousedown."+$+" touchstart."+$,function(e){j.transitions.layers.timeline.pause(0),Z("body").prop("unselectable",!0).addClass("ls-unselectable"),Z(document).on("mousemove."+$,function(e){r(e,t)}),r(e,t),j.gui.timers.slidebar.state="dragging"}),a=a.add(s.$sliderElement[t])}),Z("body").on("mouseup."+$,function(e){o()})}}},loadingIndicator:{init:function(){this.$element=Z("<div>").css({display:"none"}).addClass("ls-gui-element ls-loading-container").appendTo(_),Z("<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&&Z("body").on("keydown."+$,function(e){var t;Z(e.target).is(":input")||j.slider.isAnimating||j.slider.isPreloading||(t=!1,37===e.which?(j.navigation.prev(),t=!0):39===e.which&&(j.navigation.next(),t=!0),t&&"undefined"!=typeof LS_editorMeta&&e.preventDefault())})},touch:function(){"ontouchstart"in window&&j.o.touchNav&&(j.slider.$innerWrapper.on("touchstart."+$,function(e){var e=e.touches||e.originalEvent.touches;1==e.length&&(j.device.touchStartX=j.device.touchEndX=e[0].clientX)}),j.slider.$innerWrapper.on("touchmove."+$,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."+$,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.timelines._layers.timeScale()&&j.transitions.layers.timeline.resume(),j.slideshow.start()},stop:function(){j.gui.navigation.bottom.setStartStop("stop"),j.o.pauseL
3ayers&&j.transitions.layers.timeline.pause(),j.slideshow.stop()}},j.preload={init:function(){j.slider.$hiddenWrapper.find(".ls-slide img").each(function(){var e=Z(this),t=e[0],i={},a;e.is(".ls-layer, .ls-bg")&&(t.getAttribute("width")&&(i.width=t.getAttribute("width")),t.getAttribute("height")&&(i.height=t.getAttribute("height")),t.sizes&&(i.sizes=t.sizes),j.o.useSrcset&&(e.data("srcset")||t.srcset)&&(i.srcSet=e.data("srcset")||t.srcset,i.curSrc=t.currentSrc,a=i.srcSet.split(",").map(function(e){return parseInt(Z.trim(e).split(" ")[1])}),i.maxWidth=Math.max.apply(null,a)),e.removeAttr("width height sizes srcset loading"),Z.isEmptyObject(i)||(e.data(j.defaults.init.dataKey).attributes=i)),e.data("lazy-src")?e.data("src",e.data("lazy-src")):e.attr("data-tgpli-src")?e.data("src",e.attr("data-tgpli-src")):e.attr("data-lazy-src")?e.data("src",e.attr("data-lazy-src")):e.attr("data-lazy")?e.data("src",e.attr("data-lazy")):e.data("src")?i.curSrc&&e.data("src",i.curSrc):e.data("src",i.curSrc||t.src),e.attr("data-lazyset")?e.attr("srcset",e.attr("data-lazyset")):e.attr("data-lazy-srcset")?e.attr("srcset",e.attr("data-lazy-srcset")):e.attr("data-tgpli-srcset")&&e.attr("srcset",e.attr("data-tgpli-srcset")),e.removeAttr("lazy lazyload data-lazy-src data-tgpli-src data-lazy data-lazyset data-lazy-srcset data-tgpli-srcset"),e.attr("src",j.defaults.init.emptyIMG)})},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=[],j.slider.$hiddenWrapper.find(".ls-slide:eq("+((s=this).slideIndex-1)+") *").each(function(){i=Z(this),a=this;var e=i.data(j.defaults.init.dataKey),t,e;i.is("img")?(i.data("src")&&i.attr("src",i.data("src")),e&&e.attributes&&e.attributes.srcSet&&j.o.useSrcset&&(a.srcset=e.attributes.srcSet),t=a.src,(e=!!(e&&e.attributes&&e.attributes.curSrc)&&e.attributes.curSrc)&&t!==e&&i.is(".ls-bg")&&j.slides[s.slideIndex].data.$background.attr("src",t=e),j.preload.preImages.push([t,i])):"none"!==i.css("background-image")&&-1!==i.css("background-image").indexOf("url")&&j.preload.preImages.push([i.css("background-image").match(/url\(['"]?(.+?)['"]?\)/)[1],i]),i.attr("data-ls-preload")&&j.preload.preImages.push([i.attr("data-ls-preload"),Z(a),!0])}),j.transitions.firstSlide&&j.o.globalBGImage&&j.preload.preImages.push([j.o.globalBGImage,Z()]),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[this.useAttr?"attr":"data"]("preloadedWidth",this.width),this.originalLayer[this.useAttr?"attr":"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],o.useAttr=!!this.preImages[r][2]}},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}
3),Z(".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||j.slides[s.slideIndex].lottie.count>j.slides[s.slideIndex].lottie.loaded?j.intervals.waitForMediaLoad=setInterval(function(){(t||window._layerSlider.globals.youTubeIsReady)&&(i||window._layerSlider.globals.vimeoIsReady)&&j.slides[s.slideIndex].lottie.count===j.slides[s.slideIndex].lottie.loaded&&(clearInterval(j.intervals.waitForMediaLoad),delete j.intervals.waitForMediaLoad,a())},50):a())}()):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.plugins.callFunctions("beforeResize"),!(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.transitions.layers.timeline.create(!0),j.slider.isScrollScene)&&j.timelines._layers&&j.transitions.scrollscene.animate(),j.api.hasEvent("sliderDidResize")&&j.api.triggerEvent("sliderDidResize",j.api.eventData()),void j.plugins.callFunctions("afterResize"))},viewport:function(){M.scrollTop(Math.round(j.slider.offset.top)-(Q.viewport.height-j.slider.height)/2)},slider:function(e){if(!document.body.contains(L))return!1;Q.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(),e=r.type,n=0!==r.maxWidth?r.maxWidth:o,l="auto"===r.marginLeft?0:r.marginLeft,d="auto"===r.marginRight?0:r.marginRight,l,d,n;switch(j.o.fixFloatedContainers&&_.css("display","block"),-1!==n.indexOf("%")?n=o/100*parseInt(n):-1!==n.indexOf("vw")&&(n=Q.viewport.width/100*parseInt(n)),j.slider.state.inFullscreen?_[0].style.maxWidth="":0!==r.maxWidth&&(_[0].style.maxWidth=n),(o-=l+d)>n&&0<=n&&(o=n),j.o.fitScreenWidth&&("fullwidth"===e||"fullsize"===e&&"fitheight"!==j.o.fullSizeMode&&"fitwidth"!==j.o.fullSizeMode)&&(l=s.offset().left,d=parseInt(s.css("padding-left"))||0,n=parseInt(s.css("border-left-width"))||0,_[0].style.maxWidth="100vw",_[0].style.marginLeft=-(l+d+n)+"px",o=Q.viewport.width),o-=r.skinWidth,Q.getScreenSize(),j.slider.state.inFullscreen&&(o=Q.screen.width),e){case"responsive":0<j.o.maxRatio&&(o=Math.min(r.width*j.o.maxRatio,o)),t=(j.slider.state.inFullscreen?(Q.screen.ratio>r.ratio?this.ratio=Q.screen.height/r.height:this.ratio=Q.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?Q.screen.ratio>r.layersWidth/r.height?(this.ratio=Q.screen.height/r.height,Q.screen.height):(this.ratio=Q.screen.width/r.layersWidth,r.height*this.ratio):(this.ratio=1,r.height);break;case"fullsize":switch(j.o.fullSizeMode.toLowerCase()){case"normal":t=Q.viewport.height-r.skinHeight;break;case"hero":var c=j.slider.isScene?j.slider.$spacingWrapper:_,c=Math.max(c.offset().top,0),p=Z(j.o.calculateOffsetFrom).length?Z(j.o.calculateOffsetFrom).height()+Z(j.o.calculateOffsetFrom)[0].getBoundingClientRect().top:0;p&&_.css("top",p),j.slider.heroOffset=r.skinHeight+(p||c),(t=Q.viewport.height-j.slider.heroOffset)<=0&&(t=Q.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=Q.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"}),Q.isMobile?768<=Q.viewport.width||Q.viewport.width>Q.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=Q.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(e){var t,i,a;j.slider.isScrollScene?(t=j.slider.$spacingWrapper[0].style.getPropertyValue("--ls-duration"),i=j.slider.$spacingWrapper.attr("data-scene-pre-duration"),a=j.slider.$spacingWrapper.attr("data-scene-duration"),0==!!(t=e&&i&&a&&i!==a?null:t)&&j.timelines._layers&&(t=100*j.transitions.layers.timeline.totalDuration/(j.o.sceneSpeed/100),j.slider.$spacingWrapper.css({"--ls-duration":t+"vh"}),void 0===j.o.stickDuration||isNaN(j.o.stickDuration)||j.slider.$spacingWrapper.css({"--ls-stickduration":100*parseInt(j.o.stickDuration)+"vh"}),"responsive"!==j.o.type&&"fullwidth"!==j.o.type||j.slider.$spacingWrapper.css({"--ls-ratio":j.slider.initial.width/j.slider.initial.height}),"fixedsize"===j.o.type&&j.slider.$spacingWrapper.css({"--ls-height":j.slider.initial.height}),j.slider.$spacingWrapper.addClass("ls-playfrom-"+j.o.playFrom+" ls-stickto-"+j.o.stickTo+" ls-layout-"+j.o.type)),j.transitions.scrollscene.maxProgressInPixels=parseFloat(parseInt(t)*(Q.viewport.height/100)),(j.slider.$spacingWrapper.is(".ls-layout-fullwidth")||j.slider.$spacingWrapper.is(".ls-layout-responsive")&&j.o.maxRatio)&&j.slider.$spacingWrapper.css("--ls-ratio",Q.viewport.width/j.slider.height)):j.slider.isSticky&&(-1!==j.o.sceneHeight.indexOf("sh")||-1!==j.o.sceneHeight.indexOf("%")?(t=j.slider.height*(parseInt(j.o.sceneHeight)/100),t=Math.round(Math.max(j.slider.height,t)),t+="px"):-1===j.o.sceneHeight.indexOf("px")&&-1===j.o.sceneHeight.indexOf("vh")?(t=j.slider.height*(j.o.sceneHeight||2),t=Math.round(Math.max(j.slider.height,t)),t+="px"):t=j.o.sceneHeight,j.slider.$spacingWrapper.css({height:t})),_.css({top:j.slider.stickLimit})},borderRadius:function(e,i){Z.isNumeric(e)&&(e=e.toString());var a="";return Z.each(e.split(" "),function(e,t){-1==t.indexOf("%")&&-1==t.indexOf("em")?a+=Math.round(parseInt(t)*i)+"px ":a+=t+" "}),Z.trim(a)},shadows:function(e,t){for(var i=e.split(" "),a=0;a<i.length;
3a++)-1!==i[a].indexOf("px")&&(i[a]=Math.ceil(parseInt(i[a])*t)+"px");return i.join(" ").trim()},convertSingleValue:function(e,t){return-1==e.indexOf("em")?Math.round(parseInt(e)*t)+"px ":e},calculateRatio:function(e,t){return t=Math.max(t,e.settings.minresponsiveratio||0),t=Math.min(t,e.settings.maxresponsiveratio||1/0),e.settings.calculatedratio=t},layers:function(e={}){if(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)j.functions.setStates(j.slider,{readyForStart:!0}),e.callback&&(j.api.resumeCallback=e.callback);else if(e.singleLayer||this.$responsiveLayers){j.debugMode&&j.debug.add("group","resize");for(var t,i,a,D,s,r=this,z=e.singleLayer||this.$responsiveLayers,o=j.slider.initial,n=j.slider.width,l=j.slider.height,A=n/l,d=[],V=[],R=[],N=[],c=0,p=0,u=window.LS_previewZoom||1,m=0,E=z.length;m<E;m++){var h=z[m],f=Z(h),g=f.data(j.defaults.init.dataKey),y=!!g.is.insideLayerGroup&&f.data("$layerGroup"),v=!!g.is.insideLayerGroup&&y.data(j.defaults.init.dataKey),x=e.original?Z.extend(!0,{},g.original,e.original):g.original,S=r.calculateRatio(g,r.ratio),w=g.elements.$_innerWrappers;j.plugins.callFunctions("beforeResizeSingleLayer",{$layer:f,layerData:g}),x.width||(x.percentWidth=0),x.height||(x.percentHeight=0),!f.is("img, picture")||"auto"!==x.width&&"auto"!==x.height||((w=g.elements.$_innerWrappers).addClass("ls-force-display-block ls-force-visibility-hidden"),"auto"===x.width&&(x.width=f.width()),"auto"===x.height&&(x.height=f.height()),w.removeClass("ls-force-display-block ls-force-visibility-hidden")),a=t="responsive"===o.type&&-1!==j.o.maxRatio?o.width:o.layersWidth,D=i="responsive"===o.type&&-1!==j.o.maxRatio?o.height:o.layersHeight,s=g.settings.usesliderratio?r.ratio:S,p="fullsize"===o.type||"fullwidth"===o.type||"responsive"===o.type?(c=0<t?(n-t*s)/2:0,0<i?(l-i*s)/2:0):(c=c<0?0:c,p<0?0:p),"0%"!==x.left&&"100%"!==x.left||(c=c<0?0:c),"0%"!==x.top&&"100%"!==x.top||(p=p<0?0:p);var b,T,k="fixed"==g.settings.position||"fixedx"==g.settings.position,C="fixed"==g.settings.position||"fixedy"==g.settings.position,O=n,P=l,i=g.is.insideLayerGroup?(C=k=!1,L=I=0,t=O=v.responsive.width,P=v.responsive.height):(t=a,D),I=(g.is.pinned&&(j.slider.get.offset(),"responsive"!==o.type&&"fixedsize"!==o.type&&("fullsize"!==o.type||"fitheight"!==j.o.fullSizeMode&&!1!==j.o.fitScreenWidth)||(k?(t=O=Q.viewport.width,c=0):(O=j.slider.width,c=j.slider.offset.left,t=o.width)),C?(i=P=Q.viewport.height,p=0):(P=j.slider.height,p=(Q.viewport.height-j.slider.height)/2||0,i=o.height)),k?0:c),L=C?0:p,_={width:k&&0!==x.percentWidth?O/100*x.percentWidth:parseInt(x.width)*S,height:C&&0!==x.percentHeight?P/100*x.percentHeight:parseInt(x.height)*S,paddingLeft:this.convertSingleValue(x.paddingLeft,S),paddingTop:this.convertSingleValue(x.paddingTop,S),paddingRight:this.convertSingleValue(x.paddingRight,S),paddingBottom:this.convertSingleValue(x.paddingBottom,S),borderLeftWidth:this.convertSingleValue(x.borderLeftWidth,S),borderTopWidth:this.convertSingleValue(x.borderTopWidth,S),borderRightWidth:this.convertSingleValue(x.borderRightWidth,S),borderBottomWidth:this.convertSingleValue(x.borderBottomWidth,S),borderRadius:this.borderRadius(x.borderRadius||0,S),boxSh
3adow:this.shadows(x.boxShadow,S),textShadow:this.shadows(x.textShadow,S),ratio:S},$={marginLeft:this.convertSingleValue(x.marginLeft,S),marginTop:this.convertSingleValue(x.marginTop,S),marginRight:this.convertSingleValue(x.marginRight,S),marginBottom:this.convertSingleValue(x.marginBottom,S)},a={},D={borderRadius:_.borderRadius},T,w,M,w,M;if(x.minWidth&&(_.minWidth=x.percentMinWidth?O/100*x.percentMinWidth:x.minWidth,_.width=Math.max(_.width,_.minWidth)),x.minHeight&&(_.minHeight=x.percentMinHeight?P/100*x.percentMinHeight:x.minHeight,_.height=Math.max(_.height,_.minHeight)),x.maxWidth&&(_.maxWidth=x.percentMaxWidth?O/100*x.percentMaxWidth:x.maxWidth,_.width=Math.min(_.width,_.maxWidth)),x.maxHeight&&(_.maxHeight=x.percentMaxHeight?P/100*x.percentMaxHeight:x.maxHeight,_.height=Math.min(_.height,_.maxHeight)),x.minWidth&&x.maxWidth&&_.minWidth>_.maxWidth&&(_.width=_.minWidth),x.minHeight&&x.maxHeight&&_.minHeight>_.maxHeight&&(_.height=_.minHeight),g.is.imageLayer&&(_.minWidth||_.minHeight||_.maxWidth||_.maxHeight)&&(w.addClass("ls-force-display-block ls-force-visibility-hidden"),T={minHeight:_.minHeight||0,minWidth:_.minWidth||0,maxHeight:_.maxHeight||"none",maxWidth:_.maxWidth||"none"},!g.original.autoWidth||_.minWidth&&!_.minHeight||_.maxWidth&&!_.maxHeight?T.width=_.width:T.width="auto",!g.original.autoHeight||!_.minWidth&&_.minHeight||!_.maxWidth&&_.maxHeight?T.height=_.height:T.height="auto",f.css(T),_.width=f.width(),_.height=f.height(),delete _.minWidth,delete _.minHeight,delete _.maxWidth,delete _.maxHeight,w.removeClass("ls-force-display-block ls-force-visibility-hidden")),(k||C)&&(x.percentHeight||x.percentWidth)&&g.is.imageLayer&&(x.percentHeight&&!x.percentWidth&&(_.width=x.width*(_.height/x.height)),x.percentWidth)&&!x.percentHeight&&(_.height=x.height*(_.width/x.width)),("number"==typeof x.width&&x.width<0||"auto"==x.width||""==x.sWidth)&&j.debugMode&&j.debug.add("warn","resize.width",[m+1,x.width]),("number"==typeof x.height&&x.height<0||"auto"==x.height||""==x.sHeight)&&j.debugMode&&j.debug.add("warn","resize.height",[m+1,x.height]),_.fontSize=x.fontSize*S,g.is.textLayer&&(Q.isMobile&&_.fontSize<g.styleSettings.minmobilefontsize?_.fontSize=g.styleSettings.minmobilefontsize:_.fontSize<g.styleSettings.minfontsize&&(_.fontSize=g.styleSettings.minfontsize),T=_.fontSize/x.fontSize,_.fontSize+="px",-1!==x.lineHeight.indexOf("px")&&(_.lineHeight=parseFloat(x.lineHeight)*T+"px"),-1!==x.letterSpacing.indexOf("px")&&(_.letterSpacing=parseFloat(x.letterSpacing)*T+"px"),-1!==x.textStrokeWidth.indexOf("px")&&(_.textStrokeWidth=parseFloat(x.textStrokeWidth)*T+"px"),""==x.sWidth&&(_.width="auto",g.elements.$innerWrapper.addClass("ls-force-width-auto"),"nowrap"!==f.css("white-space"))&&(g.elements.$_innerWrappers.addClass("ls-force-left-0"),g.elements.$_outerWrappers.addClass("ls-force-full-size")),""==x.sHeight&&(_.height="auto",g.elements.$innerWrapper.addClass("ls-force-height-auto")),""!=x.sWidth&&""!=x.sHeight||f.css(_)),g.is.slideBackground||g.is.backgroundVideo)if(g.is.slideBackground){var w=j.slides[g.is.onSlide].data.backgroundSize;switch((void 0!==w&&"inherit"!==w?w:j.o.slideBGSize).replace("100% 100%","stretch")){case"auto":default:break;case"cover":x.ratio<A?(_.width=n,_.height=_.width/x.ratio):(_.height=l,_.width=_.height*x.ratio);break;case"contain":x.ratio<A?(_.height=l,_.width=_.height*x.ratio):(_.width=n,_.height=_.width/x.ratio);break;case"stretch":_.width=n,_.height=l}_.width=Math.round(_.width),_.height=Math.round(_.height);var w=j.slides[g.is.onSlide].data.backgroundPosition;switch((b=(void 0!==w?w:j.o.slideBGPosition).split(" "))[0]){case"left":_.x=0;break;case"center":_.x=(j.slider.width-_.width)/2;break;case"right":_.x=j.slider.width-_.width;break;default:-1!==b[0].indexOf("%")?_.x=(j.slider.width-_.width)/100*parseInt(b[0]):_.x=parseInt(b[0])}if(void 0!==b[1])switch(b[1]){case"top":_.y=0;break;case"center":_.y=(j.slider.height-_.height)/2;break;case"bottom":_.y=j.slider.height-_.height;break;default:-1!==b[1].indexOf("%")?_.y=(j.slider.height-_.height)/100*parseInt(b[1]):_.y=parseInt(b[1])}_.transform="translateX("+_.x+"px) translateY("+_.y+"px)",_["-ms-transform"]="translateX("+_.x+"px) translateY("+_.y+"px)",_["-webkit-transform"]="translateX("+_.x+"px) translateY("+_.y+"px)"}else g.is.backgroundVideo&&("html5"===g.mediaProperties.type?(_.x=0,_.y=0,_.width=j.slider.width,_.height=j.slider.height):(x.ratio<A?(_.width=n,_.height=_.width/x.ratio):(_.height=l,_.width=_.height*x.ratio),_.x=(j.slider.width-_.width)/2,_.y=(j.slider.height-_.height)/2,_.width=Math.round(_.width),_.height=Math.round(_.height)),_.transform="translateX("+_.x+"px) translateY("+_.y+"px)",_["-ms-transform"]="translateX("+_.x+"px) translateY("+_.y+"px)",_["-webkit-transform"]="translateX("+_.x+"px) translateY("+_.y+"px)");else!g.mediaProperties||"youtube"!==g.mediaProperties.type&&"vimeo"!==g.mediaProperties.type||(w=_.width/_.height,M={width:_.width,height:_.height},x.ratio<w?(M.height=_.width/x.ratio,M.marginTop=(_.height-M.height)/2):(M.width=_.height*x.ratio,M.marginLeft=(_.width-M.width)/2),g.mediaProperties.$media.css(M)),g.elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),f.addClass("ls-force-no-transform"),g.is.insideLayerGroup&&((v=(y=f.data("$layerGroup")).data(j.defaults.init.dataKey)).elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),y.addClass("ls-force-no-transform")),"auto"==_.width?_.outerWidth=Math.ceil(f.outerWidth()):_.outerWidth=_.width+j.layers.toNum(_.paddingLeft,_.fontSize)+j.layers.toNum(_.paddingRight,_.fontSize)+j.layers.toNum(_.borderLeftWidth,_.fontSize)+j.layers.toNum(_.borderRightWidth,_.fontSize),"auto"==_.height?_.outerHeight=Math.ceil(f.outerHeight()):_.outerHeight=_.height+j.layers.toNum(_.paddingTop,_.fontSize)+j.layers.toNum(_.paddingBottom,_.fontSize)+j.layers.toNum(_.borderTopWidth,_.fontSize)+j.layers.toNum(_.borderBottomWidth,_.fontSize),g.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"),f.removeClass("ls-force-no-transform"),g.is.insideLayerGroup&&(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")),$.width=a.width=_.outerWidth,$.height=a.height=_.outerHeight,-1!=x.left.indexOf("%")?"100%"===x.left?_.left=0===I?O/100*parseFloat(x.left)-_.outerWidth:I+t*s/100*parseFloat(x.left)-_.outerWidth:"0%"===x.left?_.left=0===I?0:I:_.left=0===I?O/100*parseFloat(x.left)-_.outerWidth/2:I+t*s/100*parseFloat(x.left)-_.outerWidth/2:_.left=I+parseFloat(x.left)*S,$.left=_.left,-1!=x.top.indexOf("%")?"100%"===x.top?_.top=0===L?P/100*parseFloat(x.top)-_.outerHeight:L+i*s/100*parseFloat(x.top)-_.outerHeight:"0%"===x.top?_.top=0===L?0:L+0:_.top=0===L?P/100*parseFloat(x.top)-_.outerHeight/2:L+i*s/100*parseFloat(x.top)-_.outerHeight/2:_.top=L+parseFloat(x.top)*S,$.top=_.top;
3g.textIn.$nodesForBackgroundClip&&g.textIn.$nodesForBackgroundClip.length&&((w=g.elements.$outerStyleWrapper.add(g.elements.$outerStyleWrapper.find(".ls-wrapper"))).addClass("ls-force-visibility-hidden ls-force-display-block"),g.elements.$_innerWrappers.addClass("ls-force-no-transform"),M=!1,"auto"===h.style.width&&(h.style.width=Math.ceil(g.original.width*(u*S))+"px",M=!0),g.textIn.$nodesForBackgroundClip.each(function(e,t){var t=Z(t),i=t.children(".ls-textnode-bgclip-wrap"),a=i.children(".ls-textnode"),t=(t.children(".ls-textnode-dummy"),t.position());i.css({width:Math.ceil($.width),height:Math.ceil($.height),transform:"translate("+-t.left/u+"px,"+-t.top/u+"px)"}),a.css({marginLeft:t.left/u,marginTop:t.top/u})}),M&&(M=!(h.style.width="auto")),g.elements.$_innerWrappers.removeClass("ls-force-no-transform"),w.removeClass("ls-force-visibility-hidden ls-force-display-block")),_.fontSize=parseFloat(_.fontSize)/Q.automaticFontSizeRatio+"px",j.plugins.callFunctions("beforeResizeSingleLayerSmartBG",{$layer:f,layerData:g,layerStyle:_,wrapperStyle:$}),g.responsive=_,d[m]=_,g.is.smartBG&&(_.left=Math.round(_.left),_.top=Math.round(_.top),_.width=Math.ceil(_.width),_.height=Math.ceil(_.height),d[m]["--sw"]=(k?j.slider.width:o.width*S)+"px",d[m]["--sh"]=(C?j.slider.height:o.height*S)+"px",d[m]["--x"]=-_.left-parseFloat(_.borderLeftWidth)-parseFloat($.marginLeft)+(k?0:c)+"px",d[m]["--y"]=-_.top-parseFloat(_.borderTopWidth)-parseFloat($.marginTop)+(C?0:p)+"px"),g.is.slideBackground||g.is.backgroundVideo||(g.settings.wrapperData.responsive=$,V[m]=$,R[m]=a,N[m]=D)}if(e.singleLayer)return d;for(var F=0,H=d.length;F<H;F++){var B=Z(z[F]),W=B.data(j.defaults.init.dataKey);j.plugins.callFunctions("beforeResizeSingleLayerEnd",{$layer:B,layerData:W,layerStyle:d[F],wrapperStyle:V[F]}),B.css(d[F]),W.is.slideBackground||W.is.backgroundVideo?(W.is.slideBackground||W.is.backgroundVideo)&&(W.elements.$bgOuterWrapper.css({width:j.slider.width,height:j.slider.height}),W.elements.$outerWrapper.css({width:j.slider.width,height:j.slider.height})):(B.find(".split-item").css(N[F]),r.wrappers(B,W,V[F],R[F])),W.is.lottie&&(Z(W.lottie.options.canvas).attr({width:d[F].width,height:d[F].height}),W.lottie.player.resize()),j.plugins.callFunctions("afterResizeSingleLayer",{$layer:B,layerData:W})}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),q.TweenMax.set(t.elements.$wrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.layer*j.resize.ratio}}),t.loop.enabled&&q.TweenMax.set(t.elements.$loopWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.loop*j.resize.ratio}}),t.hover.enabled&&q.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.hover*j.resize.ratio}}),t.textIn.nodes&&q.TweenMax.set(t.textIn.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*j.resize.ratio}}),t.textOut.nodes&&q.TweenMax.set(t.textOut.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*j.resize.ratio}}),t.parallax.enabled&&q.TweenMax.set(t.elements.$parallaxWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.parallax*j.resize.ratio}}),t.scroll.enabled&&q.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&&Z.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){var n=function(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])+"%":Z.isNumeric(e)&&0!==e&&"0"!==e&&(t=-1*e),t},e=function(e){var t,i,a,s;for(s in e)if(a=s.toLowerCase(),-1!==o.mirrorProperties.indexOf(a)){if("object"==typeof(t=e[s]))for(var r in i=[],t)i.push(n(t[r]));else i=n(t);e[s]=i}};e(o.transitionProperties),o.transitionPropertiesShouldBeConverted&&e(o.transitionPropertiesShouldBeConverted)},transformProperties:function(e,t,i,a,s,r,o){if("object"==typeof a.x){for(var n=[],l=0;l<a.x.length;l++)"string"==typeof a.x[l]?n[l]=this.getXY(e,t,a.x[l],"Width"):n[l]=a.x[l]*t.settings.calculatedratio;i.cycle.x=n}else"string"==typeof a.x?-1!==a.x.indexOf("random")||a.x.charAt(0)===j.defaults.init.openingBracket?i.x=j.functions.convert.randomProperties(a.x,"x",o,e,t):i.x=this.getXY(e,t,a.x,"Width"):void 0!==a.x&&(i.x=a.x*t.settings.calculatedratio);if("object"==typeof a.y){for(var d=[],c=0;c<a.y.length;c++)"string"==typeof a.y[c]?d[c]=this.getXY(e,t,a.y[c],"Height"):d[c]=a.y[c]*t.settings.calculatedratio;i.cycle.y=d}else"string"==typeof a.y?-1!==a.y.indexOf("random")||a.y.charAt(0)===j.defaults.init.openingBracket?i.y=j.functions.convert.randomProperties(a.y,"y",o,e,t):i.y=this.getXY(e,t,a.y,"Height"):void 0!==a.y&&(i.y=a.y*t.settings.calculatedratio);if(s&&(i=s),"object"==typeof a.transformOrigin||r){var p=[];if(r){var o=e.data(j.defaults.init.dataKey).elements.$outerStyleWrapper.add(e.data(j.defaults.init.dataKey).elements.$outerStyleWrapper.find(".ls-wrapper"));o.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),o.removeClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes")}else for(var u=0;u<a.transformOrigin.length;u++)p[u]=j.functions.convert.transformOrigin(a.transformOrigin[u],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=j.resize.layers({singleLayer:e,original:a})[0],r;for(r in a)-1===r.indexOf("percent")&&s.hasOwnProperty(r)&&-1===s[r].indexOf("NaN")&&(i[r]=s[r])}
3,getXY:function(e,t,i,a,s){var r=0,o=j.slider.width||j.slider.initial.width,n=j.slider.height||j.slider.initial.height,l=t.original,d=t.responsive,c=t.settings.wrapperData&&t.settings.wrapperData.responsive?t.settings.wrapperData.responsive:{marginLeft:this.convertSingleValue(l.marginLeft,this.ratio),marginTop:this.convertSingleValue(l.marginTop,this.ratio),marginRight:this.convertSingleValue(l.marginRight,this.ratio),marginBottom:this.convertSingleValue(l.marginBottom,this.ratio)};if(d.outerWidth||(d.outerWidth=Math.ceil(e.outerWidth())),d.outerHeight||(d.outerHeight=Math.ceil(e.outerHeight())),l&&d&&c)switch(i){case"left":r=-1==l.left.indexOf("%")||!parseInt(l.left)||"100%"===l.left?-d.left-d.outerWidth-parseInt(c.marginLeft):-parseFloat(l.left)/100*o-d.outerWidth/2-parseInt(c.marginLeft);break;case"right":r=-1==l.left.indexOf("%")||!parseInt(l.left)||"100%"===l.left?o-d.left-parseInt(c.marginLeft):(1-parseFloat(l.left)/100)*o+d.outerWidth/2-parseInt(c.marginLeft);break;case"top":r=-1==l.top.indexOf("%")||!parseInt(l.top)||"100%"===l.top?-d.top-d.outerHeight-parseInt(c.marginTop):-parseFloat(l.top)/100*n-d.outerHeight/2-parseInt(c.marginTop);break;case"bottom":r=-1==l.top.indexOf("%")||!parseInt(l.top)||"100%"===l.top?n-d.top-parseInt(c.marginTop):(1-parseFloat(l.top)/100)*n+d.outerHeight/2-parseInt(c.marginTop);break;case"width":r=d.outerWidth;break;case"-width":r=-d.outerWidth;break;case"height":r=d.outerHeight;break;case"-height":r=-d.outerHeight;break;default:r=-1!==i.indexOf("%")?d["outer"+a]/100*parseInt(i):-1!==i.indexOf("lw")?d.outerWidth/100*parseFloat(i.split("lw")[0]):-1!==i.indexOf("lh")?d.outerHeight/100*parseFloat(i.split("lh")[0]):-1!==i.indexOf("sw")?parseFloat(i.split("sw")[0])/100*o:-1!==i.indexOf("sh")?parseFloat(i.split("sh")[0])/100*n:parseFloat(i)*(s?1:t.settings.calculatedratio||this.calculateRatio(t,this.ratio))}return r},navigation:function(){"always"==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.timelines={slides:[],to:function(e,t){var i,a,s,r,o,n,l,d,c,p,u;if(Z.isArray(e)){for(a=e[0],s=e[1]||"",o=2<e.length?e[2]:null,n=3<e.length&&!!e[3],l=4<e.length&&!!e[4],d=5<e.length&&!!e[5],c=6<e.length&&!!e[6],r=t?[e[1]]:"string"==typeof s?Z.trim(s)?Z.trim(s).split(/\s+/):[]:Z.isArray(s)?s:(console.error("ls.timelines.to | no timelines found!"),[]),i=0;i<r.length;i++)if((u=t?r[i]:(p=r[i],a&&a[p]))instanceof q.TimelineMax){if(u.pause(),c){var m=u.getChildren(!0,!1,!0);m.sort(function(e,t){return e.endTime()-t.endTime()});for(var h=0;h<m.length;h++)j.timelines.to([a,m[h],o,n,l,d],!0)}Z.isNumeric(o)&&u.progress(o),n&&u.kill(),l&&u.clear().invalidate(),d&&a.hasOwnProperty(p)&&(a[p]=null)}}else console.error("ls.timelines.to | invalid parameter:",e)},has:function(e){return e&&e instanceof q.TimelineMax}},j.transitions={firstSlide:!0,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:Z(),init:function(){var e,t,i,t,i,e;j.functions.setStates(j.slider,{animatingSlides:!0}),j.transitions.layers.parallax.reset(),j.slider.$layersWrapper.find('.ls-parallax[data-ls-parallax="active"]').each(function(){Z(this).find(".ls-layer").data(j.defaults.init.dataKey).settings.slideOut===j.slides.current.index&&Z(this).attr("data-ls-parallax","inactive")}),j.transitions.curSlide=j.slides.current,j.transitions.nextSlide=j.slides.next,j.timelines._slideTransition=new q.TimelineMax({paused:!0,onComplete:function(){j.transitions.slide.onComplete()}}),j.slider.isScrollScene&&(j.o.animateFirstSlide=!1),j.transitions.firstSlide&&j.o.animateFirstSlide&&(j.transitions.curSlide=Z.extend(!0,{},j.transitions.nextSlide),j.transitions.curSlide.data.$background=Z('<img src="'+j.defaults.init.emptyIMG+'">'),j.transitions.curSlide.data.$background.data(j.defaults.init.dataKey,{kenBurns:{},responsive:{width:10,height:10,x:0,y:0,kbRotation:"0",kbScale:"0"}}),j.transitions.curSlide.data.backgroundColor="transparent"),j.transitions.firstSlide&&!j.o.animateFirstSlide?(void 0!==j.transitions.nextSlide.data.$background&&(t=(i=j.transitions.nextSlide.data.$background.data(j.defaults.init.dataKey)).kenBurns.zoom?i.kenBurns.from.scale:1,i=i.kenBurns.zoom?i.kenBurns.from.rotation:0,e=j.transitions.nextSlide.filter.from||"none",j.timelines._slideTransition.set(j.transitions.nextSlide.data.$background[0],{"-webkit-filter":e,filter:e},0),j.timelines._slideTransition.fromTo(j.transitions.nextSlide.data.$background.closest(".ls-bg-wrap")[0],j.o.sliderFadeInDuration,{autoCSS:!1,css:{scale:t,rotation:i,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?Q.$overflowWrapper.addClass("ls-overflowx-hidden"):"y"===j.o.clipSlideTransition?Q.$overflowWrapper.addClass("ls-overflowy-hidden"):!0===j.o.clipSlideTransition&&Q.$overflowWrapper.addClass("ls-overflow-hidden"),void 0===j.transitions.curSlide.data.$background||j.transitions.firstSlide&&j.o.animateFirstSlide||(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=Z("<div>").addClass("ls-slide-transition-wrapper").css({width:j.slider.width,height:j.slider.height}),this.select.slideTransitionType())},select:{slideTransitionType:function(){this.transitionType="normal",j.plugins.callFunctions("selectSlideTransitionTypeBefore",{}),j.transitions.slide[this.transitionType].select.transitionType()}},start:function(e,t){var i,a,s=!(!j.slides.current.index||!j.slides.current.data.$backgroundVideo.length),r=!(!j.slides.next.index||!j.slides.next.data.$backgroundVideo.length),e,e;!j.slideshow.firstStart&&j.api.hasEvent("slideChangeDidStart")&&j.api.triggerEvent("slideChangeDidStart",j.api.eventData()),!e&&(void 0!==j.transitions.nextSlide.data.transitionDuration?a=j.transitions.nextSlide.data.transitionDuration:void 0!==j.o.slideTransitionDuration&&Z.isNumeric(j.o.slideTransitionDuration)&&-1<j.o.slideTransitionDuration&&(a=j.o.slideTransitionDuration/1e3),Z.isNumeric(a)&&(0===a&&(a+=1e-5),j.timelines._slideTransition.duration(a)),j.transitions.firstSlide&&j.o.animateFirstSlide&&j.o.firstSlideDuration&&j.timelines._slideTransition.duration(j.o.firstSlideDuration/1e3),j.debugMode&&j.debug.options.transitionDuration&&j.timelines._slideTransition.duration(j.debug.options.transitionDuration),.25<j.transitions.layers.timeline.timeScaleModifier)&&(e=j.timelines._slideTransition.duration()/(.75+j.transitions.layers.timeline.timeScaleModifier),j.timelines._slideTransition.duration(e=e<.5?.5:e)),t&&j.timelines._slideTransition.timeScale(1);var a,a=j.timelines._slideTransition.duration()/j.timelines._slideTransition.timeScale(),e=a,t=j.transitions.nextSlide.data.timeShift||(void 0!==j.o.slideTimeShift&&Z.isNumeric(j.o.slideTimeShift)&&j.o.slideTimeShift<0?j.o.slideTimeShift/1e3:0);0<t?t=0:Math.abs(t)>a&&(t=-a),j.transitions.firstSlide&&j.o.animateFirstSlide&&!1!==j.o.firstSlideTimeShift&&j.o.firstSlideTimeShift<=0&&(t=j.o.firstSlideTimeShift/1e3),j.transitions.nextSlide.data.calculatedTimeShift=t,a=j.transitions.firstSlide&&!j.o.animateFirstSlide?j.o.sliderFadeInDuration+.01:(e+t)*j.timelines._slideTransition.timeScale(),!s&&!r||j.transitions.nextSlide.data.sfxtr&&!j.transitions.firstSlide||j.transitions.media.changeBackgroun
3dVideo(j.transitions.firstSlide,!(!s||!r)),j.timelines._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,a),j.timelines._slideTransition.play(),j.slideshow.forceFastChange&&j.timelines._slideTransition.progress(1),void 0!==j.transitions.curSlide.data&&void 0!==j.transitions.curSlide.data.$background&&j.timelines._slideTransition.add(function(){i=j.transitions.curSlide.data.$background.data(j.defaults.init.dataKey),j.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),i.kenBurns.zoom&&q.TweenMax.set(j.transitions.curSlide.data.$background[0],{autoCSS:!1,css:i.kenBurns.from})},0)},onComplete:function(){var e;void 0!==j.transitions.nextSlide.data.$background&&(j.transitions.nextSlide.data.$background.closest(".ls-bg-wrap").show(),j.transitions.nextSlide.data.$background[0].getBoundingClientRect()),"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||Q.$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)&&q.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 t,i=-1==e.indexOf("custom")?j.t:j.ct,a="3d",t,s,t;-1!=e.indexOf("2d")&&(a="2d"),t=-1!=t.indexOf("last")?i["t"+a].length-1:-1!=t.indexOf("all")?Math.floor(Math.random()*j.functions.countProp(i["t"+a])):(s=(t=t.split(",")).length,parseInt(t[Math.floor(Math.random()*s)])-1),void 0===i["t"+a][t]&&(j.debugMode&&j.debug.add("warn","slideTransition.customTransition",[a.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),t+1]),i=j.t,e=a="2d",t=0),j.debugMode&&j.debug.add("log","slideTransition.info",[a.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),t+1,i["t"+a][t].name]),j.transitions.slide.normal.setTransition(a,i["t"+a][t])}},setTransition:function(e,t){t.name||(t=_lsConvTrProp(t));var i,a,D,z,A,s=Z.extend(!0,{cols:1,rows:1},t),r=typeof s.cols,o=typeof s.rows,n=[],l=j.navigation.direction,d=0,V=0,R=!!j.transitions.curSlide.data.$background&&j.functions.getURL(j.transitions.curSlide.data.$background),N=!!j.transitions.nextSlide.data.$background&&j.functions.getURL(j.transitions.nextSlide.data.$background),E=j.o.playByScroll&&"up"===j.device.scroll.direction?"to":"from",t;if(s.rc){switch(typeof s.rc){case"number":j.slider.width>j.slider.height?(o=s.rc,r=Math.floor(j.slider.width/(j.slider.height/s.rc))):(r=s.rc,o=Math.floor(j.slider.height/(j.slider.width/s.rc)));break;case"string":D=parseInt(s.rc),r=Math.floor(j.slider.width/D),o=Math.floor(j.slider.height/D)}s.cols=r,s.rows=o}else{switch(r){case"number":r=s.cols;break;case"string":r=Math.floor(Math.random()*(parseInt(s.cols.split(",")[1])-parseInt(s.cols.split(",")[0])+1))+parseInt(s.cols.split(",")[0]);break;
3default:r=Math.floor(Math.random()*(s.cols[1]-s.cols[0]+1))+s.cols[0]}switch(o){case"number":o=s.rows;break;case"string":o=Math.floor(Math.random()*(parseInt(s.rows.split(",")[1])-parseInt(s.rows.split(",")[0])+1))+parseInt(s.rows.split(",")[0]);break;default:o=Math.floor(Math.random()*(s.rows[1]-s.rows[0]+1))+s.rows[0]}Q.isMobile&&j.o.optimizeForMobile&&(15<=r?r=7:5<=r?r=4:4<=r?r=3:2<r&&(r=2),15<=o?o=7:5<=o?o=4:4<=o?o=3:2<o&&(o=2),2<o)&&2<r&&(o=2,4<r)&&(r=4)}j.debugMode&&!j.o.slideTransition&&(j.debug.add("log","slideTransition.properties",[[r,o],r*o]),j.debug.groupEnd()),i=Math.floor(j.slider.width/r),a=Math.floor(j.slider.height/o),r=Math.floor(j.slider.width/i),o=Math.floor(j.slider.height/a),z=j.slider.width-i*r,A=j.slider.height-a*o,"prev"==l&&(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&&s.transition&&"scale"===s.transition.type&&(t.forward="forward",t.reverse="reverse"),s.tile&&s.tile.sequence&&(s.tile.sequence=t[s.tile.sequence]),Z.each(["animation","before","after"],function(e,t){var t;s[t]&&s[t].transition&&((t=s[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 H=0,c,p;H<r*o;H++)n.push(H);switch(s.tile.sequence){case"reverse":n.reverse();break;case"col-forward":n=j.functions.sortArray(o,r,"forward");break;case"col-reverse":n=j.functions.sortArray(o,r,"reverse");break;case"random":n=j.functions.shuffleArray(n);break;case"center":n=j.functions.sortArray(o,r,"center");break;case"edge":case"mirror":n=j.functions.sortArray(o,r,"edge");break;case"radial-out":n=j.functions.sortArray(o,r,"radial-out");break;case"radial-in":n=j.functions.sortArray(o,r,"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&&(c=-1!=s.name.toLowerCase().indexOf("carousel"),p=-1!=s.name.toLowerCase().indexOf("crossfad"),this.$curTiles=Z("<div>").addClass("ls-curtiles").appendTo(j.transitions.slide.$wrapper),this.$nextTiles=Z("<div>").addClass("ls-nexttiles").appendTo(j.transitions.slide.$wrapper));for(var u=0;u<r*o;u++){var m,h,f,g,y,v,y,v,Y,y=(u+1)%r==0?z:0,g=(o-1)*r-1<u?A:0,x=Z("<div>").addClass("ls-slide-transition-tile").css({width:i+y,height:a+g}).data("style",{width:i+y,height:a+g}).appendTo(j.transitions.slide.$wrapper);if(n[u],d=u%r==0?d+1:d,V=u%r==0?1:V+1,"3d"==e){x.addClass("ls-3d-container");var y,m,h,g,S,y,m,S=i+y,w=a+g,b=new q.TimelineMax,m=Math.abs(Math.abs(V-r/2-.5)-r/2-.5)*Math.abs(Math.abs(d-o/2-.5)-o/2-.5);x.css({zIndex:m}),m=S/2,h=w/2,g=(y="horizontal"==s.animation.direction?90<Math.abs(s.animation.transition.rotateY)&&"large"!=s.tile.depth?Math.floor(S/7)+y:S:90<Math.abs(s.animation.transition.rotateX)&&"large"!=s.tile.depth?Math.floor(w/7)+g:w)/2,this.createCuboids("ls-3d-box",x,0,0,0,0,-g,0,0,m+"px "+h+"px 0px"),this.createCuboids("ls-3d-front",x.find(".ls-3d-box"),S,w,0,0,g,0,0),"vertical"==s.animation.direction&&90<Math.abs(s.animation.transition.rotateX)?this.createCuboids("ls-3d-back",x.find(".ls-3d-box"),S,w,0,0,-g,180,0):this.createCuboids("ls-3d-back",x.find(".ls-3d-box"),S,w,0,0,-g,0,180),this.createCuboids("ls-3d-left",x.find(".ls-3d-box"),y,w,-g,0,0,0,-90),this.createCuboids("ls-3d-right",x.find(".ls-3d-box"),y,w,S-g,0,0,0,90),this.createCuboids("ls-3d-top",x.find(".ls-3d-box"),S,y,0,-g,0,90,0),this.createCuboids("ls-3d-bottom",x.find(".ls-3d-box"),S,y,0,w-g,0,-90,0),m=x.find(".ls-3d-front"),h="horizontal"==s.animation.direction?90<Math.abs(s.animation.transition.rotateY)?x.find(".ls-3d-back"):0<s.animation.transition.rotateY?x.find(".ls-3d-left"):x.find(".ls-3d-right"):90<Math.abs(s.animation.transition.rotateX)?x.find(".ls-3d-back"):0<s.animation.transition.rotateX?x.find(".ls-3d-bottom"):x.find(".ls-3d-top"),S=n[u]*s.tile.delay,y=j.transitions.slide.$wrapper.find(".ls-3d-container:eq( "+u+" ) .ls-3d-box"),s.before&&s.before.transition?(s.before.transition.delay=s.before.transition.delay?(s.before.transition.delay+S)/1e3:S/1e3,b.to(y[0],s.before.duration/1e3,j.functions.convert.transition(s.before.transition,s.before.easing))):s.animation.transition.delay=s.animation.transition.delay?(s.animation.transition.delay+S)/1e3:S/1e3,b.to(y[0],s.animation.duration/1e3,j.functions.convert.transition(s.animation.transition,s.animation.easing)),s.after&&(s.after.transition||(s.after.transition={}),b.to(y[0],s.after.duration/1e3,j.functions.convert.transition(s.after.transition,s.after.easing,"after"))),j.timelines._slideTransition.add(b,0)}else{var T,k,X,G,g,C,S,U,y,b,g,f,O="auto",P="auto",I="auto",L="auto",_=1,$=1,M="50% 50%",F="50% 50%",B=0,W=100,w={},K=s.transition.intensity||2,C="random"==s.transition.direction?(g="scale"==s.transition.type?["top","bottom","middle","right","left","center"]:["top","bottom","right","left"])[Math.floor(Math.random()*g.length)]:s.transition.direction,g;switch(C="prev"==(l=-1!=s.name.toLowerCase().indexOf("mirror")&&u%2==0?"prev"==l?"next":"prev":l)?{top:"bottom",bottom:"top",middle:"middle",left:"r
3ight",right:"left",center:"center",topleft:"bottomright",topright:"bottomleft",bottomleft:"topright",bottomright:"topleft",none:"none"}[C]:C){case"top":O=I=-x.data("style").height,P=L=0;break;case"bottom":O=I=x.data("style").height,P=L=0;break;case"left":O=I=0,P=L=-x.data("style").width;break;case"right":O=I=0,P=L=x.data("style").width;break;case"topleft":O=x.data("style").height,I=0,P=x.data("style").width,L=0;break;case"topright":O=x.data("style").height,I=0,P=-x.data("style").width,L=0;break;case"bottomleft":O=-x.data("style").height,I=0,P=x.data("style").width,L=0;break;case"bottomright":O=-x.data("style").height,I=0,P=-x.data("style").width,L=0;break;case"none":L=P=I=O=0}switch(this.scale2D=void 0!==s.transition.scale?s.transition.scale:1,1==c&&1!=this.scale2D&&(O/=2,I/=2,P/=2,L/=2),(s.transition.rotate||s.transition.rotateX||s.transition.rotateY||1!=this.scale2D)&&"slide"!=s.transition.type?x.css({overflow:"visible"}):x.css({overflow:"hidden"}),1==c?this.$curTiles.css({overflow:"visible"}):this.$curTiles.css({overflow:"hidden"}),!0===p||"slide"==s.transition.type||"scale"==s.transition.type||!0===c||s.transition.hasOwnProperty("opacity")?(S=x.appendTo(this.$curTiles),U=x.clone().appendTo(this.$nextTiles),m=Z("<div>").addClass("ls-curtile").appendTo(S)):U=x.appendTo(this.$nextTiles),h=Z("<div>").addClass("ls-nexttile").appendTo(U),y=n[u]*s.tile.delay/1e3,b=s.transition.rotate||0,g=s.transition.rotateX||0,f=s.transition.rotateY||0,"prev"==l&&(b=-b,g=-g,f=-f),s.transition.type){case"fade":_=O=I=P=L=0,$=1;break;case"mixed":($=1)==this.scale2D&&(I=L=0),T=void(_=0)!==s.transition.scaleX?s.transition.scaleX:void 0!==s.transition.scale?s.transition.scale:1,k=void 0!==s.transition.scaleY?s.transition.scaleY:void 0!==s.transition.scale?s.transition.scale:1;break;case"scale":switch(_=O=I=P=L=0,k=T=$=1,C){case"left":case"right":case"center":T=1+n[u]/(50/K);break;case"top":case"bottom":case"middle":k=1+n[u]/(50/K)}switch("mirror"===s.tile.sequence&&r*o/2<u&&(B=100,W=0),C){case"left":M=B+"% 50%",F=W+"% 0";break;case"right":M=W+"% 50%",F=B+"% 50%";break;case"center":case"middle":G=X=1;break;case"top":M="50% "+B+"%",F="50% "+W+"%";break;case"bottom":M="50% "+W+"%",F="50% "+B+"%"}}j.timelines._slideTransition.fromTo(h[0],s.transition.duration/1e3,{immediateRender:!1,autoCSS:!1,css:{x:-P,y:-O,display:"block",opacity:_,rotation:b,rotationX:g,rotationY:f,borderRadius:s.transition.borderRadius||0,scaleX:void 0!==T?T:this.scale2D,scaleY:void 0!==k?k:this.scale2D,transformOrigin:M}},{autoCSS:!1,css:{x:0,y:0,opacity:$,rotation:0,rotationX:0,rotationY:0,borderRadius:0,scaleX:1,scaleY:1},ease:j.functions.convert.easing(s.transition.easing)},y),1==p&&(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))&&(w.opacity=0),"slide"!=s.transition.type&&1!=c||-1!=s.name.toLowerCase().indexOf("mirror")?"scale"==s.transition.type&&(w.scaleX=X||T,w.scaleY=G||k,w.transformOrigin=F):(g=0!==b?-b:0,w.x=L,w.y=I,w.rotation=g,w.scale=this.scale2D,w.opacity=_),s.transition.hasOwnProperty("opacity")&&(w.opacity=s.transition.opacity),void 0!==m&&j.timelines._slideTransition.to(m[0],s.transition.duration/1e3,{autoCSS:!1,css:w,ease:j.functions.convert.easing(s.transition.easing)},y)}f=u%r*i,g=Math.floor(u/r)*a,void 0!==j.transitions.curSlide.data.$background&&(y=j.transitions.curSlide.data.$background.data(j.defaults.init.dataKey),v=j.transitions.curSlide.data.backgroundGradient||"none","3d"===e||"2d"===e&&(!0===p||"slide"===s.transition.type||"scale"===s.transition.type||!0===c||s.transition.hasOwnProperty("opacity"))?m.append(Z('<div style="position: absolute;">').css({width:j.slider.width,height:j.slider.height,left:-f,top:-g,backgroundImage:v,transform:y.responsive.kbRotation+y.responsive.kbScale}).append(Z("<img>").attr("src",R).css({width:y.responsive.width,height:y.responsive.height,filter:y.responsive.filter,transform:"translateX("+y.responsive.x+"px) translateY("+y.responsive.y+"px)"}))):0===this.$curTiles.children().length&&this.$curTiles.append(Z('<div style="position: absolute;">').css({width:j.slider.width,height:j.slider.height,left:-f,top:-g,backgroundImage:v,transform:y.responsive.kbRotation+y.responsive.kbScale}).append(Z("<img>").attr("src",R).css({width:y.responsive.width,height:y.responsive.height,filter:y.responsive.filter,transform:"translateX("+y.responsive.x+"px) translateY("+y.responsive.y+"px)"})))),"transparent"===j.transitions.curSlide.data.backgroundColor||j.transitions.curSlide.data.$backgroundVideo.length||("3d"===e||"2d"===e&&(!0===p||"slide"===s.transition.type||!0===c)?m:this.$curTiles).css("background-color",j.transitions.curSlide.data.backgroundColor),void 0!==j.transitions.nextSlide.data.$background&&(y=(v=j.transitions.nextSlide.data.$background.data(j.defaults.init.dataKey)).kenBurns[E],Y=j.transitions.nextSlide.data.backgroundGradient||"none",h.append(Z('<div style="position: absolute;">').css({width:j.slider.width,height:j.slider.height,left:-f,top:-g,backgroundImage:Y,transform:"rotate("+y.rotation+"deg) scale("+y.scale+")"}).append(Z("<img>").attr("src",N).css({width:v.responsive.width,height:v.responsive.height,filter:j.transitions.nextSlide.filter.from||"none",transform:"translateX("+v.responsive.x+"px) translateY("+v.responsive.y+"px)"})))),"transparent"===j.transitions.nextSlide.data.backgroundColor||j.transitions.nextSlide.data.$backgroundVideo.length||h.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){var s="translate3d( "+s+"px, "+r+"px, "+o+"px)",r=(0!==n&&(s+="rotateX( "+n+"deg)"),0!==l&&(s+="rotateY( "+l+"deg)"),{width:i,height:a,transform:s,"-ms-transform":s,"-webkit-transform":s});d&&(r["transform-origin"]=d,r["-ms-transform-origin"]=d,r["-webkit-transform-origin"]=d),Z("<div>").addClass(e).css(r).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),j.plugins.callFunctions("layerInStart",{$layer:e,layerData:t})},onComplete:function(e){var t=e.data(j.defaults.init.dataKey);t&&("instant"!==t.mediaSettings.autoplay&&j.media.functions.playIfAllowed(e),t.in.zIndex&&j.transitions.layers.setZIndex(e,t,t.original._zIndex),j.plugins.callFunctions("layerInComplete",{$layer:e,layerData:t}),j.layers.set.dataAttribute("remove",e,"animating-in"),j.layers.set.dataAttribute("add",e,"active"))}},out:{forced:function(){var s=j.slides.current.index||j.slides.next.index,e=(j.timelines.slides[s]||(j.timelines.slides[s]={}),j.slider.$layersWrapper.find(".ls-link").css({display:"none"}),!j.timelines._layers&&!s&&j.o.animateFirstSlide),t,r,t,o,n,l,i,d;e&&j.transitions.layers.timeline.create(!1,"next"),j.timelines.slides[s]._forceOut&&(t=j.layers.get("current, in, static, notactive, notstaticin"),r=j.layers.get("current, in, static, active, staticout"),t=t.add(r),o=j.layers.get("current, in, static"),n=j.layers.get("current, out, static, active"),l=j.layers.get("current, out, notstatic"),i=o.add(n).add(l),0===j.timelines._layers.duration()&&(t.length&&j.transitions.layers.timeline.addLayers(t,"in",j.timelines._layers,j.timelines.slides[s]._forceOut,j.timelines._layersAlt,j.timelines.slides[s]._forceOutMirror,"current"),n.length)&&j.transitions.layers.timeline.addLayers(n,"out",j.timelines._layers,j.timelines.slides[s]._forceOut,j.timelines._layersAlt,j.timelines.slides[s]._forceOutMirror,"current"),j.timelines._layers.pause(),d=j.timelines._layers.time(),i.each(function(){var e=Z(this),t=e.data(j.defaults.init.dataKey),i=-1!==t.out.startAt.indexOf("slidechangeonly"),a=-1!==t.textOut.startAt.indexOf("slidechangeonly");l.is(e)&&(t.should.reset=!0,t.timelines._loop)&&j.timelines._layers&&(j.timelines._layers.remove(t.timelines._loop),t.timelines._loop.play()),o.is(e)&&t.settings.slideIn===j.slides.current.index&&!e.is("[data-ls-static-in]")?(r.is(e)&&j.timelines.to([t.timelines,"_staticOut",1,!0,!0,!0]),t.timelines._staticIn=new q.TimelineMax({paused:!0}),t.timelines._staticIn.addCallback(function(){j.layers.set.dataAttribute("add",e,"static-in")},0),t.timelines._in&&t.timelines._staticIn.add(t.timelines._in,t.timeline.transitioninstart-d),t.timelines._textIn&&t.timelines._staticIn.add(t.timelines._textIn,t.timeline.textinstart-d),t.timelines._textOut&&!a&&t.timelines._staticIn.add(t.timelines._textOut,t.timeline.textoutstart-
3d),t.timelines._out&&!i&&t.timelines._staticIn.add(t.timelines._out,t.timeline.transitionoutstart-d),t.timelines._loop&&(t.timelines._loop.pause(),j.timelines._layers.remove(t.timelines._loop),0===t.timelines._loop.progress()?t.timelines._staticIn.addCallback(function(){t.timelines._loop.play()},t.timeline.loopstart-d):t.timelines._loop.play()),t.timelines._staticIn.addCallback(function(){j.timelines.to([t.timelines,"_staticIn",null,!0,!0,!0])}),t.timelines._staticIn.play()):n.is(e)&&t.settings.slideOut===j.slides.current.index&&(-1===t.staticSlides.indexOf(j.slides.next.index)?(j.timelines.to([t.timelines,"_staticIn _in _textIn",null,!0,!0,!0]),j.timelines.has(t.timelines._textOut)&&!a&&j.timelines.to([t.timelines,"_textOut",null,!0,!0,!0]),j.timelines.has(t.timelines._out)&&!i&&j.timelines.to([t.timelines,"_out",null,!0,!0,!0]),t.timelines._staticOut?t.timelines._staticOut.paused()&&t.timelines._staticOut.play():(t.timelines._staticOut=new q.TimelineMax({paused:!0}),t.timelines._staticOut.addCallback(function(){j.layers.set.dataAttribute("remove",e,"static-in animating-in text-animating-in"),j.layers.set.dataAttribute("add",e,"static-out")},0),j.timelines.has(t.timelines._forceOut)&&t.timelines._staticOut.add(("prev"===j.navigation.direction?t.timelines._forceOutMirror:t.timelines._forceOut).paused(!1),0),j.timelines.has(t.timelines._forceTextOut)&&a&&t.timelines._staticOut.add("prev"===j.navigation.direction?t.timelines._forceTextOutMirror:t.timelines._forceTextOut,0),t.timelines._staticOut.addCallback(function(){j.layers.set.dataAttribute("remove",e,"static-out"),j.transitions.layers.reset(e,t),j.timelines.to([t.timelines,"_staticOut",null,!0,!0,!0]),j.timelines.to([t.timelines,"_out _forceOut _forceOutMirror _textOut _forceTextOut _forceTextOutMirror",1,!0,!0,!0])}),t.timelines._staticOut.play())):(j.timelines.slides[s]._forceOut.remove(t.timelines._forceOut),j.timelines.slides[s]._forceOutMirror.remove(t.timelines._forceOutMirror)))}),e?j.timelines.to([j.timelines,"_forceOut _forceOutMirror",null,!0,!0]):(j.timelines._layers.eventCallback("onStart",null).eventCallback("onComplete",null).eventCallback("onReverseComplete",null).eventCallback("onUpdate",null).stop().clear(),j.timelines._layersAlt.stop().clear(),("prev"===j.navigation.direction?j.timelines.slides[s]._forceOutMirror:j.timelines.slides[s]._forceOut).play(),j.slideshow.forceFastChange&&j.timelines.to([j.timelines,"_forceOut _forceOutMirror",1])))},onStart:function(e){var t;e.is("[data-ls-hidden]")||(t=e.data(j.defaults.init.dataKey),j.plugins.callFunctions("layerOutStart",{$layer:e,layerData:t}),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);e.is("[data-ls-hidden]")?!j.slider.state.changingSlides&&t.settings.slideOut===j.slides.current.index||j.transitions.layers.reset(e,t):(t.randomValues={},!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&&e.find("[data-ls-playing]").length&&j.media.functions.stop(!0,e),t.is.countdown&&j.countdown.stopInterval(t.countdownSettings),t.is.counter&&j.counter.stop(t.counterSettings),t.is.lottie&&t.lottie&&t.lottie.player&&(t.lottie.player.stop(),t.lottie.player.freeze()),j.plugins.callFunctions("layerOutComplete",{$layer:e,layerData:t}))}},reset:function(e,t){var i;t.original._zIndex&&j.transitions.layers.setZIndex(e,t,t.original._zIndex),t.timelines._loop&&(j.timelines.to([t.timelines,"_loop",0]),q.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&&(q.TweenMax.killTweensOf(t.elements.$parallaxWrapper[0]),q.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&&q.TweenMax.set(t.elements.$loopWrapper[0],i),t.inClipFromCSS.clipPath||q.TweenMax.set(t.elements.$clipWrapper[0],i)),t.clip.textShouldReset&&q.TweenMax.set(e.find(".ls-ln, .ls-wd, .ls-ch"),t.clip.none),q.TweenMax.set(t.elements.$wrapper[0],t.reset.wrapperOnSlideChange),q.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,totalDurations:[],create:function(e,t){var e,i,a,s,r=j.slides[t=t||(e?"current":"next")].index,e;if(j.plugins.callFunctions("createTimelineBefore",t),j.timelines.slides[r]||(j.timelines.slides[r]={}),j.transitions.curNext=t,j.transitions.layers.timeline.shouldRestart=!1,j.o.allowRestartOnResize&&j.slider.isScrollScene&&(j.transitions.layers.timeline.shouldRestart=!0),j.transitions.layers.timeline.resetStates(),j.timelines.to([j.timelines,"_layers _layersAlt",0,!0,!0,!0]),j.timelines._layers=new q.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.timelines._layers.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.timelines._layersAlt=new q.TimelineMax({paused:!0}),this.totalDuration=0,this.progress=1,e||(j.slides.prev.index&&j.timelines.to([j.timelines.slides[j.slides.prev.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),j.timelines.slides[r]._forceOut=new q.TimelineMax({paused:!0,autoRemoveChildren:!0}),j.timelines.slides[r]._forceOut.lsSlideIndex=r,j.timelines.slides[r]._forceOutMirror=ne
3w q.TimelineMax({paused:!0,autoRemoveChildren:!0}),j.timelines.slides[r]._forceOutMirror.lsSlideIndex=r),j.plugins.callFunctions("createTimelineBeforeAdd",t),e=e?j.layers.get(t+", in"):j.layers.get(t+", in, notstatic, notactive").add(j.layers.get(t+", in, static, notactive, notstaticin")).add(j.layers.get(t+", in, static, active, staticout")),i=j.layers.get(t+", out, notstatic").add(j.layers.get(t+", out, static, active")),a=j.layers.get(t+", in, bgonly, notactive"),s=Z().add(e).add(i).add(a),this.addLayers(e,"in",j.timelines._layers,j.timelines.slides[r]._forceOut,j.timelines._layersAlt,j.timelines.slides[r]._forceOutMirror),this.addLayers(i,"out",j.timelines._layers,j.timelines.slides[r]._forceOut,j.timelines._layersAlt,j.timelines.slides[r]._forceOutMirror),j.slides[t].data&&-1!==j.slides[t].data.duration&&j.slides[t].data.duration<this.totalDuration?(this.progress=j.slides[t].data.duration/this.totalDuration,j.debugMode&&j.debug.add("warn","slideTimeline.duration",[j.slides[t].data.duration,this.totalDuration])):j.timelines._layers.duration()>this.totalDuration&&(this.progress=this.totalDuration/j.timelines._layers.duration()),-1===j.slides[t].data.duration?(j.o.slideDuration&&Z.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[t].data.duration=this.totalDuration,j.slides[j.slides[t].index].data.duration=this.totalDuration):this.totalDuration=j.slides[t].data.duration,j.o.getData&&-1!==j.o.getData.indexOf("slideDuration"))return this.totalDurations.push(this.totalDuration),j.slides[t].index<j.slides.count?setTimeout(function(e){j.slideshow.changeTo(e,!0)},100,j.slides[t].index+1):j.functions.getData("slideDuration",this.totalDurations),!1;j.slider.isScrollScene&&(j.slider.$spacingWrapper.attr("data-scene-duration",this.totalDuration),e=j.slider.$spacingWrapper.attr("data-scene-pre-duration")||!1,this.totalDuration!==parseFloat(e))&&j.resize.scene(!0),this.addLayers(a,"in",j.timelines._layers,j.timelines.slides[r]._forceOut,j.timelines._layersAlt),!0===j.transitions.layers.timeline.shouldRestart&&j.debugMode&&j.debug.add("warn","slideTimeline.restart",j.o.allowRestartOnResize?"enabled":"disabled");for(var o=0;o<s.length;o++)Z(s[o]).data(j.defaults.init.dataKey).parallax.enabled&&Z(s[o]).data(j.defaults.init.dataKey).elements.$parallaxWrapper.attr("data-ls-parallax","active");j.transitions.layers.parallax.trigger();var i=j.transitions.layers.parallax.wrappers,n;!i.randomGlobal[j.slides.next.index]||j.functions.objectIsEmpty(i.randomGlobal[j.slides.next.index].$2d)&&j.functions.objectIsEmpty(i.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.timelines._layers,layersOnSlideTimeline:s,slideTimelineDuration:this.totalDuration}),j.timelines._layers.set(_.find('.ls-slide-backgrounds .ls-z:not([data-slide-index="'+j.slides[t].index+'"]) .ls-bg-wrap').toArray(),{display:"none"},0),j.transitions.timers.create(),j.transitions.timers.bar._transition&&(j.gui.timers.bar.$element.css("width",0),j.timelines._layers.add(j.transitions.timers.bar._transition.play(),0)),j.transitions.timers.circle._transition&&j.timelines._layers.add(j.transitions.timers.circle._transition.play(),0),j.transitions.timers.slidebar._transition&&j.timelines._layers.add(j.transitions.timers.slidebar._transition.play(),0),j.timelines._layers.call(function(){if(!j.timelines._layers.reversed()){var e;if(j.api.hasEvent("slideTimelineDidComplete"))if(j.o.inLayerPreview&&j.o.hasInfiniteLoop&&j.layers.get("current, in").each(function(){(e=Z(this).data(j.defaults.init.dataKey)).loop&&e.timelines._loop&&e.timelines._loop.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[t].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.pauseL
3ayers&&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.timelines._layers.progress(1)),j.timelines._layersAlt.play(),j.slider.isScrollScene&&j.slider.set.offset(),_.trigger("mouseleave.globalhover"+$),_.off("mouseenter.globalhover"+$+" mouseleave.globalhover"+$+" mousemove.globalhover"+$),j.slides[t].data.globalhover&&(n=j.layers.get(t+",in,notactive").add(j.layers.get("static,active")).not("[data-ls-skipglobalhover]"),_.on("mouseenter.globalhover"+$,function(){n.each(function(){j.transitions.layers.hover.mouseEnter(Z(this),Z(this).data(j.defaults.init.dataKey))})}),_.on("mouseleave.globalhover"+$,function(){n.each(function(){j.transitions.layers.hover.mouseLeave(Z(this),Z(this).data(j.defaults.init.dataKey))})}),_.on("mousemove.globalhover"+$,function(){n.each(function(){j.transitions.layers.hover.mouseMove(Z(this),Z(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,c=0;if(-1!==t.indexOf("*")&&(l="*"),-1!==t.indexOf("/")&&(l="/"),-1!==t.indexOf("+")&&(l="+"),l=-1!==t.indexOf("-")?"-":l)if(n=t.split(l),s=Z.trim(n[0]),o=parseInt(Z.trim(n[1])),d[s]&&-1!==d[i][1].indexOf(d[s][0])){if(!e.timeline[s]&&1<d[s][0]){var p,u=d[s][0]-1||1,m;for(m in d)d[m][0]===u&&(p=m);s=p}if(r="number"==typeof e.timeline[s]?e.timeline[s]:e.timeline[s](e),a)c=o/1e3;else switch(l){case"*":c=r*o;break;case"/":c=r/o;break;case"+":c=r+o/1e3;break;case"-":c=r-o/1e3}}else 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||(c=o/1e3);else d[s=Z.trim(t)]&&-1!==d[i][1].indexOf(d[s][0])?c=a?0:"number"==typeof e.timeline[s]?e.timeline[s]:e.timeline[s](e):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(c!=c||c<0)&&(j.debugMode&&j.debug.add("warn","layerTransition.timing2",[i,s,c]),c=0),c},addLayers:function(e,_,$,M,F,B,W){e.each(function(){var f=this,g=Z(f),y=g.data(j.defaults.init.dataKey),e=y.elements.$wrapper,t=y.elements.$clipWrapper,v=y.elements.$loopWrapper,i=y.elements.$parallaxWrapper,a=0,s=y.settings.skipViewport&&j.slideshow.state.changed<1?F:$,r="loop"==y.settings.skipViewport&&j.slideshow.state.changed<1?F:$,o=(W=void 0!==W?W:"next",j.transitions.firstSlide&&j.o.animateFirstSlide&&(j.transitions.nextSlide=j.slides.next),"in"===_&&y.timelines._staticOut&&j.timelines.to([y.timelines,"_staticOut",1,!0,!0,!0]),Z.extend(!0,{},y.inLayerFrom)),n=o.css,l=Z.extend({},y.inLayerShouldBeConverted),d=Z.extend(!0,{},y.outLayerTo),c=d.css,p=Z.extend({},y.outLayerShouldBeConverted),u=Z.extend(!0,{},y.textInNodesFrom),m=Z.extend(!0,{},y.textInShouldBeConverted),h=Z.extend(!0,{},y.textOutNodesTo),x=Z.extend(!0,{},y.textOutShouldBeConverted),S={$layer:g,layerData:y,slide:W,transitionType:_,timelines:{_layers:$,_layersAlt:F,_selectedSlideTimeline:s,_selectedLoopTimeline:r,_forceOut:M,_forceOutMirror:B},transitionData:{inLayerFrom:o,inLayerFromCSS:n,inLayerShouldBeConverted:l,outLayerTo:d,outLayerToCSS:c,outLayerShouldBeConverted:p,textInNodesFrom:u,textInShouldBeConverted:m,textOutNodesTo:h,textOutShouldBeConverted:x}},l,n,m,u,o,i,n,l,r,m,u;if(y.should.reset&&j.transitions.layers.reset(g,y),j.plugins.callFunctions("addLayersBefore",S),g.hasClass("ls-bg"))j.plugins.callFunctions("addLayersBGStart",S),y.kenBurns.zoom&&$.fromTo(g.closest(".ls-bg-wrap"),j.transitions.nextSlide.data.duration+j.transitions.nextSlide.data.calculatedTimeShift,{autoCSS:!1,css:y.kenBurns.from},{autoCSS:!1,css:y.kenBurns.to,ease:q.Quad.easeInOut},-j.transitions.nextSlide.data.calculatedTimeShift),j.plugins.callFunctions("addLayersBGBeforeFilter",S),Z.isEmptyObject(y.filter.values.bgFrom)&&Z.isEmptyObject(y.filter.values.bgTo)||(y.filter.transitions.bg||(y.filter.transitions.bg=j.transitions.layers.filters.createTransition(y,"bg",y.filter.values.bgFrom,y.filter.values.bgTo)),s.to([{p:0},f],j.transitions.nextSlide.data.duration,{p:1,autoCSS:!1,ease:q.Sine.easeInOut,onUpdate:j.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.bg]},0)),j.plugins.callFunctions("addLayersBGEnd",S);else{if("in"===_){if(y.in.enabled?(y.timelines._in=new q.TimelineMax,j.plugins.callFunctions("addLayersInStart",S),y.settings.timelineIsCalculated&&!y.settings.recalculateTimeline||("startAtFirst"==y.settings.recalculateTimeline&&(y.settings.recalculateTimeline=!1,y.settings.timelineIsCalculated=!1),"number"!=typeof y.in.startAt&&(y.in.startAt=0),"number"!=typeof y.in.startAtFirst&&(y.in.startAtFirst=0),y.timeline.transitioninstart=j.transitions.firstSlide&&y.in.startAtFirst?y.in.startAtFirst:y.in.startAt,y.timeline.transitioninend=y.timeline.transitioninstart+y.in.duration),j.transitions.firstSlide&&y.in.startAtFirst&&(y.settings.recalculateTimeline="startAtFirst"),j.resize.performTransformOperations(y.inLayerToCSS,n),y.in.mirror&&"prev"===j.navigation.direction&&j.resize.mirrorTransitionProperties({transitionProperties:n,transitionPropertiesShouldBeConverted:l,transitionType:"normal",mirrorProperties:y.in.mirror}),j.resize.transformProperties(g,y,n,l,null,null,"in"),j.resize.styleProperties(g,y,y.inLayerStyleFromCSS,y.inLayerStyleShouldBeConvertedFrom),j.resize.styleProperties(g,y,y.inLayerStyleToCSS,y.inLayerStyleShouldBeConvertedTo),n.transformPerspective=y.transformPerspective.layer*y.settings.calculatedratio,j.plugins.callFunctions("addLayersInBeforeClip",S),y.clip.enabled&&(y.clip.style.css.clipPath=j.functions.convert.clipProperties(y.clip.style.css.clipPath,y,g,!0),y.inCl
3ipFromCSS.clipPath||y.clip.style.css.clipPath===y.clip.default.css.clipPath||(y.inClipFromCSS.clipPath=y.clip.default.css.clipPath)),y.inClipFromCSS.clipPath&&(y.inClipFromCSS.clipPath=j.functions.convert.clipProperties(y.inClipFromCSS.clipPath,y,g),y.timelines._in.fromTo(t[0],y.in.duration,y.inClipFrom,y.inClipTo,0)),j.plugins.callFunctions("addLayersInBeforeFilter",S),Z.isEmptyObject(y.filter.values.in)?Z.isEmptyObject(y.filter.values.out)||g.css("filter",y.original.filter):(y.filter.transitions.in||(y.filter.transitions.in=j.transitions.layers.filters.createTransition(y,"in",y.filter.values.in,y.filter.values.style)),y.timelines._in.to([{p:0},f],y.in.duration,{p:1,autoCSS:!1,ease:y.inLayerTo.ease,onUpdate:j.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.in]},0)),j.plugins.callFunctions("addLayersInBeforeSmartBG",S),y.is.smartBG&&-1!==y.styleSettings.smartbg.indexOf("in")&&(y.inLayerStyleFrom.css["--x"]=parseInt(y.responsive["--x"])-n.x+"px",y.inLayerStyleTo.css["--x"]=parseInt(y.responsive["--x"])+"px",y.inLayerStyleFrom.css["--y"]=parseInt(y.responsive["--y"])-n.y+"px",y.inLayerStyleTo.css["--y"]=parseInt(y.responsive["--y"])+"px"),y.is.smartBG&&(j.slides[j.slides.current.index||1].data.hasSmartBG=!0),j.plugins.callFunctions("addLayersInBeforeCounter",S),y.is.counter&&(y.timelines._in.addCallback(function(){g.text(j.counter.applyNumberFormat(g,y.counterSettings,parseFloat(y.counterSettings.start)))},0),y.timelines._in.addCallback(function(){j.counter.start(g,y.counterSettings)},"transitioninstart"===y.counterSettings.startAt?0:y.in.duration)),j.plugins.callFunctions("addLayersInBeforeTL",S),0===y.timeline.transitioninstart&&0===y.in.duration?(y.inLayerTo.css.transformOrigin=o.css.transformOrigin,y.inLayerTo.css.transformPerspective=o.css.transformPerspective,y.timelines._in.set(e[0],y.inLayerTo,0),y.timelines._in.set(f,y.inLayerStyleTo,0)):(y.timelines._in.fromTo(e[0],y.in.duration,o,y.inLayerTo,0),y.timelines._in.fromTo(f,y.in.duration,y.inLayerStyleFrom,y.inLayerStyleTo,0)),s.add(y.timelines._in,y.timeline.transitioninstart)):(y.timeline.transitioninstart=0,y.timeline.transitioninend=0),j.plugins.callFunctions("addLayersInAfter",S),y.is.textLayer&&(y.timelines._textIn=new q.TimelineMax,(y.textIn.type||y.textOut.type)&&j.transitions.layers.splitType.resetNodes(g,y),y.textIn.enabled)&&(j.plugins.callFunctions("addLayersTextInStart",S),u.clipPath&&(u.clipPath=j.functions.convert.clipProperties(u.clipPath,y,g),y.textInNodesTo.css.clipPath=y.clip.default.css.clipPath),l=!(!y.textIn.mirror||"prev"!==j.navigation.direction),n=j.transitions.layers.splitType.setNodesSequence(y.textIn.type.split("_"),y.textIn.ns),y.textIn.nodes=l?n[1]:n[0],l&&j.resize.mirrorTransitionProperties({transitionProperties:u,transitionPropertiesShouldBeConverted:m,transitionType:"text",mirrorProperties:y.textIn.mirror}),j.resize.transformProperties(g,y,u,m,null,y.textIn.nodes,"textin"),u.transformPerspective=y.transformPerspective.text*y.settings.calculatedratio,Z.isEmptyObject(m.random)||j.transitions.layers.splitType.setRandomProperties(g,y,m.random,u,"In"),Z.isEmptyObject(u.random)||j.transitions.layers.splitType.setRandomProperties(g,y,u.random,u,"In"),delete u.random,y.settings.timelineIsCalculated||(y.timeline.textinstart=j.transitions.layers.timeline.getTiming(y,y.textIn.startAt,"textinstart"),y.timeline.textinend=y.timeline.textinstart+(y.textIn.nodes.length-1)*y.textIn.shiftNodes+y.textIn.duration),y.in.enabled||y.timelines._textIn.to(e[0],0,Z.extend(!0,{},y.inLayerTo,y.init.wrapper),0),j.plugins.callFunctions("addLayersTextInBeforeStyles",S),u.color?y.textInNodesToCSS.color=y.original.color:y.textOutNodesTo.color&&(u.color=y.original.color),j.plugins.callFunctions("addLayersTextInBeforeTLStyles",S),y.timelines._textIn.set(f,y.textIn.layerStyle,0),window.getSelection&&j.browser.isSafari&&y.timelines._textIn.addCallback(function(){try{window.getSelection().setBaseAndExtent(f,0,f,1e3)}catch(e){}window.getSelection().removeAllRanges()},Number.EPSILON),j.plugins.callFunctions("addLayersTextInBeforeTL",S),y.timelines._textIn.addCallback(function(){j.layers.set.dataAttribute("add",g,"text-animating-in"),j.plugins.callFunctions("layerTextInStart",{$layer:g,layerData:y})},0),y.timelines._textIn.staggerFromTo(y.textIn.nodes,y.textIn.duration,u,y.textInNodesTo,y.textIn.shiftNodes,0,function(){j.layers.set.dataAttribute("remove",g,"text-animating-in"),j.layers.set.dataAttribute("add",g,"active"),j.plugins.callFunctions("layerTextInComplete",{$layer:g,layerData:y})}),s.add(y.timelines._textIn,y.timeline.textinstart),j.plugins.callFunctions("addLayersTextInAfter",S)),y.is.keyframe&&j.o.playByScroll&&$.addPause(y.timeline.allinend(),function(){setTimeout(function(){delete j.timeouts.scroll,j.transitions.layers.timeline.timeScaleModifier=0,j.device.scroll.timeout=250},500)}),y.parallax.enabled&&"auto"==y.parallax.event){j.transitions.layers.parallax.auto(),y.parallax._timeline=new q.TimelineMax({paused:!0,repeat:-1===y.parallax.count?-1:y.parallax.count-1});var w,b={ease:q.Linear.easeNone,immediateRender:!1,onUpdate:function(e,t,i,a,s,r,o){q.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})}},T=function(e,t){return{x:e*j.resize.ratio,y:t*j.resize.ratio}},o="horizontal"==y.parallax.path||"vertical"==y.parallax.path,k="backward"===y.parallax.direction?-1:1,n;switch(o&&(b.ease=q.Quad.easeInOut,b.duration=y.parallax.pathDuration/2,w=Z.extend(!0,{},b)),y.parallax.path){default:case"circle":y.parallax.dummy=T(0,-10),b.bezier={curviness:1.5,values:[T(10,0),T(0,10),T(-10,0),T(0,-10)]};break;case"oval-h":y.parallax.dummy=T(0,-10),b.bezier={type:"thru",curviness:1,values:[T(20,0),T(0,10),T(-20,0),T(0,-10)]};break;case"oval-v":y.parallax.dummy=T(0,-20),b.bezier={type:"thru",curviness:1,values:[T(10,0),T(0,20),T(-10,0),T(0,-20)]};break;case"infinity":y.parallax.dummy=T(0,0),b.bezier={curviness:1.3,values:[T(20,-10),T(30,0),T(20,10),T(0,0),T(-20,-10),T(-30,0),T(-20,10),T(0,0)]};break;case"square":y.parallax.dummy=T(-10,-10),b.bezier={curviness:.5,values:[T(10,-10),T(10,10),T(-10,10),T(-10,-10)]};break;case"diamond":y.parallax.dummy=T(0,-10),b.bezier={curviness:.5,values:[T(10,0),T(0,10),T(-10,0),T(0,-10)]};break;case"triangle":y.parallax.dummy=T(0,10),b.bezier={curviness:.5,values:[T(-10,-10),T(10,-10),T(0,10)]};break;case"pentagon":y.parallax.dummy=T(0,10),b.bezier={curviness:.5,values:[T(-9.51,3.09),T(-5.88,-8.09),T(5.88,-8.09),T(9.51,3.09),T(0,10)]};break;case"horizontal":y.parallax.dummy=T(10*k,0),b.x=-10*k*j.resize.ratio,w.x=10*k*j.resize.ratio;break;case"vertical":y.parallax.dummy=T(0,-10*k),b.y=10*k*j.resize.ratio,w.y=-10*k*j.resize.ratio}b.onUpdateParams=["{self}",y.parallax.dummy,i[0],y.parallax.distance,y.parallax.level,y.parallax.type,y.parallax.rotation],o?(w.onUpdateParams=["{self}",y.parallax.dummy,i[0],y.parallax.distance,y.parallax.level,y.parallax.type,y.parallax.rotation],y.parallax._timeline.to(y.parallax.dummy,b.duration,b).to(y.parallax.dummy,w.duration,w)):b.bezier&&("backward"===y.parallax.direction&&((n=b.bezier.values).reverse(),n.push(n.shift())),y.parallax._timeline.to(y.parallax.dummy,y.parallax.pathDuration,b)),y.settings.timelineIsCalculated&&!y.is.static||(y.timeline.autoparallaxstart=j.transitions.layers.timeline.getTiming(y,y.parallax.startAt,"autoparallaxstart"),y.timeline.autoparallaxend=y.timeline.autoparallaxstart+(-1===y.parallax.count?y.parallax.pathDuration:y.parallax._timeline.duration())),-1===y.parallax.count?$.addCallback(function(){y.parallax._timeline.play()},y.timeline.autoparallaxstart):($.add(y.parallax._timeline,y.timeline.autoparallaxstart),y.parallax._timeline.play()),j.transitions.layers.timeline.shouldRestart=!0}if(y.parallax.enabled&&"randomLocal"==y.parallax._event&&$.addCallback(function(){j.transitions.layers.parallax.random.setTimer({layerData:y})},y.timeline[y.parallax.randomStartAt]),y.loop.enabled){j.plugins.callFunctions("addLayersLoopStart",S),j.timelines.to([y.timelines,"_loop",0,!0,!0,!0]),y.loop.maxIterations=1;var C=Z.extend({},y.loopLayerShouldBeConverted),l={transformOrigin:j.functions.convert.transformOrigin(y.loopLayerShouldBeConverted.transformOrigin,g,y,g.data(j.defaults.init.dataKey).elements.$outerStyleWrapper),looptransformPerspective:y.transformPerspective.loop*y.settings.calculatedratio},O=!0,P=!0,I=(delete C.filter,y.loop.timings={},y.timelines._loop=new q.TimelineMax({paused:!0,smoothChildTiming:!0,onComplete:function(){-1===y.loop.count&&(this.lsRepeats++,this.pause(),-1===y.loop.count&&(this.clear(),this.time(0,!0)),y.loop.yoyo&&(this.yoyoreverse=!0),L(this,!0))}}),y.timelines._loop.lsRepeats=0,y.timelines._loop.lsWrapper=y.elements.$loopWrapper[0],function(e,t){var i={},a;if(y.loop.timings.tweenDelay=j.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.tweenDelay,"tween
3Delay","loop",g,y)/1e3,y.loop.timings.duration=j.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.duration,"duration","loop",g,y)/1e3,t||e.yoyoreverse)e.yoyoreverse=!1,y.loopFrom=Z.extend(!0,{},y.loopInitial);else for(var s in y.loopToCSS)y.loopFrom.css[s]=y.loopToCSS[s];for(a in C)if(C.hasOwnProperty(a)){var r=C[a],o=/^[+\-*/]=\s*-?\d+(\.\d+)?(lw|lh|sw|sh|px|%)?$/.test(r),n=-1!==r.indexOf(j.defaults.init.staggerSplitChar)&&(r+"").charAt(0)!==j.defaults.init.openingBracket,l=/random/.test(r)||(r+"").charAt(0)===j.defaults.init.openingBracket,d;if(n&&(d=r.split(j.defaults.init.staggerSplitChar),y.loop.maxIterations=Math.max(d.length,y.loop.maxIterations)),o){var c,d=r.split("="),o=Z.trim(d[0]),p=j.functions.convert.randomProperties(Z.trim(d[1]),a,"loop",g,y),u=y.loopFrom.css[a];switch(o){case"+":c=u+p;break;case"-":c=u-p;break;case"*":c=u*p;break;case"/":c=u/p}y.loopToCSS[a]=c}else l||n?y.loopToCSS[a]=j.functions.convert.randomProperties(C[a],a,"loop",g,y):(y.loopToCSS[a]=C[a],"x"!==a&&"y"!==a||(i[a]=y.loopToCSS[a]))}Z.isEmptyObject(i)||j.resize.transformProperties(g,y,y.loopToCSS,i,null,null,"loop")}),L=function(e,t){for(var i,a=new q.TimelineMax({paused:!0}),s=j.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.repeatDelay,"repeatDelay","loop",g,y)/1e3,r=j.functions.convert.randomProperties(y.loopTimingsShouldBeConverted.yoyoDelay,"yoyoDelay","loop",g,y)/1e3,o=0;o<y.loop.maxIterations;o++){i=a.duration(),I(e,!y.loop.resume||!i&&!e.duration()&&0===e.lsRepeats);var n=Z.extend(!0,{},y.loopFrom),l=Z.extend(!0,{},y.loopTo),d=-n.css.x+"px",c=-n.css.y+"px",p=-l.css.x+"px",u=-l.css.y+"px",m=y.loop.timings.duration,h=y.loop.timings.tweenDelay;j.plugins.callFunctions("addLayersLoopBeforeFilter",S),P&&!Z.isEmptyObject(y.filter.values.loop)&&(y.filter.transitions.loop||(y.filter.transitions.loop=j.transitions.layers.filters.createTransition(y,"loop",Z.isEmptyObject(y.filter.values.afterIn)?y.filter.values.style:y.filter.values.afterIn,y.filter.values.loop)),a.to([{p:0},f],m,{p:1,autoCSS:!1,immediateRender:!1,ease:y.loopTo.ease,onUpdate:j.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.loop]},i)),a.fromTo(v[0],m,n,l,i),j.plugins.callFunctions("addLayersLoopBeforeSmartBG",S),y.is.smartBG&&-1!==y.styleSettings.smartbg.indexOf("loop")&&a.fromTo(f,m,{immediateRender:!1,"--lx":d,"--ly":c},{ease:y.settings.smartbgease||y.loopTo.ease,"--lx":p,"--ly":u},i),j.plugins.callFunctions("addLayersLoopBeforeClip",S),y.loopClipToCSS.clipPath&&(y.loopClipToCSS.clipPath=j.functions.convert.clipProperties(y.loopClipToCSS.clipPath,y,g),!P&&-1===["polygon(100% 0%,100% 100%,0% 100%,0% 0%)","polygon(0% 100%, 0% 0%, 100% 0%, 100% 100%)"].indexOf(y.loopClipToCSS.clipPath)||a.set(v[0],y.loopClipFrom,i),a.to(v[0],m,y.loopClipTo,i)),o<y.loop.maxIterations-1&&a.to({immediateRender:!1},h,{}),P=!1}j.plugins.callFunctions("addLayersLoopBeforeTL",S),O||e.to({immediateRender:!1},s,{}),e.add(j.gsap.TweenMax.fromTo(a,a.duration(),{progress:0},{progress:1,ease:j.gsap.Linear.easeNone,immediateRender:!1})),y.loop.yoyo&&(e.to({immediateRender:!1},Math.max(0,s+r),{}),e.add(j.gsap.TweenMax.fromTo(a,a.duration(),{progress:1},{progress:0,ease:j.gsap.Linear.easeNone,immediateRender:!1}))),t&&e.play(),O=!1};if(-1===y.loop.count&&(y.timelines._loop.clear(),y.timelines._loop.time(0,!0)),y.timelines._loop.set(v[0],l,0),L(y.timelines._loop),1<y.loop.count)for(;y.timelines._loop.lsRepeats<y.loop.count-1;)y.timelines._loop.lsRepeats++,y.loop.yoyo&&(y.timelines._loop.yoyoreverse=!0),L(y.timelines._loop,!0);y.settings.timelineIsCalculated&&!y.is.static||(y.timeline.loopstart=j.transitions.layers.timeline.getTiming(y,y.loop.startAt,"loopstart"),y.timeline.loopend=y.timeline.loopstart+y.timelines._loop.duration()),j.plugins.callFunctions("addLayersLoopBeforeTLInf",S),-1!==y.loop.count&&("looplayers"===j.o.pauseOnHover||j.gui.timers.slidebar.$element||j.o.playByScroll)?(r.add(y.timelines._loop,y.timeline.loopstart),y.timelines._loop.play()):r.addCallback(function(){y.timelines._loop.play()},y.timeline.loopstart)}j.plugins.callFunctions("addLayersLoopBeforeStatic",S),y.is.static&&(y.timeline.staticfrom=y.timeline.transitioninend,y.timeline.staticto="100%",y.settings.timelineIsCalculated||(a=Math.max(y.timeline.allinandloopend(),0),j.transitions.layers.timeline.totalDuration=Math.max(j.transitions.layers.timeline.totalDuration,a))),j.plugins.callFunctions("addLayersLoopAfter",S),y.is.lottie&&y.lottie.isReady&&(m=y.lottie.options.startAt,u=y.lottie.options.delay/1e3||0,o=(m?y.timeline[m]:0)+u,"autoplay"===y.lottie.options.trigger?s.addCallback(function(){y.lottie.player.unfreeze(),y.lottie.player.play()},o):"scroll"===y.lottie.options.trigger&&(y.lottie.startTime+=o,y.lottie.endTime+=o,y.lottie.startTime=parseFloat(y.lottie.startTime.toFixed(3)),y.lottie.endTime=parseFloat(y.lottie.endTime.toFixed(3))))}y.is.textLayer&&y.textOut.enabled&&("out"===_&&-1<y.textOut.startAt.indexOf("slidechangeonly")||"in"===_&&-1===y.textOut.startAt.indexOf("slidechangeonly"))&&(-1!==y.textOut.startAt.indexOf("slidechangeonly")&&y.settings.slideOut===j.slides[W].index?(y.timelines._forceTextOut=new q.TimelineMax,y.timelines._forceTextOutMirror=ne
3w q.TimelineMax):-1===y.textOut.startAt.indexOf("slidechangeonly")&&(y.timelines._textOut=new q.TimelineMax),i=y.clip.enabled&&!y.loopClipToCSS.clipPath&&y.clip.style.css.clipPath==y.clip.default.css.clipPath,j.plugins.callFunctions("addLayersTextOutStart",S),n=j.transitions.layers.splitType.setNodesSequence(y.textOut.type.split("_"),y.textOut.ns),y.textOut.nodes=n[0],j.resize.transformProperties(g,y,y.textOutNodesTo,y.textOutShouldBeConverted,y.textOutNodesFrom,y.textOut.nodes,"textout"),y.textOutNodesTo.clipPath&&(y.textOutNodesTo.clipPath=j.functions.convert.clipProperties(y.textOutNodesTo.clipPath,y,g),y.textOutNodesFrom.clipPath=y.clip.default.css.clipPath),y.textOut.mirror?(y.textOut.nodesMirror=n[1],j.resize.mirrorTransitionProperties({transitionProperties:h,transitionPropertiesShouldBeConverted:x,transitionType:"text",mirrorProperties:y.textOut.mirror}),j.resize.transformProperties(g,y,h,x,y.textOutNodesFrom,y.textOut.nodes,"textoutmirror")):y.textOut.nodesMirror=n[0],y.textOutNodesFrom.transformPerspective=y.transformPerspective.text*y.settings.calculatedratio,Z.isEmptyObject(y.textOutShouldBeConverted.random)||j.transitions.layers.splitType.setRandomProperties(g,y,y.textOutShouldBeConverted.random,y.textOutNodesTo,"Out"),Z.isEmptyObject(y.textOutNodesTo.random)||j.transitions.layers.splitType.setRandomProperties(g,y,y.textOutNodesTo.random,y.textOutNodesTo,"Out"),delete y.textOutNodesTo.random,y.textOut.mirror&&(Z.isEmptyObject(x.random)||j.transitions.layers.splitType.setRandomProperties(g,y,x.random,h,"Out"),Z.isEmptyObject(h.random)||j.transitions.layers.splitType.setRandomProperties(g,y,h.random,h,"Out"),delete h.random),y.settings.timelineIsCalculated||(y.timeline.textoutstart=j.transitions.layers.timeline.getTiming(y,y.textOut.startAt,"textoutstart"),y.timeline.textoutend=y.timeline.textoutstart+(y.textOut.nodes.length-1)*y.textOut.shiftNodes+y.textOut.duration),j.plugins.callFunctions("addLayersTextOutBeforeStyles",S),y.textOutNodesTo.color&&(y.textOutNodesFrom.color=y.original.color),l=function(){j.layers.set.dataAttribute("add",g,"text-animating-out"),-1===y.textOut.startAt.indexOf("slidechangeonly")&&j.layers.set.dataAttribute("add",g,"active"),j.plugins.callFunctions("layerTextOutStart",{$layer:g,layerData:y})},r=function(){j.layers.set.dataAttribute("remove",g,"text-animating-out"),-1===y.textOut.startAt.indexOf("slidechangeonly")||y.out.enabled||j.layers.set.dataAttribute("add",g,"hidden"),j.plugins.callFunctions("layerTextOutComplete",{$layer:g,layerData:y})},j.plugins.callFunctions("addLayersTextOutBeforeTL",S),-1!==y.textOut.startAt.indexOf("slidechangeonly")&&y.settings.slideOut===j.slides[W].index?(y.timelines._forceTextOut.addCallback(l,0),y.timelines._forceTextOutMirror.addCallback(l,0),y.timelines._forceTextOut.set(f,y.textOut.layerStyle,0),y.timelines._forceTextOutMirror.set(f,y.textOut.layerStyle,0),i&&(y.timelines._forceTextOut.fromTo(t[0],0,y.clip.style,y.clip.none,0),y.timelines._forceTextOutMirror.fromTo(t[0],0,y.clip.style,y.clip.none,0)),y.timelines._forceTextOut.staggerFromTo(y.textOut.nodes,y.textOut.duration,y.textOutNodesFrom,y.textOutNodesTo,y.textOut.shiftNodes,0,r),y.timelines._forceTextOutMirror.staggerFromTo(y.textOut.nodesMirror,y.textOut.duration,y.textOutNodesFrom,h,y.textOut.shiftNodes,0,r),y.timelines._forceTextOut.to(e[0],0,y.reset.wrapperOnTimelineEnd,y.timelines._forceTextOut.duration()),y.timelines._forceTextOutMirror.to(e[0],0,y.reset.wrapperOnTimelineEnd,y.timelines._forceTextOutMirror.duration()),y.timelines._forceTextOut.timeScale(y.timelines._forceTextOut.duration()/j.o.forceLayersOutDuration),y.timelines._forceTextOutMirror.timeScale(y.timelines._forceTextOutMirror.duration()/j.o.forceLayersOutDuration),M.add(y.timelines._forceTextOut,0),B.add(y.timelines._forceTextOutMirror,0)):-1===y.textOut.startAt.indexOf("slidechangeonly")&&(m=Math.max(y.timeline.textoutstart,y.timeline.textinend),y.timelines._textOut.addCallback(l,0),y.timelines._textOut.set(f,y.textOut.layerStyle,0),i&&y.timelines._textOut.fromTo(t[0],0,y.clip.style,y.clip.none,0),y.timelines._textOut.staggerFromTo(y.textOut.nodes,y.textOut.duration,y.textOutNodesFrom,y.textOutNodesTo,y.textOut.shiftNodes,0,r),y.is.static||(M.to(e[0],0,y.reset.wrapperOnTimelineEnd,j.o.forceLayersOutDuration),B.to(e[0],0,y.reset.wrapperOnTimelineEnd,j.o.forceLayersOutDuration)),$.add(y.timelines._textOut,m)),-1===y.textOut.startAt.indexOf("slidechangeonly")&&(a=Math.max(a,y.timeline.textoutandloopend())),j.transitions.layers.timeline.totalDuration=Math.max(j.transitions.layers.timeline.totalDuration,a),j.plugins.callFunctions("addLayersTextOutAfter",S)),y.out.enabled&&("out"===_||"in"===_&&y.is.static&&"slidechangeonly"
3!==y.out.startAt)&&("slidechangeonly"===y.out.startAt||g.is("[data-ls-animating-out]")||(y.timelines._out=new q.TimelineMax),y.timelines._forceOut=new q.TimelineMax,y.timelines._forceOutMirror=new q.TimelineMax,j.plugins.callFunctions("addLayersOutStart",S),j.resize.performTransformOperations(y.inLayerToCSS,y.outLayerToCSS),j.resize.transformProperties(g,y,y.outLayerToCSS,y.outLayerShouldBeConverted,y.outLayerFromCSS,null,"out"),j.resize.styleProperties(g,y,y.outLayerStyleFromCSS,y.outLayerStyleShouldBeConvertedFrom),j.resize.styleProperties(g,y,y.outLayerStyleToCSS,y.outLayerStyleShouldBeConvertedTo),y.outLayerFromCSS.transformPerspective=y.transformPerspective.layer*y.settings.calculatedratio,y.out.mirror&&(j.resize.performTransformOperations(y.inLayerToCSS,c),j.resize.mirrorTransitionProperties({transitionProperties:c,transitionPropertiesShouldBeConverted:p,transitionType:"normal",mirrorProperties:y.out.mirror}),j.resize.transformProperties(g,y,c,p,y.outLayerFromCSS,null,"outmirror")),j.plugins.callFunctions("addLayersOutBeforeSmartBG",S),y.is.smartBG&&-1!==y.styleSettings.smartbg.indexOf("out")&&(y.outLayerStyleFrom.css["--x"]=parseInt(y.responsive["--x"])+"px",y.outLayerStyleTo.css["--x"]=parseInt(y.responsive["--x"])-y.outLayerToCSS.x+"px",y.outLayerStyleFrom.css["--y"]=parseInt(y.responsive["--y"])+"px",y.outLayerStyleTo.css["--y"]=parseInt(y.responsive["--y"])-y.outLayerToCSS.y+"px"),j.plugins.callFunctions("addLayersOutBeforeFilter",S),Z.isEmptyObject(y.filter.values.out)||y.filter.transitions.out||(y.filter.transitions.out=j.transitions.layers.filters.createTransition(y,"out",Z.isEmptyObject(y.filter.values.afterLoop)?Z.isEmptyObject(y.filter.values.afterIn)?y.filter.values.style:y.filter.values.afterIn:y.filter.values.afterLoop,y.filter.values.out)),j.plugins.callFunctions("addLayersOutBeforeClip",S),y.clip.enabled&&!y.outClipToCSS.clipPath&&y.clip.style.css.clipPath!==y.clip.default.css.clipPath&&(y.outClipToCSS.clipPath=y.clip.default.css.clipPath),y.outClipToCSS.clipPath&&(y.outClipToCSS.clipPath=j.functions.convert.clipProperties(y.outClipToCSS.clipPath,y,g)),j.plugins.callFunctions("addLayersOutBeforeTL",S),"slidechangeonly"===y.out.startAt||g.is("[data-ls-animating-out]")?(y.timeline.staticfrom=0,y.timeline.staticto="100%"):(y.settings.timelineIsCalculated||(y.timeline.transitionoutstart=Math.max(j.transitions.layers.timeline.getTiming(y,y.out.startAt,"transitionoutstart"),y.timeline.transitioninend),y.timeline.transitionoutend=y.timeline.transitionoutstart+y.out.duration),y.outClipToCSS.clipPath&&y.timelines._out.to(t[0],y.out.duration,y.outClipTo,0),Z.isEmptyObject(y.filter.values.out)||y.timelines._out.to([{p:0},f],y.out.duration,{p:1,autoCSS:!1,ease:y.outLayerTo.ease,onUpdate:j.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.out]},0),y.outLayerStyleTo.onComplete=function(){y.is.mediaLayer&&y.mediaProperties.$media[0].hasAttribute("data-ls-playing")&&j.media.functions.stopSingleMedia(g,y)},y.timelines._out.fromTo(e[0],y.out.duration,y.outLayerFrom,y.outLayerTo,0),y.timelines._out.fromTo(f,y.out.duration,y.outLayerStyleFrom,y.outLayerStyleTo,0),j.slider.isScrollScene||y.timelines._out.fromTo(e[0],0,y.init.wrapper,y.reset.wrapperOnTimelineEnd,y.out.duration),y.timelines._out.addCallback(function(){y.should.reset=!0}),$.add(y.timelines._out,y.timeline.transitionoutstart)),j.plugins.callFunctions("addLayersOutBeforeTLForced",S),y.settings.slideOut===j.slides[W].index&&(u=Math.min(j.o.forceLayersOutDuration,y.out.duration),y.out.duration==y.out.defaultDuration&&(u=j.o.forceLayersOutDuration),y.timelines._forceOut.fromTo(e[0],u,y.outLayerFrom,y.outLayerTo,0),y.timelines._forceOut.fromTo(f,u,y.outLayerStyleFrom,y.outLayerStyleTo,0),y.timelines._forceOutMirror.fromTo(e[0],u,y.outLayerFrom,y.out.mirror?d:y.outLayerTo,0),y.timelines._forceOutMirror.fromTo(f,u,y.outLayerStyleFrom,y.outLayerStyleTo,0),y.outClipToCSS.clipPath&&(y.timelines._forceOut.to(t[0],u,y.outClipTo,0),y.timelines._forceOutMirror.to(t[0],u,y.outClipTo,0)),Z.isEmptyObject(y.filter.values.out)||(y.timelines._forceOut.to([{p:0},f],u,{p:1,autoCSS:!1,ease:y.outLayerTo.ease,onUpdate:j.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.out]},0),y.timelines._forceOutMirror.to([{p:0},f],u,{p:1,autoCSS:!1,ease:y.outLayerTo.ease,onUpdate:j.transitions.layers.filters.animate,onUpdateParams:["{self}",y.filter.transitions.out]},0)),M.add(y.timelines._forceOut,0),B.add(y.timelines._forceOutMirror,0)),a=Math.max(y.timeline.alloutandloopend(),0),j.transitions.layers.timeline.totalDuration=Math.max(j.transitions.layers.timeline.totalDuration,a),y.settings.timelineIsCalculated=!0,j.plugins.callFunctions("addLayersOutAfter",S))}j.plugins.callFunctions("addLayersAfter",S)})},play:function(){j.timelines._layers&&(j.timelines._layers.play(),j.functions.setStates(this,{started:!0,running:!0,stopped:!1,paused:!1}))},pause:function(e){e=Z.isNumeric(e)?e:.75,j.timelines._layers&&(q.TweenMax.to(j.timelines._layers,e,{timeScale:0,onComplete:function(e){e.pause()},onCompleteParams:[j.timelines._layers]}),j.functions.setStates(this,{paused:!0,stopped:!1}))},resume:function(){j.timelines._layers&&(this.state.paused&&j.timelines._layers.play(),q.TweenMax.to(j.timelines._layers,.75,{timeScale:1}),j.functions.setStates(this,{paused:!1,stopped:!1}))},reverse:function(){j.timelines._layers&&j.timelines._layers.reverse()},scrollForward:function(e){var e;e||(this.play(),this.modifyTimeScale()),!j.timelines._layers||j.slider.isBusy()||0!==j.timelines._layers.totalDuration()&&1!==j.timelines._layers.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.timelines._layers||j.slider.isBusy()||0!==j.timelines._layers.totalDuration()&&0!==j.timelines._layers.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.timelines._layers&&q.TweenMax.to(j.timelines._layers,.25,{timeScale:1+this.timeScaleModifier})},resetStates:function(){this.state={started:!1,running:!1,paused:!1,stopped:!1,finished:!1}}},hover:{enable:function(e){e.attr("data-ls-canhover","1")},disable:function(e){e.attr("data-ls-canhover","0")}
3,set:function(e,t){t.elements.$wrapper.on("mouseenter."+$,function(){j.transitions.layers.hover.mouseEnter(e,t)}),t.elements.$wrapper.on("mouseleave."+$,function(){j.transitions.layers.hover.mouseLeave(e,t)}),t.elements.$wrapper.on("mousemove."+$,function(){j.transitions.layers.hover.mouseMove(e,t)})},createTimeline:function(e,t){var i,a,s,i;t.hover._timeline=new q.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,null,"hover"),j.resize.styleProperties(e,t,t.hoverToCSS,t.hoverShouldBeConverted),t.hoverFromCSS.transformPerspective=t.transformPerspective.hover*t.settings.calculatedratio,t.hover._tween=q.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=Z.extend(!0,{},t.hoverFrom,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),s=Z.extend(!0,{},t.hoverTo,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),t.hover._linkTween=q.TweenMax.fromTo(i[0],t.hover.durationIn,a,s),t.hover._timeline.add(t.hover._linkTween,0)):t.hover._linkTween=null,t.hover.alwaysOnTop&&(i={zIndex:9999},j.browser.isSafari&&(i.transform="translateZ(999999px)"),t.hover._timeline.to(t.elements.$outerWrapper[0],t.hover.durationIn,{autoCSS:!1,css:i},0)),t.hover.reverseTimeScale=t.hover.durationIn/t.hover.durationOut==1?1:t.hover.durationIn/t.hover.durationOut,this.hoverIn(e,t)},mouseEnter:function(e,t){"1"===e.attr("data-ls-canhover")&&(e.attr("data-ls-hovered",1),t.elements.$wrapper.off("mousemove."+$),t.hover._timeline?(t.hover._timeline.play().stop().progress(0),this.hoverIn(e,t)):this.createTimeline(e,t))},mouseLeave:function(e,t){t.hover._timeline&&(t.hover._timeline.stop().progress(1),this.hoverOut(e,t)),e.removeAttr("data-ls-hovered")},mouseMove:function(e,t){e.attr("data-ls-hovered")||this.mouseEnter(e,t)},hoverIn:function(e,t){t.hover._tween.updateTo({ease:t.hover.easeIn}),t.hover._linkTween&&t.hover._linkTween.updateTo({ease:t.hover.easeIn}),t.hover._timeline.play().timeScale(1)},hoverOut:function(e,t){t.hover._tween.updateTo({ease:t.hover.easeOut}),t.hover._linkTween&&t.hover._linkTween.updateTo({ease:t.hover.easeOut}),t.hover._timeline.reverse().timeScale(t.hover.reverseTimeScale)}},parallax:{defaults:{scrollModifier:5,centerLayers:"center",centerDegree:40,sensitive:10},state:{enabled:!1,ready:!1},wrappers:{cursor:{$2d:Z(),$3d:Z()},scroll:{$2d:Z(),$3d:Z()},auto:{$2d:Z(),$3d:Z()},randomGlobal:{},randomLocal:{}},globalSlideParallaxData:{},init:function(){var t=this;_.on("mouseenter."+$,function(){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.calculateTransformProperties()}),_.on("mousemove."+$,function(e){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.mouseMove(e)}),_.on("mouseleave."+$,function(){(t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.reset()}),M.on("scroll.parallax"+$+" touchmove.parallax"+$,function(){!t.wrappers.scroll.$2d.length&&!t.wrappers.scroll.$3d.length||t.state.paused||t.scroll()}),M.on("resize.parallax"+$,function(){(t.wrappers.auto.$2d.length||t.wrappers.auto.$3d.length||t.wrappers.scroll.$2d.length||t.wrappers.scroll.$3d.length||t.wrappers.cursor.$2d.length||t.wrappers.cursor.$3d.length)&&t.calculateTransformProperties()}),t.defaults.scrollModifier*=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,i.settings.smartbgease)&&(t.smartbgease=i.settings.smartbgease),Z.extend(!0,t,j.slides[a].parallax,i.parallax),i.transformPerspective.parallax?t.transformPerspective=i.transformPerspective.parallax:i.transformPerspective.parallax=t.transformPerspective,"random"===t.event&&(t.ease=j.functions.convert.easing(t.ease),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"),(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&&q.TweenMax.set(e[0],{"--rx":"0px","--ry":"0px"}),"random"===t.event?(this.wrappers[t._event][a]||(this.wrappers[t._event][a]={$2d:Z(),$3d:Z()}),-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.t
3imeout=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","parallax",e.$layer,e.layerData),e.y=j.functions.convert.randomProperties(e.parallaxData.randomY,"y","parallax",e.$layer,e.layerData),e.duration=e.parallaxData.randomDuration,Z.isNumeric(e.duration)||(e.duration=j.functions.convert.randomProperties(e.duration,"duration")/1e3),e.wait=e.parallaxData.randomWait,Z.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))}},calculateTransformProperties:function(){var e,a,e=this.wrappers,a=Z();(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=Z(this),t=e.data(j.defaults.init.dataKey).parallax,i=e.find(".ls-layer"),a=i.data(j.defaults.init.dataKey),i=j.functions.convert.transformOrigin(t.transformOrigin,i.data(j.defaults.init.dataKey).elements.$wrapper,a,e);t.parallaxCurrentOrigin=j.functions.convert.parallaxOrigin(t.origin,e,t),q.TweenMax.set(e[0],{transformOrigin:i,transformPerspective:t.transformPerspective*a.settings.calculatedratio}),"cursor"===t.event&&t.durationEnter&&(t._enterParallax&&(t._enterParallax.kill(),t._enterParallax=null),t.enteringTime=a.parallax.durationEnter,t._enterParallax=q.TweenMax.to(t,t.durationEnter,{enteringTime:0,ease:q.Quart.easeOut,onUpdate:function(){t.enteringTime<=1e-6&&(t.enteringTime=0,this.pause().progress(1))},onComplete:function(){this.invalidate(),t._enterParallax=null}}))}),this.transformPropertiesCalculated=!0},trigger:function(){M.trigger("scroll.parallax"+$),M.trigger("touchmove.parallax"+$)},auto:function(){this.transformPropertiesCalculated||this.calculateTransformProperties()},scroll:function(){var e=(("top"===this.defaults.centerLayers?Q.scroll.top:Q.scroll.top+(Q.viewport.height-j.slider.height)/2)-j.slider.offset.top)*j.resize.ratio*this.defaults.scrollModifier,e=(j.slider.state.inFullscreen&&(e=0),this.transformPropertiesCalculated||this.calculateTransformProperties(),{x:0,y:e,eventName:"scroll"});this.animate(e,"2d"),this.animate(e,"3d")},mouseMove:function(e,t={}){this.transformPropertiesCalculated||this.calculateTransformProperties();var e={x:null!=t.x?t.x:e.pageX,y:null!=t.y?t.y:e.pageY,eventName:t.eventName||"cursor",slideIndex:t.slideIndex||null,$wrappers:t.$wrappers||!1,timeout:t.timeout||!1,duration:t.duration||null};t.type&&"2d"!==t.type||this.animate(e,"2d"),t.type&&"3d"!==t.type||this.animate(e,"3d")},animate:function(r={},o){var n=-1!==r.eventName.indexOf("random"),l="cursor"===r.eventName,e=this.wrappers[r.eventName]["$"+o];"randomGlobal"==r.eventName?e=this.wrappers[r.eventName][r.slideIndex]["$"+o]:"randomLocal"==r.eventName&&(e=r.$wrappers),e.each(function(){var e=Z(this),t,i,a,s,a;"active"===e.attr("data-ls-parallax")&&(t=e.data(j.defaults.init.dataKey).parallax,i={},a=r.x,s=r.y,l&&(t.parallaxCurrentOrigin||(t.parallaxCurrentOrigin=j.functions.convert.parallaxOrigin(t.parallaxOrigin,e,t)),a-=t.parallaxCurrentOrigin.x,s-=t.parallaxCurrentOrigin.y),n||t.x?(i.x=-a*(t.distance/2e3)*parseInt(t.level),"3d"===o&&(i.rotationY=-a/(4e3/t.rotation))):i.x=0,n||t.y?(i.y=-s*(t.distance/2e3)*parseInt(t.level),"3d"===o&&(i.rotationX=s/(4e3/t.rotation))):i.y=0,l&&(t.skewX&&(i.skewX=-a*(t.skewX/2e3)*parseInt(t.level)),t.skewY&&(i.skewY=-s*(t.skewY/2e3)*parseInt(t.level)),t.scaleX&&(i.scaleX=1+Math.abs(a)*(t.scaleX
3/4e3)*parseInt(t.level)),t.scaleY)&&(i.scaleY=1+Math.abs(s)*(t.scaleY/4e3)*parseInt(t.level)),r.timeout&&(t._timeout=r.timeout),a=n?r.duration:Math.max(t.durationMove,t.enteringTime||0),i.ease=n?t.ease:q.Power1.easeOut,t.smartBG&&j.transitions.layers.parallax.animateSmartBG(i.x,i.y,e,a,t.smartbgease||i.ease),q.TweenMax.to(e[0],a,i))})},animateSmartBG:function(e,t,i,a,s){q.TweenMax.to(i.find(".ls-layer, .ls-l").first()[0],a,{"--rx":-e+"px","--ry":-t+"px",ease:s})},reset:function(){Z().add(this.wrappers.cursor.$2d).add(this.wrappers.cursor.$3d).each(function(){var e=Z(this),t={x:0,y:0,skewX:0,skewY:0,scaleX:1,scaleY:1,rotationX:0,rotationY:0};e.find(".ls-layer[data-ls-hidden]").length&&!j.slider.isScrollScene&&(q.TweenMax.set(e[0],t),Z(this).data(j.defaults.init.dataKey).parallax.smartBG)&&j.transitions.layers.parallax.animateSmartBG(0,0,e,0),e.find(".ls-layer[data-ls-parallax-reset]").length&&(q.TweenMax.to(e[0],Z(this).data(j.defaults.init.dataKey).parallax.durationLeave,t),Z(this).data(j.defaults.init.dataKey).parallax.smartBG)&&j.transitions.layers.parallax.animateSmartBG(0,0,e,Z(this).data(j.defaults.init.dataKey).parallax.durationLeave)}),this.transformPropertiesCalculated=!1}},scroll:{defaultProperties:{shouldBeConverted:{transformOrigin:"50% 50% 0"},transformPerspective:500,duration:.5,ease:"easeOutQuart"},defaults:{centerLayers:"center"},state:{enabled:!1},$wrappers:Z(),init:function(){var e=this;M.on("scroll.scroll"+$+" touchmove.scroll"+$,function(){e.$wrappers.length&&e.scroll()}),M.on("resize.scroll"+$,function(){e.$wrappers.length&&e.calculateTransformProperties()})},addLayer:function(e,t,i,a){this.state.enabled||(j.functions.setStates(this,{enabled:!0}),this.init()),Z.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":e="scene"===i?j.slider.wrapperPosition.top-(Q.viewport.height-j.slider.height)/2:Q.scroll.top;break;case"center":switch(i){case"scene":e=j.slider.wrapperPosition.middleForScrollTransition;break;case"document":e=Q.scroll.top;break;default:e=Q.scroll.top+(Q.viewport.height-j.slider.height)/2}break;case"bottom":switch(i){case"scene":e=j.slider.wrapperPosition.top+j.slider.wrapperOffset.height-Q.viewport.height+(Q.viewport.height-j.slider.height)/2;break;case"document":e=Q.scroll.top;break;default:e=Q.scroll.top+Q.viewport.height-j.slider.height}break;case"top-meets-viewport-bottom":e=Q.scroll.top+Q.viewport.height;break;case"top-meets-viewport-middle":e=Q.scroll.top+Q.viewport.height/2;break;case"bottom-meets-viewport-top":e=Q.scroll.top-j.slider.height;break;case"bottom-meets-viewport-middle":e=Q.scroll.top+Q.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,e,e,t=Z(this),i=t.find(".ls-scroll-transform"),a=t.data(j.defaults.init.dataKey).scroll,e,s,r;(-1!==j.slider.position.toViewportYForSkipViewportLayers.indexOf("inside")&&a.skipViewport||!n.state.paused)&&(e=n.setCenter(a,l),s={overwrite:"all",c:e=n.setY(a,e),ease:"down"===Q.scroll.direction?a.ease:a.easeRev,onUpdate:function(e,t){var e=e.target.style.c<=0?"+":"-";a.layerPositionToCenter!==e&&n.setTransformProperties(Z(t),a,e),a.layerPositionToCenter=e},onUpdateParams:["{self}",this,a]},r={overwrite:"all",ease:"down"===Q.scroll.direction?a.ease:a.easeRev},a.x&&(r.x=n.calculateTransformations(-e*a.x/20,"x",a,-e)),a.y&&(r.y=n.calculateTransformations(-e*a.y/20,"y",a,-e)),a.rotation&&(r.rotation=n.calculateTransformations(e*a.rotation/40,"rotation",a,-e)),a.rotationX&&(r.rotationX=n.calculateTransformations(e*a.rotationX/40,"rotationX",a,-e)),a.rotationY&&(r.rotationY=n.calculateTransformations(e*a.rotationY/40,"rotationY",a,-e)),a.skewX&&(r.skewX=n.calculateTransformations(-e*a.skewX/40,"skewX",a,-e)),a.skewY&&(r.skewY=n.calculateTransformations(-e*a.skewY/40,"skewY",a,-e)),a.scaleX&&(r.scaleX=n.calculateTransformations(1-e*a.scaleX/-4e3,"scaleX",a,e)),a.scaleY&&(r.scaleY=n.calculateTransformations(1-e*a.scaleY/-4e3,"scaleY",a,e)),a.opacity&&(r.opacity=n.calculateTransformations(1-e*(a.opacityyoyo?Math.abs(a.opacity):a.opacity)/1e3,"opacity",a,e)),e="down"===Q.scroll.direction?a.duration:a.durationRev,o||0==e?(q.TweenMax.set(t[0],s),q.TweenMax.set(i[0],r)):(q.TweenMax.to(t[0],e,s),q.TweenMax.to(i[0],e,r)))}))},calculateTransformations:function(e,t,i,a){if(i[t+"yoyo"])switch(t){case"scaleX":case"scaleY":
3a<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=Z(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);q.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,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(s in t)if("object"==typeof t[s]&&2===t[s].length)switch(s){case"blur":a+=" blur( "+(t[s][0]<t[s][1]?t[s][0]+Math.abs(t[s][0]-t[s][1])/100*i:t[s][0]-Math.abs(t[s][0]-t[s][1])/100*i)+"px )";break;case"hue-rotate":a+=" hue-rotate( "+(t[s][0]<t[s][1]?t[s][0]+Math.abs(t[s][0]-t[s][1])/100*i:t[s][0]-Math.abs(t[s][0]-t[s][1])/100*i)+"deg )";break;default:a+=" "+s+"( "+(t[s][0]<t[s][1]?t[s][0]+Math.abs(t[s][0]-t[s][1])/100*i:t[s][0]-Math.abs(t[s][0]-t[s][1])/100*i)+"% )"}q.TweenMax.set(e.target,{"-webkit-filter":a,filter:a})}}},splitType:{setNodesSequence:function(e,o){var t=function(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},i=t(o,e[1]),e={asc:"desc",desc:"asc"}[e[1]]||e[1];return[i,t(o,e)]},resetNodes:function(e,t){Z(".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,"text"+s.toLowerCase(),e,t);delete a[r],a.cycle[r]=o}}}},media:{defaults:{delay:500,fadeIn:500,fadeOut:750},changeBackgroundVideo:function(e,t){var i,a,s,a,r;j.slides.current.index&&j.slides.current.data.$backgroundVideo.length&&(a=(i=j.slides.current.data.$backgroundVideo).data(j.defaults.init.dataKey).elements.$bgWrapper,t)&&(i.data(j.defaults.init.dataKey).mediaProperties.willBePaused=!0,a.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&&(a=(s=j.slides.next.data.$backgroundVideo).data(j.defaults.init.dataKey).elements.$bgWrapper,r=s.data(j.defaults.init.dataKey).elements.$bgOuterWrapper,Q.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(){e&&j.o.animateFirstSlide||s.trigger("playBackgroun
3dVideo")},e?50:0),e||t?a.fadeIn(j.transitions.media.defaults.fadeOut):a.css({display:"block"}),s.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,e;j.slides.current&&j.slides.current.data&&j.timelines._layers&&(e=j.timelines._layers.progress(),e=j.slides.current.data.duration*e/this.defaults.reverseDuration,j.gui.timers.bar.$element&&this.bar._transition&&(j.timelines._layers.remove(j.transitions.timers.bar._transition),this.bar._transition.reverse().timeScale(e)),j.gui.timers.circle.$element&&this.circle._transition&&(j.timelines._layers.remove(j.transitions.timers.circle._transition),this.circle._transition.reverse().timeScale(e)),j.gui.timers.slidebar.$element)&&this.slidebar._transition&&(j.timelines._layers.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=q.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:q.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 q.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:q.Linear.easeNone},0).fromTo(t,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:q.Linear.easeNone},i/2)}},slidebar:{reset:function(){this._transition&&(this._transition.kill(),this._transition=!1)},createTransition:function(){var i=this;i._transition=new q.TimelineMax({paused:!0,onReverseComplete:function(){j.transitions.timers.slidebar._transition=!1}}),Z.each(j.gui.timers.slidebar.$sliderContainerElement,function(t,e){i._transition.add(q.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:q.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(q.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:q.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:{min:1e-6,animate:function(e){var t,t,i;j.timelines._layers&&(t=Q.scroll.top-j.slider.wrapperOffset.top+this.playFrom,e=e&&"start"===e?this.min:Math.max(this.min,j.transitions.layers.timeline.totalDuration/j.transitions.scrollscene.maxProgressInPixels*t),t=q.Sine.easeOut,i=this.initialized&&!this.immediateRender?j.o.smoothScrollDuration/1e3:0,"outside"!==j.slider.position.toViewport)&&(this._tween=j.timelines._layers.tweenTo(Math.min(e,j.transitions.layers.timeline.totalDuration),{ease:t,onUpdate:function(){for(var e=j.timelines._layers.time(),t=j.transitions.lottie.layerDatas.length,i=0,a,a,s,s;i<t;i++){j.transitions.lottie.layerDatas[i].isReady&&"scroll"===j.transitions.lottie.layerDatas[i].options.trigger&&(e<=j.transitions.lottie.layerDatas[i].startTime?j.transitions.lottie.layerDatas[i].posToViewport!==(a="below")&&(j.transitions.lottie.players[i].stop(),j.transitions.lottie.players[i].setFrame
3(j.transitions.lottie.layerDatas[i].playFrom)):e>=j.transitions.lottie.layerDatas[i].endTime?j.transitions.lottie.layerDatas[i].posToViewport!==(a="above")&&j.transitions.lottie.players[i].setFrame(j.transitions.lottie.layerDatas[i].playTo):(a="inside",s=e-j.transitions.lottie.layerDatas[i].startTime,s=j.transitions.lottie.layerDatas[i].playFrom+s*j.transitions.lottie.layerDatas[i].frameRate*j.transitions.lottie.layerDatas[i].speed,j.transitions.lottie.players[i].setFrame(s)),j.transitions.lottie.layerDatas[i].posToViewport=a)}}}).duration(i),this.initialized=!0,this.immediateRender=!1)}},lottie:{players:[],layerDatas:[],mirror:{left:"right",right:"left",top:"bottom",bottom:"top"},init:function(t,e){j.slides[t.data("slideIndex")].lottie.count+=1,e.lottie={userOptions:JSON.parse(t.attr("data-ls-lottie"))};var i=this,a=e.lottie,e=(t.html("<canvas></canvas>"),t.find("canvas")[0]),s=(a.options=Z.extend(!0,{loop:!0,speed:1,mode:"forward",start:0,end:100,layout:{fit:"contain",align:[.5,.5]},trigger:"autoplay",triggerFrom:"auto",startAt:"transitioninstart"},a.userOptions,{autoplay:!1,canvas:e}),a.options);"scroll"!==s.trigger||j.slider.isScrollScene||(s.trigger="autoplay"),a.player=new LS_DotLottie(s),a.player.addEventListener("loadError",function(e){console.error("Failed to load Lottie animation:",e.error),a.player.destroy(),j.slides[t.data("slideIndex")].lottie.loaded+=1}),a.player.addEventListener("load",function(){if(!j.slides[t.data("slideIndex")]||!j.slides[t.data("slideIndex")].lottie)return a.player.destroy(),!1;j.slides[t.data("slideIndex")].lottie.loaded+=1,a.playFrom=Math.max(Math.round(a.player.totalFrames*(s.start/100)),0),a.playTo=Math.min(Math.round(a.player.totalFrames*(s.end/100)),a.player.totalFrames),a.playTo<=a.playFrom&&(a.playTo=a.player.totalFrames),a.playTo=Math.round(a.playTo),a.player.setSegment(a.playFrom,a.playTo),a.player.setFrame(a.playFrom),a.frameRate=a.player.totalFrames/a.player.duration,a.speed=a.player.speed||1,a.frameCount=a.playTo-a.playFrom,a.actualDuration=a.frameCount/a.frameRate/a.speed||1,a.startTime=a.playFrom/a.frameRate/a.speed,a.duration=a.frameCount/a.frameRate/a.speed,a.endTime=a.startTime+a.duration,a.isReady=!0,a.player.setUseFrameInterpolation(!0),i.players.push(a.player),i.layerDatas.push(a),"autoplay"!==s.trigger&&j.transitions.lottie.setTrigger(t,a.player,a,s.trigger)})},setTrigger:function(e,r,o,t){var i=this;switch(t){case"toggleclick":case"click":e.on("click."+$,function(){r.isPlaying&&"click"!==t?r.pause():r.play()});break;case"togglehover":e.on("mouseleave."+$,function(){r.pause()});case"hover":e.on("mouseenter."+$,function(){r.play()});break;case"mousemove":e.on("mouseenter."+$,function(e){i.getSide("enter",e,this,o)}).on("mousemove."+$,function(e){o.enter||Z(this).trigger("mouseenter."+$,e);var t,i=this.getBoundingClientRect(),a=e.clientX-i.left,s=e.clientY-i.top,a=Math.max(0,Math.min(a,i.width)),s=Math.max(0,Math.min(s,i.height));switch(o.from){case"left":t=a/i.width;break;case"right":t=1-a/i.width;break;case"top":t=s/i.height;break;case"bottom":t=1-s/i.height}var t=Math.max(0,Math.min(t,1)),e=Math.round(o.playFrom+t*(o.playTo-o.playFrom));r.setFrame(e)}).on("mouseleave."+$,function(e){i.getSide("leave",e,this,o);var e=o.enter,e;(e=-1!==["left","right","top","bottom"].indexOf(o.options.triggerFrom)?o.options.triggerFrom:e)===o.leave?r.setFrame(o.playFrom):o.leave===i.mirror[e]&&(e=o.playTo===Math.round(r.totalFrames)?r.totalFrames-1:o.playTo,r.setFrame(e)),delete o.enter,delete o.leave,delete o.from})}},getSide:function(e,t,i,a){var i=i.getBoundingClientRect(),s=t.clientX-i.left,t=t.clientY-i.top,r={left:s,right:i.width-s,top:t,bottom:i.height-t},s=a.options.triggerFrom,o=r.left;switch(s="leave"===e?"auto":s){case"left":case"right":case"horizontal":a[e]=r.left<=r.right?"left":"right";break;case"top":case"bottom":case"vertical":a[e]=r.top<=r.bottom?"top":"bottom";break;case"auto":a[e]="left",r.right<o&&(o=r.right,a[e]="right"),r.top<o&&(o=r.top,a[e]="top"),r.bottom<o&&(a[e]="bottom")}-1!==["horizontal","vertical","auto"].indexOf(a.options.triggerFrom)?a.from=a.enter:a.from=a.options.triggerFrom},destroyAll:function(e){for(var t=0;t<this.players.length;t++)this.players[t].destroy()}}},j.plugins={load:function(){var e,a;j.o.plugins&&0!==j.o.plugins.length?(j.o.plugins=j.plugins.sortByPriority(j.o.plugins),e=j.o.plugins[0],a="object"==typeof e?e.namespace:e,window._layerSlider.plugins[a]?(j.plugins.init(
3a,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)?j.plugins.checkLoaded(a):-1===window._layerSlider.pluginsLoaded.indexOf(a)&&-1===window._layerSlider.pluginsNotLoaded.indexOf(a)?(window._layerSlider.pluginsBeingLoaded.push(a),Z.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.slider.check.initialized()},init:function(e,t,i){j.initializedPlugins[e]=new window._layerSlider.plugins[e](j,_,$,t.settings),window._layerSlider.checkVersions(j.initializedPlugins[e].pluginData.requiredLSVersion,j.plugin.version)?(t.css&&i&&Z('<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)},events:{},addFunction:function(e,t,i){if(Array.isArray(e))for(var a=0;a<e.length;a++){var s=e[a];j.plugins.events[s]||(j.plugins.events[s]={}),j.plugins.events[s][t]=i}else j.plugins.events[e]||(j.plugins.events[e]={}),j.plugins.events[e][t]=i},callFunctions:function(e,t){for(var i in j.plugins.events[e])j.plugins.events[e][i](t)},getLayersByEffect:function(i){var a,s=Z();return j.slider.get.effectLayers().each(function(e,t){for(var e in Z(t).data("ls-effects"))(a=Z(t)).data("ls-effects")[e].effect==i&&(a.data(i,a.data("ls-effects")[e]),s=s.add(t))}),s},sortByPriority:e=>e.sort(function(e,t){var e=_layerSliderEffectsPriority.indexOf(e),t=_layerSliderEffectsPriority.indexOf(t);return-1===e&&-1===t?0:-1===e?1:-1===t?-1:e-t})},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,t,t=(j.originalMarkup=_[0].outerHTML,j.userInitOptions=j.functions.convert.properties(j.functions.convert.oldProperties(i)),j.meta={},j.o=Z.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,e=window.console.info?"info":"log",t=window.LS_Meta&&window.LS_Meta.v?" | WP Plugin: "+window.LS_Meta.v:"",console[e]("LayerSlider initialized | core: "+j.plugin.version+"-"+j.plugin.release+t),console[e]("Find updates and docs @ https://layerslider.com/")),{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=Z("<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,c,p,u,m,p,h,u,f,g,y,v,x,S=j.slider,i=_.parent(),x=L.style,w=window.getComputedStyle(L,null),b=parseInt(L.clientWidth),T=parseInt(L.clientHeight),k=parseInt(i.width()),C=parseInt(i.height()),O=j.o.layersContainerWidth,P=j.o.layersContainerHeight,I=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<O?(e=O,j.debugMode&&j.debug.add("warn","sliderInit.noWidth",O)):(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=T,j.debugMode&&j.debug.add("warn","sliderInit.noHeight2",C)
3),a=t,s=""!==x.maxWidth?-1!==x.maxWidth.indexOf("px")?parseInt(x.maxWidth):x.maxWidth:0,void 0===j.userInitOptions.type&&(0<O&&0<P||"100%"===e&&"100%"===t?I="fullsize":O<=0&&P<=0&&(j.o.responsiveUnder<=0||0<j.o.responsiveUnder&&j.o.sliderVersion)?I=void 0!==j.o.responsive&&!1===j.o.responsive?"fixedsize":"responsive":0<j.o.responsiveUnder&&(I="fullwidth")),I){case"fullwidth":-1!==e.indexOf("%")&&(j.debugMode&&j.debug.add("warn","sliderInit.percWidth",[I,e,b]),e=b),O<=0&&(O=e,j.debugMode)&&j.debug.add("warn","sliderInit.conWidth",[I,e]),j.o.responsiveUnder<=0&&(j.o.responsiveUnder=O,j.debugMode)&&j.debug.add("warn","sliderInit.fullwidth",O),-1!==t.indexOf("%")&&(o=C/(100/parseInt(t)),j.debugMode&&j.debug.add("warn","sliderInit.fullwidth2",[I,t,o]),t=o),P<=0&&(P=t);break;case"fullsize":-1!==e.indexOf("%")&&(r=0<O?O:k,j.debugMode&&j.debug.add("warn","sliderInit.fullsize",[I,e,r,k,O]),e=r),O<=0&&(O=e,j.debugMode)&&j.debug.add("warn","sliderInit.conWidth",[I,e]),-1!==t.indexOf("%")&&(o=0<P?P:M.height()/(100/parseInt(t)),j.debugMode&&j.debug.add("warn","sliderInit.fullsize2",[I,t,o,M.height(),P]),t=o),P<=0&&(P=t,j.debugMode)&&j.debug.add("warn","sliderInit.conHeight",[I,t]);break;case"fixedsize":break;default:j.userInitOptions.type=j.o.type=I="responsive",(j.o.responsiveUnder=-1)!==e.indexOf("%")&&(e=b,j.debugMode)&&j.debug.add("warn","sliderInit.percWidth",[I,e,b]),-1!==t.indexOf("%")&&(e=T,j.debugMode)&&j.debug.add("warn","sliderInit.responsive",[I,t,T]),j.debugMode&&0<O&&j.debug.add("warn","sliderInit.conWidth2",[I,O]),j.debugMode&&0<P&&j.debug.add("warn","sliderInit.conHeight2",[I,P])}if(_.addClass("ls-container ls-"+I),_.parent().addClass("ls-direction-fix"),j.userInitOptions.slideBGSize||"responsive"!==I||!j.userInitOptions.hasOwnProperty("sliderVersion")||j.userInitOptions.sliderVersion||(j.o.slideBGSize="auto",j.debugMode&&j.debug.add("warn","sliderInit.bgCover",I)),j.o.slideBGSize=j.o.slideBGSize.replace("100% 100%","stretch"),n=0<O?O:e,l=0<P?P:t,"auto"===(p=L.style.marginLeft)?d="auto":""===p?d=parseInt(w.getPropertyValue("margin-left")):d=parseInt(L.style.marginLeft),"auto"===(u=L.style.marginRight)?c="auto":""===u?c=parseInt(w.getPropertyValue("margin-right")):c=parseInt(L.style.marginRight),d===c&&(""===p&&""===u&&(m=d,c=d="auto"),_.css({marginLeft:"auto",marginRight:"auto"})),p=""!==x.paddingLeft?parseInt(x.paddingLeft):parseInt(_.css("padding-left")),u=""!==x.paddingRight?parseInt(x.paddingRight):parseInt(_.css("padding-right")),h=""!==x.paddingTop?parseInt(x.paddingTop):parseInt(_.css("padding-top")),f=""!==x.paddingBottom?parseInt(x.paddingBottom):parseInt(_.css("padding-bottom")),g=""!==x.borderLeftWidth?parseInt(x.borderLeftWidth):parseInt(_.css("border-left-width")),v=""!==x.borderRightWidth?parseInt(x.borderRightWidth):parseInt(_.css("border-right-width")),y=""!==x.borderTopWidth?parseInt(x.borderTopWidth):parseInt(_.css("border-top-width")),x=""!==x.borderBottomWidth?parseInt(x.borderBottomWidth):parseInt(_.css("border-bottom-width")),S.initial={type:I,width:e,height:t,originalWidth:i,originalHeight:a,percW:e/100,percH:t/100,layersWidth:O,layersHeight:P,ratio:n/l,maxWidth:s,marginLeft:d,marginRight:c,marginTop:j.o.marginTop,marginBottom:j.o.marginBottom,paddingLeft:p,paddingTop:h,paddingRight:u,paddingBottom:f,borderLeftWidth:g,borderTopWidth:y,borderRightWidth:v,borderBottomWidth:x,skinWidth:p+u+g+v,skinHeight:h+f+y+x},j.debugMode&&(j.debug.add("log","sliderInit.style",[e,t,i,a,O,P,parseInt(n/l*100)/100,0<s?s:void 0,[d,c]]),m)&&j.debug.add("warn","sliderInit.margin",m),Z("#ls-global").length||(Z("html").attr("id")?Z("body").attr("id")||Z("body").attr("id","ls-global"):Z("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=Z('<div class="ls-wp-container fitvidsignore ls-hidden" data-layerslider-uid="'+$+'"></div>').addClass(_.attr("class")).prependTo("body"),j.slider.$innerWrapper=Z('<div class="ls-inner"></div>'),j.slider.$slideBGColorWrapper=Z('<div class="ls-slide-bgcolor"></div>').appendTo(j.slider.$innerWrapper),j.slider.$layersWrapper=Z('<div class="ls-layers"></div>').appendTo(j.slider.$innerWrapper),j.o.mask&&(j.slider.$maskWrapper=Z('<div class="ls-mask"></div>').addClass("ls-"+j.o.mask).appendTo(j.slider.$layersWrapper)),j.slider.$bgVideosWrapper=Z('<div class="ls-background-videos"></div>').appendTo(j.slider.$layersWrapper),j.slider.$slideBGWrapper=Z('<div class="ls-slide-backgrounds"></div>').appendTo(j.slider.$layersWrapper),j.slider.$innerWrapper.appendTo(_),!0===j.o.hideOnMobile&&Q.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",$):_.wrap('<ls-scene-wrapper data-scene="'+j.o.scene+'" data-layerslider-uid="'+$+'"></ls-scene-wrapper>'),j.slider.$spacingWrapper=Z('ls-scene-wrapper[data-layerslider-uid="'+$+'"]'),_.attr("data-scene",j.o.scene)}else j.slider.$spacingWrapper=_;var S=j.slider.isScene&&"scene"===j.o.globalBGFor?j.slider.$spacingWrapper:j.slider.$innerWrapper,p=!1;-1==j.o.globalBGColor.indexOf("gradient")?S.css({backgroundColor:j.o.globalBGColor}):(p=j.o.globalBGColor,j.o.globalBGColor="transparent"),j.o.globalBGImage?S.css({backgroundImage:"url( "+j.o.globalBGImage+" )"+(p?", "+p:""),backgroundRepeat:j.o.globalBGRepeat,backgroundAttachment:j.o.globalBGAttachment,backgroundSize:j.o.globalBGSize,backgroundPosition:j.o.globalBGPosition}):p&&S.css({backgroundImage:p}),"transparent"!=j.o.globalBGColor||!1!==j.o.globalBGImage||p||S.css({background:"none transparent"}),(j.o.preventSliderClip&&j.o.fitScreenWidth&&("fullwidth"===I||"fullsize"===I&&"fitheight"!==j.o.fullSizeMode)||j.slider.isScrollScene||j.slider.isSticky)&&_.parents(":not(body, html)").each(function(){Z(this).addClass("ls-overflow-visible")})},options:function(){var t,i,a,s,r,e;Z("html").find('meta[content*="WordPress"]').length&&(j.meta.wpVersion=Z("html").find('meta[content*="WordPress"]').attr("content").split("WordPress")[1]),window.LS_Meta&&window.LS_Meta.v?j.meta.lswpVersion=window.LS_Meta.v:Z("html").find('script[src*="layerslider"]').length&&-1!=Z("html").find('script[src*="layerslider"]').attr("src").indexOf("?")&&(j.meta.lswpVersion=Z("html").find('script[src*="layerslider"]').attr("src").split("?")[1].split("=")[1]),"undefined"!=typeof layerSliderTransitions&&(j.t=Z.extend({},layerSliderTransitions)),"undefined"!=typeof layerSliderCustomTransitions&&(j.ct=Z.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&&(Z.extend(j.o,{allowFullscreen:!1,playByScroll:!1}),j.slider.isScrollScene)&&Z.extend(j.o,{autoPauseSlideshow:!1,autoStart:!1,pauseL
3ayers:!1,pauseOnHover:!1,startInViewport:!1}),j.o.playByScroll&&Z.extend(j.o,{cycles:-1,startInViewport:!0,pauseOnHover:!1,autoStart:!1}),Q.isMobile&&(j.o.pauseOnHover=!1),j.o.noContextMenu&&_.on("contextmenu."+$,function(){return!1}),j.o.startInViewport&&(j.slider.state.waitForGettingInViewport=!0,j.o.playByScroll)&&(j.slider.positionToViewport=Q.scroll.top>j.slider.offset.top-(Q.viewport.height-j.slider.height)/2?"under":"over",s=!0,r=4*j.o.playByScrollSpeed,j.device.scroll.timeout=250,j.transitions.layers.timeline.timeScaleModifier=0,Z(document).on("wheel."+$+" touchmove."+$,function(e){Q.isMobile?((t=e.originalEvent.touches[0].clientY)>i?j.device.scroll.direction="up":t<i&&(j.device.scroll.direction="down"),a=i-t,i=t):(0<e.originalEvent.deltaY?j.device.scroll.direction="down":j.device.scroll.direction="up",a=e.originalEvent.deltaY),0!==Math.abs(a)&&(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<=a?j.transitions.layers.timeline.scrollForward():j.transitions.layers.timeline.scrollBackwards(),s)&&(clearTimeout(j.timeouts.scroll),s=!1,j.transitions.layers.timeline.timeScaleModifier=j.transitions.layers.timeline.timeScaleModifier<r?j.transitions.layers.timeline.timeScaleModifier+.25:r,j.timeouts.scroll2=setTimeout(function(){delete j.timeouts.scroll2,s=!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,Q.automaticFontSizeRatio||(e=Z('<ls-dummy style="font-size: 100px; width: 0; height: 0; opacity: 0; position: absolute; overflow: hidden; pointer-events: none;">Lorem</ls-dummy>').appendTo("body"),Q.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=Z(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=Z(e[r]),l=n.find("img"),d,c;n.is(".ls-bg, .ls-tn")||l.is(".ls-bg, .ls-tn")?(d=l[0],c=n.attr("class"),!l.attr("src")&&l.attr("data-src")&&l.attr("src",j.defaults.init.emptyIMG),!l.attr("srcset")&&l.attr("data-srcset")&&l.attr("srcset",l.attr("data-srcset")),l.attr("data-src",d.currentSrc||l.attr("data-src")||l.attr("src")),l.removeAttr("src srcset").addClass(c).prependTo(l.closest(".ls-slide")),n.remove()):n.find("img").appendTo(n).removeAttr("width height data-ls")}},events:function(){M.on("scroll."+$,function(){j.slider.set.offset()}),M.on("touchmove."+$,function(e){var e=e.touches||e.originalEvent.touches;1==e.length&&(self.touchX=e[0].clientX)}),M.on("resize."+$,function(){j.slider.check.showHide(),j.transitions.scrollscene.immediateRender=!0,"inside"===j.slider.positionToViewport&&j.o.playByScroll&&j.resize.viewport(),!j.slider.shouldResize||Q.isMobile&&(Q.isMobile,Q.viewport.width===Q.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."+$),j.api.methods("resetScroll")},100))}),j.debugMode&&(M.off(".debug"+$),M.on("resize.debug"+$,function(){j.debug.add("log","resize.window",Q.viewport.width,!0)})),M.on("hashchange."+$,function(){document.location.hash&&j.slides.deeplink(document.location.hash)}),j.slider.set.offset(),M.trigger("resize."+$),j.o.refreshWaypoint&&window.Waypoint&&Waypoint.refreshAll()},offset:function(){if("none"!==_.css("display")){var e=L.getBoundingClientRect(),t=j.slider.position.toViewportForPerformance;if(j.slider.position.toViewport,j.slider.get.offset(e),j.slider.get.position(e),0<j.slider.position.left-Q.viewport.width?j.slider.position.left-Q.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-Q.viewport.height?j.slider.position.top-Q.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<Q.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.timelines._layers&&j.timelines._layers.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.sliderIsInv
3iewport=!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 e=j.slider.$spacingWrapper[0].getBoundingClientRect(),i=(Q.viewport.height-j.slider.height)/2;switch(j.o.stickTo||"center"){case"top":j.slider.stickLimit=0;break;case"center":j.slider.stickLimit=i;break;case"bottom":j.slider.stickLimit=2*i}switch(j.o.playFrom||"stick"){case"stick":j.transitions.scrollscene.playFrom=j.slider.stickLimit;break;case"top":j.transitions.scrollscene.playFrom=0;break;case"center":j.transitions.scrollscene.playFrom=Q.viewport.height/2;break;case"bottom":j.transitions.scrollscene.playFrom=Q.viewport.height}j.slider.wrapperPosition={left:e.left,top:e.top,middleForScrollTransition:e.top+e.height/2-Q.viewport.height/2},j.slider.wrapperOffset={left:e.left+Q.scroll.left,right:e.left+j.slider.width+Q.scroll.left,top:e.top+Q.scroll.top,bottom:e.bottom+j.slider.height+Q.scroll.top,width:e.width,height:e.height},j.slider.state.shouldAnimateScrollSnene=!1,e.top<=j.transitions.scrollscene.playFrom&&(j.slider.state.shouldAnimateScrollSnene=!0),e.top>j.slider.stickLimit?("disabled"!==j.slider.state.sticky||j.slider.isScrollScene&&!j.transitions.scrollscene.initialized)&&(j.slider.state.sticky="disabled",j.slider.state.shouldAnimateScrollSnene=!0):e.bottom-j.slider.height-j.slider.stickLimit<0?("over"!==j.slider.state.sticky||j.slider.isScrollScene&&!j.transitions.scrollscene.initialized)&&(j.slider.state.sticky="over",j.slider.state.shouldAnimateScrollSnene=!0):e.top<=j.slider.stickLimit&&e.bottom>-j.slider.stickLimit&&("enabled"!==j.slider.state.sticky&&(j.slider.state.sticky="enabled"),j.slider.state.shouldAnimateScrollSnene=!0),j.slider.isScrollScene&&(j.timelines._layers&&j.slider.state.shouldAnimateScrollSnene&&j.transitions.scrollscene.animate(),j.slider.state.shouldAnimateScrollSnene&&(j.slider.fixScrollScene=!0),e.top>j.transitions.scrollscene.playFrom)&&j.timelines.has(j.timelines._layers)&&j.timelines._layers.time()>j.transitions.scrollscene.min&&j.slider.fixScrollScene&&(j.slider.fixScrollScene=!1,j.transitions.scrollscene.animate("start"))}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+Q.scroll.left,right:e.left+j.slider.width+Q.scroll.left,top:e.top+Q.scroll.top,bottom:e.bottom+j.slider.height+Q.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},effectLayers:function(){return _.find("[data-ls-effects]")}},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"),$,Z.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(){Q.isMobile&&!1!==j.o.hideOnMobile||(Q.viewport.width<j.o.hideUnder||Q.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(){delete j.timeouts.checkPosition,j.o.playByScroll&&j.device.scroll.direction&&(("down"===j.device.scroll.direction?Q.scroll.top:j.slider.offset.top-(Q.viewport.height-j.slider.height)/2)>("down"===j.device.scroll.direction?j.slider.offset.top-(Q.viewport.height-j.slider.height)/2:Q.scroll.top)&&
3("up"===j.device.scroll.direction&&"under"===j.slider.positionToViewport||"down"===j.device.scroll.direction&&"over"===j.slider.positionToViewport)||Q.document.height<=Q.viewport.height||j.slider.height<Q.viewport.height&&("up"===j.device.scroll.direction&&Q.scroll.top<=0&&j.slider.offset.top+j.slider.height/2<Q.viewport.height/2||"down"===j.device.scroll.direction&&Q.scroll.top>=Q.document.height-Q.viewport.height&&j.slider.offset.top+j.slider.height/2>Q.scroll.top+Q.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.plugins.callFunctions("setSliderStylesBefore",{}),j.slider.set.styles(),j.plugins.callFunctions("setSliderOptionsBefore",{}),j.slider.set.options(),j.slider.set.pictureElements(),j.plugins.callFunctions("initSlidesBefore",{}),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={isRandom:function(t){return"string"==typeof t&&[j.defaults.init.staggerSplitChar,j.defaults.init.rangeSplitChar,j.defaults.init.randomSplitChar,j.defaults.init.openingBracket,j.defaults.init.closingBracket].some(function(e){return-1!==t.indexOf(e)})},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:{parallaxOrigin:function(e,t,i){if("scroll"===i.event)return{x:0,y:0};for(var i="slidercenter slidermiddle",a,s=(e="string"==typeof e&&2===(a=e.split(" ")).length&&{sliderleft:1,slidercenter:1,sliderright:1,layerleft:1,layercenter:1,layerright:1}[a[0]]&&{slidertop:1,slidermiddle:1,sliderbottom:1,layertop:1,layermiddle:1,layerbottom:1}[a[1]]?e:i).split(" "),r=0,o=0,n=j.slider.offset,l=j.slider.width,d=j.slider.height,c=t.offset(),p=t.outerWidth(),u=t.outerHeight(),m=0;m<2;m++){var h=s[m],f=0===h.indexOf("slider"),g=0===m,h=h.replace(/^(slider|layer)/,""),y=f?n:c,v=f?l:p,x=f?d:u;if(g)switch(h){case"left":r=y.left;break;case"center":r=y.left+v/2;break;case"right":r=y.left+v}else switch(h){case"top":o=y.top;break;case"middle":o=y.top+x/2;break;case"bottom":o=y.top+x}}return{x:r,y:o}},transformOrigin:function(e,t,i,a){for(var s,r=(s=Z.trim(e)).split(" "),o=a[0].style,n="",l=["Left","Top"],d=[j.slider.width,j.slider.height],s=s.replace("sliderleft","0").replace("sliderright","100%").replace("slidercenter","50%").replace("slidermiddle","50%").replace("slidertop","0").replace("sliderbottom","100%").replace("left","0").replace("right","100%").replace("center","50%").replace("middle","50%").replace("top","0").replace("bottom","100%").split(" "),c=0;c<s.length;c++)-1!==r[c].indexOf("slider")?(j.transitions.layers.timeline.shouldRestart=!0,n+=c<2?d[c]/(100/parseInt(s[c]))-parseInt(o[l[c].toLowerCase()])-parseInt(o["margin"+l[c]])+"px ":"0px"):-1!==s[c].indexOf("%")?n+=s[c]+" ":-1!==s[c].indexOf("em")?n+=parseFloat(s[c])*parseInt(t.css("font-size"))+"px ":n+=parseInt(s[c])*i.settings.calculatedratio+"px ";return Z.trim(n)},specialValuesOfTransformOrigin:function(e){return e.replace("sliderleft","0").replace("sliderright","100%").replace("slidercenter","50%").replace("slidermiddle","50%").replace("slidertop","0").replace("sliderbottom","100%").replace("left","0").replace("right","100%").replace("center","50%").replace("middle","50%").replace("top","0").replace("bottom","100%").split(" ")},nodesTransformOrigin:function(e,d,c,t){for(var i="object"==typeof e,p=(d.length,[]),u=t[0].style,m=["left","top"],a=function(e,t){for(var t=Z(d[t]),i=parseInt(t.css("font-size")),a=t.position(),s,r=(s=Z.trim(e)).split(" "),o="",n=[j.slider.width,j.slider.height],s=j.functions.convert.specialValuesOfTransformOrigin(s),l=0;l<s.length;l++)-1!==r[l].indexOf("slider")?(j.transitions.layers.timeline.shouldRestart=!0,o+=l<2?n[l]/(100/parseInt(s[l]))-parseInt(a[m[l]])-parseInt(u[m[l].toLowerCase()])+"px ":"0px"):-1!==s[l].indexOf("%")?o+=s[l]+" ":-1!==s[l].indexOf("em")?o+=parseFloat(s[l])*i+"px ":o+=parseInt(s[l])*c.settings.calculatedratio+"px ";p.push(Z.trim(o))},s=0,r=!!i&&e.length,o=0;o<d.length;o++)i?(a(e[s],o),++s==r&&(s=0)):a(e,o);return p},easing:function(e,t){var i,a,a;return"string"==typeof e?(-1!==(e=e.toLowerCase()).indexOf("swing")||-1!==e.indexOf("linear")?i=q.Linear.easeNone:(a=e.match(/(easeinout|easein|easeout)(.+)/)[2],a=q[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):e},transition:function(e,t,i,a){var s=Z.extend({},e);return Z.each({de:"delay",rotate:"rotation",rotateX:"rotationX",rotateY:"rotationY"}
3,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),s.ease=j.functions.convert.easing(t=void 0===t?"easeInOutQuart":t),s},properties:function(e,t,i,a,s){if("string"==typeof e)return j.functions.convert._properties(e,t,i,a,s);if("object"==typeof e)for(var r in e)e[r]=j.functions.convert._properties(e[r],t,i,a,s);return e},_properties:function(e,t,i,a,s){var r=!1,o,n,o;if("string"==typeof e&&-1===e.indexOf(j.defaults.init.staggerSplitChar)&&e.charAt(0)===j.defaults.init.openingBracket&&-1===e.indexOf("..")&&(n=(o=Z.trim(e)).match(/^\[\s*(-?\d+(?:\.\d+)?)\s*([\+\-\*\/])\s*(-?\d+(?:\.\d+)?)\s*\]$/),o=o.match(/^\[\s*([\+\-\*\/])\s*(-?\d+(?:\.\d+)?)\s*\]$/),n||o)&&(n?r=n:o&&(r=o)),-1!==["enable","enabled","true"].indexOf(e))return!0;if(-1!==["disable","disabled","false","undefined","null"].indexOf(e))return!1;if(!r){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):Z.isNumeric(e)?parseFloat(e):e;for(var l=e.split(j.defaults.init.staggerSplitChar),d=(u=[],0);d<l.length;d++)u[d]=Z.isNumeric(l[d])?parseFloat(Z.trim(l[d])):Z.trim(l[d]);return u}var c,p,u=[],m=0,h=a?a.text().length:100;if(4===r.length?(m=parseFloat(r[1]),c=r[2],p=parseFloat(r[3])):3===r.length&&(m=0,c=r[1],p=parseFloat(r[2])),c&&!isNaN(p)){for(var f=0;f<h;f++){if(0!==f)switch(c){case"+":m+=p;break;case"-":m-=p;break;case"*":m*=p;break;case"/":m/=p}u.push(m)}return u}},oldProperties:function(i){return Z.each({firstLayer:"firstSlide",loops:"cycles",forceLoopNum:"forceCycles",layersContainer:"layersContainerWidth",sublayerContainer:"layersContainerWidth",randomSlideshow:"shuffleSlideshow"},function(e,t){e in i&&(i[t]=i[e],delete i[e])}),i},randomProperties:function(e,t,i,a,s,r){a=a||!1,s=s||!!a&&a.data(j.defaults.init.dataKey);var o="Width",n=!1,l=!1,d=("number"!=typeof e||isNaN(e)||(e=e.toString()),-1===t.indexOf("height")&&-1===t.indexOf("top")&&-1===t.indexOf("y")||(o="Height"),-1===t.indexOf("duration")&&-1===t.indexOf("delay")&&-1===t.indexOf("start")&&-1===t.indexOf("scale")&&-1===t.indexOf("opacity")&&-1===t.indexOf("rotat")&&-1===t.indexOf("skew")||(r=!0),s&&-1!==e.indexOf(j.defaults.init.staggerSplitChar)&&e.charAt(0)!==j.defaults.init.openingBracket&&(n=!0),-1!==e.indexOf("random")&&-1!==e.indexOf("(")&&-1!==e.indexOf(",")&&-1!==e.indexOf(")")?e=e.split("(")[1].split(")")[0].replace(",",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,"."),-1===t.indexOf("scale")&&-1===t.indexOf("opacity")?1:100),c=e,l,p,n,p,u,n,c;return n?(l=!0,s.randomValues[n=i?i+t:t]=s.randomValues[n]||{},s.randomValues[n].r||(s.randomValues[n].r=String(e).split(j.defaults.init.staggerSplitChar).map(function(e){return e.trim()}),s.clones&&-1!==i.indexOf("replicator")&&(s.clones<s.randomValues[n].r.length?(s.randomValues[n].r=s.randomValues[n].r.slice(0,s.clones),s.randomValues[n].r.reverse()):s.clones>s.randomValues[n].r.length?(s.randomValues[n].r.reverse(),(p=s.clones%s.randomValues[n].r.length)&&(s.randomValues[n].index=s.randomValues[n].r.length-p)):s.randomValues[n].r.reverse())),p=s.randomValues[n].r,(u="number"==typeof s.randomValues[n].index?s.randomValues[n].index:0)>=p.length&&(u=0),s.randomValues[n].index=u+1,n=p[u],c=parseFloat(a?j.resize.getXY(a,s,n,o,r):n)):-1!==e.indexOf(j.defaults.init.randomSplitChar)?(l=!0,c=(c=(p=e.split(j.defaults.init.randomSplitChar))[Math.floor(Math.random()*p.length)].trim()).charAt(0)===j.defaults.init.openingBracket&&c.charAt(c.length-1)===j.defaults.init.closingBracket?j.functions.convert.randomProperties(c,t,i,a,s):parseFloat(a?j.resize.getXY(a,s,c,o,r):c)):-1!==e.indexOf(j.defaults.init.rangeSplitChar)&&(l=!0,(p=e.split(j.defaults.init.rangeSplitChar))[0]=parseFloat((a?j.resize.getXY(a,s,p[0],o,r):p[0])*d),p[1]=parseFloat((a?j.resize.getXY(a,s,p[1],o,r):p[1])*d),p.sort(function(e,t){return e-t}),c=Math.floor(Math.random()*(p[1]-p[0]+1)+p[0])/d),"string"==typeof c&&Z.isNumeric(c)?c=parseFloat(c):s&&!l&&(c=j.resize.getXY(a,s,c,o,r)),c},clipProperties:function(e,t,i,a){var s=Z.trim(e);if(-1===s.indexOf("polygon")&&-1===s.indexOf("(")){var r="\\d+(?:\\.\\d+)?%\\s+\\d+(?:\\.\\d+)?%";
3if(new RegExp("^"+r+"(?:\\s*,\\s*"+r+"){3}$").test(s))return"polygon("+s.replace(/\s*,\s*/g,",")+")"}if(-1!==e.indexOf("polygon")&&-1===e.indexOf("clip")&&-1===e.indexOf("px")&&-1===e.indexOf(", "))return e;for(var o,n,r=e,l=-1===(e=-1!==e.indexOf("(")?Z.trim(e.split("(")[1].split(")")[0]):Z.trim(e)).indexOf(",")?e.split(" "):e.split(","),d=[["0%","0%"],["100%","0%"],["100%","100%"],["0%","100%"]],c=Z.isNumeric(t.original.width)?t.original.width:i.outerWidth(),p=Z.isNumeric(t.original.height)?t.original.height:i.outerHeight(),u=function(e){return Math.round(100*(e+Number.EPSILON))/100},m=a&&-1!==r.indexOf("rect")?0:100,h=0;h<l.length;h++)if(-1===(o=l[h].trim()).indexOf(" ")){if("number"==typeof parseInt(o))switch(0===parseInt(o)&&(o="0%"),h){case 0:-1===o.indexOf("%")&&(o=u(parseInt(o)/(p/100))+"%"),d[0][1]=o,d[1][1]=o;break;case 1:-1!==o.indexOf("%")?(d[1][0]=100-parseInt(o)+"%",d[2][0]=100-parseInt(o)+"%"):(-1===o.indexOf("%")&&(o=u(Math.abs(parseInt(o)/(c/100)-m))+"%"),d[1][0]=o,d[2][0]=o);break;case 2:-1!==o.indexOf("%")?(d[2][1]=100-parseInt(o)+"%",d[3][1]=100-parseInt(o)+"%"):(-1===o.indexOf("%")&&(o=u(Math.abs(parseInt(o)/(p/100)-m))+"%"),d[2][1]=o,d[3][1]=o);break;case 3:-1===o.indexOf("%")&&(o=u(parseInt(o)/(c/100))+"%"),d[0][0]=o,d[3][0]=o}}else-1===(n=o.split(" "))[0].indexOf("%")&&(n[0]=u(parseInt(n[0])/(c/100))+"%"),d[h][0]=n[0],-1===n[1].indexOf("%")&&(n[1]=u(parseInt(n[1])/(p/100))+"%"),d[h][1]=n[1];for(var f="polygon(",g=0;g<d.length;g++)f+=d[g].join(" "),g<d.length-1&&(f+=",");return f+")"}},getSliderClosestParentElementWithNumericValueOfProperty:function(e){for(var t,i=_.parents().not(".ls-fullscreen-wrapper"),a=i.length,s=100,r=0;r<a;r++)if("auto"!==(t=window.getComputedStyle(i[r]).getPropertyValue(e))){if(-1!==t.indexOf("px")&&(0<parseInt(t)||j.slider.isPopup))return j.slider.$parentWithNumericWidthValue=Z(i[r]),j.slider.parentWithNumericWidthValuePercent=null,Z(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,c=[],p=e*t;switch(i){case"forward":for(a=0;a<e;a++)for(s=0;s<t;s++)c.push(a+s*e);break;case"reverse":for(a=e-1;-1<a;a--)for(s=t-1;-1<s;s--)c.push(a+s*e);break;case"center":for(n=Math.floor(p/2),r=0;r<n;r++)c.push(r);for(o=n;0<=o;o--)c.push(o);break;case"edge":case"mirror":for(r=n=Math.floor(p/2);0<r;r--)c.push(r);for(o=0;o<=n;o++)c.push(o);break;case"radial-out":for(l=e/2,d=t/2,a=0;a<e;a++)for(s=0;s<t;s++)c.push(Math.floor(Math.abs(d-s-.5))+Math.floor(Math.abs(l-a-.5)));break;case"radial-in":for(l=e/2,d=t/2,a=0;a<e;a++)for(s=0;s<t;s++)c.push(Math.floor(d-Math.ceil(Math.abs(d-s-.5)))+Math.floor(l-Math.ceil(Math.abs(l-a-.5))))}return c},shuffleArray:function(e){for(var t,i,a=e.length;0!==a;)i=Math.floor(Math.random()*a),t=e[--a],e[a]=e[i],e[i]=t;return e},countProp:function(e){var t=0,i;for(i in e)e.hasOwnProperty(i)&&++t;return t},getDataProp:function(e,t){var t=new RegExp("(?:^|[\\s;])"+t+"\\s*:\\s*([^;\\s]+)","i"),e=e.match(t);return e?e[1]:null},updateDataProp:function(e,a,s){var t=new RegExp("(^|[\\s;])([\\s;]*)"+a+"\\s*:\\s*[^;\\s]+","i"),t;return t.test(e)?e.replace(t,function(e,t,i){return(t||"")+(i||"")+a+":"+s}):";"===(t=e.trim()).slice(-1)?t+" "+a+":"+s+" ;":t+"; "+a+":"+s+" ;"},getURL:function(e){return e&&e.length?e[0].currentSrc||(e.data("src")?e.data("src"):e.attr("src")):j.defaults.init.emptyIMG},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];var 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];j.plugins.callFunctions("clearTimers",{})},clearTimelines:function(){j.transitions.scrollscene._tween&&j.transitions.scrollscene._tween.kill&&j.transitions.scrollscene._tween.kill(),j.timelines.to([j.timelines,"_slideTransition _layers _layersAlt",null,!0,!0,!0,!0]);for(var e=0;e<j.timelines.slides.length;e++)j.timelines.to([j.timelines.slides[e],"_forceOut _forceOutMirror",null,!0,!0,!0,!0]);_.find(".ls-layer").each(function(){var e=Z(this).data(j.defaults.init.dataKey),t;
3for(t in e.timelines)j.timelines.to([e.timelines,t,null,!0,!0,!0])}),q.TweenMax.killTweensOf(_.find(".ls-bg, .ls-layer, .ls-wrapper, .ls-curtile, .ls-nexttile").get()),_.find(".ls-layer").each(function(){var e=Z(this).data(j.defaults.init.dataKey);e.is.countdown&&j.countdown.stopInterval(e.countdownSettings),e.is.counter&&j.counter.stop(e.counterSettings)})},clearEvents:function(){j.plugins.callFunctions("clearEvents",{}),M.add("body").add(document).add(_).add(_.find("*")).add("."+$).off("."+$+" .debug"+$+" .parallax"+$+" .scroll"+$),window._layerSlider.closePopupsOnEsc&&window._layerSlider.closePopupsOnEsc[$]&&delete window._layerSlider.closePopupsOnEsc[$],delete window._layerSliders[$],_.off()},objectIsEmpty:function(e){return!e||"object"!=typeof e||0===Object.keys(e).length},getUID:function(e){for(var t="";t.length<e+2;)t+=Math.random().toString(36).substring(2);return t.substring(2,e+2)}},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}),Z("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(),Z("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,Z(document).on("fullscreenchange."+$+" webkitfullscreenchange."+$+" mozfullscreenchange."+$+" msfullscreenchange."+$,function(){j.device.fullscreen.element()||j.device.fullscreen.exit()}),j.slider.$fullscreenWrapper.on("dblclick."+$,function(){j.device.fullscreen.toggle()}))},element:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}}},j.actions={do:function(t){var i=!1,a="",e,s,r;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 o,n=Z(".ls-wp-container:not(.ls-hidden):not([data-scene]), ls-scene-wrapper"),l=Z("ls-scene-wrapper, .ls-action-trigger"),d=Z([]),c=j.slider.isScene?j.slider.$spacingWrapper:_,p=l.length,u=l.index(c),n,m,h,n,f,g;if(j.slider.isScene||_.removeClass("ls-action-trigger"),"scrollToSelf"===t.action)o=j.slider.$spacingWrapper.offset().top+(t.offset||0);else if("scrollBelowProject"===t.action)o=j.slider.$spacingWrapper.offset().top+j.slider.$spacingWrapper.height()+(t.offset||0);else if("scrollToPrevProject"===t.action)0!==n.index(c)?(d=n.eq(n.index(c)-1),o=j.slider.get.scrollTop(d,t)):i="Thereâs no previous project to scroll to.";else if("scrollToNextProject"===t.action)n.index(c)<n.length-1?(d=n.eq(n.index(c)+1),o=j.slider.get.scrollTop(d,t)):i="Thereâs no next project to scroll to.";else if(-1!==t.action.indexOf("scrollToElement")){try{d=Z(t.selector.toString()).not(".ls-wp-container.ls-hidden")}catch(e){a=e}d.length?((n=d.closest("ls-scene-wrapper")).length&&(d=n),o=j.slider.get.scrollTop(d,t)):i='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?d=c:i="Current project is not a scene.";break;case"nextScene":u+1<p?d=Z(l[u+1]):i="There are no next scenes in the DOM.";break;case"previousScene":0<=u-1?d=Z(l[u-1]):i="There are no previous scenes in the DOM."}d.length&&(n=parseFloat(d.attr("data-scene-duration")),f=d.height(),g=(m=d.find(".ls-container")).height(),t.position=Z.trim(t.position)||"0ms",o=d.is('[data-scene="scroll"]')?(h=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?n*(Math.min(100,Math.max(0,parseFloat(t.position)))/100):Math.min(Math.max(0,parseFloat(t.position)/1e3),n),Math.round(parseFloat(d.offset().top)-parseFloat(m.css("top"))+h/n*(f-g))):(h=Math.min(100,Math.max(0,parseFloat(t.position)))/100,Math.round(parseFloat(d.offset().top)-parseFloat(m.css("top"))+(f-g)*h)))}else if("scrollToTimelinePosition"===t.action){var n=0,m=(t.position+"").charAt(0),y,f=(j.slider.state.isScrolling&&("+"===m||"-"===m)&&(j.timelines._layers.stop(),n=j.timelines._layers.time()-j.slider.lastWantedTimelinePosition),j.timelines._layers.duration()),v=f*(100*j.timelines._layers.progress()/100),x=0,x=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?f*parseFloat(t.position)/100:parseFloat(t.position)/1e3;switch(x=Math.abs(x),m){case"+":x=v+x;break;case"-":x=v-x}x=Math.max(Math.min(x-n,f),0),j.slider.lastWantedTimelinePosition=x}i||(t.duration=Z.isNumeric(t.duration)?t.duration:1e3,j.slider.state.isScrolling=!0,"scrollToTimelinePosition"===t.action?j.timelines._layers.tweenTo(x,{ease:j.functions.convert.easing(t.easing),onComplete:function(){j.slider.state.isScrolling=!1}}).duration(t.duration/1e3):q.TweenMax.to("html, body",t.duration/1e3,{scrollTop:o,ease:j.functions.convert.easing(t.easing),onComplete:function(){j.slider.state.isScrolling=!1}}));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&&(e="next"),"prevSlide"===t.action&&(e="prev"),"lastSlide"===t.action&&(e="last"),"firstSlide"===t.action&&(e="first"),"stopSlideshow"===t.action&&(e="stop"),j.navigation[e="startSlideshow"===t.action?"start":e]("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;
3case"openPopup":var S,g=Z('[data-ls-slug="'+t.popup+'"], [id^=layerslider_'+t.popup+"]").first(),h=g.data("lsSliderUID"),m;g.length?((S=window._layerSliders[h].initializedPlugins.popup).plugin.settings.showOnce=!1,"opened"==S.state.is?t.toggle&&S.events.hide():t.slide?g.layerSlider("fastChangeTo",t.slide,function(){S.events.show()}):S.events.show()):(m={action:"ls_get_popup_markup",id:t.popup,slide:t.slide},Z.get(j.o.ajaxURL||window.ajaxurl||"/wp-admin/admin-ajax.php",m,function(e){Z(e).appendTo("body")}));break;case"launchPopups":for(r in window._layerSliders)(s=window._layerSliders[r]).initializedPlugins.popup&&s.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){a=e,i="The browser thrown the following error after calling "+t.function+"() JavaScript function."}}i&&console.error('LayerSlider: Error while calling layer action "'+t.action+'". '+i+(""!==a?"\n\r\n\r":""),a)}},j.api={hasEvent:function(e,t){var t=Z._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&&(j.plugins.callFunctions("openPopup",{}),t&&Z.isNumeric(t)?_.layerSlider("fastChangeTo",t,function(){j.initializedPlugins.popup.events.show()}):j.initializedPlugins.popup.events.show());break;case"launchPopups":j.plugins.callFunctions("launchPopups",{}),j.actions.do("launchPopups");break;case"fastChangeTo":j.plugins.callFunctions("fastChangeTo",{}),t&&Z.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,"next")):i&&i());break;case"resetScroll":j.plugins.callFunctions("resetScroll",{}),j.slider.set.offset(),M.trigger("scroll.scroll"+$).trigger("touchmove.scroll"+$).trigger("scroll.parallax"+$).trigger("touchmove.parallax"+$);break;case"enableScene":j.slider.isScene&&(j.plugins.callFunctions("enableScene",{}),j.slider.$spacingWrapper.removeAttr("data-disabled-scene"),j.api.methods("resetScroll"));break;case"disableScene":j.slider.isScene&&(j.plugins.callFunctions("disableScene",{}),j.slider.$spacingWrapper.attr("data-disabled-scene",""),j.transitions.scrollscene.animate("start"),j.api.methods("resetScroll"));break;case"closePopup":j.initializedPlugins.popup&&(j.plugins.callFunctions("closePopup",{}),j.initializedPlugins.popup.events.hide());break;case"closeAllPopups":j.plugins.callFunctions("closAllPopups",{}),Z('<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.plugins.callFunctions("redrawSlider",{}),j.resize.all(),j.api.methods("resetScroll");break;case"replaySlide":case"replay":j.timelines._layers&&(j.plugins.callFunctions("replaySlide",{}),j.timelines._layers.pause().progress(0).invalidate().restart(!0,!1));break;case"reverseSlide":case"reverse":j.timelines._layers&&(j.plugins.callFunctions("reverseSlide",{}),j.timelines._layers.reversed()?j.timelines._layers.play():j.timelines._layers.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":j.plugins.callFunctions("pauseSlider",{}),t&&"performanceMode"===t&&j.functions.setStates(j.slideshow,{pausedByPerformance:!0}),j.timelines._layers&&!j.slider.isScrollScene&&j.timelines._layers.stop(),j.layers.get("active").each(function(){var e=Z(this).data(j.defaults.init.dataKey);e.timelines._loop&&e.timelines._loop.stop()}),j.transitions.layers.parallax.state.paused=!0,j.transitions.layers.scroll.
3state.paused=!0,j.media.functions.pauseActiveMedia(!0);break;case"resumePopup":j.layers.get("active").each(function(){j.media.functions.playIfAllowed(Z(this))}),j.timelines._layers&&(j.timelines._layers.timeScale()<.001&&j.transitions.layers.timeline.resume(),j.timelines._layers.play()),j.timelines._slideTransition&&j.timelines._slideTransition.play();break;case"resumeSlider":case"resume":j.plugins.callFunctions("resumeSlider",{}),j.timelines._layers&&(j.timelines._layers.timeScale()<.001&&j.transitions.layers.timeline.resume(),j.slider.isScrollScene||j.timelines._layers.play()),j.media.functions.playActiveMedia(!0),j.layers.get("active").each(function(){var e=Z(this).data(j.defaults.init.dataKey);e.timelines._loop&&e.timelines._loop.play()}),j.transitions.layers.parallax.state.paused=!1,j.transitions.layers.scroll.state.paused=!1,j.timelines._slideTransition?j.timelines._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.plugins.callFunctions("toggleSlider",{}
3),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.plugins.callFunctions("resetSlide",{}),j.timelines.to([j.timelines,"_layers _layersAlt",0]),j.media.functions.stop(!0);break;case"destroy":case"kill":if(j.plugins.callFunctions("killSlider",{}),j.slider.state.isLoaded){if(j.transitions.lottie.destroyAll(),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($)}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:$,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.timelines._layers,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.timelines._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(e,t){var i,a;try{i=t?(a=_.triggerHandler(e+".layerSlider",t),_.triggerHandler(e+".$",t)):(a=_.triggerHandler(e+".layerSlider"),_.triggerHandler(e+".$"))}catch(t){console.error('LayerSlider: Error while calling event "'+e+'":\n\r\n\r',t)}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");return!!t.userAgent.match("CriOS")||null!=e&&"Google Inc."===i&&!1==a&&!1==s},usesFileProtocol:-1!==document.location.href.indexOf("file://"),supportsWebGL:function(){var e=document.createElement("canvas"),e=e.getContext("webgl")||e.getContext("experimental-webgl");return!!(e&&e.getContextAttributes().alpha&&e.getContextAttributes().depth&&e.getContextAttributes().stencil&&e.getContextAttributes().antialias)},supports3D:function(){for(var e=Z("<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:"8.3.0",release:"stable",releaseDate:"2026. 07. 08."},j.slider.load()}})(jQuery); 4var 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}}
4,{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}
4},{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"
4,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};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.