PageSourceSearch

https://fientuech.de/wp-content/cache/wpfc-minified/14p29pt0/hnnzc.js

js fientuech.de collected 2026-10-05 11:42:13 UTC 473,811 bytes, 154 lines download raw bytes

1// source --> https://fientuech.de/wp-content/plugins/LayerSlider/assets/static/layerslider/js/layerslider.utils.js?ver=8.4.0 
2
3/*
4	* LayerSlider Utils
5	*
6	* (c) 2011-2026 George Krupa, John Gera & Kreatura Media
7	*
8	* LayerSlider home:		https://layerslider.com/
9	* Licensing:			https://layerslider.com/licensing/
10*/
11
12
13
14var _initLayerSlider=function(t,e,i){var r=jQuery;r(document).ready(function(){void 0===r.fn.layerSlider?window._layerSlider&&window._layerSlider.showNotice&&window._layerSlider.showNotice(t,"jquery"):(i&&r.each(i,function(e,i){r(t).on(e,i)}),r(t).layerSlider(e))})},_layerSliderEffectsPriority=["replicator","highlight","reveal","borderize","typewriter","liquify","slicer"];if("object"==typeof LS_Meta&&LS_Meta.fixGSAP){var LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine;window._gsDefine=null,delete window._gsDefine;var LS_GSAP=window.GreenSockGlobals={}}var LS_nsProtocol=function(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;
15/*!
16 * VERSION: 2.1.3
17 * DATE: 2019-05-17
18 * UPDATES AND DOCS AT: http://greensock.com
19 *
20 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
21 *
22 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
23 * This work is subject to the terms at http://greensock.com/standard-license or for
24 * Club GreenSock members, the software agreement that was issued with your membership.
25 *
26 * @author: Jack Doyle, [email protected]
27 **/
28 (_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t,e,i,r,n,s,a,o,l,h,u,_,f,c,p,d;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},n=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},s=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,u){var _,f,c,p,d,m,g,y,v,x=(u||e).length,T=s[x];if(!T){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[v++].getBoundingClientRect().left)&&x>v;);v--}for(T=s[x]=[],_=a?Math.min(v,x)*l-.5:r%v,f=a?x*l/v-.5:r/v|0,g=0,y=1/0,m=0;x>m;m++)c=m%v-_,p=f-(m/v|0),T[m]=d=o?Math.abs("y"===o?p:c):Math.sqrt(c*c+p*p),d>g&&(g=d),y>d&&(y=d);T.max=g-y,T.min=y,T.v=x=e.amount||e.each*(v>x?x-1:o?"y"===o?x/v:v:Math.max(v,x/v))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},a=function(t,e,r){i.call(this,t,e,r),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=a.prototype.render},o=1e-8,l=i._internals,h=l.isSelector,u=l.isArray,_=a.prototype=i.to({},.1,{}),f=[];a.version="2.1.3",_.constructor=a,_.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=i.killTweensOf,a.getTweensOf=i.getTweensOf,a.lagSmoothing=i.lagSmoothing,a.ticker=i.ticker,a.render=i.render,a.distribute=s,_.invali
vendor: 29,916 bytes, line 28
28date=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),i.prototype.invalidate.call(this)},_.updateTo=function(t,e){var r,n=this,s=n.ratio,a=n.vars.immediateRender||t.immediateRender;for(r in e&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay)),t)n.vars[r]=t[r];if(n._initted||a)if(e)n._initted=!1,a&&n.render(0,!0,!0);else if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&i._onPluginEvent("_onDisable",n),n._time/n._duration>.998){var o=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(o,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||a)for(var l,h=1/(1-s),u=n._firstPT;u;)l=u.s+u.c,u.c*=h,u.s=l-u.c,u=u._next;return n},_.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,a,h,u,_,f,c,p,d=this,m=d._dirty?d.totalDuration():d._totalDuration,g=d._time,y=d._totalTime,v=d._cycle,x=d._duration,T=d._rawPrevTime;if(t>=m-o&&t>=0?(d._totalTime=m,d._cycle=d._repeat,d._yoyo&&1&d._cycle?(d._time=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0):(d._time=x,d.ratio=d._ease._calcEnd?d._ease.getRatio(1):1),d._reversed||(n=!0,s="onComplete",r=r||d._timeline.autoRemoveChildren),0===x&&(d._initted||!d.vars.lazy||r)&&(d._startTime===d._timeline._duration&&(t=0),(0>T||0>=t&&t>=-o||T===o&&"isPause"!==d.data)&&T!==t&&(r=!0,T>o&&(s="onReverseComplete")),d._rawPrevTime=c=!e||t||T===t?t:o)):o>t?(d._totalTime=d._time=d._cycle=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0,(0!==y||0===x&&T>0)&&(s="onReverseComplete",n=d._reversed),t>-o?t=0:0>t&&(d._active=!1,0===x&&(d._initted||!d.vars.lazy||r)&&(T>=0&&(r=!0),d._rawPrevTime=c=!e||t||T===t?t:o)),d._initted||(r=!0)):(d._totalTime=d._time=t,0!==d._repeat&&(h=x+d._repeatDelay,d._cycle=d._totalTime/h|0,0!==d._cycle&&d._cycle===d._totalTime/h&&t>=y&&d._cycle--,d._time=d._totalTime-d._cycle*h,d._yoyo&&!!(1&d._cycle)&&(d._time=x-d._time,(p=d._yoyoEase||d.vars.yoyoEase)&&(d._yoyoEase||(!0!==p||d._initted?d._yoyoEase=p=!0===p?d._ease:p instanceof Ease?p:Ease.map[p]:(p=d.vars.ease,d._yoyoEase=p=p?p instanceof Ease?p:"function"==typeof p?new Ease(p,d.vars.easeParams):Ease.map[p]||i.defaultEase:i.defaultEase)),d.ratio=p?1-p.getRatio((x-d._time)/x):0)),d._time>x?d._time=x:d._time<0&&(d._time=0)),d._easeType&&!p?(u=d._time/x,(1===(_=d._easeType)||3===_&&u>=.5)&&(u=1-u),3===_&&(u*=2),1===(f=d._easePower)?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),d.ratio=1===_?1-u:2===_?u:d._time/x<.5?u/2:1-u/2):p||(d.ratio=d._ease.getRatio(d._time/x))),g!==d._time||r||v!==d._cycle){if(!d._initted){if(d._init(),!d._initted||d._gc)return;if(!r&&d._firstPT&&(!1!==d.vars.lazy&&d._duration||d.vars.lazy&&!d._duration))return d._time=g,d._totalTime=y,d._rawPrevTime=T,d._cycle=v,l.lazyTweens.push(d),void(d._lazy=[t,e]);!d._time||n||p?n&&this._ease._calcEnd&&!p&&(d.ratio=d._ease.getRatio(0===d._time?0:1)):d.ratio=d._ease.getRatio(d._time/x)}for(!1!==d._lazy&&(d._lazy=!1),d._active||!d._paused&&d._time!==g&&t>=0&&(d._active=!0),0===y&&(2===d._initted&&t>0&&d._init(),d._startAt&&(t>=0?d._startAt.render(t,!0,r):s||(s="_dummyGS")),d.vars.onStart&&(0!==d._totalTime||0===x)&&(e||d._callback("onStart"))),a=d._firstPT;a;)a.f?a.t[a.p](a.c*d.ratio+a.s):a.t[a.p]=a.c*d.ratio+a.s,a=a._next;d._onUpdate&&(0>t&&d._startAt&&d._startTime&&d._startAt.render(t,!0,r),e||(d._totalTime!==y||s)&&d._callback("onUpdate")),d._cycle!==v&&(e||d._gc||d.vars.onRepeat&&d._callback("onRepeat")),s&&(!d._gc||r)&&(0>t&&d._startAt&&!d._onUpdate&&d._startTime&&d._startAt.render(t,!0,r),n&&(d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[s]&&d._callback(s),0===x&&d._rawPrevTime===o&&c!==o&&(d._rawPrevTime=0))}else y!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},a.to=function(t,e,i){return new a(t,e,i)},a.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new a(t,e,i)},a.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new a(t,e,r)},a.staggerTo=a.allTo=function(t,e,o,l,_,c,p){var d,m,g,y,v=[],x=s(o.stagger||l),T=o.cycle,w=(o.startAt||f).cycle;for(u(t)||("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=r(t))),d=(t=t||[]).length-1,g=0;d>=g;g++){for(y in m={},o)m[y]=o[y];if(T&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),w){for(y in w=m.startAt={},o.startAt)w[y]=o.startAt[y];n(m.startAt,t,g)}m.delay=x(g,t[g],t)+(m.delay||0),g===d&&_&&(m.onComplete=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,arguments),_.apply(p||o.callbackScope||this,c||f)}),v[g]=new a(t[g],e,m)}return v},a.staggerFrom=a.allFrom=function(t,e,i,r,n,s,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,a.staggerTo(t,e,i,r,n,s,o)},a.staggerFromTo=a.allFromTo=function(t,e,i,r,n,s,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,a.staggerTo(t,e,r,n,s,o,l)},a.delayedCall=function(t,e,i,r,n){return new a(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},a.set=function(t,e){return new a(t,0,e)},a.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var c=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),n=(r=r.concat(c(s,e))).length),s=s._next;return r},p=a.getAllTweens=function(e){return c(t._rootTimeline,e).concat(c(t._rootFramesTimeline,e))};a.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,a,o,l=p(0!=n),h=l.length,u=i&&r&&n;for(o=0;h>o;o++)a=l[o],(u||a instanceof e||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},a.killChildTweensOf=function(t,e){if(null!=t){var n,s,o,_,f,c=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=r(t)),u(t))for(_=t.length;--_>-1;)a.killChildTweensOf(t[_],e);else{for(o in n=[],c)for(s=c[o].target.parentNode;s;)s===t&&(n=n.concat(c[o].tweens)),s=s.parentNode;for(f=n.length,_=0;f>_;_++)e&&n[_].totalTime(n[_].totalDuration()),n[_]._enabled(!1,!1)}}};var d=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,a,o=p(n=!1!==n),l=i&&r&&n,h=o.length;--h>-1;)a=o[h],(l||a instanceof e||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&a.paused(t)};return a.pauseAll=function(t,e,i){d(!0,t,e,i)},a.resumeAll=function(t,e,i){d(!1,t,e,i)},a.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||o,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},_.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},_.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 t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},_.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},_.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)},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;for(r in n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate,s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,a=r._internals={},o=s.isSelector,l=s.isArray,h=s.lazyTweens,u=s.lazyRender,_=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},c=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},p=a.pauseCallback=function(){},d=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,u){var _,f,c,p,d,m,g,y,v,x=(u||e).length,T=s[x];if(!T){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[v++].getBoundingClientRect().left)&&x>v;);v--}for(T=s[x]=[],_=a?Math.min(v,x)*l-.5:r%v,f=a?x*l/v-.5:r/v|0,g=0,y=1/0,m=0;x>m;m++)c=m%v-_,p=f-(m/v|0),T[m]=d=o?Math.abs("y"===o?p:c):Math.sqrt(c*c+p*p),d>g&&(g=d),y>d&&(y=d);T.max=g-y,T.min=y,T.v=x=e.amount||e.each*(v>x?x-1:o?"y"===o?x/v:v:Math.max(v,x/v))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&_.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&_.TweenMax||i).from(t,e,d(0,r)),n)},g.fromTo=function(t,e,r,n,s){var a=n.repeat&&_.TweenMax||i;return n=d(0,n,r),e?this.add(a.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,a,l,h,u){var _,p,d=new r({onComplete:l,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),y=n.startAt,v=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),p=0;p<t.length;p++)_=f(n),y&&(_.startAt=f(y),y.cycle&&c(_.startAt,t,p)),v&&(c(_,t,p),null!=_.duration&&(e=_.duration,delete _.duration)),d.to(t[p],e,_,g(p,t[p],t));return this.add(d,a)},g.staggerFrom=function(t,e,i,r,n,s,a,o){return i.runBackwards=!0,this.staggerTo(t,e,d(0,i),r,n,s,a,o)},g.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,this.staggerTo(t,e,d(0,r,i),n,s,a,o,l)},g.call=function(t,e,r,n){return this.add(i.delayedCall(0,t,e,r),n)},g.set=function(t,e,r){return this.add(new i(t,0,d(0,e,null,!0)),r)},r.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,a,o,l=new r(t),h=l._timeline;for(null==e&&(e=!0),h._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=h._time,a=h._first;a;)o=a._next,e&&a instanceof i&&a.target===a.vars.onComplete||(0>(s=a._startTime-a._delay)&&(n=1),l.add(a,s)),a=o;return h.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,a,o){var h,u,_,f,c,p,d=this;if("number"!=typeof s&&(s=d._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(a=a||"normal",o=o||0,h=s,u=n.length,_=0;u>_;_++)l(f=n[_])&&(f=new r({tweens:f})),d.add(f,h),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?h=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),h+=o;return d._uncache(!0)}if("string"==typeof n)return d.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(d,n,s),(n._time||!n._duration&&n._initted)&&(h=(d.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),h)))-n._totalTime>1e-5)&&n.render(h,!1,!1)),(d._gc||d._time===d._duration)&&!d._paused&&d._duration<d.duration())for(p=(c=d).rawTime()>n._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return d},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,p,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,a;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(a=n.length;--a>-1;)n[a]instanceof t&&n[a].timeline===this&&this.remove(n[a]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(a=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(a-1)+"1",10)*Number(e.substr(a+1)),e=a>1?this._parseTimeOrLabel(e.substr(0,a-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,o,l,_,f,c,p=this,d=p._time,m=p._dirty?p.totalDuration():p._totalDuration,g=p._startTime,y=p._timeScale,v=p._paused;if(d!==p._time&&(t+=p._time-d),p._hasPause&&!p._forcingPlayhead&&!e){if(t>d)for(r=p._first;r&&r._startTime<=t&&!_;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===p._rawPrevTime||(_=r),r=r._next;else for(r=p._last;r&&r._startTime>=t&&!_;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(_=r),r=r._prev;_&&(p._time=p._totalTime=t=_._startTime,c=p._startTime+(p._reversed?p._duration-t:t)/p._timeScale)}if(t>=m-n&&t>=0)p._totalTime=p._time=m,p._reversed||p._hasPausedChild()||(s=!0,o="onComplete",l=!!p._timeline.autoRemoveChildren,0===p._duration&&(0>=t&&t>=-n||p._rawPrevTime<0||p._rawPrevTime===n)&&p._rawPrevTime!==t&&p._first&&(l=!0,p._rawPrevTime>n&&(o="onReverseComplete"))),p._rawPrevTime=p._duration||!e||t||p._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(p._totalTime=p._time=0,t>-n&&(t=0),(0!==d||0===p._duration&&p._rawPrevTime!==n&&(p._rawPrevTime>0||0>t&&p._rawPrevTime>=0))&&(o="onReverseComplete",s=p._reversed),0>t)p._active=!1,p._timeline.autoRemoveChildren&&p._reversed?(l=s=!0,o="onReverseComplete"):p._rawPrevTime>=0&&p._first&&(l=!0),p._rawPrevTime=t;else{if(p._rawPrevTime=p._duration||!e||t||p._rawPrevTime===t?t:n,0===t&&s)for(r=p._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,p._initted||(l=!0)}else p._totalTime=p._time=p._rawPrevTime=t;if(p._time!==d&&p._first||i||l||_){if(p._initted||(p._initted=!0),p._active||!p._paused&&p._time!==d&&t>0&&(p._active=!0),0===d&&p.vars.onStart&&(0===p._time&&p._duration||e||p._callback("onStart")),(f=p._time)>=d)for(r=p._first;r&&(a=r._next,f===p._time&&(!p._paused||v));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(_===r&&(p.pause(),p._pauseTime=c),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=a;else for(r=p._last;r&&(a=r._prev,f===p._time&&(!p._paused||v));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(_===r){for(_=r._prev;_&&_.endTime()>p._time;)_.render(_._reversed?_.totalDuration()-(t-_._startTime)*_._timeScale:(t-_._startTime)*_._timeScale,e,i),_=_._prev;_=null,p.pause(),p._pauseTime=c}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=a}p._onUpdate&&(e||(h.length&&u(),p._callback("onUpdate"))),o&&(p._gc||(g===p._startTime||y!==p._timeScale)&&(0===p._time||m>=p.totalDuration())&&(s&&(h.length&&u(),p._timeline.autoRemoveChildren&&p._enabled(!1,!1),p._active=!1),!e&&p.vars[o]&&p._callback(o)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime<n||(a instanceof i?!1!==e&&(s[o++]=a):(!1!==r&&(s[o++]=a),!1!==t&&(o=(s=s.concat(a.getChildren(!0,e,r))).length))),a=a._next;return s},g.getTweensOf=function(t,e){var r,n,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),n=(r=i.getTweensOf(t)).length;--n>-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(a[o++]=r[n]);return s&&this._enabled(!1,!0),a},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var 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)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,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),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},r},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,a=s.lazyTweens,o=s.lazyRender,l=_gsScope._gsDefine.globals,h=new i(null,null,1,0),u=r.prototype=new t;return u.constructor=r,u.kill()._gc=!1,r.version="2.1.3",u.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},u.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},u.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);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},u.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},u.tweenTo=function(t,i){i=i||{};var r,n,s,a={ease:h,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},o=i.repeat&&l.TweenMax||e;for(n in i)a[n]=i[n];return a.time=this._parseTimeOrLabel(t),r=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,s=new o(this,r,a),a.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},u.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 r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},u.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,h,u,_,f,c,p,d=this,m=d._time,g=d._dirty?d.totalDuration():d._totalDuration,y=d._duration,v=d._totalTime,x=d._startTime,T=d._timeScale,w=d._rawPrevTime,b=d._paused,P=d._cycle;if(m!==d._time&&(t+=d._time-m),t>=g-n&&t>=0)d._locked||(d._totalTime=g,d._cycle=d._repeat),d._reversed||d._hasPausedChild()||(s=!0,h="onComplete",u=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||0>w||w===n)&&w!==t&&d._first&&(u=!0,w>n&&(h="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,d._yoyo&&1&d._cycle?d._time=t=0:(d._time=y,t=y+1e-4);else if(n>t)if(d._locked||(d._totalTime=d._cycle=0),d._time=0,t>-n&&(t=0),(0!==m||0===y&&w!==n&&(w>0||0>t&&w>=0)&&!d._locked)&&(h="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(u=s=!0,h="onReverseComplete"):w>=0&&d._first&&(u=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=y||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(u=!0)}else 0===y&&0>w&&(u=!0),d._time=d._rawPrevTime=t,d._locked||(d._totalTime=t,0!==d._repeat&&(_=y+d._repeatDelay,d._cycle=d._totalTime/_|0,d._cycle&&d._cycle===d._totalTime/_&&t>=v&&d._cycle--,d._time=d._totalTime-d._cycle*_,d._yoyo&&1&d._cycle&&(d._time=y-d._time),d._time>y?(d._time=y,t=y+1e-4):d._time<0?d._time=t=0:t=d._time));if(d._hasPause&&!d._forcingPlayhead&&!e){if((t=d._time)>m||d._repeat&&P!==d._cycle)for(r=d._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(f=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(p=d._startTime+(d._reversed?d._duration-f._startTime:f._startTime)/d._timeScale,f._startTime<y&&(d._time=d._rawPrevTime=t=f._startTime,d._totalTime=t+d._cycle*(d._totalDuration+d._repeatDelay)))}if(d._cycle!==P&&!d._locked){var S=d._yoyo&&!!(1&P),O=S===(d._yoyo&&!!(1&d._cycle)),k=d._totalTime,C=d._cycle,R=d._rawPrevTime,A=d._time;if(d._totalTime=P*y,d._cycle<P?S=!S:d._totalTime+=y,d._time=m,d._rawPrevTime=0===y?w-1e-4:w,d._cycle=P,d._locked=!0,m=S?0:y,d.render(m,e,0===y),e||d._gc||d.vars.onRepeat&&(d._cycle=C,d._locked=!1,d._callback("onRepeat")),m!==d._time)return;if(O&&(d._cycle=P,d._locked=!0,m=S?y+1e-4:-1e-4,d.render(m,!0,!1)),d._locked=!1,d._paused&&!b)return;d._time=A,d._totalTime=k,d._cycle=C,d._rawPrevTime=R}if(d._time!==m&&d._first||i||u||f){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._totalTime!==v&&t>0&&(d._active=!0),0===v&&d.vars.onStart&&(0===d._totalTime&&d._totalDuration||e||d._callback("onStart")),(c=d._time)>=m)for(r=d._first;r&&(l=r._next,c===d._time&&(!d._paused||b));)(r._active||r._startTime<=d._time&&!r._paused&&!r._gc)&&(f===r&&(d.pause(),d._pauseTime=p),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=l;else for(r=d._last;r&&(l=r._prev,c===d._time&&(!d._paused||b));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>d._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,d.pause(),d._pauseTime=p}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=l}d._onUpdate&&(e||(a.length&&o(),d._callback("onUpdate"))),h&&(d._locked||d._gc||(x===d._startTime||T!==d._timeScale)&&(0===d._time||g>=d.totalDuration())&&(s&&(a.length&&o(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[h]&&d._callback(h)))}else v!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},u.getActive=function(t,e,i){var r,n,s=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length;for(r=0;l>r;r++)(n=a[r]).isActive()&&(s[o++]=n);return s},u.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},u.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},u.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},u.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},u.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},u.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},u.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 t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r},!0),t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,a=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},o=function(t,e,i,r){var n={a:t},s={},a={},o={c:r},l=(t+e)/2,h=(e+i)/2,u=(i+r)/2,_=(l+h)/2,f=(h+u)/2,c=(f-_)/8;return n.b=l+(t-l)/4,s.b=_+c,n.c=s.a=(n.b+s.b)/2,s.c=a.a=(_+f)/2,a.b=f-c,o.b=u+(r-u)/4,a.c=o.a=(a.b+o.b)/2,[n,s,a,o]},l=function(t,n,s,a,l){var h,u,_,f,c,p,d,m,g,y,v,x,T,w=t.length-1,b=0,P=t[0].a;for(h=0;w>h;h++)u=(c=t[b]).a,_=c.d,f=t[b+1].d,l?(v=e[h],T=((x=i[h])+v)*n*.25/(a?.5:r[h]||.5),m=_-((p=_-(_-u)*(a?.5*n:0!==v?T/v:0))+(((d=_+(f-_)*(a?.5*n:0!==x?T/x:0))-p)*(3*v/(v+x)+.5)/4||0))):m=_-((p=_-(_-u)*n*.5)+(d=_+(f-_)*n*.5))/2,p+=m,d+=m,c.c=g=p,c.b=0!==h?P:P=c.a+.6*(c.c-c.a),c.da=_-u,c.ca=g-u,c.ba=P-u,s?(y=o(u,P,g,_),t.splice(b,1,y[0],y[1],y[2],y[3]),b+=4):b++,P=d;(c=t[b]).b=P,c.c=P+.4*(c.d-P),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=P-c.a,s&&(y=o(c.a,P,c.c,c.d),t.splice(b,1,y[0],y[1],y[2],y[3]))},h=function(t,r,n,s){var o,l,h,u,_,f,c=[];if(s)for(l=(t=[s].concat(t)).length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(o=t.length-2))return c[0]=new a(t[0][r],0,0,t[0][r]),c;for(l=0;o>l;l++)h=t[l][r],u=t[l+1][r],c[l]=new a(h,0,0,u),n&&(_=t[l+2][r],e[l]=(e[l]||0)+(u-h)*(u-h),i[l]=(i[l]||0)+(_-u)*(_-u));return c[l]=new a(t[l][r],0,0,t[l+1][r]),c},u=function(t,s,a,o,u,_){var f,c,p,d,m,g,y,v,x={},T=[],w=_||t[0];for(c in u="string"==typeof u?","+u+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),t[0])T.push(c);if(t.length>1){for(v=t[t.length-1],y=!0,f=T.length;--f>-1;)if(c=T[f],Math.abs(w[c]-v[c])>.05){y=!1;break}
28y&&(t=t.concat(),_&&t.unshift(_),t.push(t[1]),_=t[t.length-3])}for(e.length=i.length=r.length=0,f=T.length;--f>-1;)c=T[f],n[c]=-1!==u.indexOf(","+c+","),x[c]=h(t,c,n[c],_);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!o){for(f=T.length;--f>-1;)if(n[c])for(g=(p=x[T[f]]).length-1,d=0;g>d;d++)m=p[d+1].da/i[d]+p[d].da/e[d]||0,r[d]=(r[d]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=T.length,d=a?4:1;--f>-1;)p=x[c=T[f]],l(p,s,a,o,n[c]),y&&(p.splice(0,d),p.splice(p.length-d,d));return x},_=function(t,e,i){var r,n,s,o,l,h,u,_,f,c,p,d={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,y=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(f in t[0])y.push(f);for(h=y.length;--h>-1;){for(d[f=y[h]]=l=[],c=0,_=t.length,u=0;_>u;u++)r=null==i?t[u][f]:"string"==typeof(p=t[u][f])&&"="===p.charAt(1)?i[f]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&u>1&&_-1>u&&(l[c++]=(r+l[c-2])/2),l[c++]=r;for(_=c-m+1,c=0,u=0;_>u;u+=m)r=l[u],n=l[u+1],s=l[u+2],o=2===m?0:l[u+3],l[c++]=p=3===m?new a(r,n,s,o):new a(r,(2*n+r)/3,(2*n+s)/3,s);l.length=c}return d},f=function(t,e,i){for(var r,n,s,a,o,l,h,u,_,f,c,p=1/i,d=t.length;--d>-1;)for(s=(f=t[d]).a,a=f.d-s,o=f.c-s,l=f.b-s,r=n=0,u=1;i>=u;u++)r=n-(n=((h=p*u)*h*a+3*(_=1-h)*(h*o+_*l))*h),e[c=d*i+u-1]=(e[c]||0)+r*r},c=function(t,e){var i,r,n,s,a=[],o=[],l=0,h=0,u=(e=0|e||6)-1,_=[],c=[];for(i in t)f(t[i],a,e);for(n=a.length,r=0;n>r;r++)l+=Math.sqrt(a[r]),c[s=r%e]=l,s===u&&(h+=l,_[s=r/e|0]=c,o[s]=h,l=0,c=[]);return{length:h,lengths:o,segments:_}},p=_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={},f=l[0],p=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null,f)this._props.push(r);for(s=this._props.length;--s>-1;)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?u(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):_(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes){var d=c(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),s=p.length;--s>-1;){for(a=0;3>a;a++)r=p[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=p[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(e){var i,r,n,s,a,o,l,h,u,_,f,c=this._segCount,p=this._func,d=this._target,m=e!==this._startRatio;if(this._timeRes){if(u=this._lengths,_=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&c-1>n){for(h=c-1;h>n&&(this._l2=u[++n])<=f;);this._l1=u[n-1],this._li=n,this._curSeg=_=this._segments[n],this._s2=_[this._s1=this._si=0]}else if(f<this._l1&&n>0){for(;n>0&&(this._l1=u[--n])>=f;);0===n&&f<this._l1?this._l1=0:n++,this._l2=u[n],this._li=n,this._curSeg=_=this._segments[n],this._s1=_[(this._si=_.length-1)-1]||0,this._s2=_[this._si]}if(i=n,f-=this._l1,n=this._si,f>this._s2&&n<_.length-1){for(h=_.length-1;h>n&&(this._s2=_[++n])<=f;);this._s1=_[n-1],this._si=n}else if(f<this._s1&&n>0){for(;n>0&&(this._s1=_[--n])>=f;);0===n&&f<this._s1?this._s1=0:n++,this._s2=_[n],this._si=n}o=1===e?1:(n+(f-this._s1)/(this._s2-this._s1))*this._prec||0}else o=(e-(i=0>e?0:e>=1?c-1:c*e|0)*(1/c))*c;for(r=1-o,n=this._props.length;--n>-1;
28)s=this._props[n],l=(o*o*(a=this._beziers[s][i]).da+3*r*(o*a.ca+r*a.ba))*o+a.a,this._mod[s]&&(l=this._mod[s](l,d)),p[s]?d[s](l):d[s]=l;if(this._autoRotate){var g,y,v,x,T,w,b,P=this._autoRotate;for(n=P.length;--n>-1;)s=P[n][2],w=P[n][3]||0,b=!0===P[n][4]?1:t,a=this._beziers[P[n][0]],g=this._beziers[P[n][1]],a&&g&&(a=a[i],g=g[i],y=a.a+(a.b-a.a)*o,y+=((x=a.b+(a.c-a.b)*o)-y)*o,x+=(a.c+(a.d-a.c)*o-x)*o,v=g.a+(g.b-g.a)*o,v+=((T=g.b+(g.c-g.b)*o)-v)*o,T+=(g.c+(g.d-g.c)*o-T)*o,l=m?Math.atan2(T-v,x-y)*b+w:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,d)),p[s]?d[s](l):d[s]=l)}}}),d=p.prototype,p.bezierThrough=u,p.cubicToQuadratic=o,p._autoCSS=!0,p.quadraticToCubic=function(t,e,i){return new a(t,(2*e+t)/3,(2*e+i)/3,i)},p._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,a,o,l){e instanceof Array&&(e={values:e}),l=new p;var h,u,_,f=e.values,c=f.length-1,d=[],m={};if(0>c)return o;for(h=0;c>=h;h++)_=i(t,f[h],a,o,l,c!==h),d[h]=_.end;for(u in e)m[u]=e[u];return m.values=d,(o=new n(t,"bezier",0,0,_.pt,2)).data=_,o.plugin=l,o.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(h=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=_.end.left?[["left","top","rotation",h,!1]]:null!=_.end.x&&[["x","y","rotation",h,!1]]),m.autoRotate&&(a._transform||a._enableTransforms(!1),_.autoRotate=a._target._gsTransform,_.proxy.rotation=_.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(_.proxy,m,a._tween),o}})}},d._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},d._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;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},h=a.prototype=new t("css");h.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,h="px",a.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,_,f,c,p,d,m,g,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,O=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,C=/([A-Z])/g,R=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,M=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,E=/[\s,\(]/i,I=Math.PI/180,N=180/Math.PI,j={},X={style:{}},B=_gsScope.document||{createElement:function(){return X}},Y=function(t,e){var i=B.createElementNS?B.createElementNS(e||LS_nsProtocol+"www.w3.org/1999/xhtml",t):B.createElement(t);return i.style?i:B.createElement(t)},G=Y("div"),U=Y("img"),q=a._internals={_specialProps:l},V=(_gsScope.navigator||{}).userAgent||"",W=function(){var t=V.indexOf("Android"),e=Y("a");return f=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),p=f&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,c=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Q=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},H=function(t){_gsScope.console&&console.log(t)},Z="",$="",K=function(t,e){var i,r,n=(e=e||G).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;--r>-1&&void 0===n[i[r]+t];);return r>=0?(Z="-"+($=3===r?"ms":i[r]).toLowerCase()+"-",$+t):null},J="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)}
vendor: 4,176 bytes, line 28
28,et=a.getStyle=function(t,e,i,r,n){var s;return W||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):Q(t)},it=q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var o,l,h,u=D.test(i),_=t,f=G.style,c=0>r,p=1===r;if(c&&(r=-r),p&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))o=r/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&_.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(_=t.parentNode||B.body,-1!==et(_,"display").indexOf("flex")&&(f.position="absolute"),l=_._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*r/100;f[u?"width":"height"]=r+n}_.appendChild(G),o=parseFloat(G[u?"offsetWidth":"offsetHeight"]),_.removeChild(G),u&&"%"===n&&!1!==a.cacheWidths&&((l=_._gsCache=_._gsCache||{}).time=h,l.width=o/r*100),0!==o||s||(o=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,o=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return p&&(o/=100),c?-o:o},rt=q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(b,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Mt===n)&&(s[n.replace(R,M)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||At===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(R,M)]=e[i]);return W||(s.opacity=Q(t)),r=Ut(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Ft&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=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(w,"")?s:0:rt(t,a),void 0!==h[a]&&(o=new xt(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=at[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ht=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(ht(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(r.length>2?" "+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(w,"")),e.oy=parseFloat(s.replace(w,"")),e.v=t),e||t},ut=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},_t=function(t,e){"function"==typeof t&&(t=t(g,m));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0}
28,ft=function(t,e,i,r){var n,s,a,o,l,h=1e-6;return"function"==typeof t&&(t=t(g,m)),null==t?o=e:"number"==typeof t?o=t:(n=360,s=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:N)-(l?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&((a%=n)!==a%180&&(a=0>a?a+n:a-n)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(a/n|0)*n)),o=e+a),h>o&&o>-h&&(o=0),o},ct={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]},pt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},dt=a.parseColor=function(t,e){var i,r,n,s,a,o,l,h,u,_,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(y),e){if(-1!==t.indexOf("="))return t.match(v)}else a=Number(i[0])%360/360,o=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=.5>=l?l*(o+1):l+o-l*o),i.length>3&&(i[3]=Number(i[3])),i[0]=pt(a+1/3,r,n),i[1]=pt(a,r,n),i[2]=pt(a-1/3,r,n);else i=t.match(y)||ct.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ct.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((h=Math.max(r,n,s))+(u=Math.min(r,n,s)))/2,h===u?a=o=0:(_=h-u,o=l>.5?_/(2-h-u):_/(h+u),a=h===r?(n-s)/_+(s>n?6:0):h===n?(s-r)/_+2:(r-n)/_+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],a=0,o="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],a+=(n=t.substr(a,t.indexOf(r,a)-a)).length+r.length,3===(r=dt(r,e)).length&&r.push(1),o+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return o+t.substr(a)},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in ct)gt+="|"+h+"\\b";gt=new RegExp(gt+")","gi"),a.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=mt(t[0],e),t[1]=mt(t[1],e)),gt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=a.colorStringFilter);var yt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(gt)||[""])[0]:"",a=t.split(s).join("").match(x)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,_=u>0?a[0].replace(y,""):"";return u?n=e?function(t){var e,f,c,p;if("number"==typeof t)t+=_;else if(r&&z.test(t)){for(p=t.replace(z,"|").split("|"),c=0;c<p.length;c++)p[c]=n(p[c]);return p.join(",")}if(e=(t.match(gt)||[s])[0],c=(f=t.split(e).join("").match(x)||[]).length,u>c--)for(;++c<u;)f[c]=i?f[(c-1)/2|0]:a[c];return o+f.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=_;else if(r&&z.test(t)){for(s=t.replace(z,"|").split("|"),f=0;f<s.length;f++)s[f]=n(s[f]);return s.join(",")}if(f=(e=t.match(","===h?x:T)||[]).length,u>f--)for(;++f<u;)e[f]=i?e[(f-1)/2|0]:a[f];return(o&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||o)+e.join(h)+l}:function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,r,n,s,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2|0];return n.parse(e,o,s,a)}},xt=(q._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):h>e&&e>-h&&(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}}
vendor: 4,266 bytes, line 28
28,function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),Tt=(q._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,u,_=r,f={},c={},p=i._transform,d=j;for(i._transform=null,j=e,r=u=i.parse(t,e,r,n),j=d,s&&(i._transform=p,_&&(_._prev=null,_._prev&&(_._prev._next=null)));r&&r!==_;){if(r.type<=1&&(c[o=r.p]=r.s+r.c,f[o]=r.s,s||(h=new xt(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;--a>0;)l="xn"+a,c[o=r.p+"_"+l]=r.data[l],f[o]=r[l],s||(h=new xt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:f,end:c,firstMPT:h,pt:u}},q.CSSPropTween=function(t,e,r,n,a,o,l,h,u,_,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof Tt||s.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===_?r:_,this.e=void 0===f?r+n:f,a&&(this._next=a,a._prev=this)}),wt=function(t,e,i,r,n,s){var a=new Tt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},bt=a.parseComplex=function(t,e,i,r,n,s,o,l,h,_){i=i||s||"","function"==typeof r&&(r=r(g,m)),o=new Tt(t,e,0,0,o,_?2:1,null,!1,l,i,r),r+="",n&&gt.test(r+i)&&(r=[i,r],a.colorStringFilter(r),i=r[0],r=r[1]);var f,c,p,d,x,T,w,b,P,S,O,k,C,R=i.split(", ").join(",").split(" "),A=r.split(", ").join(",").split(" "),M=R.length,D=!1!==u;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(R=R.join(" ").replace(z,", ").split(" "),A=A.join(" ").replace(z,", ").split(" ")):(R=R.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),M=R.length),M!==A.length&&(M=(R=(s||"").split(" ")).length),o.plugin=h,o.setRatio=_,gt.lastIndex=0,f=0;M>f;f++)if(d=R[f],x=A[f]+"",(b=parseFloat(d))||0===b)o.appendXtra("",b,ut(x,b),x.replace(v,""),!(!D||-1===x.indexOf("px"))&&Math.round,!0);else if(n&&gt.test(d))k=")"+((k=x.indexOf(")")+1)?x.substr(k):""),C=-1!==x.indexOf("hsl")&&W,S=x,d=dt(d,C),x=dt(x,C),(P=d.length+x.length>6)&&!W&&0===x[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(A[f]).join("transparent")):(W||(P=!1),C?o.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],ut(x[0],d[0]),",",!1,!0).appendXtra("",d[1],ut(x[1],d[1]),"%,",!1).appendXtra("",d[2],ut(x[2],d[2]),P?"%,":"%"+k,!1):o.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],x[0]-d[0],",",Math.round,!0).appendXtra("",d[1],x[1]-d[1],",",Math.round).appendXtra("",d[2],x[2]-d[2],P?",":k,Math.round),P&&(d=d.length<4?1:d[3],o.appendXtra("",d,(x.length<4?1:x[3])-d,k,!1))),gt.lastIndex=0;else if(T=d.match(y)){if(!(w=x.match(v))||w.length!==T.length)return o;for(p=0,c=0;c<T.length;c++)O=T[c],S=d.indexOf(O,p),o.appendXtra(d.substr(p,S-p),Number(O),ut(w[c],O),"",!(!D||"px"!==d.substr(S+O.length,2))&&Math.round,0===c),p=S+O.length;o["xs"+o.l]+=d.substr(p)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+x:x;if(-1!==r.indexOf("=")&&o.data){for(k=o.xs0+o.data.s,f=1;f<o.l;f++)k+=o["xs"+f]+o.data["xn"+f];o.e=k+o["xs"+f]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Pt=9;for((h=Tt.prototype).l=h.pr=0;--Pt>0;)h["xn"+Pt]=0,h["xs"+Pt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.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||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new Tt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n,a)):(a["xs"+o]+=e+(r||""),a)};var St=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,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},Ot=q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new St(n[r],e)},kt=q._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,i,r,n,s,a,h){var u=o.com.greensock.plugins[e];return u?(u._cssRegister(),l[r].parse(t,i,r,n,s,a,h)):(H("Error: "+e+" js file not loaded."),s)}})}};
28(h=St.prototype).parseComplex=function(t,e,i,r,n,s){var a,o,l,h,u,_,f=this.keyword;if(this.multi&&(z.test(i)||z.test(e)?(o=e.replace(z,"|").split("|"),l=i.replace(z,"|").split("|")):f&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&((u=e.indexOf(f))!==(_=i.indexOf(f))&&(-1===_?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},h.parse=function(t,e,i,r,s,a,o){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,r,n,s,a,o,l){var h=new Tt(t,n,0,0,a,2,n,!1,i);return h.plugin=o,h.setRatio=e(t,r,s._tween,n),h},priority:i})},a.useSVGTransformAttr=!0;var Ct,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),At=K("transform"),Mt=Z+"transform",Dt=K("transformOrigin"),Ft=null!==K("perspective"),Lt=q.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Ft)&&(a.defaultForce3D||"auto")},zt=_gsScope.SVGElement,Et=function(t,e,i){var r,n=B.createElementNS(LS_nsProtocol+"www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},It=B.documentElement||{},Nt=function(){var t,e,i,r=d||/Android/i.test(V)&&!_gsScope.chrome;return B.createElementNS&&It.appendChild&&!r&&(t=Et("svg",It),i=(e=Et("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Dt]="50% 50%",e.style[At]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(c&&Ft),It.removeChild(t)),r}(),jt=function(t,e,i,r,n,s){var o,l,h,u,_,f,c,p,d,m,g,y,v,x,T=t._gsTransform,w=Gt(t,!0);T&&(v=T.xOrigin,x=T.yOrigin),(!r||(o=r.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={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}),o=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=_=parseFloat(o[1]),r&&w!==Yt&&(f=w[0],c=w[1],p=w[2],d=w[3],m=w[4],g=w[5],(y=f*d-c*p)&&(l=u*(d/y)+_*(-p/y)+(p*g-d*m)/y,h=u*(-c/y)+_*(f/y)-(f*g-c*m)/y,u=i.xOrigin=o[0]=l,_=i.yOrigin=o[1]=h)),T&&(s&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),n||!1!==n&&!1!==a.defaultSmoothOrigin?(l=u-v,h=_-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),s||t.setAttribute("data-svg-origin",o.join(" "))},Xt=function(t){var e,i=Y("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(It.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Xt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),It.removeChild(i),this.style.cssText=s,e},Bt=function(t){return!(!zt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Xt.call(t,!0)}}(t))},Yt=[1,0,0,1,0,0],Gt=function(t,e){var i,r,n,s,a,o,l,h=t._gsTransform||new Lt,u=1e5,_=t.style;if(At?r=et(t,Mt,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(F))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),h.x||0,h.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,At&&i&&!t.offsetParent&&t!==It&&(s=_.display,_.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,It.appendChild(t)),i=!(r=et(t,Mt,
28null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?_.display=s:Qt(_,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):It.removeChild(t))),(h.svg||t.getCTM&&Bt(t))&&(i&&-1!==(_[At]+"").indexOf("matrix")&&(r=_[At],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 Yt;for(n=(r||"").match(y)||[],Pt=n.length;--Pt>-1;)s=Number(n[Pt]),n[Pt]=(a=s-(s|=0))?(a*u+(0>a?-.5:.5)|0)/u+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Ut=q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,o,l,h,u,_,f=r&&t._gsTransform||new Lt,c=f.scaleX<0,p=2e-5,d=1e5,m=Ft&&(parseFloat(et(t,Dt,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,g=parseFloat(a.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Bt(t)),f.svg&&(jt(t,et(t,Dt,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ct=a.useSVGTransformAttr||Nt),(s=Gt(t))!==Yt){if(16===s.length){var y,v,x,T,w,b=s[0],P=s[1],S=s[2],O=s[3],k=s[4],C=s[5],R=s[6],A=s[7],M=s[8],D=s[9],F=s[10],L=s[12],z=s[13],E=s[14],I=s[11],j=Math.atan2(R,F);
28f.zOrigin&&(L=M*(E=-f.zOrigin)-s[12],z=D*E-s[13],E=F*E+f.zOrigin-s[14]),f.rotationX=j*N,j&&(y=k*(T=Math.cos(-j))+M*(w=Math.sin(-j)),v=C*T+D*w,x=R*T+F*w,M=k*-w+M*T,D=C*-w+D*T,F=R*-w+F*T,I=A*-w+I*T,k=y,C=v,R=x),j=Math.atan2(-S,F),f.rotationY=j*N,j&&(v=P*(T=Math.cos(-j))-D*(w=Math.sin(-j)),x=S*T-F*w,D=P*w+D*T,F=S*w+F*T,I=O*w+I*T,b=y=b*T-M*w,P=v,S=x),j=Math.atan2(P,b),f.rotation=j*N,j&&(y=b*(T=Math.cos(j))+P*(w=Math.sin(j)),v=k*T+C*w,x=M*T+D*w,P=P*T-b*w,C=C*T-k*w,D=D*T-M*w,b=y,k=v,M=x),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),j=Math.atan2(k,C),f.scaleX=(Math.sqrt(b*b+P*P+S*S)*d+.5|0)/d,f.scaleY=(Math.sqrt(C*C+R*R)*d+.5|0)/d,f.scaleZ=(Math.sqrt(M*M+D*D+F*F)*d+.5|0)/d,b/=f.scaleX,k/=f.scaleY,P/=f.scaleX,C/=f.scaleY,Math.abs(j)>p?(f.skewX=j*N,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(j))):f.skewX=0,f.perspective=I?1/(0>I?-I:I):0,f.x=L,f.y=z,f.z=E,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*P-f.xOrigin*C))}else if(!Ft||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var X=s.length>=6,B=X?s[0]:1,Y=s[1]||0,G=s[2]||0,U=X?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(B*B+Y*Y),h=Math.sqrt(U*U+G*G),u=B||Y?Math.atan2(Y,B)*N:f.rotation||0,_=G||U?Math.atan2(G,U)*N+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=_,Ft&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*B+f.yOrigin*G),f.y-=f.yOrigin-(f.xOrigin*Y+f.yOrigin*U))}for(o in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=m,f)f[o]<p&&f[o]>-p&&(f[o]=0)}return r&&(t._gsTransform=f,f.svg&&(Ct&&t.style[At]?e.delayedCall(.001,function(){Qt(t.style,At)}):!Ct&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},qt=function(t){var e,i,r=this.data,n=-r.rotation*I,s=n+r.skewX*I,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,h=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,_=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,_.filter="";var c,p,m=this.t.offsetWidth,g=this.t.offsetHeight,y="absolute"!==f.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,x=r.x+m*r.xPercent/100,T=r.y+g*r.yPercent/100;if(null!=r.ox&&(x+=(c=(r.oxp?m*r.ox*.01:r.ox)-m/2)-(c*o+(p=(r.oyp?g*r.oy*.01:r.oy)-g/2)*l),T+=p-(c*h+p*u)),y?v+=", Dx="+((c=m/2)-(c*o+(p=g/2)*l)+x)+", Dy="+(p-(c*h+p*u)+T)+")":v+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?_.filter=e.replace(L,v):_.filter=v+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(y&&-1===v.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&_.removeAttribute("filter")),!y){var w,S,O,k=8>d?1:-1;for(c=r.ieOffsetX||0,p=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+x),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+T),Pt=0;4>Pt;Pt++)O=(i=-1!==(w=f[S=ot[Pt]]).indexOf("px")?parseFloat(w):it(this.t,S,parseFloat(w),w.replace(b,""))||0)!==r[S]?2>Pt?-r.ieOffsetX:-r.ieOffsetY:2>Pt?c-r.ieOffsetX:p-r.ieOffsetY,_[S]=(r[S]=Math.round(i-O*(0===Pt||2===Pt?1:k)))+"px"}}},Vt=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,_,f,p,d,m,g,y,v,x,T,w,b,P,S=this.data,O=this.t.style,k=S.rotation,C=S.rotationX,R=S.rotationY,A=S.scaleX,M=S.scaleY,D=S.scaleZ,F=S.x,L=S.y,z=S.z,E=S.svg,N=S.perspective,j=S.force3D,X=S.skewY,B=S.skewX;if(X&&(B+=X,k+=X),!((1!==t&&0!==t||"auto"!==j||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&j||z||N||R||C||1!==D)||Ct&&E||!Ft)k||B||E?(k*=I,b=B*I,P=1e5,i=Math.cos(k)*A,s=Math.sin(k)*A,r=Math.sin(k-b)*-M,a=Math.cos(k-b)*M,b&&"simple"===S.skewType&&(e=Math.tan(b-X*I),r*=e=Math.sqrt(1+e*e),a*=e,X&&(e=Math.tan(X*I),i*=e=Math.sqrt(1+e*e),s*=e)),E&&(F+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset,Ct&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),F+=.01*S.xPercent*m.width,L+=.01*S.yPercent*m.height),(m=1e-6)>F&&F>-m&&(F=0),m>L&&L>-m&&(L=0)),x=(i*P|0)/P+","+(s*P|0)/P+","+(r*P|0)/P+","+(a*P|0)/P+","+F+","+L+")",E&&Ct?this.t.setAttribute("transform","matrix("+x):O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+x):O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+A+",0,0,"+M+","+F+","+L+")";else{if(c&&((m=1e-4)>A&&A>-m&&(A=D=2e-5),m>M&&M>-m&&(M=D=2e-5),!N||S.z||S.rotationX||S.rotationY||(N=0)),k||B)k*=I,g=i=Math.cos(k),y=s=Math.sin(k),B&&(k-=B*I,g=Math.cos(k),y=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((B-X)*I),g*=e=Math.sqrt(1+e*e),y*=e,S.skewY&&(e=Math.tan(X*I),i*=e=Math.sqrt(1+e*e),s*=e))),r=-y,a=g;else{if(!(R||C||1!==D||N||E))return void(O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+L+"px,"+z+"px)"+(1!==A||1!==M?" scale("+A+","+M+")":""));i=a=1,r=s=0}u=1,n=o=l=h=_=f=0,p=N?-1/N:0,d=S.zOrigin,m=1e-6,T=",",w="0",(k=R*I)&&(g=Math.cos(k),l=-(y=Math.sin(k)),_=p*-y,n=i*y,o=s*y,u=g,p*=g,i*=g,s*=g),(k=C*I)&&(e=r*(g=Math.cos(k))+n*(y=Math.sin(k)),v=a*g+o*y,h=u*y,f=p*y,n=r*-y+n*g,o=a*-y+o*g,u*=g,p*=g,r=e,a=v),1!==D&&(n*=D,o*=D,u*=D,p*=D),1!==M&&(r*=M,a*=M,h*=M,f*=M),1!==A&&(i*=A,s*=A,l*=A,_*=A),(d||E)&&(d&&(F+=n*-d,L+=o*-d,z+=u*-d+d),E&&(F+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset),m>F&&F>-m&&(F=w),m>L&&L>-m&&(L=w),m>z&&z>-m&&(z=0)),x=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",x+=(m>i&&i>-m?w:i)+T+(m>s&&s>-m?w:s)+T+(m>l&&l>-m?w:l),x+=T+(m>_&&_>-m?w:_)+T+(m>r&&r>-m?w:r)+T+(m>a&&a>-m?w:a),C||R||1!==D?(x+=T+(m>h&&h>-m?w:h)+T+(m>f&&f>-m?w:f)+T+(m>n&&n>-m?w:n),x+=T+(m>o&&o>-m?w:o)+T+(m>u&&u>-m?w:u)+T+(m>p&&p>-m?w:p)+T):x+=",0,0,0,0,1,0,",x+=F+T+L+T+z+T+(N?1+-z/N:1)+")",O[At]=x}};(h=Lt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Ot("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,
vendor: 47,841 bytes, line 28
28i,r,s,o,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var h=l.scale&&"function"==typeof l.scale?l.scale:0;h&&(l.scale=h(g,t));var u,_,f,c,p,d,y,v,x,T=t._gsTransform,w=t.style,b=1e-6,P=Rt.length,S=l,O={},k="transformOrigin",C=Ut(t,n,!0,S.parseTransform),R=S.transform&&("function"==typeof S.transform?S.transform(g,m):S.transform);if(C.skewType=S.skewType||C.skewType||a.defaultSkewType,r._transform=C,"rotationZ"in S&&(S.rotation=S.rotationZ),R&&"string"==typeof R&&At)(_=G.style)[At]=R,_.display="block",_.position="absolute",-1!==R.indexOf("%")&&(_.width=et(t,"width"),_.height=et(t,"height")),B.body.appendChild(G),u=Ut(G,null,!1),"simple"===C.skewType&&(u.scaleY*=Math.cos(u.skewX*I)),C.svg&&(d=C.xOrigin,y=C.yOrigin,u.x-=C.xOffset,u.y-=C.yOffset,(S.transformOrigin||S.svgOrigin)&&(R={},jt(t,ht(S.transformOrigin),R,S.svgOrigin,S.smoothOrigin,!0),d=R.xOrigin,y=R.yOrigin,u.x-=R.xOffset-C.xOffset,u.y-=R.yOffset-C.yOffset),(d||y)&&(v=Gt(G,!0),u.x-=d-(d*v[0]+y*v[2]),u.y-=y-(d*v[1]+y*v[3]))),B.body.removeChild(G),u.perspective||(u.perspective=C.perspective),null!=S.xPercent&&(u.xPercent=_t(S.xPercent,C.xPercent)),null!=S.yPercent&&(u.yPercent=_t(S.yPercent,C.yPercent));else if("object"==typeof S){if(u={scaleX:_t(null!=S.scaleX?S.scaleX:S.scale,C.scaleX),scaleY:_t(null!=S.scaleY?S.scaleY:S.scale,C.scaleY),scaleZ:_t(S.scaleZ,C.scaleZ),x:_t(S.x,C.x),y:_t(S.y,C.y),z:_t(S.z,C.z),xPercent:_t(S.xPercent,C.xPercent),yPercent:_t(S.yPercent,C.yPercent),perspective:_t(S.transformPerspective,C.perspective)},null!=(p=S.directionalRotation))if("object"==typeof p)for(_ in p)S[_]=p[_];else S.rotation=p;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(u.x=0,u.xPercent=_t(S.x,C.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(u.y=0,u.yPercent=_t(S.y,C.yPercent)),u.rotation=ft("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":C.rotation,C.rotation,"rotation",O),Ft&&(u.rotationX=ft("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",O),u.rotationY=ft("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",O)),u.skewX=ft(S.skewX,C.skewX),u.skewY=ft(S.skewY,C.skewY)}for(Ft&&null!=S.force3D&&(C.force3D=S.force3D,c=!0),(f=C.force3D||C.z||C.rotationX||C.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==S.scale||(u.scaleZ=1);--P>-1;)((R=u[x=Rt[P]]-C[x])>b||-b>R||null!=S[x]||null!=j[x])&&(c=!0,s=new Tt(C,x,C[x],R,s),x in O&&(s.e=O[x]),s.xs0=0,s.plugin=o,r._overwriteProps.push(s.n));return R="function"==typeof S.transformOrigin?S.transformOrigin(g,m):S.transformOrigin,C.svg&&(R||S.svgOrigin)&&(d=C.xOffset,y=C.yOffset,jt(t,ht(R),u,S.svgOrigin,S.smoothOrigin),s=wt(C,"xOrigin",(T?C:u).xOrigin,u.xOrigin,s,k),s=wt(C,"yOrigin",(T?C:u).yOrigin,u.yOrigin,s,k),(d!==C.xOffset||y!==C.yOffset)&&(s=wt(C,"xOffset",T?d:C.xOffset,C.xOffset,s,k),s=wt(C,"yOffset",T?y:C.yOffset,C.yOffset,s,k)),R="0px 0px"),(R||Ft&&f&&C.zOrigin)&&(At?(c=!0,x=Dt,R||(R=(R=(et(t,x,n,!1,"50% 50%")+"").split(" "))[0]+" "+R[1]+" "+C.zOrigin+"px"),R+="",(s=new Tt(w,x,0,0,s,-1,k)).b=w[x],s.plugin=o,Ft?(_=C.zOrigin,R=R.split(" "),C.zOrigin=(R.length>2?parseFloat(R[2]):_)||0,s.xs0=s.e=R[0]+" "+(R[1]||"50%")+" 0px",(s=new Tt(C,"zOrigin",0,0,s,-1,s.n)).b=_,s.xs0=s.e=C.zOrigin):s.xs0=s.e=R):ht(R+"",C)),c&&(r._transformType=C.svg&&Ct||!f&&3!==this._transformType?2:3),h&&(l.scale=h),s},allowFunc:!0,prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:yt("inset(0% 0% 0% 0%)",!1,!0)}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a,o){e=this.format(e);var l,h,u,_,f,c,p,d,m,g,y,v,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=K(P[h])),-1!==(f=_=et(t,P[h],n,!1,"0px")).indexOf(" ")&&(_=f.split(" "),f=_[0],_=_[1]),c=u=l[h],p=parseFloat(f),v=f.substr((p+"").length),(x="="===c.charAt(1))?(d=parseInt(c.charAt(0)+"1",10),c=c.substr(2),d*=parseFloat(c),y=c.substr((d+"").length-(0>d?1:0))||""):(d=parseFloat(c),y=c.substr((d+"").length)),""===y&&(y=r[i]||v),y!==v&&(T=it(t,"borderLeft",p,v),w=it(t,"borderTop",p,v),"%"===y?(f=T/m*100+"%",_=w/g*100+"%"):"em"===y?(f=T/(b=it(t,"borderLeft",1,"em"))+"em",_=w/b+"em"):(f=T+"px",_=w+"px"),x&&(c=parseFloat(f)+d+y,u=parseFloat(_)+d+y)),a=bt(S,P[h],f+" "+_,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,a){return bt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,a){var o,l,h,u,_,f,c="background-position",p=n||tt(t),m=this.format((p?d?p.getPropertyValue(c+"-x")+" "+p.getPropertyValue(c+"-y"):p.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&((f=et(t,"backgroundImage").replace(A,""))&&"none"!==f)){for(o=m.split(" "),l=g.split(" "),U.setAttribute("src",f),h=2;--h>-1;)(u=-1!==(m=o[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(_=0===h?t.offsetWidth-U.width:t.offsetHeight-U.height,o[h]=u?parseFloat(m)/100*_+"px":parseFloat(m)/_*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,s,a)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ht(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,a){var o,l,h;return 9>d?(l=t.currentStyle,h=8>d?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,a){var o=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(b,"");return"px"!==h&&(o=parseFloat(o)/it(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Ot("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new Tt(a,o,0,0,n,-1,i,!1,0,a[o],e)}});var Wt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(O,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(P,"opacity="+n))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,a){var o=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===et(t,"visibility",n)&&0!==e&&(o=0),W?s=new Tt(l,"opacity",o,e-o,s):((s=new Tt(l,"opacity",100*o,100*(e-o),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=Wt),h&&((s=new Tt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Qt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Ht=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:Qt(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)};Ot("className",{parser:function(t,e,r,s,a,o,l){var h,u,_,f,c,p=t.getAttribute("class")||"",d=t.style.cssText;if((a=s._classNamePT=new Tt(t,r,0,0,a,2)).setRatio=Ht,a.pr=-11,i=!0,a.b=p,u=nt(t,n),_=t._gsClassPT){for(f={},c=_.data;c;)f[c.p]=1,c=c._next;_.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:p.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=st(t,u,nt(t),l,f),t.setAttribute("class",p),a.data=h.firstMPT,t.style.cssText!==d&&(t.style.cssText=d),a.xfirst=s.parse(t,h.difs,a,o)}});var Zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===o?n=!0:i="transformOrigin"===i?Dt:l[i].p),Qt(a,i);n&&(Qt(a,At),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,r,n,s){return(s=new Tt(t,r,0,0,s,2)).setRatio=Zt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Pt=h.length;Pt--;)kt(h[Pt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,o,h){if(!t.nodeType)return!1;this._target=m=t,this._tween=o,this._vars=e,g=h,u=e.autoRound,i=!1,r=e.suffixMap||a.suffixMap,n=tt(t),s=this._overwriteProps;var c,d,y,v,x,T,w,b,P,O=t.style;if(_&&""===O.zIndex&&(("auto"===(c=et(t,"zIndex",n))||""===c)&&this._addLazySet(O,"zIndex",0)),"string"==typeof e&&(v=O.cssText,c=nt(t,n),O.cssText=v+";"+e,c=st(t,c,nt(t)).difs,!W&&S.test(e)&&(c.opacity=parseFloat(RegExp.$1)),e=c,O.cssText=v),e.className?this._firstPT=d=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=d=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,At?f&&(_=!0,""===O.zIndex&&(("auto"===(w=et(t,"zIndex",n))||""===w)&&this._addLazySet(O,"zIndex",0)),p&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):O.zoom=1,y=d;y&&y._next;)y=y._next;b=new Tt(t,"transform",0,0,null,2),this._linkCSSP(b,null,y),b.setRatio=At?Vt:qt,b.data=this._transform||Ut(t,n,!0),b.tween=o,b.pr=-1,s.pop()}if(i){for(;d;){for(T=d._next,y=v;y&&y.pr>d.pr;)y=y._next;(d._prev=y?y._prev:x)?d._prev._next=d:v=d,(d._next=y)?y._prev=d:x=d,d=T}this._firstPT=v}return!0},h.parse=function(t,e,i,s){var a,o,h,_,f,c,p,d,y,v,x=t.style;for(a in e){if(c=e[a],o=l[a],"function"!=typeof c||o&&o.allowFunc||(c=c(g,m)),o)i=o.parse(t,c,a,this,i,s,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(a)+"",c+"",a,!1,a);continue}f=et(t,a,n)+"",y="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&k.test(c)?(y||(c=((c=dt(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),i=bt(x,a,f,c,!0,"transparent",i,0,s)):y&&E.test(c)?i=bt(x,a,f,c,!0,null,i,0,s):(p=(h=parseFloat(f))||0===h?f.substr((h+"").length):"",(""===f||"auto"===f)&&("width"===a||"height"===a?(h=lt(t,a,n),p="px"):"left"===a||"top"===a?(h=rt(t,a,n),p="px"):(h="opacity"!==a?0:1,p="")),(v=y&&"="===c.charAt(1))?(_=parseInt(c.charAt(0)+"1",10),c=c.substr(2),_*=parseFloat(c),d=c.replace(b,"")):(_=parseFloat(c),d=y?c.replace(b,""):""),""===d&&(d=a in r?r[a]:p),c=_||0===_?(v?_+h:_)+d:e[a],p!==d&&(""!==d||"lineHeight"===a)&&(_||0===_)&&h&&(h=it(t,a,h,p),"%"===d?(h/=it(t,a,100,"%")/100,!0!==e.strictUnits&&(f=h+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?h/=it(t,a,1,d):"px"!==d&&(_=it(t,a,_,d),d="px"),v&&(_||0===_)&&(c=_+h+d)),v&&(_+=h),!h&&0!==h||!_&&0!==_?void 0!==x[a]&&(c||c+""!="NaN"&&null!=c)?(i=new Tt(x,a,_||h||0,0,i,-1,a,!1,0,f,c)).xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f:H("invalid "+a+" tween value: "+e[a]):(i=new Tt(x,a,h,_-h,i,0,a,!1!==u&&("px"===d||"zIndex"===a),0,f,c)).xs0=d)}s&&i&&!i.plugin&&(i.plugin=s)}return i},h.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):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},h._enableTransforms=function(t){this._transform=this._transform||Ut(this._target,n,!0),this._transformType=this._transform.svg&&Ct||!t&&3!==this._transformType?2:3};var $t=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var r=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=$t,r.data=this},h._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},h._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},h._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){for(r in s={},e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((n=i.xfirst)&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(e),r=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Kt=function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;--n>-1;)Kt(t[n],e,i);else for(n=(r=t.childNodes).length;--n>-1;)a=(s=r[n]).type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Kt(s,e,i)};return a.cascadeTo=function(t,i,r){var n,s,a,o,l=e.to(t,i,r),h=[l],u=[],_=[],f=[],c=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,u,f),l.render(i,!0,!0),Kt(t,_),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],u[n],_[n])).firstMPT){for(a in s=s.difs,r)c[a]&&(s[a]=r[a]);for(a in o={},s)o[a]=u[n][a];h.push(e.fromTo(f[n],i,o,s))}return h},t.activate([a]),a},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,a=this._tween,o=a.vars.roundProps,l={},h=a._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)l[o[n]]=Math.round;else for(s in o)l[s]=e(o[s]);for(s in l)for(t=a._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:a._firstPT===t&&(a._firstPT=r),t._next=t._prev=null,a._propLookup[s]=h)),t=r;return!1},r._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)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,a,o,l,h,u=!0===e.useRadians?2*Math.PI:360,_=1e-6;for(n in e)"useRadians"!==n&&("function"==typeof(o=e[n])&&(o=o(r,t)),s=(h=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(o=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-a,h.length&&(-1!==(s=h.join("_")).indexOf("short")&&((l%=u)!==l%(u/2)&&(l=0>l?l+u:l-u)),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>_||-_>l)&&(this._addTween(t,n,a,a+l,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(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,a=s.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,u=function(e,i){var r=h("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},_=t.register||function(){},f=function(t,e,i,r,n){var s=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return _(s,t),s},c=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(e,i){var r=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},d=f("Back",p("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),p("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),p("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),m=h("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),g=m.prototype=new t;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?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},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},e=h("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0),(g=e.prototype=new t).constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=h("easing.ExpoScaleEase",function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i},!0),(g=i.prototype=new t).constructor=i,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=i.config=function(t,e,r){return new i(t,e,r)},r=h("easing.RoughEase",function(e){for(var i,r,n,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,_=0|(e.points||20),f=_,p=!1!==e.randomize,d=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=p?Math.random():1/_*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?n=(s=1-i)*s*g:"in"===l?n=i*i*g:.5>i?n=(s=2*i)*s*.5*g:n=(s=2*(1-i))*s*.5*g,p?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,d&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};for(h.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),f=_;--f>-1;)a=h[f],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),(g=r.prototype=new t).constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",u("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,r){var n=h("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",u("SineOut",function(t){return Math.sin(t*l)}),u("SineIn",function(t){return 1-Math.cos(t*l)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),_(s.SlowMo,"SlowMo","ease,"),_(r,"RoughEase","ease,"),_(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var a,o,l,h,u,_=function(t){var e,i=t.split("."),r=n;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},f=_("com.greensock"),c=1e-8,p=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},d=function(){},m=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),g={},y=function(r,s,a,o){this.sc=g[r]?g[r].sc:[],g[r]=this,this.gsClass=null,this.func=a;var l=[];this.check=function(h){for(var u,f,c,p,d=s.length,m=d;--d>-1;)(u=g[s[d]]||new y(s[d],[])).gsClass?(l[d]=u.gsClass,m--):h&&u.sc.push(this);if(0===m&&a){if(c=(f=("com.greensock."+r).split(".")).pop(),p=_(f.join("."))[c]=this.gsClass=a.apply(a,l),o)if(n[c]=i[c]=p,"undefined"!=typeof module&&module.exports)if(r===e)for(d in module.exports=i[e]=p,i)p[d]=i[d];else i[e]&&(i[e][c]=p);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return p});for(d=0;d<this.sc.length;d++)this.sc[d].check()}},this.check(!0)},v=t._gsDefine=function(t,e,i,r){return new y(t,e,i,r)},x=f._class=function(t,e,i){return e=e||function(){},v(t,[],function(){return e},i),e};v.globals=n;var T=[0,0,1,1],w=x("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?T.concat(e):T},!0),b=w.map={},P=w.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],n=r?x("easing."+s,null,!0):f.easing[s]||{},a=u.length;--a>-1;)o=u[a],b[s+"."+o]=b[o+s]=n[o]=t.getRatio?t:t[o]||new t};for((l=w.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},o=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)l=a[o]+",Power"+o,P(new w(null,null,1,o),l,"easeOut",!0),P(new w(null,null,2,o),l,"easeIn"+(0===o?",easeNone":"")),P(new w(null,null,3,o),l,"easeInOut");b.linear=f.easing.Linear.easeIn,b.swing=f.easing.Quad.easeInOut;var S=x("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==h||u||h.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(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})},l.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var O=t.requestAnimationFrame,k=t.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},R=C();for(o=(a=["ms","moz","webkit","o"]).length;--o>-1&&!O;)O=t[a[o]+"RequestAnimationFrame"],k=t[a[o]+"CancelAnimationFrame"]||t[a[o]+"CancelRequestAnimationFrame"];x("Ticker",function(t,e){var i,n,s,a,o,l=this,_=C(),f=!(!1===e||!O)&&"auto",p=500,m=33,g=function(t){var e,r,h=C()-R;h>p&&(_+=h-m),R+=h,l.time=(R-_)/1e3,e=l.time-o,(!i||e>0||!0===t)&&(l.frame++,o+=e+(e>=a?.004:a-e),r=!0),!0!==t&&(s=n(g)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){g(!0)},l.lagSmoothing=function(t,e){return arguments.length?(p=t||1/c,void(m=Math.min(e,p,0))):1/c>p},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=d,s=null,l===h&&(u=!1))},l.wake=function(t){null!==s?l.sleep():t?_+=-R+(R=C()):l.frame>10&&(R=C()-p+5),n=0===i?d:f&&O?O:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===h&&(u=!0),g(2)},l.fps=function(t){return arguments.length?(a=1/((i=t)||60),o=this.time+a,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var A=x("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){u||h.wake();var i=this.vars.useFrames?H:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=A.ticker=new f.Ticker,(l=A.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var M=function(){u&&C()-R>2e3&&("hidden"!==(r||{}).visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-c},l._enabled=function(t,e){return u||h.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},l._kill=function(t,e){return this._enabled(!1,!1)},l.kill=function(t,e){return this._kill(t,e),this},l._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},l._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.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"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},l.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(u||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!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)&&(z.length&&K(),this.render(t,e,!1),z.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.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},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||c,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},l.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},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(u||t||h.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=x("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=D.prototype=new A).constructor=D,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._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},l.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},l.rawTime=function(){return u||h.wake(),this._totalTime};var F=x("TweenLite",function(e,i,r){if(A.call(this,i,r),this.render=F.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:F.selector(e)||e;var n,s,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Q[F.defaultOverwrite]:"number"==typeof l?l|0:Q[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=p(e),this._propLookup=[],this._siblings=[],n=0;n<a.length;n++)(s=a[n])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(p(s))):(this._siblings[n]=J(s,this,!1),1===l&&this._siblings[n].length>1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=a[n--]=F.selector(s))&&a.splice(n+1,1):a.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-c,this.render(Math.min(0,-this._delay)))},!0),L=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=F.prototype=new A).constructor=F,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,F.version="2.1.3",F.defaultEase=l._ease=new w(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},F.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(F.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],E={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,j=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):r>e&&e>-r&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},X=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,i,r){var n,s,a,o,l,h,u,_=[],f=0,c="",p=0;for(_.start=t,_.end=e,t=_[0]=t+"",e=_[1]=e+"",i&&(i(_),t=_[0],e=_[1]),_.length=0,n=t.match(I)||[],s=e.match(I)||[],r&&(r._next=null,r.blob=1,_._firstPT=_._applyPT=r),l=s.length,o=0;l>o;o++)u=s[o],c+=(h=e.substr(f,e.indexOf(u,f)-f))||!o?h:",",f+=h.length,p?p=(p+1)%5:"rgba("===h.substr(-5)&&(p=1),u===n[o]||n.length<=o?c+=u:(c&&(_.push(c),c=""),a=parseFloat(n[o]),_.push(a),_._firstPT={_next:_._firstPT,t:_,p:_.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:p&&4>p?Math.round:X}),f+=u.length;return(c+=e.substr(f))&&_.push(c),_.setRatio=j,N.test(e)&&(_.end=null),_},Y=function(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h=typeof t[e],u="function"!==h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),_="get"!==i?i:u?a?t[u](a):t[u]():t[e],f="string"==typeof r&&"="===r.charAt(1),c={t:t,p:e,s:_,f:"function"===h,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:f?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-_||0};return("number"!=typeof _||"number"!=typeof r&&!f)&&(a||isNaN(_)||!f&&isNaN(r)||"boolean"==typeof _||"boolean"==typeof r?(c.fp=a,c={t:B(_,f?parseFloat(c.s)+c.c+(c.s+"").replace(/[0-9\-\.]/g,""):r,o||F.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(c.s=parseFloat(_),f||(c.c=parseFloat(r)-c.s||0))),c.c?((c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c):void 0},G=F._internals={isArray:m,isSelector:L,lazyTweens:z,blobDif:B},U=F._plugins={},q=G.tweenLookup={},V=0,W=G.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},Q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=A._rootFramesTimeline=new D,Z=A._rootTimeline=new D,$=30,K=G.lazyRender=function(){var t,e,i=z.length;for(E={},t=0;i>t;t++)(e=z[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);z.length=0};Z._startTime=h.time,H._startTime=h.frame,Z._active=H._active=!0,setTimeout(K,1),A._updateRoot=F.render=function(){var t,e,i;if(z.length&&K(),Z.render((h.time-Z._startTime)*Z._timeScale,!1,!1),H.render((h.frame-H._startTime)*H._timeScale,!1,!1),z.length&&K(),h.frame>=$){for(i in $=h.frame+(parseInt(F.autoSleep,10)||120),q){for(t=(e=q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[i]}if((!(i=Z._first)||i._paused)&&F.autoSleep&&!H._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",A._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(q[s||(t._gsTweenID=s="t"+V++)]||(q[s]={target:t,tweens:[]}),e&&((r=q[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return q[s].tweens},tt=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=F.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,u=e._startTime+c,_=[],f=0,p=0===e._duration;for(s=n.length;--s>-1;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||it(e,0,p),0===it(o,h,p)&&(_[f++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((p||!o._initted)&&u-o._startTime<=2*c||(_[f++]=o)));for(s=f;--s>-1;)if(l=(o=_[s])._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!tt(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},it=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(s/=n)>e?s-e:i&&s===e||!t._initted&&2*c>s-e?c:(s+=t.totalDuration()/t._timeScale/n)>e+c?0:s-e-c};l._init=function(){var t,e,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease,_=this._startAt;if(a.startAt){for(r in _&&(_.render(-1,!0),_.kill()),n={},a.startAt)n[r]=a.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&!1!==a.lazy,n.startAt=n.delay=null,n.onUpdate=a.onUpdate,n.onUpdateParams=a.onUpdateParams,n.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=F.to(this.target||{},0,n),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(_)_.render(-1,!0),_.kill(),this._startAt=null;else{for(r in 0!==this._time&&(h=!1),i={},a)W[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=F.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof w?u:"function"==typeof u?new w(u,a.easeParams):b[u]||F.defaultEase:F.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;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&&F._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},l._initProps=function(e,i,r,n,s){var a,o,l,h,u,_;if(null==e)return!1;for(a in E[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&U.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars)if(_=this.vars[a],W[a])_&&(_ instanceof Array||_.push&&m(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[a]=_=this._swapSelfInParams(_,this));else if(U[a]&&(h=new U[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=Y.call(this,e,a,"get",_,a,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(E[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,a,o=this,l=o._time,h=o._duration,u=o._rawPrevTime;if(t>=h-c&&t>=0)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>u||0>=t&&t>=-c||u===c&&"isPause"!==o.data)&&u!==t&&(i=!0,u>c&&(n="onReverseComplete")),o._rawPrevTime=a=!e||t||u===t?t:c);else if(c>t)o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===h&&u>0)&&(n="onReverseComplete",r=o._reversed),t>-c?t=0:0>t&&(o._active=!1,0===h&&(o._initted||!o.vars.lazy||i)&&(u>=0&&(u!==c||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=a=!e||t||u===t?t:c)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var _=t/h,f=o._easeType,p=o._easePower;(1===f||3===f&&_>=.5)&&(_=1-_),3===f&&(_*=2),1===p?_*=_:2===p?_*=_*_:3===p?_*=_*_*_:4===p&&(_*=_*_*_*_),o.ratio=1===f?1-_:2===f?_:.5>t/h?_/2:1-_/2}else o.ratio=o._ease.getRatio(t/h);if(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=u,z.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&&t>=0&&(o._active=!0),0===l&&(o._startAt&&(t>=0?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&&(0>t&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),n&&(!o._gc||i)&&(0>t&&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===c&&a!==c&&(o._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:F.selector(e)||e;var r,n,s,a,o,l,h,u,_,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,c=this._firstPT;if((m(e)||L(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(F.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(_||(_=[]),_.push(s));if((_||!t)&&!tt(this,i,e,_))return!1}for(s in h)(a=o[s])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&c&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&F._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?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(u||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&F._onPluginEvent(t?"_onEnable":"_onDisable",this)}
28,F.to=function(t,e,i){return new F(t,e,i)},F.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new F(t,e,i)},F.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new F(t,e,r)},F.delayedCall=function(t,e,i,r,n){return new F(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},F.set=function(t,e){return new F(t,0,e)},F.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:F.selector(t)||t,(m(t)||L(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(F.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=J(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},F.killTweensOf=F.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=F.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=x("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype},!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=Y,l.setRatio=j,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;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},l._mod=l._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},F._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},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(U[(new t[e])._propName]=t[e]);return!0},v.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=x("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){rt.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new rt(i);for(e in o.constructor=a,a.API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,rt.activate([a]),a},a=t._gsQueue){for(o=0;o<a.length;o++)a[o]();for(l in g)g[l].func||t.console.log("GSAP encountered missing dependency: "+l)}u=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),function(t,e){"function"==typeof define&&define.amd?define(e):"undefined"!=typeof exports?module.exports=e():e()}(0,function(){(void 0!==LS_GSAP?LS_GSAP:window).SplitType=function(t,e,i){function r(t){return null!==t&&"object"==typeof t}function n(t){return r(t)&&"number"==typeof t.length&&t.length>0}function s(t){return r(t)&&/^(1|3|11)$/.test(t.nodeType)}function a(t,e,i){for(var s=Object(t),a=n(s)?s:function(t){return r(t)&&"[object Object]"===Object.prototype.toString.call(t)}(s)?v(s):[s],o=parseInt(a.length)||0,l=0;l<o;l++)e.call(i,a[l],l,s)}function o(t,e){return t=Object(t),e=Object(e),Object.getOwnPropertyNames(t).reduce(function(i,r){return x(i,r,T(e,r)||T(t,r))},{})}function l(t,e,n){var s,a={};return r(t)&&(s=t[p]||(t[p]=++m),a=d[s]||(d[s]={})),n===i?e===i?a:a[e]:e!==i?(a[e]=n,n):void 0}function h(t){var e=t&&t[p];e&&(delete t[e],delete d[e])}function u(t,r){var n=e.createElement(t);return r===i||a(r,function(t){var e=r[t];if(null!==e)switch(t){case"textContent":n.textContent=e;break;case"innerHTML":n.innerHTML=e;break;case"children":a(e,function(t){s(t)&&n.appendChild(t)});break;default:n.setAttribute(t,e)}}),n}function _(t){var i,r,a,o,l,h,u=[];
28if(function(t){return"string"==typeof t}(t)&&(i=t.trim(),t="#"===i[0]&&!/[^\w]/.test(r=i.slice(1))?e.getElementById(r):e.querySelectorAll(i)),i||s(t))return s(t)?[t]:y.call(t);if(n(t))for(l=0,a=t.length;l<a;l++)if(n(t[l]))for(h=0,o=t[l].length;h<o;h++)s(t[l][h])&&u.push(t[l][h]);else s(t[l])&&u.push(t[l]);return u}function f(e){var i,r,n,s,o=this.settings,h=o.tagName,_="B"+1*new Date+"R",f=o.split,c=-1!==f.indexOf("lines"),p=-1!==f.indexOf("words"),d=-1!==f.indexOf("chars"),m="absolute"===o.position||!0===o.absolute,v=u("div"),x=[],T=[];if(n=c?u("div"):w(),v.innerHTML=e.innerHTML.replace(/<br\s*\/?>/g," "+_+" "),s=v.textContent.replace(/\s+/g," ").trim().split(" ").map(function(t){if(t===_)return n.appendChild(u("br")),null;if(d){var e=t.split("").map(function(t){return u(h,{class:o.charClass+" "+o.splitClass,style:"display: inline-block;",textContent:t})});g.apply(T,e)}return p||c?(r=u(h,{class:o.wordClass+" "+o.splitClass,style:"display: inline-block; position:"+(p?"relative":"static;"),children:d?e:null,textContent:d?null:t}),n.appendChild(r)):a(e,function(t){n.appendChild(t)}),n.appendChild(b(" ")),r},this).filter(function(t){return t}),e.innerHTML="",e.appendChild(n),g.apply(this.words,s),g.apply(this.chars,T),m||c){var P,S,O,k,C,R,A,M,D,F,L,z=[];A=l(e).nodes=e.getElementsByTagName(h),M=e.parentElement,D=e.nextElementSibling,F=t.getComputedStyle(e),L=F.textAlign,m&&(k={left:n.offsetLeft,top:n.offsetTop,width:n.offsetWidth},R=e.offsetWidth,C=e.offsetHeight,l(e).cssWidth=e.style.width,l(e).cssHeight=e.style.height),a(A,function(t){if(t!==n){var e,i=t.parentElement===n;c&&i&&((e=l(t).top=t.offsetTop)!==S&&(S=e,z.push(P=[])),P.push(t)),m&&(l(t).top=e||t.offsetTop,l(t).left=t.offsetLeft,l(t).width=t.offsetWidth,l(t).height=O||(O=t.offsetHeight))}}),M.removeChild(e),c&&(n=w(),x=z.map(function(t){return n.appendChild(i=u(h,{class:o.lineClass+" "+o.splitClass,style:"display: block; text-align:"+L+"; width: 100%;"})),m&&(l(i).type="line",l(i).top=l(t[0]).top,l(i).height=O),a(t,function(t){p?i.appendChild(t):d?y.call(t.children).forEach(function(t){i.appendChild(t)}):i.appendChild(b(t.textContent)),i.appendChild(b(" "))}),i}),e.replaceChild(n,e.firstChild),g.apply(this.lines,x)),m&&(e.style.width=e.style.width||R+"px",e.style.height=C+"px",a(A,function(t){var e="line"===l(t).type,i=!e&&"line"===l(t.parentElement).type;t.style.top=i?0:l(t).top+"px",t.style.left=e?k.left+"px":(i?l(t).left-k.left:l(t).left)+"px",t.style.height=l(t).height+"px",t.style.width=e?k.width+"px":l(t).width+"px",t.style.position="absolute"})),D?M.insertBefore(e,D):M.appendChild(e)}}function c(t,e){return this instanceof c?(this.isSplit=!1,this.settings=o(P,e),this.elements=_(t),void(this.elements.length&&(this.originals=this.elements.map(function(t){return l(t).html=l(t).html||t.innerHTML}),this.split()))):new c(t,e)}if(e.addEventListener&&Function.prototype.bind){var p="splitType"+1*new Date,d={},m=0,g=Array.prototype.push,y=Array.prototype.slice,v=Object.keys,x=(Object.prototype.hasOwnProperty,Object.defineProperty),T=(Object.defineProperties,Object.getOwnPropertyDescriptor),w=e.createDocumentFragment.bind(e),b=e.createTextNode.bind(e),P={splitClass:"",lineClass:"ls-ln",wordClass:"ls-wd",charClass:"ls-ch",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"ls-tb",DEBUG:!1};return x(c,"defaults",{get:function(){return P},set:function(t){P=o(P,t)}}),c.prototype.split=function(t){this.revert(),this.lines=[],this.words=[],this.chars=[],t!==i&&(this.settings=o(this.settings,t)),a(this.elements,function(t){f.call(this,t),l(t).isSplit=!0},this),this.isSplit=!0,a(this.elements,function(t){for(var e=l(t).nodes||[],i=0,r=e.length;i<r;i++)h(e[i])})},c.prototype.revert=function(){this.isSplit&&(this.lines=this.words=this.chars=null),a(this.elements,function(t){l(t).isSplit&&l(t).html&&(t.innerHTML=l(t).html,t.style.height=l(t).cssHeight||"",t.style.width=l(t).cssWidth||"",this.isSplit=!1)},this)},c}}(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:{},browserCache:{}
28,currentScript:document.currentScript,lsScript:jQuery('script[src*="layerslider.kreaturamedia.jquery.js"]')[0],scriptPath:"",pluginsPath:!1,showNotice:function(t,e,i,r){var n,s,a,o=jQuery(t),l="ls-issue-"+e;switch(e){case"jquery":a="Multiple jQuery issue",s='It looks like that another plugin or your theme loads an extra copy of the jQuery library causing problems for LayerSlider to show your sliders. Please navigate from your WordPress admin sidebar to LayerSlider -> Options -> Advanced and enable the "Include scripts in the footer" option.';break;case"oldjquery":a="Old jQuery issue",s="It looks like you are using an old version ("+i+") of the jQuery library. LayerSlider requires at least version "+r+" or newer. Please update jQuery to 1.10.x or higher. Important: Please do not use the jQuery Updater plugin on WordPress as it can cause issues in certain cases."}o.each(function(){(n=jQuery(this)).hasClass(l)||(n.addClass(l),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)};
29// source --> https://fientuech.de/wp-content/plugins/LayerSlider/assets/static/layerslider/js/layerslider.kreaturamedia.jquery.js?ver=8.4.0 
30
31/*
32	* LayerSlider
33	*
34	* (c) 2011-2026 George Krupa, John Gera & Kreatura Media
35	*
36	* LayerSlider home:		https://layerslider.com/
37	* Licensing:			https://layerslider.com/licensing/
38*/
39
40
41!function(e){"use strict";window._layerSliders={},window._lsData={$overflowWrapper:e("body").length?e("body"):e("html"),isMobile:!!navigator.userAgent.match(/(iPhone|iPod|iPad|Android|BlackBerry|BB10|webOS|Windows Phone|IEMobile|mobi|opera mini|nexus 7)/i)||navigator.maxTouchPoints&&navigator.maxTouchPoints>2&&/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"],sizeexcludeborder:["styleSettings"],sizeexcludepadding:["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
41ight","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
41:["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
41s:["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"]}}},e(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:e(window).width(),height:e(window).height()},e(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,e(window).trigger("resize.lsGlobal")},100))}),e(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)}),e(document).on("wheel.lsGlobal ",function(e){0!==Math.abs(e.originalEvent.deltaY)&&(window._lsData.scroll.direction=e.originalEvent.deltaY<0?"up":"down")}),e(document).on("touchstart.lsGlobal ",function(e){window._lsData.ts=e.originalEvent.touches[0].clientY}),e(document).on("touchend.lsGlobal ",function(e){var t=e.originalEvent.changedTouches[0].clientY;window._lsData.ts>t+5?window._lsData.scroll.direction="down":window._lsData.ts<t-5&&(window._lsData.scroll.direction="up")}),e.fn.layerSlider=function(i,a,s,r){window._lsData.documentIsAccessible=!0,i=i||{};var o,n="1.8.0",l=e.fn.jquery;if(window._layerSlider.checkVersions(n,l,n))return(typeof i).match("object|undefined")?this.each(function(a){o="LS"+Math.random().toString(36).substr(2,9),e(this).data("lsSliderUID")||(window._layerSliders[o]=new t(this,e(this),i,o))}):"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(t){var o=window._layerSliders[e(this).data("lsSliderUID")];o&&o.api.methods(i,a,s,r),o=null});window._layerSlider.showNotice(this,"oldjquery",l,n)};var t=function(t,i,a,s){i.data("lsSliderUID",s).attr("data-layerslider-uid",s);
41var r=this,o=r.gsap=window._layerSlider.GSAP?window._layerSlider.GSAP:window,n=e(window),l=window._lsData;r.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,pauseLayers:!1,firstSlide:1,sliderFadeInDuration:0,animateFirstSlide:!1,firstSlideDuration:!1,firstSlideTimeShift:!1,cycles:-1,forceCycles:!0,twoWaySlideshow:!1,shuffleSlideshow:!1,forceLayersOutDuration:750,slideDuration:!1,slideDurationWithoutLayers:3e3,slideTransitionDuration:!1,slideTimeShift:0,skin:"v6",skinsPath:"/layerslider/skins/",globalBGColor:"transparent",globalBGImage:!1,globalBGRepeat:"no-repeat",globalBGAttachment:"scroll",globalBGSize:"auto",globalBGPosition:"50% 50%",marginTop:!1,marginBottom:!1,navPrevNext:!0,navStartStop:!0,navButtons:!0,keybNav:!0,touchNav:!0,hoverPrevNext:!0,hoverBottomNav:!1,showBarTimer:!1,showCircleTimer:!0,showSlideBarTimer:!1,thumbnailNavigation:"hover",tnFillMode:"contain",tnContainerWidth:"60%",tnWidth:100,tnHeight:60,tnActiveOpacity:35,tnInactiveOpacity:100,scrollModifier:0,autoPlayVideos:!0,autoPauseSlideshow:"auto",youtubePreview:"maxresdefault.jpg",rememberUnmuteState:!0,parallaxCenterDegree:40,parallaxSensitivity:10,parallaxCenterLayers:"center",parallaxScrollReverse:!1,scrollCenterLayers:"center",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: "+s+") 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){r.defaults.slide.options.plugins||(r.defaults.slide.options.plugins={}),r.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")||{}
41,s={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:!(!r.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,sizeexcludeborder:!1,sizeexcludepadding:!1},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 Math.max(this.transitioninend,this.loopend,this.autoparallaxend)},textinandloopend:function(e){return Math.max(this.textinend,this.loopend,this.autoparallaxend)},allinandloopend:function(e){return Math.max(this.allinend(),this.loopend,this.autoparallaxend)},textoutstart:0,textoutend:0,textoutandloopend:function(e){return Math.max(this.textoutend,this.loopend,this.autoparallaxend)},transitionoutstart:function(e){return Math.max(this.allinandloopend(),this.textoutend,this.autoparallaxend)},transitionoutend:0,alloutend:function(e){return Math.max(this.transitionoutend,this.textoutend,this.allinend())},alloutandloopend:function(e){return Math.max(this.transitionoutend,this.textoutandloopend(),this.allinend())},staticfrom:!1,staticto:!1},transitionProperties:{in:{enabled:!0,layerFrom:{autoCSS:!1,immediateRender:!1,css:{opacity:0}},layerTo:{autoCSS:!1,onStart:function(){r.transitions.layers.in.onStart(e)},onComplete:function(){r.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(){r.transitions.layers.out.onStart(e)},onComplete:function(){r.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:"pol
41ygon(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:s.is,should:s.should,elements:s.elements,settings:s.settings,styleSettings:s.styleSettings,mediaSettings:s.mediaSettings,mediaProperties:s.mediaProperties,timeline:s.timeline,in:s.transitionProperties.in,inLayerFrom:s.transitionProperties.in.layerFrom,inLayerFromCSS:s.transitionProperties.in.layerFrom.css,inLayerStyleFrom:s.transitionProperties.in.layerStyleFrom,inLayerStyleFromCSS:s.transitionProperties.in.layerStyleFrom.css,inClipFrom:s.transitionProperties.in.clipFrom,inClipFromCSS:s.transitionProperties.in.clipFrom.css,inLayerTo:s.transitionProperties.in.layerTo,inLayerToCSS:s.transitionProperties.in.layerTo.css,inLayerStyleTo:s.transitionProperties.in.layerStyleTo,inLayerStyleToCSS:s.transitionProperties.in.layerStyleTo.css,inClipTo:s.transitionProperties.clip.style,inClipToCSS:s.transitionProperties.clip.style.css,inLayerShouldBeConverted:s.transitionProperties.in.layerShouldBeConverted,inLayerStyleShouldBeConvertedFrom:s.transitionProperties.in.layerStyleShouldBeConvertedFrom,inLayerStyleShouldBeConvertedTo:s.transitionProperties.in.layerStyleShouldBeConvertedTo,textIn:s.transitionProperties.textIn,textInLayerStyle:s.transitionProperties.textIn.layerStyle,textInNodesFrom:s.transitionProperties.textIn.nodesFrom,textInNodesTo:s.transitionProperties.textIn.nodesTo,textInNodesToCSS:s.transitionProperties.textIn.nodesTo.css,textInShouldBeConverted:s.transitionProperties.textIn.shouldBeConverted,out:s.transitionProperties.out,outLayerFrom:s.transitionProperties.out.layerFrom,outLayerFromCSS:s.transitionProperties.out.layerFrom.css,outLayerStyleFrom:s.transitionProperties.out.layerStyleFrom,outLayerStyleFromCSS:s.transitionProperties.out.layerStyleFrom.css,outClipFrom:s.transitionProperties.clip.style,outClipFromCSS:s.transitionProperties.clip.style.css,outLayerTo:s.transitionProperties.out.layerTo,outLayerToCSS:s.transitionProperties.out.layerTo.css,outLayerStyleTo:s.transitionProperties.out.layerStyleTo,outLayerStyleToCSS:s.transitionProperties.out.layerStyleTo.css,outClipTo:s.transitionProperties.out.clipTo,outClipToCSS:s.transitionProperties.out.clipTo.css,outLayerShouldBeConverted:s.transitionProperties.out.layerShouldBeConverted,outLayerStyleShouldBeConvertedFrom:s.transitionProperties.out.layerStyleShouldBeConvertedFrom,outLayerStyleShouldBeConvertedTo:s.transitionProperties.out.layerStyleShouldBeConvertedTo,textOut:s.transitionProperties.textOut,textOutLayerStyle:s.transitionProperties.textOut.layerStyle,textOutNodesFrom:s.transitionProperties.textOut.nodesFrom,textOutNodesTo:s.transitionProperties.textOut.nodesTo,textOutShouldBeConverted:s.transitionProperties.textOut.shouldBeConverted,loop:s.transitionProperties.loop,loopInitial:s.transitionProperties.loop.initial,loopInitialCSS:s.transitionProperties.loop.initial.css,loopClipFrom:s.transitionProperties.clip.style,loopClipFromCSS:s.transitionProperties.clip.style.css,loopTo:s.transitionProperties.loop.to,loopToCSS:s.transitionProperties.loop.to.css,loopClipTo:s.transitionProperties.loop.clipTo,loopClipToCSS:s.transitionProperties.loop.clipTo.css,loopLayerShouldBeConverted:s.transitionProperties.loop.layerShouldBeConverted,loopTimingsShouldBeConverted:s.transitionProperties.loop.timingsShouldBeConverted,hover:s.transitionProperties.hover,hoverFrom:s.transitionProperties.hover.from,hoverFromCSS:s.transitionProperties.hover.from.css,hoverTo:s.transitionProperties.hover.to,hoverToCSS:s.transitionProperties.hover.to.css,hoverShouldBeConverted:s.transitionProperties.hover.shouldBeConverted,parallax:s.transitionProperties.parallax,scroll:s.transitionProperties.scroll,scrollShouldBeConverted:s.transitionProperties.scroll.
41shouldBeConverted,kenBurns:s.transitionProperties.kenBurns,clip:s.transitionProperties.clip,filter:s.transitionProperties.filter,transformPerspective:s.transitionProperties.transformPerspective,init:s.transitionProperties.init,reset:s.transitionProperties.reset,countdownSettings:i,counterSettings:a,timelines:{},randomValues:{}}}}},r.slides={count:0,first:{},last:{},prev:{},current:{},next:{},init:function(){if(!document.body.contains(t))return!1;for(var a=i.find("> .ls-layer, > .ls-slide"),s=0,o=r.defaults.slide.keys,n=0,l=a.length;n<l;n++){var d=e(a[n]),c=d[0].style,p=e.extend(!0,{},r.defaults.slide.options),u=!1;if(r.slides.count++,d.removeClass("ls-layer").addClass("ls-slide").css({width:r.slider.initial.originalWidth,height:r.slider.initial.originalHeight}).appendTo(r.slider.$hiddenWrapper),d.data("ls"))for(var m=d.data("ls").split(";"),h=0;h<m.length;h++){var f,g,y=m[h].split(":");y[0]=e.trim(y[0].toLowerCase()),y[1]=e.trim(y[1]),-1==["thumbnail"].indexOf(y[0])&&(y[1]=y[1].toLowerCase()),""!==y[0]&&(void 0!==o[y[0]]?(f=void 0===o[y[0]][1]?y[0]:o[y[0]][1],g=r.functions.convert.properties(y[1]),f.match(/(duration|delay|wait|timeshift)/i)&&e.isNumeric(g)&&(g/=1e3),p[o[y[0]][0]]||(p[o[y[0]][0]]={}),p[o[y[0]][0]][f]=g):p.data[y[0]]=y[1])}if(p.plugins&&!e.isEmptyObject(p.plugins))for(var v in p.plugins)if(d.data("ls-plugin-"+v)){var x=d.data("ls-plugin-"+v).toLowerCase().split(";"),S={};for(var w in p.plugins[v])S[w.toLowerCase()]=w;for(var b=0;b<x.length;b++){var T,k=x[b].split(":");k[0]=e.trim(k[0]),""!==k[0]&&(T=r.functions.convert.properties(e.trim(k[1])),-1===k[0].indexOf("duration")&&-1===k[0].indexOf("delay")||(T/=1e3),S[k[0]]?p.plugins[v][S[k[0]]]=T:p.plugins[v][k[0]]=T)}}else delete p.plugins[v];d.children("a.ls-link").length&&(p.data.$link=d.children("a.ls-link").first().css({zIndex:5}).attr("data-ls-slide-link",s+1).appendTo(r.slider.$layersWrapper),r.layers.set.smartLinks(p.data.$link)),p.data.$backgroundVideo=d.children('[data-ls*="backgroundvideo"]').first(),p.data.$backgroundVideo.find("iframe, video, audio").length?p.data.HTMLVideoElement=p.data.$backgroundVideo.find("video")[0]||!1:p.data.$backgroundVideo=e(),p.data.$backgroundVideo.length&&(null!==p.data.$backgroundVideo.attr("data-ls").split("backgroundvideo")[1].split(";")[0].match(/(true|enabled|on|1)/i)?(p.data.$backgroundVideo.addClass("ls-bg-video").css({width:"auto",height:"auto"}).children("video, audio, iframe").css({width:"100%",height:"100%"}),p.data.$backgroundVideo.append(e('<div class="ls-bg-video-overlay"></div>'))):p.data.$backgroundVideo=!1),d.find("> .ls-bg").length&&(p.data.$background=d.find("> .ls-bg").first()),p.data.thumbnail||(d.find("> .ls-tn").length?u=d.find("> .ls-tn").first():d.find("> .ls-bg").length&&(u=d.find("> .ls-bg").first()),u?(p.data.thumbnail=r.functions.getURL(u),p.data.tnAlt=r.functions.getALT(u)):p.data.thumbnail=r.o.skinsPath+r.o.skin+"/nothumb.png"),(p.data.customtransition2d||p.data.customtransition3d)&&"undefined"==typeof layerSliderCustomTransitions&&(delete p.data.customtransition2d,delete p.data.customtransition3d,r.debugMode&&r.debug.add("warn","sliderInit.customTransitions",s+1)),"visible"===c.overflow&&(p.data.overflow="visible"),p.data.$background||!p.data.backgroundColor||p.data.$backgroundVideo&&p.data.$backgroundVideo.length||(p.data.$background=e("<img>").addClass("ls-bg").attr("src",r.defaults.init.emptyIMG).appendTo(d)),p.data.backgroundColor&&-1!==p.data.backgroundColor.indexOf("gradient")?p.data.backgroundGradient=p.data.backgroundColor:p.data.backgroundColor||(p.data.backgroundColor=""===d[0].style.backgroundColor?"transparent":d[0].style.backgroundColor),r.o.silentMode&&(p.data.transitionDuration=0),r.slides[++s]={data:e.extend(!0,{},r.defaults.slide.options.data,p.data),parallax:p.parallax,scroll:p.scroll,kenBurns:p.kenBurns,filter:p.filter,lottie:p.lottie,index:s,$layers:e(),plugins:p.plugins,effectLayers:d.find("[data-ls-effects]")},r.slider.thumbnails.push(p.data.thumbnail),r.plugins.callFunctions("initSlide",{slideElement:d,slideIndex:s,slideSettings:p}),r.layers.init(d,s)}r.debugMode&&r.debug.groupEnd("sliderInit.style")}
41,set:{slideIndexes:function(){var e=r.slides;e.prev.index=e.current.index,e.current.index=e.next.index,e.next.index=r.slideshow.get.slideInSequence(r.slideshow.direction),e.set.slidesData(),r.slider.set.attributes(),r.slides.indexesCreated=!0},nextSlideIndex:function(e){var t=r.slides;t.next.index=e,t.set.slidesData()},slidesData:function(){var t=r.slides;t.prev=-1!==t.prev.index?e.extend(!0,{},t[t.prev.index]):{},t.current=-1!==t.current.index?e.extend(!0,{},t[t.current.index]):{},t.next=-1!==t.next.index?e.extend(!0,{},t[t.next.index]):{}},firstSlide:function(){var t=r.slides;if(t.first.index="random"===r.o.firstSlide?r.o.firstSlide:Math.max(r.functions.convert.properties(r.o.firstSlide,!0),1),r.o.shuffleSlideshow&&r.slides.count>2?r.o.twoWaySlideshow=!1:r.o.shuffleSlideshow=!1,t.first.index="random"==t.first.index?Math.floor(Math.random()*r.slides.count+1):t.first.index,document.location.hash){var i=r.slides.deeplink(document.location.hash,!0);i&&(r.slides.first.index=i)}t.first.index=t.first.index<1||t.first.index>r.slides.count?1:t.first.index,r.o.shuffleSlideshow&&"random"!=r.o.firstSlide&&(t.first.index=r.o.firstSlide),t[t.first.index]&&t[t.first.index].data&&(t.first.data=e.extend(!0,{},t[t.first.index].data)),r.o.playByScroll&&r.slideshow.set.normalizedSequence(),r.debugMode&&r.debug.options.firstSlide&&(t.first.index=r.debug.options.firstSlide)},actions:function(e,t){}},get:{deeplink:function(e){return e&&r.slides[e]&&r.slides[e].data&&r.slides[e].data.deeplink?r.slides[e].data.deeplink:null}},deeplink:function(e,t){for(var i=!1,a=1;a<r.slides.count+1;a++)if(r.slides[a].data.deeplink==e.substring(1)){if(i=a,t)return i;r.slideshow.changeTo(i,!0,!0)}if(!i&&t)return!1},slide:[]},r.countdown={calculateDate:function(e){var t,i=r.countdown.calculateDistance(e.date,e.repeat);switch(e.component){case"days":t=Math.floor(i/864e5);break;case"hours":t=Math.floor(i%864e5/36e5);break;case"minutes":t=Math.floor(i%36e5/6e4);break;case"seconds":t=Math.floor(i%6e4/1e3)}return t=Math.max(0,t||0),e.leadingZeros&&(t=t.toString()).length<2&&(t="0"+t),t},calculateDistance:function(e,t){var i=new Date(e),a=new Date;if(i>=a)return i.getTime()-a.getTime();switch(t){case"daily":var s=Math.ceil((a-i)/864e5);i.setDate(i.getDate()+s);break;case"weekly":var r=Math.ceil((a-i)/6048e5);i.setDate(i.getDate()+7*r);break;case"monthly":var o=12*(a.getFullYear()-i.getFullYear())+a.getMonth()-i.getMonth();i.getDate()>a.getDate()&&o--,i.setMonth(i.getMonth()+o+1);break;case"yearly":var n=a.getFullYear()-i.getFullYear();(i.getMonth()>a.getMonth()||i.getMonth()===a.getMonth()&&i.getDate()>a.getDate())&&n--,i.setFullYear(i.getFullYear()+n+1)}return i.getTime()-a.getTime()},startInterval:function(e,t){r.countdown.setLayerTimer(e,t),r.countdown.stopInterval(t),t.interval=setInterval(function(){r.countdown.setLayerTimer(e,t)},1e3)},setLayerTimer:function(e,t){e.text(this.calculateDate(t))},stopInterval:function(e){e.interval&&clearInterval(e.interval)}},r.counter={start:function(e,t){this.stop(t);var i=parseFloat(t.start),a=parseFloat(t.end),s=i>a?i:a,n=i<a?i:a,l=parseFloat(t.duration)||2e3,d=t.ease||"easeOutSine",c=parseFloat(t.step)||1,p=parseFloat(t.stepDelay)||50,u=Math.max(parseInt(i).toString().length,parseInt(a).toString().length);t.maxLength=u,"step"===t.type&&(d="linear",l=Math.abs(i-a)/c*p),isNaN(i)||isNaN(a)||(t.animationTween=o.TweenMax.to({value:i},l/1e3,{value:a,ease:d,onUpdate:function(){var i=this.target.value;"step"===t.type&&(i=Math.round(i/c)*c,i=Math.max(i,n),i=Math.min(i,s)),e.text(r.counter.applyNumberFormat(t,i))},onComplete:function(){e.text(r.counter.applyNumberFormat(t,a))}}))},applyNumberFormat:function(t,i){var a=t.dp,s=t.ds,r=t.ts;if(!e.isNumeric(i))return i;var o=parseFloat(i).toFixed(a).split("."),n=o[0],l=o[1];if(t.lz)for(var d=1;n.length<t.maxLength;d++)n="0"+n;return n=n.replace(/\B(?=(\d{3})+(?!\d))/g,r),l?n+s+l:n},stop:function(e){e.animationTween&&(e.animationTween.kill(),e.animationTween=null)},setFormat:function(e,t){}},r.layers={$all:e(),getStyle:function(e,t){return-1!=e.indexOf("em")?e:-1!=e.indexOf("%")?(parseFloat(e)*t).toString():(parseFloat(e)||0).toString()},toNum:function(t,i){return i=parseFloat(i),-1!=t.indexOf("rem")?parseFloat(t)*(parseFloat(e(document.documentElement).css("font-size"))||16):-1!=t.indexOf("em")?parseFloat(t)*i:parseFloat(t)},init:function(i,a){if(!document.body.contains(t))return!1;i.find("noscript").remove();for(var s,o=i.find(".ls-bg, .ls-l, .ls-layer, .ls-lg, .ls-layer-group"),n=0,l=o.length;n<l;n++){var d=e(o[n]),c=d[0],p=d.children();if(r.plugins.callFunctions("initLayerStart",{slideElement:i,$layer:d,slideIndex:a}),d.data("slideIndex",a),d.hasClass("ls-l"))d.removeClass("ls-l").addClass("ls-layer");else if(d.hasClass("ls-lg"))d.removeClass("ls-lg").addClass("ls-layer-group");else if(!d.is(".ls-bg, .ls-layer, .ls-layer-group")){d.remove();continue}
41d.is("a")&&1===p.length&&((c=(d=d.children().first())[0]).setAttribute("data-ls",c.parentNode.getAttribute("data-ls")),c.parentNode.removeAttribute("data-ls"),d.parent().removeClass("ls-layer"),d.addClass("ls-layer")),d.is(".ls-layer-group")&&d.children().data("$layerGroup",d);var u=new r.defaults.layer.options(d,a);d.data(r.defaults.init.dataKey,u),-1!==d.attr("class").indexOf("ls-linkto-")&&this.set.linkTo(d),u.is.counter&&(u.counterSettings.ease=r.functions.convert.easing(u.counterSettings.ease)),d.parent().is("a")?(d.parent().data("slideIndex")&&d.data("slideIndex",d.parent().data("slideIndex")),s=d.parent(),this.set.smartLinks(s)):s=d,s.attr("data-ls-actions")&&this.set.actions(s,JSON.parse(s.attr("data-ls-actions"))||{}),r.plugins.callFunctions("initLayerEnd",{slideElement:i,$layer:d,layerData:u,slideIndex:a}),u.is.lottie&&r.transitions.lottie.init(d,u),r.slides[a].$layers=r.slides[a].$layers.add(s)}},set:{mirrorTransitions:function(e){return e=e.split(" ")},actions:function(t,i){e.each(i,function(i,a){var s=e.extend(!0,{},a),o=s.trigger;t.on(o,function(e){setTimeout(function(e){r.actions.do(e)},s.delay||0,s)})})},smartLinks:function(t){var i=t.attr("href"),a=t.attr("target"),n="";if(a&&-1!==a.indexOf("ls-scroll")){switch(i){case"pagetop":n="Scroll to page top";break;case"pagebottom":n="Scroll to page bottom";break;case"slidertop":n="Scroll to the top of the slider";break;case"":case"sliderbottom":n="Scroll to the bottom of the slider";break;default:n="Scroll to a specified location on the page"}r.layers.set.ariaLabel(t,n),t.on("click."+s,function(t){t.preventDefault();var a,s=document.body.scrollHeight-l.viewport.height;if(i)switch(i){case"pagetop":a=0;break;case"pagebottom":a=s;break;case"slidertop":a=r.slider.offset.top;break;case"":case"sliderbottom":a=r.slider.offset.top+r.slider.height;break;default:a=e(i).filter(":visible").last().length?e(i).filter(":visible").last().offset().top:r.slider.offset.top+r.slider.height}a+=r.o.scrollModifier,a=Math.min(a,s),a=Math.max(0,a),o.TweenMax.to("html, body",1,{scrollTop:a,ease:o.Quint.easeInOut})})}if(-1!==r.defaults.init.controls.indexOf(i.toLowerCase())||i.match(/^#[0-9]/)){var d=e.trim(i.toLowerCase().split("#")[1]),c=parseInt(d);switch(d){case"playmedia":n="play active media elements on current slide";break;case"pausemedia":n="pause active media elements on current slide";break;case"prev":n="jump to the previous slide";break;case"next":n="jump to the next slide";break;case"start":n="start slideshow";break;case"stop":n="stop slideshow";break;case"replay":n="replay slide";break;case"reverse":n="reverse slide";break;case"reverse-replay":case"reversereplay":n="reverse, than replay slide";break;default:"number"==typeof c&&c==c&&(n="jump to slide "+c)}r.layers.set.ariaLabel(t,n),t.on("click."+s,function(e){if(e.preventDefault(),-1!==["prev","next","last","first","start","stop"].indexOf(d))r.navigation[d]("clicked");else if("number"==typeof c&&c==c)r.slideshow.changeTo(c,!0,!0);else if(!r.slider.state.changingSlides)switch(d){case"replay":r.api.methods("replay");break;case"reverse":r.api.methods("reverse");break;case"reverse-replay":case"reversereplay":r.api.methods("reverse",!0);break;case"playmedia":r.media.functions.playActiveMedia();break;case"pausemedia":r.media.functions.pauseActiveMedia();break;case"unmute":case"unmutemedia":r.media.unmute.multipleMediaElements()}})}},ariaLabel:function(e,t){e.attr("aria-label")||e.attr("aria-label",t)},linkTo:function(t){for(var a=t.attr("class").split(" "),o=1,n=0;n<a.length;n++)-1!=a[n].indexOf("ls-linkto-")&&(o=parseInt(a[n].split("ls-linkto-")[1]));t.data(r.defaults.init.dataKey).settings.linkedToSlide=o,t.css({cursor:"pointer"}).on("click."+s,function(t){t.preventDefault(),i.layerSlider(e(this).data(r.defaults.init.dataKey).settings.linkedToSlide)})},wrappers:function(e,t,i){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(r.defaults.init.dataKey,{}),t.settings.wrapperData=t.elements.$wrapper.data(r.defaults.init.dataKey),t.elements.$clipWrapper=e.closest(".ls-clip"),t.elements.$clipWrapper.data(r.defaults.init.dataKey,{}),t.settings.clipWrapperData=t.elements.$clipWrapper.data(r.defaults.init.dataKey),t.elements.$loopWrapper=e.closest(".ls-loop"),t.elements.$loopWrapper.data(r.defaults.init.dataKey,{}),t.settings.loopWrapperData=t.elements.$loopWrapper.data(r.defaults.init.dataKey)),t.parallax.enabled&&(t.elements.$parallaxWrapper=e.closest(".ls-parallax"),t.elements.$parallaxWrapper.data(r.defaults.init.dataKey,{parallax:{}}),t.settings.parallaxWrapperData=t.elements.$parallaxWrapper.data(r.defaults.init.dataKey),r.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(r.defaults.init.dataKey,{scroll:{}}),t.settings.scrollWrapperData=t.elements.$scrollWrapper.data(r.defaults.init.dataKey),r.transitions.layers.scroll.addLayer(t.elements.$scrollWrapper,t.settings.scrollWrapperData.scroll,t,i)),t.hover.enabled&&(!r.
41slides[i].data.globalhover||t.hover.skipGlobal&&r.slides[i].data.globalhover)&&r.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(r.defaults.init.dataKey);r.plugins.callFunctions("wrapSingleLayerBeforeStyle",{$layer:e,layerData:i,slideIndex:t}),r.layers.set.style(e),r.plugins.callFunctions("wrapSingleLayerBeforeProperties",{$layer:e,layerData:i,slideIndex:t}),r.layers.set.properties(e,t),r.layers.set.dataAttribute("add",e,"hidden"),r.plugins.callFunctions("wrapSingleLayerEnd",{$layer:e,layerData:i,slideIndex:t}),e.data("hasBeenSet",!0)},style:function(t){var i,a,s,o,n,l,d,c,p,u,m,h,f,g,y,v,x,S,w,b,T,k,C,O,P,I,L=t[0],_=t.data(r.defaults.init.dataKey),M=L.style,F=r.layers,$=null,W=null,B=null,D=null,z=0,A=0,N=!1,V=parseFloat(L.style.fontSize)||36,R=L.getBoundingClientRect(),E=t.is("img, picture")?1:window.LS_previewZoom||1;if(u=""!==M.paddingLeft?F.getStyle(M.paddingLeft,r.slider.initial.percW):F.getStyle(t.css("padding-left"),r.slider.initial.percW),h=""!==M.paddingRight?F.getStyle(M.paddingRight,r.slider.initial.percW):F.getStyle(t.css("padding-right"),r.slider.initial.percW),m=""!==M.paddingTop?F.getStyle(M.paddingTop,r.slider.initial.percH):F.getStyle(t.css("padding-top"),r.slider.initial.percH),f=""!==M.paddingBottom?F.getStyle(M.paddingBottom,r.slider.initial.percH):F.getStyle(t.css("padding-bottom"),r.slider.initial.percH),g=""!==M.marginLeft?F.getStyle(M.marginLeft,r.slider.initial.percW):F.getStyle(t.css("margin-left"),r.slider.initial.percW),v=""!==M.marginRight?F.getStyle(M.marginRight,r.slider.initial.percW):F.getStyle(t.css("margin-right"),r.slider.initial.percW),y=""!==M.marginTop?F.getStyle(M.marginTop,r.slider.initial.percH):F.getStyle(t.css("margin-top"),r.slider.initial.percH),x=""!==M.marginBottom?F.getStyle(M.marginBottom,r.slider.initial.percH):F.getStyle(t.css("margin-bottom"),r.slider.initial.percH),L.style.margin="0",w=""!==M.borderLeftWidth?F.getStyle(M.borderLeftWidth,r.slider.initial.percW):F.getStyle(t.css("border-left-width"),r.slider.initial.percW),T=""!==M.borderRightWidth?F.getStyle(M.borderRightWidth,r.slider.initial.percW):F.getStyle(t.css("border-right-width"),r.slider.initial.percW),b=""!==M.borderTopWidth?F.getStyle(M.borderTopWidth,r.slider.initial.percH):F.getStyle(t.css("border-top-width"),r.slider.initial.percH),k=""!==M.borderBottomWidth?F.getStyle(M.borderBottomWidth,r.slider.initial.percH):F.getStyle(t.css("border-bottom-width"),r.slider.initial.percH),1===r.media.properties.$allMediaLayers.filter(t).length||t.children("iframe").length){var H=t.children(),Y=H.attr("width")?H.attr("width"):H.width(),X=H.attr("height")?H.attr("height"):H.height();300===parseInt(Y)&&150===parseInt(X)&&(Y=640,X=360),""!==L.style.width&&"auto"!==L.style.width||t.css("width",Y),""!==L.style.height&&"auto"!==L.style.height||t.css("height",X),"100%"===M.width&&"100%"===M.height&&(M.left="50%",M.top="50%"),N=Y/X,H.css({width:"100%",height:"100%"})}var G=_.attributes;if(t.is("img, picture")){var j=t.is("img")?t:t.find("img");C=(o=j.data("preloadedWidth"))/(n=j.data("preloadedHeight")),(!M.width&&!M.height||"auto"===M.width&&"auto"===M.height)&&G&&(G.width&&G.height?(-1===G.width.indexOf("%")?a=parseInt(G.width):(z=parseInt(G.width),a=F.getStyle(G.width,r.slider.initial.percW)),-1===G.height.indexOf("%")?s=parseInt(G.height):(A=parseInt(G.height),s=F.getStyle(G.height,r.slider.initial.percH))):G.maxWidth&&(t[0].style.width=G.maxWidth+"px",a=G.maxWidth,s=t.height()))}P=R.width?R.width/E:(R.right-R.left)/E,I=R.height?R.height/E:(R.bottom-R.top)/E,a||(a=M.width,-1!==M.width.indexOf("%")&&(z=parseInt(M.width)),a=(a=""!==a&&"auto"!==a?F.getStyle(a,r.slider.initial.percW):P-r.layers.toNum(u,V)-r.layers.toNum(h,V)-r.layers.toNum(w,V)-r.layers.toNum(T,V))||"auto"),s||(s=M.height,-1!==M.height.indexOf("%")&&(A=parseInt(M.height)),s=(s=""!==s&&"auto"!==s?F.getStyle(s,r.slider.initial.percH):I-r.layers.toNum(m,V)-r.layers.toNum(f,V)-r.layers.toNum(b,V)-r.layers.toNum(k,V))||"auto"),0===parseInt(s)&&(t.addClass("ls-force-height-auto"),parseInt(L.getBoundingClientRect().height),t.removeClass("ls-force-height-auto")),O=N||("auto"!==a&&"auto"!==s?a/s:"auto"),!t.is("img, picture")||M.width||M.height||G&&(!G||G.width||G.height)||o===a&&n===s||(o!==a?s=(a=o>5?o:a)/(O=o>5?C:O):n!==s&&(a=(s=n>5?n:s)*(O=n>5?C:O))),(i=M.clipPath||M.clip||!1)&&(_.clip.style.css.clipPath=i,_.clip.userDefined=!0,M.clip="",M.clipPath=""),S=M.webkitFilter||M.filter;M.minWidth&&""!==M.minWidth&&(-1!==M.minWidth.indexOf("%")&&(l=parseInt(M.minWidth)),$=-1!==M.minWidth.indexOf("em")?M.minWidth:parseFloat(M.minWidth)),M.minHeight&&""!==M.minHeight&&(-1!==M.minHeight.indexOf("%")&&(d=parseInt(M.minHeight)),W=-1!==M.minHeight.indexOf("em")?M.minHeight:parseFloat(M.minHeight)),M.maxWidth&&""!==M.maxWidth&&(-1!==M.maxWidth.indexOf("%")&&(c=parseInt(M.maxWidth)),B=-1!==M.maxWidth.indexOf("em")?M.maxWidth:parseFloat(M.maxWidth)),M.maxHeight&&""!==M.maxHeight&&(-1!==M.maxHeight.indexOf("%")&&(p=parseInt(M.maxHeight)),D=-1!==M.maxHeight.indexOf("em")?M.maxHeight:parseFloat(M.maxHeight)),a="auto"===a?"auto":parseFloat(a),s="auto"===s?"auto":parseFloat(s),_.original={clip:i,left:M.left?M.left:"0",top:M.top?M.top:"0",width:a,height:s,minWidth:$,minHeight:W,maxWidth:B,maxHeight:D,sWidth:M.width,sHeight:M.height,percentWidth:z,percentHeight:A,percentMinWidth:l||null,percentMinHeight:d||null,percentMaxWidth:c||null,percentMaxHeight:p||null,backgroundImage:M.backgroundImage,backgroundSize:M.backgroundSize||"cover",backgroundRepeat:M.backgroundRepeat,backgroundPosition:M.backgroundPosition,ratio:O,paddingLeft:u,paddingTop:m,paddingRight:h,paddingBottom:f,marginLeft:g,marginRight:v,marginTop:y,marginBottom:x,borderLeftWidth:w,borderTopWidth:b,borderRightWidth:T,borderBottomWidth:k,borderRadius:function(t,i){var a=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],s="";return i.borderRadius&&(-1===i.borderRadius.indexOf("/")?e.each(["border-top-left-radius","border-top-right-radius","border-bottom-right-radius","border-bottom-left-radius"],function(r,o){var n=i[a[r]],l=t.css(o),d=e.trim(void 0!==n&&n.length?n:l);-1==d.indexOf(" ")&&-1==d.indexOf("em")&&-1==d.indexOf("%")&&(d=parseInt(d)),s+=d+" "}):s=i.borderRadius),e.trim(s)}(t,M),fontSize:V,lineHeight:L.style.lineHeight,letterSpacing:L.style.letterSpacing,textStrokeWidth:L.style.textStrokeWidth||L.style.webkitTextStrokeWidth,color:t.css("color"),boxShadow:L.style.boxShadow,textShadow:L.style.textShadow,zIndex:parseInt(t.css("z-index"))||"auto",filter:S,backgroundColor:t.css("background-color"),dataLS:t.attr("data-ls")||"",styles:t.attr("style")||""},M.width&&"auto"!==M.width||(_.original.autoWidth=!0),M.height&&"auto"!==M.height||(_.original.autoHeight=!0),M.zIndex="auto",_.responsive={left:M.left?parseInt(M.left):0,top:M.top?parseInt(M.top):0,width:a,height:s},t.is("picture")&&t.css({width:_.original.width,height:_.original.height}),r.plugins.callFunctions("setLayerStyleEnd",{$layer:t,layerData:_})},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(t,i,a){i||(i=t.data("slideIndex"));var s,n=t.data(r.defaults.init.dataKey);if(n.is.textLayer=!(t.is("img, picture")||n.is.mediaLayer||n.is.backgroundVideo),n.self=t,r.plugins.callFunctions("setLayerPropertiesBeforeParsingDataLS",{$layer:t,layerData:n,slideIndex:i}),t.data("ls")){for(var d,c=r.defaults.layer.keys,p=t.data("ls").split(";"),u={},m=0;m<p.length;m++)if(e.trim(p[m])){var h=p[m].indexOf(":"),f=p[m].substring(0,h).trim();d=p[m].substring(h+1).trim(),f&&(u[f]=d)}for(var g in p=null,u=this.parseScaleProperties(u)){var y=null,v=null,x=null,S=null,w=!1,b=!1,T=!1,k=!1,C=!1;if(f=g.toLowerCase(),d=u[g],-1==["thumbnail","poster"].indexOf(f)&&(d=d.toLowerCase()),(f=f.replace("split","text")).match(/(duration|startat|shift|delay)/i)&&("string"==typeof d&&-1!==d.indexOf("ms")&&(d=d.replace(/ms/g,"")),C=!0),/^text/.test(f)&&(b=!0),/^loop/.test(f)&&(T=!0,-1!==d.indexOf(r.defaults.init.staggerSplitChar)&&(k=!0)),void 0!==c[f]){if(y=c[f][0],S=d,"overlay"===f||k||(S=r.functions.convert.properties(d,!1,y,t,n)),-1!==f.indexOf("mirror")&&(S=r.layers.set.mirrorTransitions(d)),!d||!/random/.test(d)&&d.charAt(0)!==r.defaults.init.openingBracket||/parallax/.test(f)||(w=!0),w&&(b||T||/offset/.test(f)||(S=r.functions.convert.randomProperties(S,y,null,t,n)),n.should.update||(n.should.update=!0)),"number"==typeof S&&(y.match(/(duration|shift|delay|wait)/i)&&!T||-1!==y.toLowerCase().indexOf("startat"))&&(S/=1e3),f.match(/(fade)(.+)/))switch(S){case!0:S=0;break;case!1:S=1}void 0!==(x=c[f][1])?""!==S?"object"==typeof S&&-1==f.indexOf("mirror")?f.match(/(text)/)?x.match(/(converted)/i)?n[x][y]=S:n[x].cycle[y]=S:(v=r.functions.convert.properties(e.trim(S[0])),r.debugMode&&r.debug.add("warn","layerInit.prop1",[f,S,v]),"number"==typeof v&&C&&(v/=1e3),n[x][y]=v):b&&w?n[x].random[y]=S:n[x][y]=S:r.debugMode&&r.debug.add("warn","layerInit.prop2",f):n[y][f]=S}else"clip"===f?(n.original.clip=d,n.clip.style.css.clipPath=d):r.debugMode&&r.debug.add("warn","layerInit.prop4",f)}}if(r.plugins.callFunctions("setLayerPropertiesAfterParsingDataLS",{$layer:t,layerData:n,slideIndex:i}),r.browser.isOld&&(n.in.enabled=!0,n.textIn.enabled=!1,n.textOut.enabled=!1,n.textIn.type=null,n.textOut.type=null),n.in.enabled&&(n.inLayerTo.ease=n.inLayerStyleTo.ease=n.inClipTo.ease=r.functions.convert.easing(n.in.ease)),void 0!==n.inLayerStyleShouldBeConvertedFrom.borderRadius&&(n.inLayerStyleShouldBeConvertedTo.borderRadius=n.original.borderRadius),void 0!==n.outLayerStyleShouldBeConvertedTo.borderRadius&&(n.outLayerStyleShouldBeConvertedFrom.borderRadius=n.original.borderRadius),n.inLayerStyleFromCSS.backgroundColor&&(n.inLayerStyleToCSS.backgroundColor=n.original.backgroundColor),n.outLayerStyleToCSS.backgroundColor&&(n.outLayerStyleFromCSS.backgroundColor=n.original.backgroundColor),n.inLayerStyleFromCSS.color&&(n.inLayerStyleToCSS.color=n.original.color),n.outLayerStyleToCSS.color&&(n.outLayerStyleFromCSS.color=n.original.color),void 0!==n.inLayerStyleShouldBeConvertedFrom.width&&(n.inLayerStyleShouldBeConvertedTo.width=n.original.width),void 0!==n.outLayerStyleShouldBeConvertedTo.width&&(n.outLayerStyleShouldBeConvertedFrom.width=n.original.width),void 0!==n.inLayerStyleShouldBeConvertedFrom.height&&(n.inLayerStyleShouldBeConvertedTo.height=n.original.height),void 0!==n.outLayerStyleShouldBeConvertedTo.height&&(n.outLayerStyleShouldBeConvertedFrom.height=n.original.height),void 0!==n.out.showUntil&&0!==n.out.showUntil&&(n.out.startAt="transitioninend + "+n.out.showUntil),-1!==n.out.startAt.indexOf("slidechangeonly")&&"slidechangeonly"
41!==n.out.startAt&&(n.out.startAt="slidechangeonly"),n.out.enabled&&(n.outLayerTo.ease=n.outLayerStyleTo.ease=n.outClipTo.ease=r.functions.convert.easing(n.out.ease)),e.isNumeric(n.loop.count)&&(n.loop.count>0||-1===n.loop.count)&&!1!==n.loop.enabled?(n.loop.enabled=!0,n.loopTo.ease=n.loopClipTo.ease=r.functions.convert.easing(n.loop.ease)):n.loop.enabled=!1,(!e.isEmptyObject(n.hoverToCSS)||n.hoverShouldBeConverted.x||n.hoverShouldBeConverted.y||n.hoverShouldBeConverted.borderRadius||n.hoverShouldBeConverted.filter)&&!1!==n.hover.enabled?(n.hover.enabled=!0,n.hover.easeOut||(n.hover.easeOut=n.hover.easeIn),n.hover.easeIn=r.functions.convert.easing(n.hover.easeIn),n.hover.easeOut=r.functions.convert.easing(n.hover.easeOut,!0),n.hover.durationOut||(n.hover.durationOut=n.hover.durationIn),o.TweenMax.set(t[0],{autoCSS:!1,css:{transformPerspective:n.hoverShouldBeConverted.transformPerspective}})):n.hover.enabled=!1,n.hover.skipGlobal&&t.attr("data-ls-skipglobalhover",""),"level"in n.parallax&&e.isNumeric(n.parallax.level)&&n.parallax.enabled?("cursor"!==n.parallax.event&&n.parallax.event||!n.parallax.reset||t.attr("data-ls-parallax-reset",""),n.parallax.enabled=!0):n.parallax.enabled=!1,n.is.slideBackground){var O={scale:1,rotation:0};if(r.slides[i].kenBurns.zoom&&(n.kenBurns=r.slides[i].kenBurns),n.kenBurns.zoom){switch(n.kenBurns.from={},n.kenBurns.to={},n.kenBurns.zoom){case"out":n.kenBurns.from.scale=n.kenBurns.scale||1,n.kenBurns.from.rotation=n.kenBurns.rotation||0,n.kenBurns.to=O;break;case"in":n.kenBurns.from=O,n.kenBurns.to.scale=n.kenBurns.scale||1,n.kenBurns.to.rotation=n.kenBurns.rotation||0}delete n.kenBurns.scale,delete n.kenBurns.rotation}else n.kenBurns.from=O,n.kenBurns.to=O;e.isEmptyObject(r.slides[i].filter)||(r.slides[i].filter.from&&(n.filter.values.bgFrom=r.transitions.layers.filters.convert(r.slides[i].filter.from)),r.slides[i].filter.to&&(n.filter.values.bgTo=r.transitions.layers.filters.convert(r.slides[i].filter.to)))}if(n.textIn.type&&-1===r.defaults.layer.splitTypeKeys.indexOf(n.textIn.type)&&(r.debugMode&&r.debug.add("warn","layerInit.splitType3a",[t[0].tagName,n.textIn.type]),delete n.textIn.type,delete n.textIn.ns,n.textIn.enabled=!1),n.textOut.type&&-1===r.defaults.layer.splitTypeKeys.indexOf(n.textOut.type)&&(r.debugMode&&r.debug.add("warn","layerInit.splitType3b",[t[0].tagName,n.textOut.type]),delete n.textOut.type,delete n.textOut.ns,n.textOut.enabled=!1),n.textIn.enabled&&!n.textIn.type&&(n.textIn.type="chars_asc"),n.textOut.enabled&&!n.textOut.type&&(n.textOut.type="chars_desc"),n.textIn.type||n.textOut.type){var P=0;if(n.is.textLayer?(n.inLayerToCSS.rotation||(n.inLayerToCSS.rotation=1e-6),n.textIn.type&&(n.textIn.enabled=!0,n.textInNodesTo.ease=r.functions.convert.easing(n.textInNodesTo.ease),n.textIn.split=n.textIn.type.split("_")[0],t.children().length&&r.debugMode&&(P=1)),n.textOut.type&&!r.o.inLayerPreview&&(n.textOut.enabled=!0),n.textOut.enabled&&(n.textOutNodesTo.ease=r.functions.convert.easing(n.textOutNodesTo.ease)),n.textOut.enabled&&n.textOut.type.split("_")[0]!==n.textIn.split&&(n.textIn.split+=", "+n.textOut.type.split("_")[0],t.children().length&&r.debugMode&&(P=1)),-1!==n.textIn.split.indexOf("chars")&&-1===n.textIn.split.indexOf("words")&&(n.textIn.split+=", words"),-1!==n.textIn.split.indexOf("words")&&-1===n.textIn.split.indexOf("lines")&&(n.textIn.split+=", lines")):(delete n.textIn.type,delete n.textOut.type,delete n.textIn.ns,delete n.textOut.ns,r.debugMode&&(P=2)),r.debugMode&&0!==P&&i&&!a)switch(P){case 1:r.debug.add("warn","layerInit.splitType1",[t.prop("nodeName"),i]);break;case 2:r.debug.add("warn","layerInit.splitType2",[i,t.prop("nodeName")])}}if((n.inClipFromCSS.clipPath||n.outClipToCSS.clipPath||n.loopClipToCSS.clipPath||n.clip.style.css.clipPath!==n.clip.default.css.clipPath||n.clip.userDefined)&&(n.inClipFromCSS.clipPath?"="==n.inClipFromCSS.clipPath&&(n.inClipFromCSS.clipPath=n.clip.style.css.clipPath):n.inClipFromCSS.clipPath=n.clip.default.css.clipPath,n.outClipToCSS.clipPath?"="==n.outClipToCSS.clipPath&&(n.outClipToCSS.clipPath=n.clip.style.css.clipPath):n.outClipToCSS.clipPath=n.clip.default.css.clipPath,n.clip.enabled=!0),n.textOutNodesTo.
41clipPath&&!n.textInNodesFrom.clipPath&&(n.clip.textShouldReset=!0),n.textIn.enabled&&"textmask"===n.textInLayerStyle.overflow&&t.attr("data-ls-mask-text-in",""),n.textOut.enabled&&"textmask"===n.textOutLayerStyle.overflow&&t.attr("data-ls-mask-text-out",""),n.in.enabled&&n.inLayerToCSS.hasOwnProperty("scale")&&(delete n.inLayerToCSS.scaleX,delete n.inLayerToCSS.scaleY),n.out.enabled&&n.outLayerToCSS.hasOwnProperty("scale")&&(delete n.outLayerToCSS.scaleX,delete n.outLayerToCSS.scaleY),n.inLayerStyleShouldBeConvertedFrom.filter&&(n.filter.values.in=r.transitions.layers.filters.convert(n.inLayerStyleShouldBeConvertedFrom.filter)),n.filter.values.style=r.transitions.layers.filters.convert(n.original.filter),n.outLayerStyleShouldBeConvertedTo.filter&&(n.filter.values.out=r.transitions.layers.filters.convert(n.outLayerStyleShouldBeConvertedTo.filter)),n.loopLayerShouldBeConverted.filter&&(n.filter.values.loop=r.transitions.layers.filters.convert(n.loopLayerShouldBeConverted.filter)),n.hoverShouldBeConverted.filter&&(n.filter.values.hover=r.transitions.layers.filters.convert(n.hoverShouldBeConverted.filter)),n.in.enabled||(n.in.duration=0),n.textIn.enabled||(n.textIn.duration=0),n.textOut.enabled||(n.textOut.duration=0),n.out.enabled||(n.out.duration=0),t.attr("data-ls-slidein",i),void 0!==n.settings.static&&"none"!==n.settings.static){if(0!==(s=parseInt(n.settings.static))&&"forever"!==n.settings.static?(t.attr("data-ls-slideout",s),n.settings.slideOut=s):n.settings.slideOut=0,n.is.static=!0,t.attr("data-ls-static","1"),!n.staticSlides)if(n.staticSlides=[],0===n.settings.slideOut)for(s=1;s<=r.slides.count;s++)n.staticSlides.push(s);else if(n.settings.slideIn<=n.settings.slideOut)for(s=n.settings.slideIn;s<=n.settings.slideOut;s++)n.staticSlides.push(s);else{for(s=n.settings.slideIn;s<=r.slides.count;s++)n.staticSlides.push(s);for(s=1;s<=n.settings.slideOut;s++)n.staticSlides.push(s)}}else t.attr("data-ls-slideout",i);n.is.mediaLayer&&t.children("video, audio").length&&r.media.html5.singleInit(t.children("video, audio").eq(0)),n.is.backgroundVideo&&n.styleSettings.overlay&&t.find(".ls-bg-video-overlay").css({backgroundImage:"url("+n.styleSettings.overlay+")"}),n.styleSettings.minfontsize&&(n.styleSettings.minfontsize=parseFloat(n.styleSettings.minfontsize)),n.styleSettings.minmobilefontsize&&(n.styleSettings.minmobilefontsize=parseFloat(n.styleSettings.minmobilefontsize)),r.slider.isPopup&&(n.is.pinned=!1),n.is.pinned&&(r.slider.hasPinnedLayers=!0,r.slider.$layersWrapper.is(".ls-layers-clip")||r.slider.$layersWrapper.addClass("ls-layers-clip"),!l.isMobile&&!r.browser.isSafari||r.slider.$layersWrapper.is(".ls-m-layers-clip")||r.slider.$layersWrapper.addClass("ls-m-layers-clip")),n.styleSettings.smartbg&&(t.attr("data-ls-smart-bg","").css("--bgs",n.original.backgroundSize),n.styleSettings.smartbg=n.styleSettings.smartbg.toString(),n.settings.smartbgease&&(n.settings.smartbgease=r.functions.convert.easing(n.settings.smartbgease)),n.is.smartBG=!0)},dataAttribute:function(t,i,a){var s=i.add(i.closest(".ls-wrapper.ls-z"));e.isArray(a)||(a=(a+"").split(" "));for(var r=0;r<a.length;r++)switch(t){case"remove":s.removeAttr("data-ls-"+a[r]);break;case"add":"active"===a[r]&&s.removeAttr("data-ls-hidden"),"hidden"===a[r]&&s.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===a[r].indexOf("in")&&-1===a[r].indexOf("out")||(s.removeAttr("data-ls-active"),s.removeAttr("data-ls-hidden")),"active"===a[r]&&i.is("[data-ls-animating-in], [data-ls-text-animating-in]")||"hidden"===a[r]&&i.is("[data-ls-animating-out], [data-ls-text-animating-out]")||s.attr("data-ls-"+a[r],"")}}},get:function(t){var i=this.$all;if("string"==typeof t&&(t=t.split(",")),Array.isArray(t)&&t.length){for(var a=[],s=function(e){return-1!==a.indexOf(e)},o=0;o<t.length;o++)a.push(e.trim(t[o]).toLowerCase());var n="",l=s("out")?"out":"in",d=':not(".ls-bg")',c=':not(".ls-bg-video")',p="";(s("bgvideo")||s("backgroundvideo"))&&(c=""),s("video")&&(p+=", > video"),s("audio")&&(p+=", > audio"),s("html5")&&(p+=", > video, > audio"),s("youtube")&&(p+=', > 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"]'),s("vimeo")&&(p+=', > iframe[src*="player.vimeo"], > iframe[data-src*="player.vimeo"]'),","===p.charAt(0)&&(p=p.substring(2)),(s("img")||s("image"))&&(n="img"),(s("bg")||s("background")||s("bgonly"))&&(d=""),i=s("current")?i.filter(n+"[data-ls-slide"+l+'="'+r.slides.current.index+'"]'+d+c):s("next")?i.filter(n+"[data-ls-slide"+l+'="'+r.slides.next.index+'"]'+d+c):i.filter(n+d+c),s("notactive")&&(i=i.filter(".ls-bg, .ls-bg-video, :hidden")),s("clone")&&(i=i.filter(".ls-clone")),s("active")&&(i=i.filter(':visible:not(.ls-bg, .ls-bg-video), [data-ls-static="1"]:not([data-ls-hidden])')),s("notstatic")&&(i=i.filter(':not([data-ls-static="1"])')),s("static")&&(i=i.filter('[data-ls-static="1"]')),s("bgonly")&&(i=i.filter(".ls-bg")),s("countdown")&&(i=i.filter("[data-countdown]")),s("staticin")&&(i=i.filter("[data-ls-static-in]")),s("notstaticin")&&(i=i.filter(":not([data-ls-static-in])")),s("staticout")&&(i=i.filter("[data-ls-static-out]")),s("notstaticout")&&(i=i.filter(":not([data-ls-static-out])")),""!==p&&(i=i.find(p))}return i},update:{data:function(t,i,a){var s,o,n;
41switch(t instanceof jQuery||(t=e(t)),a&&t.attr("data-ls",a).data("ls",a),s=(o=t.data(r.defaults.init.dataKey)).is.onSlide,n=o.original,i){default:case"transitions":o.settings.timelineIsCalculated=!1,r.layers.set.properties(t,s,!0);break;case"all":t.data(r.defaults.init.dataKey,new r.defaults.layer.options(t,s)),(o=t.data(r.defaults.init.dataKey)).original=n,r.layers.set.properties(t,s,!0),r.layers.set.wrappers(t,o,s)}}},wrap:function(t,a){if(!r.slides[t].wrapped&&"wrapping"!==r.slides[t].wrapped){r.slides[t].wrapped="wrapping";var s=a?25:0,n=r.slides[t].$layers,l=n.length;0===l?r.slides[t].wrapped=!0:n.each(function(a,n){r.timeouts["slide-"+t+"-layer-"+a]=setTimeout(function(){delete r.timeouts["slide-"+t+"-layer-"+a];var s,d=e(n),c=d,p="",u=!1,m="";d.hasClass("ls-hide-phone")&&(m+=" ls-hide-on-phone"),d.hasClass("ls-hide-tablet")&&(m+=" ls-hide-on-tablet"),d.hasClass("ls-hide-desktop")&&(m+=" ls-hide-on-desktop"),d.removeClass("ls-hide-phone ls-hide-tablet ls-hide-desktop"),c.is("a")&&1===c.children().length&&(u=!0,d=c.find(".ls-layer"));var h=d.data(r.defaults.init.dataKey);if(!h)return!0;if(s=d.data("$layerGroup")||r.slider.$layersWrapper,h.is.backgroundVideo?s=r.slider.$bgVideosWrapper:h.is.slideBackground?s=r.slider.$slideBGWrapper:h.is.inMask&&(r.slider.$maskWrapper.show(),s=r.slider.$maskWrapper),d.data("hasBeenSet")||r.layers.set.singleLayer(d,t),h.textIn.split){var f=new o.SplitType(d[0],{split:h.textIn.split});if(h.textIn.type&&(h.textIn.ns=f[h.textIn.type.split("_")[0]]),h.textOut.type&&(h.textOut.ns=f[h.textOut.type.split("_")[0]]),-1!==d.css("background-clip").indexOf("text")){var g=d.find(".ls-ch"),y=d.find(".ls-wd"),v=d.find(".ls-ln");
41h.textIn.$nodesForBackgroundClip=g.length?g:y.length?y:v,g.length?d.addClass("ls-has-chars"):y.length?d.addClass("ls-has-words"):d.addClass("ls-has-lines"),h.textIn.$nodesForBackgroundClip.each(function(){var t=e(this),i=e.trim(t.text()),a=document.createTextNode(i),s=e(a),r=e('<div class="ls-textnode-bgclip-wrap"><div class="ls-textnode"></div></div>').css({backgroundColor:h.original.backgroundColor,backgroundImage:h.original.backgroundImage,backgroundSize:h.original.backgroundSize,backgroundRepeat:h.original.backgroundRepeat,backgroundPosition:h.original.backgroundPosition});t.css({verticalAlign:"top"}).text(""),s.clone().appendTo(t).wrap('<div class="ls-textnode-dummy"></div>'),s.appendTo(t).wrap(r)})}}h.is.slideBackground||h.is.backgroundVideo?p='<div class="ls-wrapper ls-bg-outer"><div class="ls-wrapper ls-bg-wrap"></div></div>':(h.clip.enabled&&(p='<div class="ls-wrapper ls-clip"></div>'),h.loop.enabled&&(p='<div class="ls-wrapper ls-loop">'+p+"</div>"),h.scroll.enabled&&(p='<div class="ls-wrapper ls-scroll"><div class="ls-wrapper ls-scroll-transform">'+p+"</div></div>"),p='<div class="ls-wrapper ls-in-out" style="">'+p+"</div>"),h.parallax.enabled&&(p='<div class="ls-wrapper ls-parallax">'+p+"</div>"),""!==(p='<div class="ls-wrapper ls-z'+(h.is.pinned?" ls-pinned":"")+'">'+p+"</div>")?d.appendTo(s).wrap(p):d.appendTo(s),!0===u&&c.addClass("ls-layer-link").appendTo(d.parent());var x={},S=d.css("mix-blend-mode");S&&"normal"!==S&&(x["mix-blend-mode"]=S,d.css("mix-blend-mode","normal")),h.original.customZIndex=1;var w=parseInt(h.original.zIndex);h.is.backgroundVideo||h.is.slideBackground?x={zIndex:h.original.customZIndex}:(w||(w=a+101),x.zIndex=w,h.original.customZIndex=w),r.browser.isSafari&&(x.transform="translateZ(0)"),r.layers.set.wrappers(d,h,t),h.elements.$outerWrapper.css(x).addClass(m),h.styleSettings.pointerevents&&h.elements.$innerWrapper.css("pointer-events","none"),h.is.slideBackground&&h.elements.$bgWrapper.css({backgroundColor:r.slides[t].data.backgroundColor,backgroundImage:r.slides[t].data.backgroundGradient}),r.layers.$all=r.layers.$all.add(d),d.attr("data-ls-layer-id",r.layers.$all.length),r.slides[t].$layers=r.slides[t].$layers.not(c),a===l-1&&(i.children(".ls-slide").eq(t-1).empty(),r.slides[t].wrapped=!0),r.plugins.callFunctions("wrapLayerEnd",{$layer:d,layerData:h,slideIndex:t})},s*(a+1))})}}},r.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==r.slides.count&&e.extend(r.o,{autoStart:!1,navPrevNext:!1,navStartStop:!1,navButtons:!1,cycles:-1,forceLoopNum:!1,autoPauseSlideshow:!0,firstSlide:1,thumbnailNavigation:"disabled"}),r.o.autoStart&&1!=r.slides.count||r.functions.setStates(this,{running:!1,paused:!0}),this.set.pauseOnHover(),this.set.sequences()},set:{pauseOnHover:function(){r.o.pauseOnHover=!0===r.o.pauseOnHover?"slideshowOnly":r.o.pauseOnHover,!1!==r.o.pauseOnHover&&i.on("mouseenter."+s,function(){r.slider.state.inFullscreen||(r.functions.setStates(r.slideshow,{pausedByHover:!0}),"slideshowOnly"!==r.o.pauseOnHover&&r.transitions.layers.timeline.pause())}).on("mouseleave."+s,function(){var t=1;r.timelines._layers&&r.timelines._layers.duration()>r.transitions.layers.timeline.totalDuration&&(t=r.transitions.layers.timeline.totalDuration/r.timelines._layers.duration()),r.functions.setStates(r.slideshow,{pausedByHover:!1}),e("body").hasClass("ls-unselectable")||"slideshowOnly"===r.o.pauseOnHover||r.o.pauseLayers&&r.slideshow.isPaused()||r.transitions.layers.timeline.resume(),r.timelines._layers&&r.transitions.layers.timeline.state.finished&&r.timelines._layers.progress()<t&&r.functions.setStates(r.transitions.layers.timeline,{finished:!1}),r.slideshow.start()})},sequences:function(){for(var t=0;t<r.slides.count;t++)r.slideshow.sequence.normal[t]=t+1;r.slideshow.sequence.randomized=r.functions.shuffleArray(e.merge([],r.slideshow.sequence.normal))},normalizedSequence:function(){var e=r.o.shuffleSlideshow?"randomized":"normal",t=r.slideshow.sequence[e],i=r.slideshow.sequence[e].length,a=t.indexOf(r.slides.first.index);r.slideshow.sequence.normalized=[];for(var s=a;s<i;s++)r.slideshow.sequence.normalized.push(t[s]);for(var o=0;o<a;o++)r.slideshow.sequence.normalized.push(t[o])},prevNext:function(e){switch("prev"!==e&&"first"!==e||!r.o.twoWaySlideshow?r.slideshow.direction="next":r.slideshow.direction="prev",e){case"prev":r.slideshow.changeTo(r.slideshow.get.slideInSequence("prev"),!0);break;case"next":r.slideshow.changeTo(r.slideshow.get.slideInSequence("next"),!0);break;case"first":r.slideshow.changeTo(1,!0);break;case"last":r.slideshow.changeTo(r.slides.count,!0)}}},get:{sequence:function(){var e="normal";return r.o.playByScroll?e="normalized":r.o.shuffleSlideshow&&(e="randomized"),e},slideInSequence:function(e){var t=r.slideshow.sequence[this.sequence()],i=t.indexOf(r.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 r.slideshow.sequence[this.sequence()].indexOf(e)}},cycles:{set:function(){r.o.cycles>
410&&(r.slideshow.curCycle=1,r.slideshow.cycleSlideIndex=r.slideshow.get.indexOfSlideInSequence(r.slides.first.index))},check:function(e){if(r.slideshow.get.indexOfSlideInSequence(e)===r.slideshow.cycleSlideIndex)return++r.slideshow.curCycle===r.o.cycles+1}},start:function(e){!this.isPaused()&&r.timelines._layers&&r.transitions.layers.timeline.state.finished&&this.changeTo(r.slides.next.index)},stop:function(){r.functions.setStates(this,{running:!1,paused:!0})},changeTo:function(i,a,s,o){if(!document.body.contains(t))return!1;if(r.slides.current.index===i&&!r.slideshow.forceSlideChangeTo)return!1;if(r.slideshow.forceSlideChangeTo=null,!this.firstStart&&r.api.hasEvent("slideChangeWillStart")){var n=r.api.triggerEvent("slideChangeWillStart",r.api.eventData());if(!1===n)return;e.isNumeric(n)&&(i=parseInt(n))}i>r.slides.count||i<1?r.debugMode&&(r.debug.add("group","slideshow"),r.debug.add("warn","slideshow.invalidSlideIndex",[i,r.slides.count]),r.debug.groupEnd()):r.slider.isBusy()||r.slideshow.state.pausedByVideo&&!a?!r.slider.state.preloadingImages&&r.slider.state.animatingSlides&&r.timelines._slideTransition&&(r.slideshow.forceSlideChangeTo=i,r.slideshow.should.change=!0,r.transitions.slide.isStarted&&r.timelines._slideTransition.progress(1),o&&(r.navigation.direction=o,r.navigation.forceDirection=o)):(r.functions.setStates(r.transitions.layers.timeline,{finished:!1}),r.slideshow.should.change=!1,r.debugMode&&r.debug.add("group","slideshow"),a?(s&&(r.navigation.direction=r.slides.current.index>i?"prev":"next"),r.o.twoWaySlideshow&&("prev"===r.navigation.direction?r.slideshow.direction="prev":r.slideshow.direction="next"),r.debugMode&&(r.debug.add("log","slideshow.changedByUser",!1),r.o.twoWaySlideshow&&r.debug.add("log","slideshow.setdir",r.slideshow.direction))):r.navigation.direction=r.slideshow.direction,r.transitions.timers.reverse(),r.gui.media.hideUnmute(),r.slides.set.nextSlideIndex(i),r.debugMode&&(r.debug.add("log","slideshow.change",[r.slides.current.index,r.slides.next.index,r.slideshow.direction,r.navigation.direction]),r.debug.groupEnd()),r.functions.setStates(this,{pausedByVideo:!1,changed:++this.state.changed}),r.functions.setStates(r.slider,{changingSlides:!0}),r.slider.state.animatingSlides&&r.timelines._slideTransition&&r.timelines.to([r.timelines.slides[r.slides.current.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),r.preload.imagesOfSlide(r.slides.next.index,function(){r.transitions.start()}))},forceStop:function(){r.navigation.stop(),e.each(r.timeouts,function(e,t){clearTimeout(r.timeouts[e])}),r.transitions.timers.stop(),r.timelines._layers.stop(),r.timelines._layersAlt.stop(),r.functions.setStates(r.transitions.layers.timeline,{stopped:!0,running:!1}),i.find("*").stop(!0,!1).dequeue()},restart:function(){i.find("*").stop(),r.navigation.change(r.slides.current.index,r.slideshow.direction)}},r.media={properties:{$allMediaLayers:e(),playingInCurSlide:0,endedInCurSlide:0,userDidUnmute:!1},init:function(){r.functions.setStates(r.slider,{waitingForYouTube:!1,waitingForVimeo:!1}),r.media.properties.allowToUnmute=!0,r.media.youtube.init(),r.media.vimeo.init(),r.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=r.media.properties.$allMediaLayers;return e&&(-1!==(e=e.toLowerCase()).indexOf("notbg")&&(i=i.not(".ls-bg-video")),-1!==e.indexOf("active")&&(i=i.filter("[data-ls-active], [data-ls-animating-in], [data-ls-text-animating-in]")),-1!==e.indexOf("notstatic")&&(i=i.not("[data-ls-static]")),t=i.find("video, audio, iframe"),-1!==e.indexOf("notplaying")?t=t.filter("[data-ls-not-playing]"):-1!==e.indexOf("playing")&&(t=t.filter("[data-ls-playing]")),-1!==e.indexOf("allowtounmute")&&(t=t.filter("[data-ls-allow-to-unmute]")),-1!==e.indexOf("mutedbybrowser")&&(t=t.filter("[data-ls-muted-by-browser]"))),t},set:{backgroundVideo:function(t,i){if(0===t.children(".ls-vpcontainer").length){var a=e("<div>").addClass("ls-vpcontainer").appendTo(t);i.mediaSettings.poster&&e("<div>").appendTo(a).addClass("ls-videopreview").attr({style:"background-image: url("+i.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,""),r.media.functions.checkSlideshowWaiting(
41)},mediaElements:function(t,i,a){var s=e("<div>").addClass("ls-vpcontainer").appendTo(t);!("autoplay"in a.mediaSettings)&&r.o.autoPlayVideos||a.mediaSettings.autoplay?"instant"===a.mediaSettings.autoplay?t.addClass("ls-instant-autoplay"):t.addClass("ls-autoplay"):e("<div>").appendTo(s).addClass("ls-playvideo"),i.is("iframe")&&a.mediaProperties.poster&&e("<div>").appendTo(s).addClass("ls-videopreview").attr({style:"background-image: url("+a.mediaProperties.poster+")"}),i.is("video, audio")&&a.mediaProperties.poster&&e("<div>").appendTo(s).addClass("ls-videopreview").attr({style:"background-image: url("+a.mediaProperties.poster+")"})},properties:function(t,i,a){switch(a.is.mediaLayer=!0,a.mediaProperties.type){case"youtube":a.is.backgroundVideo?(a.mediaProperties.options=e.extend(!0,{loop:1,playlist:a.mediaProperties.embedID,controls:0,autoplay:0,showinfo:!1,modestbranding:1,thumbnail:!1},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions),r.media.set.backgroundVideo(t,a)):(a.mediaProperties.options=e.extend(!0,{},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions,{autoplay:0}),r.media.set.mediaElements(t,i,a));break;case"vimeo":a.is.backgroundVideo?(a.mediaProperties.options=e.extend(!0,{loop:1,byline:0,portrait:0,title:0,fun:0},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions),r.media.set.backgroundVideo(t,a)):(a.mediaProperties.options=e.extend(!0,{},r.media[a.mediaProperties.type].defaults,a.mediaProperties.embedOptions,{autoplay:0}),r.media.set.mediaElements(t,i,a));break;case"html5":i.attr("autoplay")&&(i.removeAttr("autoplay"),t.attr("data-ls",t.attr("data-ls")+" autoplay: true;")),a.is.backgroundVideo?(i.removeAttr("controls"),i[0].muted=!0,i.attr("loop","")):"controls"in a.mediaSettings&&"auto"!==a.mediaSettings.controls&&(a.mediaSettings.controls?(i.attr("controls",""),i.removeAttr("nocontrol
41s")):i.removeAttr("controls")),"volume"in a.mediaSettings&&(a.mediaSettings.volume<0?a.mediaSettings.volume=0:a.mediaSettings.volume>100&&(a.mediaSettings.volume=100),i[0].volume=a.mediaSettings.volume/100),"muted"in a.mediaSettings&&(a.mediaSettings.muted?i[0].muted=!0:i[0].muted=!1),"loop"in a.mediaSettings&&(a.mediaSettings.loop?i.attr("loop",""):i.removeAttr("loop")),a.is.backgroundVideo?r.media.set.backgroundVideo(t,a):r.media.set.mediaElements(t,i,a)}},thumbnail:function(e,t){switch(t){case"show":e.stop(!0,!0).fadeIn(r.transitions.media.defaults.fadeIn);break;case"hide":e.stop(!0,!0).delay(r.transitions.media.defaults.delay).fadeOut(r.transitions.media.defaults.fadeOut)}}},events:{start:function(e,t,i){if(r.api.hasEvent("mediaDidStart")&&!i.mediaProperties.alreadyStarted&&r.media.functions.allowedToPlay(e,i)){var a=r.api.eventData();a.event.target=e[0],r.api.triggerEvent("mediaDidStart",a),i.mediaProperties.alreadyStarted=!0}},stop:function(e,t,i){if(r.api.hasEvent("mediaDidStop")&&i.mediaProperties.alreadyStarted){var a=r.api.eventData();a.event.target=e[0],r.api.triggerEvent("mediaDidStop",a),i.mediaProperties.alreadyStarted=!1}}},unmute:{set:function(e,t,i){("youtube"!==t&&"vimeo"!==t||r.media.properties.allowToUnmute)&&r.gui.media.showUnmute(),e.attr("data-ls-allow-to-unmute",""),i&&e.attr("data-ls-muted-by-browser","")},multipleMediaElements:function(){var t=i.find("[data-ls-allow-to-unmute]");(r.o.rememberUnmuteState?t:t.filter("[data-ls-playing], [data-ls-muted-by-browser]")).each(function(){r.media.unmute.singleMediaElement(e(this))}),r.gui.media.hideUnmute(),r.media.properties.userDidUnmute=!0},singleMediaElement:function(e){var t,i=e.closest(".ls-layer").data(r.defaults.init.dataKey),a=!1;switch(i.mediaProperties.type){case"youtube":r.media.properties.allowToUnmute&&(a=!0,i.mediaProperties.player.unMute());break;case"vimeo":r.media.properties.allowToUnmute&&(a=!0,t=i.mediaSettings.volume?i.mediaSettings.volume/100:1,i.mediaProperties.player.setVolume(t));break;case"html5":a=!0,e[0].muted=!1}a&&e.removeAttr("data-ls-muted-by-browser data-ls-allow-to-unmute")}},functions:{allowedToPlay:function(e,t){var i=e.closest(".ls-layer");return!!(r.slides.current.index===parseInt(i.attr("data-ls-slidein"))||t.is.backgroundVideo&&r.slides.next.index===parseInt(i.attr("data-ls-slidein"))||i.attr("data-ls-static")&&void 0!==i.attr("data-ls-active"))},playActiveMedia:function(t){var i,a;r.media.get("notbg,active").each(function(){if(i=e(this).closest(".ls-layer"),a=i.data(r.defaults.init.dataKey),t){if(!a.mediaProperties.pausedByPerformance)return!0;a.mediaProperties.pausedByPerformance=!1}if(r.media.isPlayable(i,a))if(a.mediaProperties.alreadyStarted)switch(a.mediaProperties.type){case"youtube":a.mediaProperties.player.playVideo();break;case"vimeo":a.mediaProperties.player.play();break;case"html5":a.mediaProperties.$media[0].play()}else e(this).parent().find(".ls-vpcontainer").trigger("playMedia")})},stopSingleMedia:function(e,t){var i=t.mediaProperties.$media;r.media[t.mediaProperties.type].stop(e,i,t,!0),r.media.functions.mediaEnded(i,e,t,!0)},pauseActiveMedia:function(t){var i;r.media.get("notbg,active,playing").each(function(){switch(i=e(this).closest(".ls-layer").data(r.defaults.init.dataKey),t&&(i.mediaProperties.pausedByPerformance=!0),i.mediaProperties.type){case"youtube":i.mediaProperties.player.pauseVideo();break;case"vimeo":i.mediaProperties.player.pause();break;case"html5":this.pause()}})},urlToObject:function(t){var i={},a=t.split("?")[1];return a&&a.split("#")[0].replace(/([^=&]+)=([^&]*)/g,function(t,a,s){i[decodeURIComponent(a)]=e.isNumeric(decodeURIComponent(s))?parseInt(decodeURIComponent(s)):decodeURIComponent(s)}),i},checkSlideshowState:function(e,t){!t.is.static&&r.o.autoPauseSlideshow&&(r.functions.setStates(r.slideshow,{pausedByVideo:!0}),"auto"==r.o.autoPauseSlideshow&&r.media.properties.playingInCurSlide++)},checkSlideshowWaiting:function(){var t=r.media.properties.playingInCurSlide,i=r.media.get("notbg,active,notstatic,notplaying"),a=i.length;if(a===t&&a>0&&r.slideshow.state.pausedByVideo&&r.o.autoPauseSlideshow&&!r.timeouts.pausedVideos&&r.slideshow.state.running){if("hidden"===document.visibilityState)return;r.timeouts.pausedVideos=setTimeout(function(){r.slideshow.state.running?i.each(function(){r.media.functions.mediaEnded(e(this),e(this).closest(".ls-layer"),e(this).closest(".ls-layer").data(r.defaults.init.dataKey))}):r.slideshow.state.pausedByVideo=!1},5e3)}else r.timeouts.pausedVideos&&(clearTimeout(r.timeouts.pausedVideos),delete r.timeouts.pausedVideos)},playIfAllowed:function(e){var t=e.data(r.defaults.init.dataKey);t.is.mediaLayer&&(l.isMobile&&(i.hasClass("ls-device-is-phone")&&t.elements.$outerWrapper.hasClass("ls-hide-on-phone")||i.hasClass("ls-device-is-tablet")&&t.elements.$outerWrapper.hasClass("ls-hide-on-tablet"))||(!("autoplay"in t.mediaSettings)&&r.o.autoPlayVideos||t.mediaSettings.autoplay)&&e.find(".ls-vpcontainer").trigger("playMedia"))},stop:function(t,i){t=void 0===t||t;var a=!!i&&i.children("iframe, video, audio").first(),s=!!i&&i.data(r.defaults.init.dataKey).mediaProperties.type;"youtube"!==s&&a||(a||r.layers.get("current,out,youtube")).each(function(){var i=e(this),a=i.closest(".ls-layer"),s=a.data(r.defaults.init.dataKey);r.media.youtube.stop(a,i,s,t)}),"vimeo"!==s&&a||(a||r.layers.get("current,out,vimeo")).each(function(){var i=e(this),a=i.closest(".ls-layer"),s=a.data(r.defaults.init.dataKey);r.media.vimeo.stop(a,i,s,t)}),"html5"!==s&&a||(a||r.layers.get("current,out,html5")).each(function(){var i=e(this),a=i.closest(".ls-layer"),s=a.data(r.defaults.init.dataKey);r.media.html5.stop(a,i,s,t)}),r.media.properties.playingInCurSlide=Math.max(r.media.properties.playingInCurSlide-=1,0),r.media.properties.endedInCurSlide=Math.max(r.media.properties.endedInCurSlide-=1,0)},mediaEnded:function(e,t,i,a){"auto"!=r.o.autoPauseSlideshow||i.is.backgroundVideo||(i.is.static||r.media.properties.endedInCurSlide++,r.media.properties.endedInCurSlide===r.media.properties.playingInCurSlide&&0!==r.media.properties.playingInCurSlide&&(a||(r.media.properties.playingInCurSlide=Math.max(r.media.properties.playingInCurSlide-=1,0),r.media.properties.endedInCurSlide=Math.max(r.media.properties.endedInCurSlide-=1,0)),r.functions.setStates(r.slideshow,{pausedByVideo:!1}))),r.media.set.dataAttribute(e,"not-playing"),r.media.events.stop(e,t,i)},removeFromTimeline:function(e){r.timelines._layers.kill(null,e.closest(".ls-in-out")[0]),r.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 t=0;this.$medias=r.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 i=e(this).attr({id:"ls-youtube-"+ ++t,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),a=i.closest(".ls-layer");a.data("hasBeenSet")||r.layers.set.singleLayer(a);var s=a.data(r.defaults.init.dataKey),o=i.attr("src")||i.attr("data-src"),n=r.media.functions.urlToObject(o),l=(o=o.split("?")[0].split("//")[1]).split("/"),d=l[l.length-1],c=r.media.set.customPoster(a,s);if(s.mediaProperties={type:"youtube",$media:i,embedURL:o,embedID:d,embedOptions:n},c)s.mediaProperties.poster=c,r.media.set.properties(a,i,s);else{var p=["default.jpg","mqdefault.jpg","hqdefault.jpg","sddefault.jpg","maxresdefault.jpg"],u="https://img.youtube.com/vi/"+o.split("embed/")[1].split("?")[0]+"/",m=u+r.o.youtubePreview,h=0,f=0,g=function(){this.width>h&&(h=this.width,m=this.src),v()},y=function(){v()},v=function(){(f+=1)===p.length&&(s.mediaProperties.poster=m,r.media.set.properties(a,i,s))};p.forEach(function(e){var t=new Image;t.addEventListener("error",y,!1),t.addEventListener("load",g,!1),t.src=u+e})}}),this.$medias.length&&(r.media.properties.$allMediaLayers=r.media.properties.$allMediaLayers.add(this.$medias.closest(".ls-layer")),r.timeouts.loadYouTube=Math.floor(Date.now()/1e3),window.YT||e("<script>").attr({src:"https://www.youtube.com/iframe_api",type:"text/javascript"}).appendTo("head"),window.onYouTubeIframeAPIReady=function(){window._layerSlider.globals.youTubeIsReady=!0},r.intervals.isYouTubeReady=setInterval(function(){window.YT&&1===window.YT.loaded||window._layerSlider.globals.youTubeIsReady||Math.floor(Date.now()/1e3)-r.timeouts.loadYouTube>3?(clearInterval(r.intervals.isYouTubeReady),delete r.intervals.isYouTubeReady,delete r.timeouts.loadYouTube,r.media.youtube.$medias.closest(".ls-layer").each(function(){var t=e(this),i=t.find("iframe"),a=t.data(r.defaults.init.dataKey);t.on("playMedia."+s+" click."+s,".ls-vpcontainer",function(){r.media.set.thumbnail(e(this),"hide"),r.media.functions.checkSlideshowState(t,a),i.hide(),r.media.youtube.play(t,a.mediaProperties.$media,a,a.mediaProperties.embedURL),setTimeout(function(){i.show()},10)}
41).on("playBackgroundVideo."+s,function(){r.media.youtube.play(t,a.mediaProperties.$media,a,a.mediaProperties.embedURL),r.layers.set.dataAttribute("add",t,"active")}).on("stopBackgroundVideo."+s,function(){r.media.youtube.stop(t,a.mediaProperties.$media,a,!0),r.layers.set.dataAttribute("add",t,"hidden")}).on("preloadBackgroundVideo."+s,function(){r.media.youtube.createPlayer(t,a.mediaProperties.$media,a,a.mediaProperties.embedURL,!0)})}),r.functions.setStates(r.slider,{waitingForYouTube:!1})):r.functions.setStates(r.slider,{waitingForYouTube:!0})},25))},createPlayer:function(e,t,i,a,s){i.mediaProperties.playerState="initializing","controls"in i.mediaSettings&&(i.mediaProperties.options.controls=i.mediaSettings.controls?1:0),"loop"in i.mediaSettings&&(i.mediaProperties.options.loop=i.mediaSettings.loop?1:0),"showinfo"in i.mediaSettings&&(i.mediaProperties.options.showinfo=i.mediaSettings.showinfo?1:0),i.mediaProperties.options.loop?i.mediaProperties.options.playlist=i.mediaProperties.embedID:delete i.mediaProperties.options.playlist,0===i.mediaProperties.options.showinfo&&(i.mediaProperties.options.modestbranding=1),t.attr("src","https://"+a+"?"+jQuery.param(i.mediaProperties.options)).on("load",function(){i.mediaProperties.player=new YT.Player(t[0],{events:{onReady:function(o){i.mediaProperties.playerState="ready",i.mediaSettings.volume&&i.mediaProperties.player.setVolume(i.mediaSettings.volume),s&&!i.mediaProperties.shouldPlay||(r.media.youtube.play(e,t,i,a),i.mediaProperties.shouldPlay=!1)},onStateChange:function(a){switch(a.data){case 0:i.mediaProperties.options.loop&&1===i.mediaProperties.options.loop||r.media.functions.mediaEnded(t,e,i);break;case 1:r.media.events.start(t,e,i),i.mediaProperties.lastStarted=Date.now();break;case 2:case-1:i.mediaProperties.firstState&&0!==i.mediaProperties.lastState&&1!==i.mediaProperties.lastState||i.mediaProperties.lastStarted&&(Date.now(),i.mediaProperties.lastStarted)}if(1===a.data)r.media.set.dataAttribute(t,"playing");else r.media.set.dataAttribute(t,"not-playing");r.media.youtube.savePlayerState(i,a.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")&&r.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?r.o.rememberUnmuteState&&r.media.properties.userDidUnmute||(i.mediaProperties.player.mute(),"offertounmute"==i.mediaSettings.muted&&r.media.unmute.set(t,i.mediaProperties.type)):s&&(i.mediaProperties.player.mute(),r.media.unmute.set(t,i.mediaProperties.type,!0)),r.media.functions.allowedToPlay(t,i)?r.media.isPlayable(e,i)&&i.mediaProperties.player.playVideo():r.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||r.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),r.media.events.stop(t,e,i))}},vimeo:{defaults:{autoplay:0,autopause:0,wmode:"opaque",playsinline:1},init:function(){var t=this.$medias=r.slider.$hiddenWrapper.find('iframe[src*="player.vimeo"], iframe[data-src*="player.vimeo"]'),i=r.slider.$hiddenWrapper.find('.ls-slide:eq(0) iframe[src*="player.vimeo"], .ls-slide:eq(0) iframe[data-src*="player.vimeo"]').length;if(t.length){r.timeouts.loadVimeo=Math.floor(Date.now()/1e3),r.media.properties.$allMediaLayers=r.media.properties.$allMediaLayers.add(t.closest(".ls-layer"));var a=0;e("<script>").attr({src:"https://player.vimeo.com/api/player.js",type:"text/javascript"}).appendTo("head"),r.intervals.isVimeoReady=setInterval(function(){r.functions.setStates(r.slider,{waitingForVimeo:!0}),(window.Vimeo||Math.floor(Date.now()/1e3)-r.timeouts.loadVimeo>3)&&(clearInterval(r.intervals.isVimeoReady),delete r.intervals.isVimeoReady,delete r.timeouts.loadVimeo,o())},25);var o=function(){var t=0;r.media.vimeo.$medias.each(function(){var o=e(this).attr({id:"ls-vimeo-"+ ++a,allow:"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture; fullscreen",allowfullscreen:""}),n=o.closest(".ls-layer");n.data("hasBeenSet")||r.layers.set.singleLayer(n);var l=n.data(r.defaults.init.dataKey),d=o.attr("src")||o.attr("data-src"),c=r.media.functions.urlToObject(d),p=d.split("video/")[1].split("?")[0],u="https://vimeo.com/api/oembed.json?url="+encodeURIComponent("https://vimeo.com/video/"+p+(c.h?"?h="+c.h:""));d=d.split("?")[0].split("//")[1],r.media.vimeo.defaults.player_id="ls-vimeo-"+a;var m=r.media.set.customPoster(n,l);l.mediaProperties={type:"vimeo",$media:o,embedURL:d,embedOptions:c};var h=function(e){l.mediaProperties.poster=e,(0===i||i>0&&++t==i)&&(window._layerSlider.globals.vimeoIsReady=!0),r.media.set.properties(n,o,l)};m?h(m):e.getJSON(u,function(e){h(e.thumbnail_url)}),n.on("playMedia."+s+" click."+s,".ls-vpcontainer",function(){r.media.set.thumbnail(e(this),"hide"),r.media.functions.checkSlideshowState(n,l),r.media.vimeo.play(n,o,l,d)}
41).on("playBackgroundVideo."+s,function(){r.media.vimeo.play(n,o,l,d),r.layers.set.dataAttribute("add",n,"active")}).on("stopBackgroundVideo."+s,function(){r.media.vimeo.stop(n,o,l,!0),r.layers.set.dataAttribute("add",n,"hidden")}).on("preloadBackgroundVideo."+s,function(){r.media.vimeo.createPlayer(n,o,l,d,!0)})}),r.functions.setStates(r.slider,{waitingForVimeo:!1})}}},createPlayer:function(t,i,a,s,o){a.mediaProperties.playerState="initializing";"controls"in a.mediaSettings&&(a.mediaProperties.options.controls=a.mediaSettings.controls?1:0,delete a.mediaSettings.controls),"loop"in a.mediaSettings&&(a.mediaProperties.options.loop=a.mediaSettings.loop?1:0),"showinfo"in a.mediaSettings&&(a.mediaSettings.showinfo?(a.mediaProperties.options.byline=1,a.mediaProperties.options.portrait=1,a.mediaProperties.options.title=1):(a.mediaProperties.options.byline=0,a.mediaProperties.options.portrait=0,a.mediaProperties.options.title=0),delete a.mediaProperties.options.showinfo),"volume"in a.mediaSettings&&(0===a.mediaSettings.volume?(a.mediaSettings.volume=100,a.mediaSettings.muted=!0):(a.mediaSettings.volume<0||a.mediaSettings.volume>100)&&(a.mediaSettings.volume=100)),a.mediaSettings.muted&&(a.mediaProperties.options.muted=1),i.attr("src","https://"+s+"?"+jQuery.param(a.mediaProperties.options)),a.mediaProperties.player=new Vimeo.Player(i[0]),a.mediaProperties.player.on("play",function(){r.media.set.dataAttribute(i,"playing"),r.media.events.start(i,t,a)}),a.mediaProperties.player.on("pause",function(){r.media.set.dataAttribute(i,"not-playing")}),a.mediaProperties.player.on("ended",function(){r.media.functions.mediaEnded(i,t,a)}),a.mediaProperties.player.ready().then(function(){a.mediaProperties.playerState="ready",a.mediaSettings.volume&&!a.mediaSettings.muted&&e.isNumeric(a.mediaSettings.volume)&&a.mediaSettings.volume>=0&&a.mediaSettings.volume<=100&&a.mediaProperties.player.setVolume(a.mediaSettings.volume/100),o||r.media.vimeo.play(t,i,a,s)})},play:function(e,t,i,a,s){void 0!==t.attr("data-ls-muted-by-browser")&&r.media.unmute.singleMediaElement(t),i.mediaProperties.player?(i.is.backgroundVideo&&!("muted"in i.mediaSettings)&&i.mediaProperties.player.setVolume(0),i.mediaSettings.muted&&(r.o.rememberUnmuteState&&r.media.properties.userDidUnmute?r.o.rememberUnmuteState&&r.media.properties.userDidUnmute&&(i.mediaProperties.player.setVolume(i.mediaSettings.volume/100||1),delete i.mediaSettings.muted):(i.mediaProperties.player.setVolume(0),"offertounmute"==i.mediaSettings.muted&&r.media.unmute.set(t,i.mediaProperties.type))),s?(i.mediaProperties.player.setVolume(0),r.media.unmute.set(t,i.mediaProperties.type,!0)):i.mediaProperties.player.getVolume().then(function(e){0==e&&"offertounmute"==i.mediaSettings.muted&&r.media.unmute.set(t,i.mediaProperties.type)}),r.media.functions.allowedToPlay(t,i)?i.mediaProperties.player.play().then(function(){}).catch(function(s){switch(s.name){case"PasswordError":window.console&&(console.error(r.defaults.slider.errorText),console.error("Vimeo video is password protected and may cause playback issues."));break;case"PrivacyError":window.console&&(console.error(r.defaults.slider.errorText),console.error("Vimeo video is private and may cause playback issues."));break;default:r.media.vimeo.play(e,t,i,a,!0)}}):r.media.vimeo.stop(e,t,i,!0)):this.createPlayer(e,t,i,a)},stop:function(e,t,i,a){i.mediaProperties.player&&(i.mediaProperties.player.pause(),a&&i.mediaProperties.player.setCurrentTime(0),i.is.backgroundVideo||r.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),r.media.events.stop(t,e,i))}},html5:{singleInit:function(t){var i,a,o,n,l=t.closest(".ls-layer"),d=l.data(r.defaults.init.dataKey),c=t.find("source"),p=r.media.set.customPoster(l,d);d.mediaProperties={type:"html5",$media:t,poster:p||t.attr("poster")},t.removeAttr("poster"),c.length>0?c.each(function(){void 0!==(i=e(this).attr("type"))&&!1!==i||(a=e(this).attr("src"),o=a.split("."),n=o[o.length-1].toLowerCase(),e(this).attr("type",e(this).parent()[0].tagName.toLowerCase()+"/"+n)),""!==t[0].canPlayType(e(this).attr("type"))&&(d.mediaProperties.canBePlayed=!0)}):void 0!==t.attr("src")&&!1!==t.attr("src")&&(a=t.attr("src"),o=a.split("."),n=o[o.length-1].toLowerCase(),""!==t[0].canPlayType(t[0].tagName.toLowerCase()+"/"+n)&&(d.mediaProperties.canBePlayed=!0)),d.mediaProperties.canBePlayed&&(r.media.set.properties(l,t,d),t.on("ended."+s,function(){r.media.functions.mediaEnded(t,l,d)}).on("play."+s,function(){}).on("playing."+s,function(){r.media.events.start(t,l,d),r.media.set.dataAttribute(t,"playing")}).on("pause."+s,function(){r.media.set.dataAttribute(t,"not-playing")}),l.on("playMedia."+s+" click."+s,".ls-vpcontainer",function(i){r.media.set.thumbnail(e(this),"hide"),r.media.functions.checkSlideshowState(l,d),r.media.html5.play(l,t,d)}
41).on("playBackgroundVideo."+s,function(){r.media.html5.play(l,t,d),r.layers.set.dataAttribute("add",l,"active")}).on("stopBackgroundVideo."+s,function(){r.media.html5.stop(l,t,d,!0),r.layers.set.dataAttribute("add",l,"hidden")}))},init:function(){var t=r.slider.$hiddenWrapper.find("video, audio");if(r.media.properties.$allMediaLayers=r.media.properties.$allMediaLayers.add(t.closest(".ls-layer")),t.length){var i=0;t.each(function(){e(this).closest(".ls-layer").data(r.defaults.init.dataKey).is.mediaLayer=!0,e(this).attr("id","ls-html5-"+ ++i).attr("playsinline",""),e(this)[0].pause()})}},play:function(e,t,i){if(i.mediaProperties.canBePlayed){void 0!==t.attr("data-ls-muted-by-browser")&&r.media.unmute.singleMediaElement(t),i.mediaSettings.muted?r.o.rememberUnmuteState&&r.media.properties.userDidUnmute?r.o.rememberUnmuteState&&r.media.properties.userDidUnmute&&(t[0].muted=!1):(t[0].muted=!0,"offertounmute"==i.mediaSettings.muted&&r.media.unmute.set(t,i.mediaProperties.type)):t[0].muted=!1;var a=t[0].play();void 0!==a&&a.then(function(e){}).catch(function(e){"NotAllowedError"===e.name&&(t[0].muted=!0,t[0].play(),t[0].paused&&r.functions.setStates(r.slideshow,{pausedByVideo:!1}),r.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||r.media.set.thumbnail(e.find(".ls-vpcontainer"),"show"),r.media.events.stop(t,e,i))}}},r.gui={navigation:{init:function(){r.o.navPrevNext&&this.prevNext.init(),(r.o.navStartStop||r.o.navButtons)&&this.bottom.init()},prevNext:{init:function(){e('<a class="ls-gui-element ls-nav-prev" aria-label="jump to the previous slide" href="#" />').on("click."+s,function(e){e.preventDefault(),i.layerSlider("prev")}).appendTo(i),e('<a class="ls-gui-element ls-nav-next" aria-label="jump to the next slide" href="#" />').on("click."+s,function(e){e.preventDefault(),i.layerSlider("next")}).appendTo(i),r.o.hoverPrevNext&&this.setHover()},setHover:function(){i.find(".ls-nav-prev, .ls-nav-next").css({display:"none"}),i.on("mouseenter."+s,function(){r.gui.navigation.forceHide||i.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeIn(300)}).on("mouseleave."+s,function(){i.find(".ls-nav-prev, .ls-nav-next").stop(!0,!0).fadeOut(300)})}},bottom:{init:function(){this.wrapper=e('<div class="ls-gui-element ls-bottom-nav-wrapper" />').appendTo(i),r.o.navButtons&&"always"!=r.o.thumbnailNavigation&&this.bullets.init(),r.o.navStartStop?this.createStartStop():"always"!=r.o.thumbnailNavigation&&this.createSides(),r.o.hoverBottomNav&&"always"!=r.o.thumbnailNavigation&&this.setHover(),"always"==r.o.thumbnailNavigation&&(this.wrapper.addClass("ls-above-thumbnails"),this.thumbnails.init())},bullets:{init:function(){var t=this;e('<span class="ls-bottom-slidebuttons" />').appendTo(i.find(".ls-bottom-nav-wrapper"));for(var a=0;a<r.slides.count;a++){var o=e('<a href="#" aria-label="jump to slide '+(a+1)+'" />').appendTo(i.find(".ls-bottom-slidebuttons")).data("index",a+1).on("click."+s,function(t){t.preventDefault(),i.layerSlider(e(this).data("index"))});"hover"==r.o.thumbnailNavigation&&o.on("mouseenter."+s,function(){var a=e(this);i.find(".ls-thumbnail-hover-img").css({left:parseInt(t.hoverWrapper.css("padding-left")),top:parseInt(t.hoverWrapper.css("padding-top"))}),t.hoverImage.on("load."+s,function(){0===e(this).width()?t.hoverImage.css({position:"relative",margin:"0 auto",left:"auto"}):t.hoverImage.css({position:"absolute",marginLeft:-e(this).width()/2,left:"50%"}),t.hoverImage.css("display","none").stop(!0,!0).fadeIn(250)}).attr("src",r.slides[a.data("index")].data.thumbnail),t.hoverWrapper.css({display:"block"}).stop().animate({left:e(this).position().left+(e(this).width()-t.hoverWrapper.outerWidth())/2},250),t.hoverWrapperInner.css({display:"none",visibility:"visible"}).stop().fadeIn(250)}).on("mouseleave."+s,function(){t.hoverWrapperInner.stop().fadeOut(250,function(){t.hoverWrapper.css({visibility:"hidden",display:"block"})})})}t.set.active(r.slides.first.index),"hover"==r.o.thumbnailNavigation&&t.set.hover()},set:{active:function(e){void 0===e&&(e=r.slides.current.index),e--,i.find(".ls-bottom-slidebuttons a").removeClass("ls-nav-active"),i.find(".ls-bottom-slidebuttons a:eq( "+e+" )").addClass("ls-nav-active")},hover:function(){var t=r.gui.navigation.bottom.bullets,a=e('<div class="ls-thumbn
41ail-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(i.find(".ls-bottom-slidebuttons"));i.find(".ls-thumbnail-hover, .ls-thumbnail-hover-img").css({width:r.o.tnWidth,height:r.o.tnHeight}),t.hoverWrapper=i.find(".ls-thumbnail-hover"),t.hoverImage=t.hoverWrapper.find("img").css({height:r.o.tnHeight}),t.hoverWrapperInner=i.find(".ls-thumbnail-hover-inner").css({visibility:"hidden",display:"block"}),a.appendTo(i.find(".ls-bottom-slidebuttons"))}}},createStartStop:function(){this.buttonStart=e('<a class="ls-nav-start" aria-label="start slideshow" href="#" />').on("click."+s,function(e){e.preventDefault(),i.layerSlider("start")}).prependTo(i.find(".ls-bottom-nav-wrapper")),this.buttonStop=e('<a class="ls-nav-stop" aria-label="stop slideshow" href="#" />').on("click."+s,function(e){e.preventDefault(),i.layerSlider("stop")}).appendTo(i.find(".ls-bottom-nav-wrapper")),r.o.autoStart?this.setStartStop("start"):this.setStartStop("stop")},setStartStop:function(e){if(r.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(){e('<span class="ls-nav-sides ls-nav-sideleft" />').prependTo(i.find(".ls-bottom-nav-wrapper")),e('<span class="ls-nav-sides ls-nav-sideright" />').appendTo(i.find(".ls-bottom-nav-wrapper"))},setHover:function(){var e=this;e.wrapper.css({display:"none"}),i.on("mouseenter."+s,function(){r.gui.navigation.forceHide||e.wrapper.stop(!0,!0).fadeIn(300)}).on("mouseleave."+s,function(){e.wrapper.stop(!0,!0).fadeOut(300)})},switchHelper:function(e){if(r.o.hoverBottomNav&&!i.hasClass("ls-hover"))switch(e){case"on":r.gui.navigation.bottom.thumbnails.wrapper.css({visibility:"hidden",display:"block"});break;case"off":r.gui.navigation.bottom.thumbnails.wrapper.css({visibility:"visible",display:"none"})}},thumbnails:{init:function(){this.wrapper=e('<div class="ls-gui-element ls-thumbn
41ail-wrapper '+("contain"!==r.o.tnFillMode?"ls-thumbnail-fill":"")+'"></div>').appendTo(i),e('<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=i.find(".ls-thumbnail-slide-container"),"ontouchstart"in window?this.$element.addClass("ls-touchscroll"):this.$element.on("mouseenter."+s,function(){e(this).addClass("ls-thumbnail-slide-hover")}).on("mouseleave."+s,function(){e(this).removeClass("ls-thumbnail-slide-hover"),r.gui.navigation.bottom.thumbnails.scroll()}).on("mousemove."+s,function(t){var i=parseInt(t.pageX-e(this).offset().left)/e(this).width()*(e(this).width()-e(this).find(".ls-thumbnail-slide").width());e(this).find(".ls-thumbnail-slide").stop().css({marginLeft:i})});for(var t=0;t<r.slides.count;t++){var a=t+1,o=r.slides[a].data.thumbnail,n="";"contain"!==r.o.tnFillMode&&(o=r.defaults.init.emptyIMG,n='style="background-image: url('+r.slides[a].data.thumbnail+"); background-size: "+r.o.tnFillMode+';"');var l=e('<a href="#" class="ls-thumb-'+(t+1)+'"  aria-label="jump to slide '+(t+1)+'"><img '+n+' src="'+o+'"></a>');r.slides[a].data.tnAlt&&l.find("img").attr("alt",r.slides[a].data.tnAlt),l.data("index",a).on("click."+s,function(t){t.preventDefault(),i.layerSlider(e(this).data("index"))}).appendTo(i.find(".ls-thumbnail-slide")),"ontouchstart"in window||l.on("mouseenter."+s,function(){e(this).children().stop().fadeTo(300,r.o.tnActiveOpacity/100)}).on("mouseleave."+s,function(){e(this).children().hasClass("ls-thumb-active")||e(this).children().stop().fadeTo(300,r.o.tnInactiveOpacity/100)})}r.gui.navigation.bottom.buttonStart&&r.gui.navigation.bottom.buttonStop&&(r.gui.navigation.bottom.wrapper=e('<div class="ls-bottom-nav-wrapper ls-below-thumbnails"></div>').appendTo(i),r.gui.navigation.bottom.buttonStart.clone().on("click."+s,function(e){e.preventDefault(),i.layerSlider("start")}).appendTo(r.gui.navigation.bottom.wrapper),r.gui.navigation.bottom.buttonStop.clone().on("click."+s,function(e){e.preventDefault(),i.layerSlider("stop")}).appendTo(r.gui.navigation.bottom.wrapper)),r.o.hoverBottomNav&&this.setHover()},setHover:function(){var e=this;e.wrapper.css("display","none"),r.gui.navigation.bottom.wrapper&&(r.gui.navigation.bottom.wrapper="block"==r.gui.navigation.bottom.wrapper.css("display")?r.gui.navigation.bottom.wrapper:i.find(".ls-above-thumbnails"),r.gui.navigation.bottom.wrapper.css("display","none")),i.on("mouseenter."+s,function(){i.addClass("ls-hover"),r.gui.navigation.forceHide||(e.wrapper.stop(!0,!0).fadeIn(300),r.gui.navigation.bottom.wrapper&&r.gui.navigation.bottom.wrapper.stop(!0,!0).fadeIn(300))}).on("mouseleave."+s,function(){i.removeClass("ls-hover"),e.wrapper.stop(!0,!0).fadeOut(300),r.gui.navigation.bottom.wrapper&&r.gui.navigation.bottom.wrapper.stop(!0,!0).fadeOut(300)})},change:function(t){var a=t||r.slides.next.index;i.find(".ls-thumbnail-slide a:not(.ls-thumb-"+a+" )").children().each(function(){e(this).removeClass("ls-thumb-active").stop().fadeTo(750,r.o.tnInactiveOpacity/100)}),i.find(".ls-thumbnail-slide a.ls-thumb-"+a).children().addClass("ls-thumb-active").stop().fadeTo(750,r.o.tnActiveOpacity/100)},scroll:function(){if(!i.find(".ls-thumbnail-slide-container").hasClass("ls-thumbn
41ail-slide-hover")){var e=!!i.find(".ls-thumb-active").length&&i.find(".ls-thumb-active").parent();if(e){var t=e.position().left+e.width()/2,a=i.find(".ls-thumbnail-slide-container").width()/2-t;a=(a=a<i.find(".ls-thumbnail-slide-container").width()-i.find(".ls-thumbnail-slide").width()?i.find(".ls-thumbnail-slide-container").width()-i.find(".ls-thumbnail-slide").width():a)>0?0:a,i.find(".ls-thumbnail-slide").animate({marginLeft:a},600)}}},resize:function(){r.gui.navigation.bottom.switchHelper("on");var e=-1==r.slider.initial.width.indexOf("%")?parseInt(r.slider.initial.originalWidth):i.width(),t=i.find(".ls-thumbnail"),a=-1==r.o.tnContainerWidth.indexOf("%")?parseInt(r.o.tnContainerWidth):parseInt(e/100*parseInt(r.o.tnContainerWidth));i.find(".ls-thumbnail-slide a").css({width:parseInt(r.o.tnWidth*r.resize.ratio),height:parseInt(r.o.tnHeight*r.resize.ratio)}),i.find(".ls-thumbnail-slide a:last").css({margin:0}),i.find(".ls-thumbnail-slide").css({height:parseInt(r.o.tnHeight*r.resize.ratio)}),t.css({width:a*Math.floor(100*r.resize.ratio)/100}),t.width()>i.find(".ls-thumbnail-slide").width()&&t.css({width:i.find(".ls-thumbnail-slide").width()}),r.gui.navigation.bottom.switchHelper("off")}}}},media:{init:function(){r.media.properties.$allMediaLayers.length>0&&e('<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."+s,function(e){e.preventDefault(),i.layerSlider("unmute")}).appendTo(i)},showUnmute:function(){i.find(".ls-media-unmute").addClass("ls-media-unmute-active")},hideUnmute:function(){i.find(".ls-media-unmute").removeClass("ls-media-unmute-active")}},skin:{load:function(){i.addClass("ls-"+r.o.skin);var t,a=r.o.skinsPath+r.o.skin+"/skin.css",o=e("head").length?e("head"):e("body");e('link[href="'+a+'"]').length?(t=e('link[href="'+a+'"]'),r.gui.skin.isLoaded||(r.gui.skin.isLoaded=!0,r.timeouts.skinLoad1=setTimeout(function(){delete r.timeouts.skinLoad1,r.slider.init()},150))):document.createStyleSheet?(document.createStyleSheet(a),t=e('link[href="'+a+'"]')):t=e('<link rel="stylesheet" href="'+a+'" type="text/css" />').appendTo(o),t.on("load."+s,function(){r.gui.skin.isLoaded||(r.gui.skin.isLoaded=!0,r.timeouts.skinLoad2=setTimeout(function(){delete r.timeouts.skinLoad2,r.slider.init()},150))}),n.on("load."+s,function(){r.gui.skin.isLoaded||(r.gui.skin.isLoaded=!0,r.timeouts.skinLoad3=setTimeout(function(){delete r.timeouts.skinLoad3,r.slider.init()},150))}),r.timeouts.skinLoad4=setTimeout(function(){r.gui.skin.isLoaded||(r.gui.skin.isLoaded=!0,delete r.timeouts.skinLoad4,r.slider.init())},1e3)}},shadow:{init:function(){this.set(),this.resize()},set:function(){this.$element=e('<div class="ls-gui-element ls-shadow"></div>').appendTo(i),"block"!=this.$element.css("display")||this.$element.find("img").length||(this.show=function(){r.gui.shadow.$element.css({display:"none",visibility:"visible"}).fadeIn(500,function(){r.gui.shadow.show=!1})},this.image=e("<img>").attr("src",r.o.skinsPath+r.o.skin+"/shadow.png").appendTo(this.$element),this.btmMod="number"==typeof parseInt(i.css("padding-bottom"))?parseInt(i.css("padding-bottom")):0)},resize:function(){this.image&&(this.image.height()>0?this.btmMod>0?this.$element.css({height:this.image.height()/2}):this.$element.css({height:this.image.height(),marginTop:-this.image.height()/2}):r.timeouts.resizeShadow=setTimeout(function(){delete r.timeouts.resizeShadow,r.gui.shadow.resize()},50))}},timers:{init:function(){r.o.showBarTimer&&this.bar.create(),r.o.showCircleTimer&&this.circle.create();var t=!1;(t=r.o.showSlideBarTimer?e("<div>").insertAfter(i):e('[data-slidebar-for="'+i.attr("id")+'"], [data-slidebar-for="'+s+'"]')).length&&(t.addClass("ls-gui-element"),this.slidebar.create(t))},bar:{create:function(){this.$element=e("<div>").addClass("ls-gui-element ls-bar-timer").appendTo(i)}},circle:{create:function(){this.$element=e("<div>").addClass("ls-gui-element ls-circle-timer").appendTo(i),this.$element.append(e('<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(t){var i,a=e(document),o=this,n=function(e,t){(i=(e.pageX?e.pageX:r.device.touchX||0)-o.$element[t].offset().left-o.sliderContainerElementWidth[t]/2)<0&&(i=0),i>o.containerElementWidth[t]-o.sliderContainerElementWidth[t]&&(i="calc( 100% - "+r.gui.timers.slidebar.
41sliderContainerElementWidth[t]+"px )"),o.$sliderContainerElement[t].css({left:i}),r.timelines._layers&&r.timelines._layers.progress("string"==typeof i?r.transitions.layers.timeline.progress:i/(o.containerElementWidth[t]-o.sliderContainerElementWidth[t])*r.transitions.layers.timeline.progress)},l=function(t){"dragging"==r.gui.timers.slidebar.state&&(r.timelines._layers&&r.transitions.layers.timeline.state.finished&&r.timelines._layers.progress()!==r.transitions.layers.timeline.progress&&r.functions.setStates(r.transitions.layers.timeline,{finished:!1}),e(document).off("mousemove."+s),e("body").prop("unselectable",!1).removeClass("ls-unselectable"),r.o.pauseLayers&&!r.slideshow.state.running||r.slider.state.isPaused||!r.timelines._layers||r.o.playByScroll||(!0===r.transitions.layers.timeline.state.started?r.transitions.layers.timeline.resume():r.transitions.layers.timeline.play()),r.gui.timers.slidebar.state=!1)};e.each(t,function(t,i){o.$containerElement[t]=e(i).addClass("ls-slidebar-container "+s),o.$element[t]=e("<div>").addClass("ls-slidebar").appendTo(o.$containerElement[t]),o.$progressBarElement[t]=e("<div>").addClass("ls-progressbar").appendTo(o.$element[t]),o.$sliderContainerElement[t]=e("<div>").addClass("ls-slidebar-slider-container").appendTo(o.$containerElement[t]),o.$sliderElement[t]=e("<div>").addClass("ls-slidebar-slider").appendTo(o.$sliderContainerElement[t]),o.sliderContainerElementWidth[t]=o.$sliderContainerElement[t].width(),o.$sliderContainerElement[t].css({marginTop:-o.$sliderElement[t].outerHeight()/2}),o.$containerElement[t].on("touchmove."+s,function(e){n(e,t)}),o.$containerElement[t].on("touchend."+s,function(e){l()}),o.$containerElement[t].on("mousedown."+s+" touchstart."+s,function(i){r.transitions.layers.timeline.pause(0),e("body").prop("unselectable",!0).addClass("ls-unselectable"),e(document).on("mousemove."+s,function(e){n(e,t)}),n(i,t),r.gui.timers.slidebar.state="dragging"}),a=a.add(o.$sliderElement[t])}),e("body").on("mouseup."+s,function(e){l()})}}},loadingIndicator:{init:function(){this.$element=e("<div>").css({display:"none"}).addClass("ls-gui-element ls-loading-container").appendTo(i),e("<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)}}},r.navigation={direction:"next",init:function(){r.slides.count>1&&(this.set.keyboard(),this.set.touch())},set:{keyboard:function(){r.o.keybNav&&e("body").on("keydown."+s,function(t){if(!(e(t.target).is(":input")||r.slider.isAnimating||r.slider.isPreloading)){var i=!1;37===t.which?(r.navigation.prev(),i=!0):39===t.which&&(r.navigation.next(),i=!0),i&&"undefined"!=typeof LS_editorMeta&&t.preventDefault()}})},touch:function(){"ontouchstart"in window&&r.o.touchNav&&(r.slider.$innerWrapper.on("touchstart."+s,function(e){var t=e.touches?e.touches:e.originalEvent.touches;1==t.length&&(r.device.touchStartX=r.device.touchEndX=t[0].clientX)}),r.slider.$innerWrapper.on("touchmove."+s,function(e){var t=e.touches?e.touches:e.originalEvent.touches;1==t.length&&(r.device.touchEndX=t[0].clientX),Math.abs(r.device.touchStartX-r.device.touchEndX)>45&&e.preventDefault()}),r.slider.$innerWrapper.on("touchend."+s,function(e){Math.abs(r.device.touchStartX-r.device.touchEndX)>45&&(r.device.touchStartX-r.device.touchEndX>0?i.layerSlider("touchNext"):i.layerSlider("touchPrev"))}))}},prev:function(){(!r.slider.isPopup||r.slider.isPopup&&r.slider.state.popupIsVisible)&&(this.direction="prev",this.forceDirection="prev",r.slideshow.set.prevNext("prev"))},next:function(){(!r.slider.isPopup||r.slider.isPopup&&r.slider.state.popupIsVisible)&&(this.direction="next",this.forceDirection="next",r.slideshow.set.prevNext("next"))},start:function(){r.functions.setStates(r.slideshow,{running:!0,paused:!1}),!0===r.slideshow.state.pausedByLastCycle&&r.functions.setStates(r.slideshow,{pausedByLastCycle:!1}),r.gui.navigation.bottom.setStartStop("start"),r.slideshow.state.pausedByHover||1!==r.timelines._layers.timeScale()&&r.transitions.layers.timeline.resume(),r.slideshow.start()},stop:function(){r.gui.navigation.bottom.setStartStop("stop"),r.o.pauseL
41ayers&&r.transitions.layers.timeline.pause(),r.slideshow.stop()}},r.preload={init:function(){r.slider.$hiddenWrapper.find(".ls-slide img").each(function(){var t=e(this),i=t[0],a={};if(t.is(".ls-layer, .ls-bg")){if(i.getAttribute("width")&&(a.width=i.getAttribute("width")),i.getAttribute("height")&&(a.height=i.getAttribute("height")),i.sizes&&(a.sizes=i.sizes),r.o.useSrcset&&(t.data("srcset")||i.srcset)){a.srcSet=t.data("srcset")||i.srcset,a.curSrc=i.currentSrc;var s=a.srcSet.split(",").map(function(t){return parseInt(e.trim(t).split(" ")[1])});a.maxWidth=Math.max.apply(null,s)}t.removeAttr("width height sizes srcset loading"),e.isEmptyObject(a)||(t.data(r.defaults.init.dataKey).attributes=a)}t.data("lazy-src")?t.data("src",t.data("lazy-src")):t.attr("data-tgpli-src")?t.data("src",t.attr("data-tgpli-src")):t.attr("data-lazy-src")?t.data("src",t.attr("data-lazy-src")):t.attr("data-lazy")?t.data("src",t.attr("data-lazy")):t.data("src")?a.curSrc&&t.data("src",a.curSrc):t.data("src",a.curSrc?a.curSrc:i.src),t.attr("data-lazyset")?t.attr("srcset",t.attr("data-lazyset")):t.attr("data-lazy-srcset")?t.attr("srcset",t.attr("data-lazy-srcset")):t.attr("data-tgpli-srcset")&&t.attr("srcset",t.attr("data-tgpli-srcset")),t.removeAttr("lazy lazyload data-lazy-src data-tgpli-src data-lazy data-lazyset data-lazy-srcset data-tgpli-srcset"),t.attr("src",r.defaults.init.emptyIMG)})},imagesOfSlide:function(t,a){if(!0!==r.slides[t].wrapped){this.slideIndex=t,a?(this.onCompleteCallback=a,r.functions.setStates(r.slider,{preloadingImages:!0}),r.gui.loadingIndicator.show()):this.onCompleteCallback=!1,r.slider.canShow&&i.css({visibility:"visible"}),this.preImages=[];var s,o,n=this;r.slider.$hiddenWrapper.find(".ls-slide:eq("+(n.slideIndex-1)+") *").each(function(){s=e(this),o=this;var t=s.data(r.defaults.init.dataKey);if(s.is("img")){s.data("src")&&s.attr("src",s.data("src")),t&&t.attributes&&t.attributes.srcSet&&r.o.useSrcset&&(o.srcset=t.attributes.srcSet);var i=o.src,a=!!(t&&t.attributes&&t.attributes.curSrc)&&t.attributes.curSrc;a&&i!==a&&s.is(".ls-bg")&&(i=a,r.slides[n.slideIndex].data.$background.attr("src",i)),r.preload.preImages.push([i,s])}else"none"!==s.css("background-image")&&-1!==s.css("background-image").indexOf("url")&&r.preload.preImages.push([s.css("background-image").match(/url\(['"]?(.+?)['"]?\)/)[1],s]);s.attr("data-ls-preload")&&r.preload.preImages.push([s.attr("data-ls-preload"),e(o),!0])}),r.transitions.firstSlide&&r.o.globalBGImage&&r.preload.preImages.push([r.o.globalBGImage,e()]),this.thumbnailsAreLoaded||this.thumbnails(),0===this.preImages.length?this.onComplete():this.start()}else r.slider.shouldResize&&a?(r.resize.setLayers(r.layers.get("next, bg")),r.resize.layers({callback:a})):a&&a()},thumbnails:function(){for(var e=r.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(){r.debugMode&&(r.debug.add("group","preload"),r.debug.add("log","preload.info",this.slideIndex)),this.preloadedImagesCount=0;for(var e,t=this,i=function(){++t.preloadedImagesCount==t.preImages.length&&(r.debugMode&&r.debug.groupEnd(),t.onComplete())},a=function(){r.debugMode&&(e=this.src.substring(this.src.lastIndexOf("/")+1,this.src.length),r.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(){r.debugMode&&(e=this.src.substring(this.src.lastIndexOf("/")+1,this.src.length),r.debug.add("warn","preload.fail",e)),i()},o=0;o<this.preImages.length;o++){var n=new Image;n.addEventListener("error",s,!1),n.addEventListener("load",a,!1),n.src=this.preImages[o][0],n.originalLayer=this.preImages[o][1],n.useAttr=!!this.preImages[o][2]}},onComplete:function(){var t=this;this.onCompleteCallback?(r.layers.wrap(this.slideIndex),function i(){if(0!==r.slides[t.slideIndex].$layers.length)r.timeouts.waitForWrap=setTimeout(i,100);else{delete r.timeouts.waitForWrap,r.functions.setStates(r.transitions.layers.parallax,{ready:!0}
41),e(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({visibility:"visible"}),r.slides[t.slideIndex].wrapped=!0;var a=!(!window._layerSlider.globals.youTubeIsReady&&r.layers.get("next,in,youtube,bgvideo").length),s=!(!window._layerSlider.globals.vimeoIsReady&&r.layers.get("next,in,vimeo,bgvideo").length),o=function(){r.gui.loadingIndicator.hide(),r.slider.shouldResize?(r.resize.setLayers(r.layers.get("next, bg")),r.resize.layers({callback:t.onCompleteCallback})):t.onCompleteCallback()};!a||!s||r.slides[t.slideIndex].lottie.count>r.slides[t.slideIndex].lottie.loaded?r.intervals.waitForMediaLoad=setInterval(function(){(a||window._layerSlider.globals.youTubeIsReady)&&(s||window._layerSlider.globals.vimeoIsReady)&&r.slides[t.slideIndex].lottie.count===r.slides[t.slideIndex].lottie.loaded&&(clearInterval(r.intervals.waitForMediaLoad),delete r.intervals.waitForMediaLoad,o())},50):o()}}()):r.layers.wrap(this.slideIndex,!0),r.functions.setStates(r.slider,{preloadingImages:!1})}},r.resize={setLayers:function(e){this.$responsiveLayers=e.add(r.layers.get("active")),r.slides.next.data.$backgroundVideo.length&&(this.$responsiveLayers=this.$responsiveLayers.add(r.slides.next.data.$backgroundVideo))},all:function(e){return e=void 0!==e?e:{},r.plugins.callFunctions("beforeResize"),!(r.slider.state.isHidden&&!r.slider.isPopup)&&(!!document.body.contains(t)&&(r.api.hasEvent("sliderWillResize")&&r.api.triggerEvent("sliderWillResize",r.api.eventData()),this.slider(!!e.forceToGetParentWidth),r.o.performanceMode&&this.performance(),r.slider.isScene&&!r.slider.$spacingWrapper.is("[data-disabled-scene]")&&this.scene(),this.navigation(),this.layers(),this.shadow(),this.timers(),r.slides.indexesCreated&&(r.o.allowRestartOnResize&&r.transitions.layers.timeline.shouldRestart||r.transitions.layers.timeline.forceRestart)&&(r.transitions.layers.timeline.forceRestart=!1,r.transitions.layers.timeline.create(!0),r.slider.isScrollScene&&r.timelines._layers&&r.transitions.scrollscene.animate()),r.api.hasEvent("sliderDidResize")&&r.api.triggerEvent("sliderDidResize",r.api.eventData()),void r.plugins.callFunctions("afterResize")))},viewport:function(){n.scrollTop(Math.round(r.slider.offset.top)-(l.viewport.height-r.slider.height)/2)},slider:function(a){if(!document.body.contains(t))return!1;l.viewport.width||n.trigger("resize.lsGlobal"),r.o.fixFloatedContainers&&i.css("display","none");var s,o,d,c=r.slider.$parentWithNumericWidthValue&&r.slider.$parentWithNumericWidthValue.width()>0&&!a?r.slider.$parentWithNumericWidthValue:r.functions.getSliderClosestParentElementWithNumericValueOfProperty("width"),p=r.slider.initial,u=r.slider.parentWithNumericWidthValuePercent?c.width()/100*r.slider.parentWithNumericWidthValuePercent:c.width(),m=p.type,h=0!==p.maxWidth?p.maxWidth:u,f="auto"===p.marginLeft?0:p.marginLeft,g="auto"===p.marginRight?0:p.marginRight;if(r.o.fixFloatedContainers&&i.css("display","block"),-1!==h.indexOf("%")?h=u/100*parseInt(h):-1!==h.indexOf("vw")&&(h=l.viewport.width/100*parseInt(h)),r.slider.state.inFullscreen?i[0].style.maxWidth="":0!==p.maxWidth&&(i[0].style.maxWidth=h),(u-=f+g)>h&&h>=0&&(u=h),r.o.fitScreenWidth&&("fullwidth"===m||"fullsize"===m&&"fitheight"!==r.o.fullSizeMode&&"fitwidth"!==r.o.fullSizeMode)){var y=c.offset().left,v=parseInt(c.css("padding-left"))||0,x=parseInt(c.css("border-left-width"))||0;i[0].style.maxWidth="100vw",i[0].style.marginLeft=-(y+v+x)+"px",u=l.viewport.width}switch(u-=p.skinWidth,l.getScreenSize(),r.slider.state.inFullscreen&&(u=l.screen.width),m){case"responsive":r.o.maxRatio>0&&(u=Math.min(p.width*r.o.maxRatio,u)),r.slider.state.inFullscreen?(l.screen.ratio>p.ratio?this.ratio=l.screen.height/p.height:this.ratio=l.screen.width/p.width,u=Math.round(p.width*this.ratio),s=Math.round(p.height*this.ratio)):(this.ratio=u/p.width,s=Math.round(p.height*this.ratio));break;case"fullwidth":u<r.o.responsiveUnder?(this.ratio=u/r.o.responsiveUnder,s=Math.round(p.height*this.ratio)):r.slider.state.inFullscreen?l.screen.ratio>p.layersWidth/p.height?(this.ratio=l.screen.height/p.height,s=l.screen.height):(this.ratio=l.screen.width/p.layersWidth,s=p.height*this.ratio):(this.ratio=1,s=p.height);break;case"fullsize":switch(r.o.fullSizeMode.toLowerCase()){case"normal":s=l.viewport.height-p.skinHeight;break;case"hero":var S=r.slider.isScene?r.slider.$spacingWrapper:i,w=Math.max(S.offset().top,0),b=e(r.o.calculateOffsetFrom).length?e(r.o.calculateOffsetFrom).height()+e(r.o.calculateOffsetFrom)[0].getBoundingClientRect().top:0;b&&i.css("top",b),r.slider.heroOffset=p.skinHeight+(b||w),(s=l.viewport.height-r.slider.heroOffset)<=0&&(s=l.viewport.height-p.skinHeight);break;case"fitheight":u=c.width()-p.skinWidth,s=c.height()-p.skinHeight;break;case"fitwidth":u=c.width()-p.skinWidth,s=l.viewport.height-p.skinHeight}u/s<p.ratio?this.ratio=u/p.layersWidth:this.ratio=s/p.layersHeight;break;case"fixed":case"fixedsize":this.ratio=1,u=p.width,s=p.height,r.o.maxRatio=1,t.style.maxWidth="none"}this.ratio=r.o.maxRatio&&r.o.maxRatio>0&&this.ratio>r.o.maxRatio?r.o.maxRatio:this.ratio,t.style.width=u+"px",t.style.height=s+"px",r.slider.width=u,r.slider.height=s,r.slider.$layersWrapper.css({"--sw":r.slider.width+"px","--sh":r.slider.height+"px"}),l.isMobile?l.viewport.width>=768||l.viewport.width>l.viewport.height?i.removeClass("ls-device-is-phone").addClass("ls-device-is-tablet"):i.removeClass("ls-device-is-tablet").addClass("ls-device-is-phone"):i.removeClass("ls-device-is-phone ls-device-is-tablet").addClass("ls-device-is-desktop"),r.o.marginTop&&(o=-1!=r.o.marginTop.indexOf("sh")||-1!=r.o.marginTop.indexOf("%")?r.slider.height/100*parseInt(r.o.marginTop):r.o.marginTop),r.o.marginBottom&&(d=-1!=r.o.marginBottom.indexOf("sh")||-1!=r.o.marginBottom.indexOf("%")?r.slider.height/100*parseInt(r.o.marginBottom):r.o.marginBottom),r.slider.$spacingWrapper.css({marginTop:o,marginBottom:
41d})},performance:function(){var e=parseInt(r.o.performanceModeThreshold);-1!==r.o.performanceModeThreshold.indexOf("sh")||-1!==r.o.performanceModeThreshold.indexOf("%")?r.performance.threshold=r.slider.height*(e/100):-1!==r.o.performanceModeThreshold.indexOf("vh")?r.performance.threshold=l.viewport.height*(e/100):-1!==r.o.performanceModeThreshold.indexOf("px")?r.performance.threshold=e:r.performance.threshold=r.slider.height*e,r.performance.threshold=Math.max(parseInt(r.performance.threshold),0)},scene:function(e){if(r.slider.isScrollScene){var t=r.slider.$spacingWrapper[0].style.getPropertyValue("--ls-duration"),a=r.slider.$spacingWrapper.attr("data-scene-pre-duration"),s=r.slider.$spacingWrapper.attr("data-scene-duration");e&&a&&s&&a!==s&&(t=null),!1==!!t&&r.timelines._layers&&(t=100*r.transitions.layers.timeline.totalDuration/(r.o.sceneSpeed/100),r.slider.$spacingWrapper.css({"--ls-duration":t+"vh"}),void 0===r.o.stickDuration||isNaN(r.o.stickDuration)||r.slider.$spacingWrapper.css({"--ls-stickduration":100*parseInt(r.o.stickDuration)+"vh"}),"responsive"!==r.o.type&&"fullwidth"!==r.o.type||r.slider.$spacingWrapper.css({"--ls-ratio":r.slider.initial.width/r.slider.initial.height}),"fixedsize"===r.o.type&&r.slider.$spacingWrapper.css({"--ls-height":r.slider.initial.height}),r.slider.$spacingWrapper.addClass("ls-playfrom-"+r.o.playFrom+" ls-stickto-"+r.o.stickTo+" ls-layout-"+r.o.type)),r.transitions.scrollscene.maxProgressInPixels=parseFloat(parseInt(t)*(l.viewport.height/100)),(r.slider.$spacingWrapper.is(".ls-layout-fullwidth")||r.slider.$spacingWrapper.is(".ls-layout-responsive")&&r.o.maxRatio)&&r.slider.$spacingWrapper.css("--ls-ratio",l.viewport.width/r.slider.height)}else r.slider.isSticky&&(-1!==r.o.sceneHeight.indexOf("sh")||-1!==r.o.sceneHeight.indexOf("%")?(t=r.slider.height*(parseInt(r.o.sceneHeight)/100),t=Math.round(Math.max(r.slider.height,t)),t+="px"):-1===r.o.sceneHeight.indexOf("px")&&-1===r.o.sceneHeight.indexOf("vh")?(t=r.slider.height*(r.o.sceneHeight||2),t=Math.round(Math.max(r.slider.height,t)),t+="px"):t=r.o.sceneHeight,r.slider.$spacingWrapper.css({height:t}));i.css({top:r.slider.stickLimit})},borderRadius:function(t,i){e.isNumeric(t)&&(t=t.toString());var a="";return e.each(t.split(" "),function(e,t){-1==t.indexOf("%")&&-1==t.indexOf("em")?a+=Math.round(parseInt(t)*i)+"px ":a+=t+" "}),e.trim(a)},shadows:function(e,t){for(var i=e.split(" "),a=0;a<i.length;a++)-1!==i[a].indexOf("px")&&(i[a]=Math.ceil(parseInt(i[a])*t)+"px");return e=i.join(" ").trim()},convertSingleValue:function(e,t,i){if(-1==e.indexOf("em")){var a=parseInt(e),s=Math.round(a*t);if("border"===i){var r=1/(window.devicePixelRatio||1);a=parseFloat(e),s=Math.round(a*t/r)*r,a>0&&(s=Math.max(r,s)),s=Math.ceil(1e3*s)/1e3}return s+"px "}return e},convertSizeLimit:function(e,t){return"string"!=typeof e?e:r.layers.toNum(e,t)},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,t},layers:function(t){if(t=void 0!==t?t:{},r.slider.hasPinnedLayers&&(r.slider.$layersWrapper.css({clip:"rect(0px "+r.slider.width+"px "+r.slider.height+"px 0px)"}),r.slider.$layersWrapper&&r.slider.$layersWrapper.is(".ls-layers-clip")&&r.slider.$layersWrapper.removeClass("ls-layers-clip")),!t.singleLayer&&r.o.animateFirstSlide&&r.slideshow.firstStart&&"inside"!==r.slider.position.toViewport)return r.functions.setStates(r.slider,{readyForStart:!0}),void(t.callback&&(r.api.resumeCallback=t.callback));if(t.singleLayer||this.$responsiveLayers){r.debugMode&&r.debug.add("group","resize");for(var i,a,s,o,n,d=this,c=t.singleLayer||this.$responsiveLayers,p=r.slider.initial,u=r.slider.width,m=r.slider.height,h=u/m,f=[],g=[],y=[],v=[],x=0,S=0,w=window.LS_previewZoom||1,b=0,T=c.length;b<T;b++){var k=c[b],C=e(k),O=C.data(r.defaults.init.dataKey),P=!!O.is.insideLayerGroup&&C.data("$layerGroup"),I=!!O.is.insideLayerGroup&&P.data(r.defaults.init.dataKey),L=t.original?e.extend(!0,{},O.original,t.original):O.original,_=d.calculateRatio(O,d.ratio),M=O.elements.$_innerWrappers;if(r.plugins.callFunctions("beforeResizeSingleLayer",{$layer:C,layerData:O}),L.width||(L.percentWidth=0),L.height||(L.percentHeight=0),C.is("img, picture")&&("auto"===L.width||"auto"===L.height))(M=O.elements.$_innerWrappers).addClass("ls-force-display-block ls-force-visibility-hidden"),"auto"===L.width&&(L.width=C.width()),"auto"===L.height&&(L.height=C.height()),M.removeClass("ls-force-display-block ls-force-visibility-hidden");s=i="responsive"===p.type&&-1!==r.o.maxRatio?p.width:p.layersWidth,o=a="responsive"===p.type&&-1!==r.o.maxRatio?p.height:p.layersHeight,n=O.settings.usesliderratio?d.ratio:_,"fullsize"===p.type||"fullwidth"===p.type||"responsive"===p.type?(x=i>0?(u-i*n)/2:0,S=a>0?(m-a*n)/2:0):(x=x<0?0:x,S=S<0?0:S),"0%"!==L.left&&"100%"!==L.left||(x=x<0?0:x),"0%"!==L.top&&"100%"!==L.top||(S=S<0?0:S);var F,$,W,B="fixed"==O.settings.position||"fixedx"==O.settings.position,D="fixed"==O.settings.position||"fixedy"==O.settings.position,z=u,A=m;O.is.insideLayerGroup?(B=!1,D=!1,i=z=I.responsive.width,a=A=I.responsive.height):(i=s,a=o),O.is.pinned&&(r.slider.get.offset(),"responsive"!==p.type&&"fixedsize"!==p.type&&("fullsize"!==p.type||"fitheight"!==r.o.fullSizeMode&&!1!==r.o.fitScreenWidth)||(B?(i=z=l.viewport.width,x=0):(z=r.slider.width,x=r.slider.offset.left,i=p.width)),D?(a=A=l.viewport.height,S=0):(A=r.slider.height,S=(l.viewport.height-r.slider.height)/2||0,a=p.height));var N,V=B?0:x,R=D?0:S,E={width:B&&0!==L.percentWidth?z/100*L.percentWidth:parseInt(L.width)*_,height:D&&0!==L.percentHeight?A/100*L.percentHeight:parseInt(L.height)*_,paddingLeft:this.convertSingleValue(L.paddingLeft,_),paddingTop:this.convertSingleValue(L.paddingTop,_),paddingRight:this.convertSingleValue(L.paddingRight,_),paddingBottom:this.convertSingleValue(L.paddingBottom,_),borderLeftWidth:this.convertSingleValue(L.borderLeftWidth,_,"border"),borderTopWidth:this.convertSingleValue(L.borderTopWidth,_,"border"),borderRightWidth:this.convertSingleValue(L.borderRightWidth,_,"border"),borderBottomWidth:this.convertSingleValue(L.borderBottomWidth,_,"border"),borderRadius:this.borderRadius(L.borderRadius||0,_),boxShadow:this.shadows(L.boxShadow,_),textShadow:this.shadows(L.textShadow,_),ratio:_},H={marginLeft:this.convertSingleValue(L.marginLeft,_),marginTop:this.convertSingleValue(L.marginTop,_),marginRight:this.convertSingleValue(L.marginRight,_),marginBottom:this.convertSingleValue(L.marginBottom,_)},Y={},X={borderRadius:E.borderRadius},G=0,j=0;if((O.styleSettings.sizeexcludepadding||O.styleSettings.sizeexcludeborder)&&(N=L.fontSize*_,O.is.textLayer&&(l.isMobile&&N<O.
41styleSettings.minmobilefontsize?N=O.styleSettings.minmobilefontsize:N<O.styleSettings.minfontsize&&(N=O.styleSettings.minfontsize)),O.styleSettings.sizeexcludepadding&&(G+=r.layers.toNum(E.paddingLeft,N)+r.layers.toNum(E.paddingRight,N),j+=r.layers.toNum(E.paddingTop,N)+r.layers.toNum(E.paddingBottom,N)),O.styleSettings.sizeexcludeborder&&(G+=r.layers.toNum(E.borderLeftWidth,N)+r.layers.toNum(E.borderRightWidth,N),j+=r.layers.toNum(E.borderTopWidth,N)+r.layers.toNum(E.borderBottomWidth,N)),O.original.autoWidth||"number"!=typeof E.width||isNaN(E.width)||(E.width=Math.max(0,E.width-G)),O.original.autoHeight||"number"!=typeof E.height||isNaN(E.height)||(E.height=Math.max(0,E.height-j))),(L.minWidth||L.minHeight||L.maxWidth||L.maxHeight)&&(W=L.fontSize*_,O.is.textLayer&&(l.isMobile&&W<O.styleSettings.minmobilefontsize?W=O.styleSettings.minmobilefontsize:W<O.styleSettings.minfontsize&&(W=O.styleSettings.minfontsize))),L.minWidth&&(E.minWidth=L.percentMinWidth?z/100*L.percentMinWidth:this.convertSizeLimit(L.minWidth,W),G&&(E.minWidth=Math.max(0,E.minWidth-G)),E.width=Math.max(E.width,E.minWidth)),L.minHeight&&(E.minHeight=L.percentMinHeight?A/100*L.percentMinHeight:this.convertSizeLimit(L.minHeight,W),j&&(E.minHeight=Math.max(0,E.minHeight-j)),E.height=Math.max(E.height,E.minHeight)),L.maxWidth&&(E.maxWidth=L.percentMaxWidth?z/100*L.percentMaxWidth:this.convertSizeLimit(L.maxWidth,W),G&&(E.maxWidth=Math.max(0,E.maxWidth-G)),E.width=Math.min(E.width,E.maxWidth)),L.maxHeight&&(E.maxHeight=L.percentMaxHeight?A/100*L.percentMaxHeight:this.convertSizeLimit(L.maxHeight,W),j&&(E.maxHeight=Math.max(0,E.maxHeight-j)),E.height=Math.min(E.height,E.maxHeight)),L.minWidth&&L.maxWidth&&E.minWidth>E.maxWidth&&(E.width=E.minWidth),L.minHeight&&L.maxHeight&&E.minHeight>E.maxHeight&&(E.height=E.minHeight),O.is.imageLayer&&(E.minWidth||E.minHeight||E.maxWidth||E.maxHeight)){M.addClass("ls-force-display-block ls-force-visibility-hidden");var U={minHeight:E.minHeight?E.minHeight:0,minWidth:E.minWidth?E.minWidth:0,maxHeight:E.maxHeight?E.maxHeight:"none",maxWidth:E.maxWidth?E.maxWidth:"none"};O.original.autoWidth?E.minWidth&&!E.minHeight||E.maxWidth&&!E.maxHeight?U.width=E.width:U.width="auto":U.width=E.width,O.original.autoHeight?!E.minWidth&&E.minHeight||!E.maxWidth&&E.maxHeight?U.height=E.height:U.height="auto":U.height=E.height,C.css(U),E.width=C.width(),E.height=C.height(),delete E.minWidth,delete E.minHeight,delete E.maxWidth,delete E.maxHeight,M.removeClass("ls-force-display-block ls-force-visibility-hidden")}if((B||D)&&(L.percentHeight||L.percentWidth)&&O.is.imageLayer&&(L.percentHeight&&!L.percentWidth&&(E.width=Math.max(0,L.width*((E.height+j)/L.height)-G)),L.percentWidth&&!L.percentHeight&&(E.height=Math.max(0,L.height*((E.width+G)/L.width)-j))),("number"==typeof L.width&&L.width<0||"auto"==L.width||""==L.sWidth)&&r.debugMode&&r.debug.add("warn","resize.width",[b+1,L.width]),("number"==typeof L.height&&L.height<0||"auto"==L.height||""==L.sHeight)&&r.debugMode&&r.debug.add("warn","resize.height",[b+1,L.height]),E.fontSize=L.fontSize*_,O.is.textLayer&&(l.isMobile&&E.fontSize<O.styleSettings.minmobilefontsize?E.fontSize=O.styleSettings.minmobilefontsize:E.fontSize<O.styleSettings.minfontsize&&(E.fontSize=O.styleSettings.minfontsize),$=E.fontSize/L.fontSize,E.fontSize+="px",-1!==L.lineHeight.indexOf("px")&&(E.lineHeight=parseFloat(L.lineHeight)*$+"px"),-1!==L.letterSpacing.indexOf("px")&&(E.letterSpacing=parseFloat(L.letterSpacing)*$+"px"),-1!==L.textStrokeWidth.indexOf("px")&&(E.textStrokeWidth=parseFloat(L.textStrokeWidth)*$+"px"),""==L.sWidth&&(E.width="auto",O.elements.$innerWrapper.addClass("ls-force-width-auto"),"nowrap"!==C.css("white-space")&&(O.elements.$_innerWrappers.addClass("ls-force-left-0"),O.elements.$_outerWrappers.addClass("ls-force-full-size"))),""==L.sHeight&&(E.height="auto",O.elements.$innerWrapper.addClass("ls-force-height-auto")),""!=L.sWidth&&""!=L.sHeight||C.css(E)),O.is.slideBackground||O.is.backgroundVideo)if(O.is.slideBackground){var K=r.slides[O.is.onSlide].data.backgroundSize;switch((void 0!==K&&"inherit"!==K?K:r.o.slideBGSize).replace("100% 100%","stretch")){case"auto":default:break;case"cover":L.ratio<h?(E.width=u,E.height=E.width/L.ratio):(E.height=m,E.width=E.height*L.ratio);break;case"contain":L.ratio<h?(E.height=m,E.width=E.height*L.ratio):(E.width=u,E.height=E.width/L.ratio);break;case"stretch":E.width=u,E.height=m}E.width=Math.round(E.width),E.height=Math.round(E.height);var q=r.slides[O.is.onSlide].data.backgroundPosition;switch((F=void 0!==q?q.split(" "):r.o.slideBGPosition.split(" "))[0]){case"left":E.x=0;break;case"center":E.x=(r.slider.width-E.width)/2;break;case"right":E.x=r.slider.width-E.width;break;default:-1!==F[0].indexOf("%")?E.x=(r.slider.width-E.width)/100*parseInt(F[0]):E.x=parseInt(F[0])}if(void 0!==F[1])switch(F[1]){case"top":E.y=0;break;case"center":E.y=(r.slider.height-E.height)/2;break;case"bottom":E.y=r.slider.height-E.height;break;default:-1!==F[1].indexOf("%")?E.y=(r.slider.height-E.height)/100*parseInt(F[1]):E.y=parseInt(F[1])}E.transform="translateX("+E.x+"px) translateY("+E.y+"px)",E["-ms-transform"]="translateX("+E.x+"px) translateY("+E.y+"px)",E["-webkit-transform"]="translateX("+E.x+"px) translateY("+E.y+"px)"}else O.is.backgroundVideo&&("html5"===O.mediaProperties.type?(E.x=0,E.y=0,E.width=r.slider.width,E.height=r.slider.height):(L.ratio<h?(E.width=u,E.height=E.width/L.ratio):(E.height=m,E.width=E.height*L.ratio),E.x=(r.slider.width-E.width)/2,E.y=(r.slider.height-E.height)/2,E.width=Math.round(E.width),E.height=Math.round(E.height)),E.transform="translateX("+E.x+"px) translateY("+E.y+"px)",E["-ms-transform"]="translateX("+E.x+"px) translateY("+E.y+"px)",E["-webkit-transform"]="translateX("+E.x+"px) translateY("+E.y+"px)");else{if(O.mediaProperties&&("youtube"===O.mediaProperties.type||"vimeo"===O.mediaProperties.type)){var Q=E.width/E.height,Z={width:E.width,height:E.height};L.ratio<Q?(Z.height=E.width/L.ratio,Z.marginTop=(E.height-Z.height)/2):(Z.width=E.height*L.ratio,Z.marginLeft=(E.width-Z.width)/2),O.mediaProperties.$media.css(Z)}if(O.elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),C.addClass("ls-force-no-transform"),O.is.insideLayerGroup)(I=(P=C.data("$layerGroup")).data(r.defaults.init.dataKey)).elements.$_innerWrappers.addClass("ls-force-display-block ls-force-no-transform"),P.addClass("ls-force-no-transform");"auto"==E.width?E.outerWidth=Math.ceil(C.outerWidth()):E.outerWidth=E.width+r.layers.toNum(E.paddingLeft,E.fontSize)+r.layers.toNum(E.paddingRight,E.fontSize)+r.layers.toNum(E.borderLeftWidth,E.fontSize)+r.layers.toNum(E.borderRightWidth,E.fontSize),"auto"==E.height?E.outerHeight=Math.ceil(C.outerHeight()):E.outerHeight=E.height+r.layers.toNum(E.paddingTop,E.fontSize)+r.layers.toNum(E.paddingBottom,E.fontSize)+r.layers.toNum(E.borderTopWidth,E.fontSize)+r.layers.toNum(E.borderBottomWidth,E.fontSize),O.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"),C.removeClass("ls-force-no-transform"),O.is.insideLayerGroup&&(I.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"),P.removeClass("ls-force-no-transform")),H.width=Y.width=E.outerWidth,H.height=Y.height=E.outerHeight,-1!=L.left.indexOf("%")?"100%"===L.left?E.left=0===V?z/100*parseFloat(L.left)-E.outerWidth:V+i*n/100*parseFloat(L.left)-E.outerWidth:"0%"===L.left?E.left=0===V?0:V:E.left=0===V?z/100*parseFloat(L.left)-E.outerWidth/2:V+i*n/100*parseFloat(L.left)-E.outerWidth/2:E.left=V+parseFloat(L.left)*_,H.left=E.left,-1!=L.top.indexOf("%")?"100%"===L.top?E.top=0===R?A/100*parseFloat(L.top)-E.outerHeight:R+a*n/100*parseFloat(L.top)-E.outerHeight:"0%"===L.top?E.top=0===R?0:R+0:E.top=0===R?A/100*parseFloat(L.top)-E.outerHeight/2:R+a*n/100*parseFloat(L.top)-E.outerHeight/2:E.top=R+parseFloat(L.top)*_,H.top=E.top}
41if(O.textIn.$nodesForBackgroundClip&&O.textIn.$nodesForBackgroundClip.length){var J=O.elements.$outerStyleWrapper.add(O.elements.$outerStyleWrapper.find(".ls-wrapper"));J.addClass("ls-force-visibility-hidden ls-force-display-block"),O.elements.$_innerWrappers.addClass("ls-force-no-transform");var ee=!1;"auto"===k.style.width&&(k.style.width=Math.ceil(O.original.width*(w*_))+"px",ee=!0),O.textIn.$nodesForBackgroundClip.each(function(t,i){var a=e(i),s=a.children(".ls-textnode-bgclip-wrap"),r=s.children(".ls-textnode"),o=a.position();s.css({width:Math.ceil(H.width),height:Math.ceil(H.height),transform:"translate("+-o.left/w+"px,"+-o.top/w+"px)"}),r.css({marginLeft:o.left/w,marginTop:o.top/w})}),ee&&(k.style.width="auto",ee=!1),O.elements.$_innerWrappers.removeClass("ls-force-no-transform"),J.removeClass("ls-force-visibility-hidden ls-force-display-block")}E.fontSize=parseFloat(E.fontSize)/l.automaticFontSizeRatio+"px",r.plugins.callFunctions("beforeResizeSingleLayerSmartBG",{$layer:C,layerData:O,layerStyle:E,wrapperStyle:H}),O.responsive=E,f[b]=E,O.is.smartBG&&(E.left=Math.round(E.left),E.top=Math.round(E.top),E.width=Math.ceil(E.width),E.height=Math.ceil(E.height),f[b]["--sw"]=(B?r.slider.width:p.width*_)+"px",f[b]["--sh"]=(D?r.slider.height:p.height*_)+"px",f[b]["--x"]=-E.left-parseFloat(E.borderLeftWidth)-parseFloat(H.marginLeft)+(B?0:x)+"px",f[b]["--y"]=-E.top-parseFloat(E.borderTopWidth)-parseFloat(H.marginTop)+(D?0:S)+"px"),O.is.slideBackground||O.is.backgroundVideo||(O.settings.wrapperData.responsive=H,g[b]=H,y[b]=Y,v[b]=X)}if(t.singleLayer)return f;for(var te=0,ie=f.length;te<ie;te++){var ae=e(c[te]),se=ae.data(r.defaults.init.dataKey);r.plugins.callFunctions("beforeResizeSingleLayerEnd",{$layer:ae,layerData:se,layerStyle:f[te],wrapperStyle:g[te]}),ae.css(f[te]),se.is.slideBackground||se.is.backgroundVideo?(se.is.slideBackground||se.is.backgroundVideo)&&(se.elements.$bgOuterWrapper.css({width:r.slider.width,height:r.slider.height}),se.elements.$outerWrapper.css({width:r.slider.width,height:r.slider.height})):(ae.find(".split-item").css(v[te]),d.wrappers(ae,se,g[te],y[te])),se.is.lottie&&(e(se.lottie.options.canvas).attr({width:f[te].width,height:f[te].height}),se.lottie.player.resize()),r.plugins.callFunctions("afterResizeSingleLayer",{$layer:ae,layerData:se})}t.callback&&t.callback(),r.debugMode&&r.debug.groupEnd("resize")}},wrappers:function(e,t,i,a){i&&t.elements.$outerStyleWrapper.css(i),a&&t.loop.enabled&&t.elements.$loopWrapper.css(a),o.TweenMax.set(t.elements.$wrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.layer*r.resize.ratio}}),t.loop.enabled&&o.TweenMax.set(t.elements.$loopWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.loop*r.resize.ratio}}),t.hover.enabled&&o.TweenMax.set(e[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.hover*r.resize.ratio}}),t.textIn.nodes&&o.TweenMax.set(t.textIn.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*r.resize.ratio}}),t.textOut.nodes&&o.TweenMax.set(t.textOut.nodes,{autoCSS:!1,css:{transformPerspective:t.transformPerspective.text*r.resize.ratio}}),t.parallax.enabled&&o.TweenMax.set(t.elements.$parallaxWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.parallax*r.resize.ratio}}),t.scroll.enabled&&o.TweenMax.set(t.elements.$scrollTransformWrapper[0],{autoCSS:!1,css:{transformPerspective:t.transformPerspective.scroll*r.resize.ratio}})},performTransformOperations:function(t,i){var a,s,r;for(var o in i)if("string"==typeof i[o]&&-1!==i[o].indexOf("="))if(s=(a=i[o].split("="))[0].trim()||!1,r=parseFloat(a[1].trim())||!1,s&&r&&e.isNumeric(r))switch(s){case"+":i[o]=t[o]+r;break;case"-":i[o]=t[o]-r;break;case"*":i[o]=t[o]*r;break;case"/":i[o]=t[o]/r}else i[o]=t[o]},mirrorTransitionProperties:function(t){var i=function(t){var i=t;switch(t){case"left":i="right";break;case"right":i="left";break;case"top":i="bottom";break;case"bottom":i="top"}return-1!==t.indexOf("lw")||-1!==t.indexOf("lh")||-1!==t.indexOf("sw")||-1!==t.indexOf("sh")?i="-"===t.charAt(0)?t.substring(1):"-"+t:-1!==t.indexOf("%")?i=-1*parseFloat(t.split("%")[0])+"%":e.isNumeric(t)&&0!==t&&"0"!==t&&(i=-1*t),i},a=function(e){var a,s,r;for(var o in e)if(r=o.toLowerCase(),-1!==t.mirrorProperties.indexOf(r)){if("object"==typeof(a=e[o]))for(var n in s=[],a)s.push(i(a[n]));else s=i(a);e[o]=s}};a(t.transitionProperties),t.transitionPropertiesShouldBeConverted&&a(t.transitionPropertiesShouldBeConverted)}
41,transformProperties:function(e,t,i,a,s,o,n){if("object"==typeof a.x){for(var l=[],d=0;d<a.x.length;d++)"string"==typeof a.x[d]?l[d]=this.getXY(e,t,a.x[d],"Width"):l[d]=a.x[d]*t.settings.calculatedratio;i.cycle.x=l}else"string"==typeof a.x?-1!==a.x.indexOf("random")||a.x.charAt(0)===r.defaults.init.openingBracket?i.x=r.functions.convert.randomProperties(a.x,"x",n,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 c=[],p=0;p<a.y.length;p++)"string"==typeof a.y[p]?c[p]=this.getXY(e,t,a.y[p],"Height"):c[p]=a.y[p]*t.settings.calculatedratio;i.cycle.y=c}else"string"==typeof a.y?-1!==a.y.indexOf("random")||a.y.charAt(0)===r.defaults.init.openingBracket?i.y=r.functions.convert.randomProperties(a.y,"y",n,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||o){var u=[];if(o){var m=e.data(r.defaults.init.dataKey).elements.$outerStyleWrapper.add(e.data(r.defaults.init.dataKey).elements.$outerStyleWrapper.find(".ls-wrapper"));m.addClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes"),u=r.functions.convert.nodesTransformOrigin(a.transformOrigin,o,t,e.data(r.defaults.init.dataKey).elements.$outerStyleWrapper),m.removeClass("ls-force-visibility-hidden ls-force-display-block ls-fix-textnodes")}else for(var h=0;h<a.transformOrigin.length;h++)u[h]=r.functions.convert.transformOrigin(a.transformOrigin[h],e,t,e.data(r.defaults.init.dataKey).elements.$outerStyleWrapper);i.cycle.transformOrigin=u}else"string"==typeof a.transformOrigin&&(i.transformOrigin=r.functions.convert.transformOrigin(a.transformOrigin,e,t,e.data(r.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(r.layers.getStyle(a.width,r.slider.initial.percW))),a.height&&-1!==a.height.indexOf("%")&&(a.percentHeight=parseInt(a.height),a.height=parseInt(r.layers.getStyle(a.height,r.slider.initial.percH)));var s=r.resize.layers({singleLayer:e,original:a})[0];for(var o in a)-1===o.indexOf("percent")&&s.hasOwnProperty(o)&&-1===s[o].indexOf("NaN")&&(i[o]=s[o])},getXY:function(e,t,i,a,s){var o=0,n=r.slider.width||r.slider.initial.width,l=r.slider.height||r.slider.initial.height,d=t.original,c=t.responsive,p=t.settings.wrapperData&&t.settings.wrapperData.responsive?t.settings.wrapperData.responsive:{marginLeft:this.convertSingleValue(d.marginLeft,this.ratio),marginTop:this.convertSingleValue(d.marginTop,this.ratio),marginRight:this.convertSingleValue(d.marginRight,this.ratio),marginBottom:this.convertSingleValue(d.marginBottom,this.ratio)};if(c.outerWidth||(c.outerWidth=Math.ceil(e.outerWidth())),c.outerHeight||(c.outerHeight=Math.ceil(e.outerHeight())),d&&c&&p)switch(i){case"left":o=-1!=d.left.indexOf("%")&&parseInt(d.left)?"100%"===d.left?-c.left-c.outerWidth-parseInt(p.marginLeft):-parseFloat(d.left)/100*n-c.outerWidth/2-parseInt(p.marginLeft):-c.left-c.outerWidth-parseInt(p.marginLeft);break;case"right":o=-1!=d.left.indexOf("%")&&parseInt(d.left)?"100%"===d.left?n-c.left-parseInt(p.marginLeft):(1-parseFloat(d.left)/100)*n+c.outerWidth/2-parseInt(p.marginLeft):n-c.left-parseInt(p.marginLeft);break;case"top":o=-1!=d.top.indexOf("%")&&parseInt(d.top)?"100%"===d.top?-c.top-c.outerHeight-parseInt(p.marginTop):-parseFloat(d.top)/100*l-c.outerHeight/2-parseInt(p.marginTop):-c.top-c.outerHeight-parseInt(p.marginTop);break;case"bottom":o=-1!=d.top.indexOf("%")&&parseInt(d.top)?"100%"===d.top?l-c.top-parseInt(p.marginTop):(1-parseFloat(d.top)/100)*l+c.outerHeight/2-parseInt(p.marginTop):l-c.top-parseInt(p.marginTop);break;case"width":o=c.outerWidth;break;case"-width":o=-c.outerWidth;break;case"height":o=c.outerHeight;break;case"-height":o=-c.outerHeight;break;default:o=-1!==i.indexOf("%")?c["outer"+a]/100*parseInt(i):-1!==i.indexOf("lw")?c.outerWidth/100*parseFloat(i.split("lw")[0]):-1!==i.indexOf("lh")?c.outerHeight/100*parseFloat(i.split("lh")[0]):-1!==i.indexOf("sw")?parseFloat(i.split("sw")[0])/100*n:-1!==i.indexOf("sh")?parseFloat(i.split("sh")[0])/100*l:parseFloat(i)*(s?1:t.settings.calculatedratio||this.calculateRatio(t,this.ratio))}return o},navigation:function(){"always"==r.o.thumbnailNavigation&&r.gui.navigation.bottom.thumbnails.resize()},shadow:function(){r.gui.shadow.show&&r.gui.shadow.show(),r.gui.shadow.$element&&r.gui.shadow.resize()},timers:function(){if(r.gui.timers.slidebar.$containerElement.length>0)for(var e=0,t=r.gui.timers.slidebar.$containerElement.length;e<t;e++)r.gui.timers.slidebar.containerElementWidth[e]=r.gui.timers.slidebar.$containerElement[e].width(),r.gui.timers.slidebar.elementWidth[e]=r.gui.timers.slidebar.$element[e].width()}},r.timelines={slides:[],to:function(t,i){var a,s,n,l,d,c,p,u,m,h,f;if(e.isArray(t)){for(s=t[0],n=t[1]||"",d=t.length>2?t[2]:null,c=t.length>3&&!!t[3],p=t.length>4&&!!t[4],u=t.length>5&&!!t[5],m=t.length>6&&!!t[6],i?l=[t[1]]:"string"==typeof n?l=e.trim(n)?e.trim(n).split(/\s+/):[]:e.isArray(n)?l=n:(console.error("ls.timelines.to | no timelines found!"),l=[]),a=0;a<l.length;a++)if(i?f=l[a]:(h=l[a],f=s&&s[h]),f instanceof o.TimelineMax){if(f.pause(),m){var g=f.getChildren(!0,!1,!0);g.sort(function(e,t){return e.endTime()-t.endTime()});for(var y=0;y<g.length;y++)r.timelines.to([s,g[y],d,c,p,u],!0)}e.isNumeric(d)&&f.progress(d),c&&f.kill(),p&&f.clear().invalidate(),u&&s.hasOwnProperty(h)&&(s[h]=null)}}else console.error("ls.timelines.to | invalid parameter:",t)},has:function(e){return e&&e instanceof o.TimelineMax}},r.transitions={firstSlide:!0,start:function(){return!!document.body.contains(t)&&(r.slider.isPopup&&r.slider.state.popupIsWaitingForDelay?(r.slider.state.waitingForPopupTimer=!0,!1):(r.device.scroll.directionAtSlideTransitionStart=r.device.scroll.direction,"always"==r.o.thumbnailNavigation&&(r.gui.navigation.bottom.thumbnails.change(),"ontouchstart"in window||r.gui.navigation.bottom.thumbnails.scroll()),this.layers.out.forced(),void this.slide.init()))},slide:{$wrapper:e(),isStarted:!1,init:function(){var t,i;if(r.functions.setStates(r.slider,{animatingSlides:!0}),r.transitions.layers.parallax.reset(),r.slider.$layersWrapper.find('.ls-parallax[data-ls-parallax="active"]').each(function(){e(this).find(".ls-layer").data(r.defaults.init.dataKey).settings.slideOut===r.slides.current.index&&e(this).attr("data-ls-parallax","inactive")}),r.transitions.curSlide=r.slides.current,r.transitions.nextSlide=r.slides.next,r.timelines._slideTransition=new o.TimelineMax({paused:!0,onComplete:function(){r.transitions.slide.onComplete()}}),r.transitions.slide.isStarted=!1,r.slider.isScrollScene&&(r.o.animateFirstSlide=!1),r.transitions.firstSlide&&r.o.animateFirstSlide&&(r.transitions.curSlide=e.extend(!0,{},r.transitions.nextSlide),r.transitions.curSlide.data.$background=e('<img src="'+r.defaults.init.emptyIMG+'">'),r.transitions.curSlide.data.$background.data(r.defaults.init.dataKey,{kenBurns:{},responsive:{width:10,height:10,x:0,y:0,kbRotation:"0",kbScale:"0"}}),r.transitions.curSlide.data.backgroundColor="transparent",r.transitions.curSlide.data.backgroundGradient=!1),r.transitions.firstSlide&&!r.o.animateFirstSlide){if(void 0!==r.transitions.nextSlide.data.$background){var a=r.transitions.nextSlide.data.$background.data(r.defaults.init.dataKey),s=a.kenBurns.zoom?a.kenBurns.from.scale:1,n=a.kenBurns.zoom?a.kenBurns.from.rotation:0,d=r.transitions.nextSlide.filter.from||"none";r.timelines._slideTransition.set(r.transitions.nextSlide.data.$background[0],{"-webkit-filter":d,filter:d},0),r.timelines._slideTransition.fromTo(r.transitions.nextSlide.data.$background.closest(".ls-bg-wrap")[0],r.o.sliderFadeInDuration,{autoCSS:!1,css:{scale:s,rotation:n,opacity:0,display:"block"}},{autoCSS:!1,css:{opacity:1}},0)}this.start(!0)}else"undefined"==typeof layerSliderTransitions&&"undefined"==typeof layerSliderCustomTransitions?(this.start(!0),r.debugMode&&r.debug.add("warn","slideTransition.noSlideTransition",r.transitions.nextSlide.index)):void 0===r.transitions.curSlide.data.$background&&void 0===r.transitions.nextSlide.data.$background&&"transparent"==r.transitions.curSlide.data.backgroundColor&&"transparent"==r.transitions.nextSlide.data.backgroundColor?this.start(!0):("x"===r.o.clipSlideTransition?l.$overflowWrapper.addClass("ls-overflowx-hidden"):"y"===r.o.clipSlideTransition?l.$overflowWrapper.addClass("ls-overflowy-hidden"):!0===r.o.clipSlideTransition&&l.$overflowWrapper.addClass("ls-overflow-hidden"),void 0===r.transitions.curSlide.data.$background||r.transitions.firstSlide&&r.o.animateFirstSlide||(t=r.transitions.curSlide.data.$background.closest(".ls-bg-wrap")[0]._gsTransform,(i=r.transitions.curSlide.data.$background.data(r.defaults.init.dataKey)).responsive.filter=r.transitions.curSlide.data.$background[0].style.filter,i.responsive.kbRotation=void 0!==t?" rotate("+t.rotation+"deg)":" rotate(0deg)",i.responsive.kbScale=void 0!==t?" scale("+t.scaleX+")":" scale(1)"),r.transitions.slide.$wrapper=e("<div>").addClass("ls-slide-transition-wrapper").css({width:r.slider.width,height:r.slider.height}),this.select.slideTransitionType())},select:{slideTransitionType:function(){this.transitionType="normal",r.plugins.callFunctions("selectSlideTransitionTypeBefore",{}),r.transitions.slide[this.transitionType].select.transitionType()}},start:function(t,i){var a,s,n=!(!r.slides.current.index||!r.slides.current.data.$backgroundVideo.length),l=!(!r.slides.next.index||!r.slides.next.data.$backgroundVideo.length);if((r.transitions.slide.isStarted=!0,!r.slideshow.firstStart&&r.api.hasEvent("slideChangeDidStart")&&r.api.triggerEvent("slideChangeDidStart",r.api.eventData()),!t)&&(void 0!==r.transitions.nextSlide.data.transitionDuration?s=r.transitions.nextSlide.data.transitionDuration:void 0!==r.o.slideTransitionDuration&&e.isNumeric(r.o.slideTransitionDuration)&&r.o.slideTransitionDuration>-1&&(s=r.o.slideTransitionDuration/1e3),e.isNumeric(s)&&(0===s&&(s+=1e-5),r.timelines._slideTransition.duration(s)),r.transitions.firstSlide&&r.o.animateFirstSlide&&r.o.firstSlideDuration&&r.timelines._slideTransition.duration(r.o.firstSlideDuration/1e3),r.debugMode&&r.debug.options.transitionDuration&&r.timelines._slideTransition.duration(r.debug.options.transitionDuration),r.transitions.layers.timeline.timeScaleModifier>.25)){var d=r.timelines._slideTransition.duration()/(.75+r.transitions.layers.timeline.timeScaleModifier);d=d<.5?.5:d,r.timelines._slideTransition.duration(d)}i&&r.timelines._slideTransition.timeScale(1);var c,p=r.timelines._slideTransition.duration()/r.timelines._slideTransition.timeScale(),u=p,m=r.transitions.nextSlide.data.timeShift||(void 0!==r.o.slideTimeShift&&e.isNumeric(r.o.slideTimeShift)&&r.o.slideTimeShift<0?r.o.slideTimeShift/1e3:0);m>0?m=0:Math.abs(m)>p&&(m=-p),r.transitions.firstSlide&&r.o.animateFirstSlide&&!1!==r.o.firstSlideTimeShift&&r.o.firstSlideTimeShift<=0&&(m=r.o.firstSlideTimeShift/1e3),r.transitions.nextSlide.data.calculatedTimeShift=m,c=r.transitions.firstSlide&&!r.o.animateFirstSlide?r.o.sliderFadeInDuration+.01:(u+m)*r.timelines._slideTransition.timeScale(),!n&&!l||r.transitions.nextSlide.data.sfxtr&&!r.transitions.firstSlide||r.transitions.media.changeBackgroun
41dVideo(r.transitions.firstSlide,!(!n||!l)),r.timelines._slideTransition.call(function(){!r.slideshow.firstStart&&r.api.hasEvent("slideChangeWillComplete")&&r.api.triggerEvent("slideChangeWillComplete",r.api.eventData()),r.slideshow.should.change||r.transitions.layers.timeline.prepare(),r.slides.set.slideIndexes(),r.o.hashChange&&(document.location.hash=r.slides[r.slides.current.index].data.deeplink||"_no-deeplink-found_"),r.slideshow.start(),!r.transitions.firstSlide&&r.slides.prev.index&&r.slides.prev.data.$backgroundVideo.length&&!r.slides.prev.data.$backgroundVideo.data(r.defaults.init.dataKey).mediaProperties.willBePaused&&(r.slides.prev.data.$backgroundVideo.trigger("stopBackgroundVideo"),r.slides.prev.data.$backgroundVideo.data(r.defaults.init.dataKey).elements.$bgWrapper.css({display:"none"})),r.slideshow.should.change||r.slides.next.data.$backgroundVideo.length&&r.slides.next.data.$backgroundVideo.data(r.defaults.init.dataKey).mediaProperties&&!r.slides.next.data.$backgroundVideo.data(r.defaults.init.dataKey).mediaProperties.isPreloaded&&(r.slides.next.data.$backgroundVideo.trigger("preloadBackgroundVideo"),r.slides.next.data.$backgroundVideo.data(r.defaults.init.dataKey).mediaProperties.isPreloaded=!0),r.transitions.firstSlide=!1},[],this,c),r.timelines._slideTransition.play(),r.slideshow.forceFastChange&&r.timelines._slideTransition.progress(1),void 0!==r.transitions.curSlide.data&&void 0!==r.transitions.curSlide.data.$background&&r.timelines._slideTransition.add(function(){a=r.transitions.curSlide.data.$background.data(r.defaults.init.dataKey),r.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),a.kenBurns.zoom&&o.TweenMax.set(r.transitions.curSlide.data.$background[0],{autoCSS:!1,css:a.kenBurns.from})},0)},onComplete:function(){var e;void 0!==r.transitions.nextSlide.data.$background&&(r.transitions.nextSlide.data.$background.closest(".ls-bg-wrap").show(),r.transitions.nextSlide.data.$background[0].getBoundingClientRect()),"transparent"!==r.transitions.nextSlide.data.backgroundColor?r.slider.$slideBGColorWrapper.css("background-color",r.transitions.nextSlide.data.backgroundColor):r.slider.$slideBGColorWrapper.css("background-color","transparent"),r.o.leaveOverflow||l.$overflowWrapper.removeClass("ls-overflowx-hidden ls-overflowy-hidden ls-overflow-hidden"),this.$wrapper&&(this.$wrapper.html("").remove(),this.$wrapper=!1),r.gui.navigation.bottom.bullets.set.active(),r.o.cycles>0&&(r.slideshow.hasOwnProperty("cycleSlideIndex")?r.slideshow.cycles.check(r.transitions.nextSlide.index)&&(r.navigation.stop(),r.functions.setStates(r.slideshow,{pausedByLastCycle:!0}),r.o.forceCycles&&(r.slideshow.curCycle=1)):r.slideshow.cycles.set()),r.functions.setStates(r.slider,{animatingSlides:!1,changingSlides:!1}),!r.slideshow.firstStart&&r.api.hasEvent("slideChangeDidComplete")&&r.api.triggerEvent("slideChangeDidComplete",r.api.eventData()),r.slideshow.firstStart=!1,r.slideshow.forceFastChange=!1,r.slideshow.forceFastChangeCallback&&(r.slideshow.forceFastChangeCallback(),r.slideshow.forceFastChangeCallback=!1),r.slideshow.should.change?r.navigation.forceDirection?(void 0!==r.transitions.curSlide.data&&void 0!==r.transitions.curSlide.data.$background&&(e=r.transitions.curSlide.data.$background.data(r.defaults.init.dataKey),r.transitions.curSlide.data.$background.closest(".ls-bg-wrap").hide(),e.kenBurns.zoom&&o.TweenMax.set(r.transitions.curSlide.data.$background[0],{autoCSS:!1,css:e.kenBurns.from})),r.slideshow.changeTo(r.slideshow.get.slideInSequence(r.navigation.forceDirection),!0),r.navigation.forceDirection=!1):r.slideshow.forceSlideChangeTo?r.slideshow.changeTo(r.slideshow.forceSlideChangeTo,!0,!0):r.preload.imagesOfSlide(r.slides.next.index):r.preload.imagesOfSlide(r.slides.next.index)},normal:{select:{transitionType:function(){if(r.o.slideTransition)r.transitions.slide.normal.setTransition(r.o.slideTransition.type,r.o.slideTransition.obj);else{var e,t,i=!!r.transitions.nextSlide.data.transition2d&&r.transitions.nextSlide.data.transition2d.toString().split(",");r.device.touchPrev&&r.o.slideOnSwipe?(r.device.touchPrev=!1,this.transition("2d","1")):r.device.touchNext&&r.o.slideOnSwipe?(r.device.touchNext=!1,this.transition("2d","1")):r.slides.next.data.$background||i&&(!i||-1!=i.indexOf("1")||-1!=i.indexOf("2")||-1!=i.indexOf("3")||-1!=i.indexOf("4"))?r.browser.supports3D()&&(r.transitions.nextSlide.data.transition3d||r.transitions.nextSlide.data.customtransition3d)?r.transitions.nextSlide.data.transition3d&&r.transitions.nextSlide.data.customtransition3d?(e=Math.floor(2*Math.random()),t=[["3d",r.transitions.nextSlide.data.transition3d],["custom3d",r.transitions.nextSlide.data.customtransition3d]],this.transition(t[e][0],t[e][1])):r.transitions.nextSlide.data.transition3d?this.transition("3d",r.transitions.nextSlide.data.transition3d):this.transition("custom3d",r.transitions.nextSlide.data.customtransition3d):r.transitions.nextSlide.data.transition2d&&r.transitions.nextSlide.data.customtransition2d?(e=Math.floor(2*Math.random()),t=[["2d",r.transitions.nextSlide.data.transition2d],["custom2d",r.transitions.nextSlide.data.customtransition2d]],this.transition(t[e][0],t[e][1])):r.transitions.nextSlide.data.transition2d?this.transition("2d",r.transitions.nextSlide.data.transition2d):r.transitions.nextSlide.data.customtransition2d?this.transition("custom2d",r.transitions.nextSlide.data.customtransition2d):this.transition("2d","1"):this.transition("2d","5")}},transition:function(e,t){r.debugMode&&r.debug.add("group","slideTransition.info"),t+="";var i,a=-1==e.indexOf("custom")?r.t:r.ct,s="3d";if(-1!=e.indexOf("2d")&&(s="2d"),-1!=t.indexOf("last"))i=a["t"+s].length-1;else if(-1!=t.indexOf("all"))i=Math.floor(Math.random()*r.functions.countProp(a["t"+s]));else{var o=t.split(","),n=o.length;i=parseInt(o[Math.floor(Math.random()*n)])-1}void 0===a["t"+s][i]&&(r.debugMode&&r.debug.add("warn","slideTransition.customTransition",[s.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),i+1]),a=r.t,e=s="2d",i=0),r.debugMode&&r.debug.add("log","slideTransition.info",[s.toUpperCase()+(-1===e.indexOf("custom")?"":" (CUSTOM)"),i+1,a["t"+s][i].name]),r.transitions.slide.normal.setTransition(s,a["t"+s][i])}},setTransition:function(t,i){i.name||(i=_lsConvTrProp(i));var a,s,n,d,c,p=e.extend(!0,{cols:1,rows:1},i),u=typeof p.cols,m=typeof p.rows,h=[],f=r.navigation.direction,g=0,y=0,v=!!r.transitions.curSlide.data.$background&&r.functions.getURL(r.transitions.curSlide.data.$background),x=!!r.transitions.nextSlide.data.$background&&r.functions.getURL(r.transitions.nextSlide.data.$background),S=r.o.playByScroll&&"up"===r.device.scroll.direction?"to":"from";if(p.rc){switch(typeof p.rc){case"number":r.slider.width>r.slider.height?(m=p.rc,u=Math.floor(r.slider.width/(r.slider.height/p.rc))):(u=p.rc,m=Math.floor(r.slider.height/(r.slider.width/p.rc)));break;case"string":n=parseInt(p.rc),u=Math.floor(r.slider.width/n),m=Math.floor(r.slider.height/n)}p.cols=u,p.rows=m}else{switch(u){case"number":u=p.cols;break;case"string":u=Math.floor(Math.random()*(parseInt(p.cols.split(",")[1])-parseInt(p.cols.split(",")[0])+1))+parseInt(p.cols.split(",")[0]);break;default:u=Math.floor(Math.random()*(p.cols[1]-p.cols[0]+1))+p.cols[0]}switch(m){case"number":m=p.rows;break;case"string":m=Math.floor(Math.random()*(parseInt(p.rows.split(",")[1])-parseInt(p.rows.split(",")[0])+1))+parseInt(p.rows.split(",")[0]);break;default:m=Math.floor(Math.random()*(p.rows[1]-p.rows[0]+1))+p.rows[0]}l.isMobile&&r.o.optimizeForMobile&&(u>=15?u=7:u>=5?u=4:u>=4?u=3:u>2&&(u=2),m>=15?m=7:m>=5?m=4:m>=4?m=3:m>2&&(m=2),m>2&&u>2&&(m=2,u>4&&(u=4)))}if(r.debugMode&&!r.o.slideTransition&&(r.debug.add("log","slideTransition.properties",[[u,m],u*m]),r.debug.groupEnd()),a=Math.floor(r.slider.width/u),s=Math.floor(r.slider.height/m),u=Math.floor(r.slider.width/a),m=Math.floor(r.slider.height/s),d=r.slider.width-a*u,c=r.slider.height-s*m,"prev"==f){var w={random:"random",forward:"reverse",reverse:"forward",center:"center",edge:"edge",mirror:"mirror","radial-in":"radial-in","radial-out"
41:"radial-out","col-forward":"col-reverse","col-reverse":"col-forward"};"2d"===t&&p.transition&&"scale"===p.transition.type&&(w.forward="forward",w.reverse="reverse"),p.tile&&p.tile.sequence&&(p.tile.sequence=w[p.tile.sequence]),e.each(["animation","before","after"],function(e,t){if(p[t]&&p[t].transition){var i=p[t].transition;i.rotateX&&Math.abs(i.rotateX)>44&&(i.rotateX*=-1),i.rotateY&&Math.abs(i.rotateY)>44&&(i.rotateY*=-1),i.rotate&&(i.rotate*=-1)}})}for(var b=0;b<u*m;b++)h.push(b);switch(p.tile.sequence){case"reverse":h.reverse();break;case"col-forward":h=r.functions.sortArray(m,u,"forward");break;case"col-reverse":h=r.functions.sortArray(m,u,"reverse");break;case"random":h=r.functions.shuffleArray(h);break;case"center":h=r.functions.sortArray(m,u,"center");break;case"edge":case"mirror":h=r.functions.sortArray(m,u,"edge");break;case"radial-out":h=r.functions.sortArray(m,u,"radial-out");break;case"radial-in":h=r.functions.sortArray(m,u,"radial-in")}if(("transparent"===r.transitions.nextSlide.data.backgroundColor||"3d"==t||void 0!==r.transitions.curSlide.data.$background&&void 0!==r.transitions.nextSlide.data.$background)&&r.slider.$slideBGColorWrapper.css("background-color","transparent"),"2d"==t){var T=-1!=p.name.toLowerCase().indexOf("carousel"),k=-1!=p.name.toLowerCase().indexOf("crossfad");this.$curTiles=e("<div>").addClass("ls-curtiles").appendTo(r.transitions.slide.$wrapper),this.$nextTiles=e("<div>").addClass("ls-nexttiles").appendTo(r.transitions.slide.$wrapper)}for(var C=0;C<u*m;C++){var O,P,I,L,_,M,F,$,W,B=(C+1)%u===0?d:0,D=C>(m-1)*u-1?c:0,z=e("<div>").addClass("ls-slide-transition-tile").css({width:a+B,height:s+D}).data("style",{width:a+B,height:s+D}).appendTo(r.transitions.slide.$wrapper);if(g=C%u===0?g+1:g,y=C%u===0?1:y+1,"3d"==t){z.addClass("ls-3d-container");var A,N,V,R,E,H,Y,X=a+B,G=s+D,j=new o.TimelineMax;Y=Math.abs(Math.abs(y-u/2-.5)-u/2-.5)*Math.abs(Math.abs(g-m/2-.5)-m/2-.5),z.css({zIndex:Y}),N=X/2,V=G/2,R=(A="horizontal"==p.animation.direction?Math.abs(p.animation.transition.rotateY)>90&&"large"!=p.tile.depth?Math.floor(X/7)+B:X:Math.abs(p.animation.transition.rotateX)>90&&"large"!=p.tile.depth?Math.floor(G/7)+D:G)/2,this.createCuboids("ls-3d-box",z,0,0,0,0,-R,0,0,N+"px "+V+"px 0px"),this.createCuboids("ls-3d-front",z.find(".ls-3d-box"),X,G,0,0,R,0,0),"vertical"==p.animation.direction&&Math.abs(p.animation.transition.rotateX)>90?this.createCuboids("ls-3d-back",z.find(".ls-3d-box"),X,G,0,0,-R,180,0):this.createCuboids("ls-3d-back",z.find(".ls-3d-box"),X,G,0,0,-R,0,180),this.createCuboids("ls-3d-left",z.find(".ls-3d-box"),A,G,-R,0,0,0,-90),this.createCuboids("ls-3d-right",z.find(".ls-3d-box"),A,G,X-R,0,0,0,90),this.createCuboids("ls-3d-top",z.find(".ls-3d-box"),X,A,0,-R,0,90,0),this.createCuboids("ls-3d-bottom",z.find(".ls-3d-box"),X,A,0,G-R,0,-90,0),O=z.find(".ls-3d-front"),P="horizontal"==p.animation.direction?Math.abs(p.animation.transition.rotateY)>90?z.find(".ls-3d-back"):p.animation.transition.rotateY>0?z.find(".ls-3d-left"):z.find(".ls-3d-right"):Math.abs(p.animation.transition.rotateX)>90?z.find(".ls-3d-back"):p.animation.transition.rotateX>0?z.find(".ls-3d-bottom"):z.find(".ls-3d-top"),E=h[C]*p.tile.delay,H=r.transitions.slide.$wrapper.find(".ls-3d-container:eq( "+C+" ) .ls-3d-box"),p.before&&p.before.transition?(p.before.transition.delay=p.before.transition.delay?(p.before.transition.delay+E)/1e3:E/1e3,j.to(H[0],p.before.duration/1e3,r.functions.convert.transition(p.before.transition,p.before.easing))):p.animation.transition.delay=p.animation.transition.delay?(p.animation.transition.delay+E)/1e3:E/1e3,j.to(H[0],p.animation.duration/1e3,r.functions.convert.transition(p.animation.transition,p.animation.easing)),p.after&&(p.after.transition||(p.after.transition={}),j.to(H[0],p.after.duration/1e3,r.functions.convert.transition(p.after.transition,p.after.easing,"after"))),r.timelines._slideTransition.add(j,0)}else{var U,K,q,Q,Z,J,ee,te,ie,ae,se,re,oe="auto",ne="auto",le="auto",de="auto",ce=1,pe=1,ue="50% 50%",me="50% 50%",he=0,fe=100,ge={},ye=p.transition.intensity||2;switch(J="random"==p.transition.direction?(Z="scale"==p.transition.type?["top","bottom","middle","right","left","center"]:["top","bottom","right","left"])[Math.floor(Math.random()*Z.length)]:p.transition.direction,-1!=p.name.toLowerCase().indexOf("mirror")&&C%2==0&&(f="prev"==f?"next":"prev"),"prev"==f&&(J={top:"bottom",bottom:"top",middle:"middle",left:"r
41ight",right:"left",center:"center",topleft:"bottomright",topright:"bottomleft",bottomleft:"topright",bottomright:"topleft",none:"none"}[J]),J){case"top":oe=le=-z.data("style").height,ne=de=0;break;case"bottom":oe=le=z.data("style").height,ne=de=0;break;case"left":oe=le=0,ne=de=-z.data("style").width;break;case"right":oe=le=0,ne=de=z.data("style").width;break;case"topleft":oe=z.data("style").height,le=0,ne=z.data("style").width,de=0;break;case"topright":oe=z.data("style").height,le=0,ne=-z.data("style").width,de=0;break;case"bottomleft":oe=-z.data("style").height,le=0,ne=z.data("style").width,de=0;break;case"bottomright":oe=-z.data("style").height,le=0,ne=-z.data("style").width,de=0;break;case"none":oe=0,le=0,ne=0,de=0}switch(this.scale2D=void 0!==p.transition.scale?p.transition.scale:1,1==T&&1!=this.scale2D&&(oe/=2,le/=2,ne/=2,de/=2),(p.transition.rotate||p.transition.rotateX||p.transition.rotateY||1!=this.scale2D)&&"slide"!=p.transition.type?z.css({overflow:"visible"}):z.css({overflow:"hidden"}),1==T?this.$curTiles.css({overflow:"visible"}):this.$curTiles.css({overflow:"hidden"}),!0===k||"slide"==p.transition.type||"scale"==p.transition.type||!0===T||p.transition.hasOwnProperty("opacity")?(ee=z.appendTo(this.$curTiles),te=z.clone().appendTo(this.$nextTiles),O=e("<div>").addClass("ls-curtile").appendTo(ee)):te=z.appendTo(this.$nextTiles),P=e("<div>").addClass("ls-nexttile").appendTo(te),ie=h[C]*p.tile.delay/1e3,ae=p.transition.rotate?p.transition.rotate:0,se=p.transition.rotateX?p.transition.rotateX:0,re=p.transition.rotateY?p.transition.rotateY:0,"prev"==f&&(ae=-ae,se=-se,re=-re),p.transition.type){case"fade":oe=le=ne=de=0,ce=0,pe=1;break;case"mixed":ce=0,pe=1,1==this.scale2D&&(le=de=0),U=void 0!==p.transition.scaleX?p.transition.scaleX:void 0!==p.transition.scale?p.transition.scale:1,K=void 0!==p.transition.scaleY?p.transition.scaleY:void 0!==p.transition.scale?p.transition.scale:1;break;case"scale":switch(oe=le=ne=de=0,ce=0,pe=1,U=1,K=1,J){case"left":case"right":case"center":U=1+h[C]/(50/ye);break;case"top":case"bottom":case"middle":K=1+h[C]/(50/ye)}switch("mirror"===p.tile.sequence&&C>u*m/2&&(he=100,fe=0),J){case"left":ue=he+"% 50%",me=fe+"% 0";break;case"right":ue=fe+"% 50%",me=he+"% 50%";break;case"center":case"middle":q=1,Q=1;break;case"top":ue="50% "+he+"%",me="50% "+fe+"%";break;case"bottom":ue="50% "+fe+"%",me="50% "+he+"%"}}if(r.timelines._slideTransition.fromTo(P[0],p.transition.duration/1e3,{immediateRender:!1,autoCSS:!1,css:{x:-ne,y:-oe,display:"block",opacity:ce,rotation:ae,rotationX:se,rotationY:re,borderRadius:p.transition.borderRadius||0,scaleX:void 0!==U?U:this.scale2D,scaleY:void 0!==K?K:this.scale2D,transformOrigin:ue}},{autoCSS:!1,css:{x:0,y:0,opacity:pe,rotation:0,rotationX:0,rotationY:0,borderRadius:0,scaleX:1,scaleY:1},ease:r.functions.convert.easing(p.transition.easing)},ie),1==k&&(void 0===r.transitions.nextSlide.data.$background||void 0!==r.transitions.nextSlide.data.$background&&(-1!=r.transitions.nextSlide.data.$background.attr("src").toLowerCase().indexOf("png")||r.transitions.nextSlide.data.$background.width()<r.slider.width||r.transitions.nextSlide.data.$background.height()<r.slider.height))&&(ge.opacity=0),"slide"!=p.transition.type&&1!=T||-1!=p.name.toLowerCase().indexOf("mirror"))"scale"==p.transition.type&&(ge.scaleX=q||U,ge.scaleY=Q||K,ge.transformOrigin=me);else{var ve=0;0!==ae&&(ve=-ae),ge.x=de,ge.y=le,ge.rotation=ve,ge.scale=this.scale2D,ge.opacity=ce}p.transition.hasOwnProperty("opacity")&&(ge.opacity=p.transition.opacity),void 0!==O&&r.timelines._slideTransition.to(O[0],p.transition.duration/1e3,{autoCSS:!1,css:ge,ease:r.functions.convert.easing(p.transition.easing)},ie)}I=C%u*a,L=Math.floor(C/u)*s,void 0!==r.transitions.curSlide.data.$background&&(_=r.transitions.curSlide.data.$background.data(r.defaults.init.dataKey),$=r.transitions.curSlide.data.backgroundGradient||"none","3d"===t||"2d"===t&&(!0===k||"slide"===p.transition.type||"scale"===p.transition.type||!0===T||p.transition.hasOwnProperty("opacity"))?O.append(e('<div style="position: absolute;">').css({width:r.slider.width,height:r.slider.height,left:-I,top:-L,backgroundImage:$,transform:_.responsive.kbRotation+_.responsive.kbScale}).append(e("<img>").attr("src",v).css({width:_.responsive.width,height:_.responsive.height,filter:_.responsive.filter,transform:"translateX("+_.responsive.x+"px) translateY("+_.responsive.y+"px)"}))):0===this.$curTiles.children().length&&this.$curTiles.append(e('<div style="position: absolute;">').css({width:r.slider.width,height:r.slider.height,left:-I,top:-L,backgroundImage:$,transform:_.responsive.kbRotation+_.responsive.kbScale}).append(e("<img>").attr("src",v).css({width:_.responsive.width,height:_.responsive.height,filter:_.responsive.filter,transform:"translateX("+_.responsive.x+"px) translateY("+_.responsive.y+"px)"})))),"transparent"===r.transitions.curSlide.data.backgroundColor||r.transitions.curSlide.data.$backgroundVideo.length||("3d"===t||"2d"===t&&(!0===k||"slide"===p.transition.type||!0===T)?O.css("background-color",r.transitions.curSlide.data.backgroundColor):this.$curTiles.css("background-color",r.transitions.curSlide.data.backgroundColor)),void 0!==r.transitions.nextSlide.data.$background&&(F=(M=r.transitions.nextSlide.data.$background.data(r.defaults.init.dataKey)).kenBurns[S],W=r.transitions.nextSlide.data.backgroundGradient||"none",P.append(e('<div style="position: absolute;">').css({width:r.slider.width,height:r.slider.height,left:-I,top:-L,backgroundImage:W,transform:"rotate("+F.rotation+"deg) scale("+F.scale+")"}).append(e("<img>").attr("src",x).css({width:M.responsive.width,height:M.responsive.height,filter:r.transitions.nextSlide.filter.from||"none",transform:"translateX("+M.responsive.x+"px) translateY("+M.responsive.y+"px)"})))),"transparent"===r.transitions.nextSlide.data.backgroundColor||r.transitions.nextSlide.data.$backgroundVideo.length||P.css("background-color",r.transitions.nextSlide.data.backgroundColor)}r.transitions.slide.$wrapper.prependTo(r.o.preferBlendMode?r.slider.$layersWrapper:r.slider.$innerWrapper),r.transitions.slide.start()},createCuboids:function(t,i,a,s,r,o,n,l,d,c){var p="translate3d( "+r+"px, "+o+"px, "+n+"px)";0!==l&&(p+="rotateX( "+l+"deg)"),0!==d&&(p+="rotateY( "+d+"deg)");var u={width:a,height:s,transform:p,"-ms-transform":p,"-webkit-transform":p};c&&(u["transform-origin"]=c,u["-ms-transform-origin"]=c,u["-webkit-transform-origin"]=c),e("<div>").addClass(t).css(u).appendTo(i)}}},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(r.defaults.init.dataKey);t.is.countdown&&r.countdown.startInterval(e,t.countdownSettings),t.hover.enabled&&r.transitions.layers.hover.enable(e),r.layers.set.dataAttribute("add",e,"animating-in"),t.in.zIndex&&r.transitions.layers.setZIndex(e,t,t.in.zIndex),"instant"===t.mediaSettings.autoplay&&r.media.functions.playIfAllowed(e),r.plugins.callFunctions("layerInStart",{$layer:e,layerData:t})},onComplete:function(e){var t=e.data(r.defaults.init.dataKey);t&&("instant"!==t.mediaSettings.autoplay&&r.media.functions.playIfAllowed(e),t.in.zIndex&&r.transitions.layers.setZIndex(e,t,t.original._zIndex),r.plugins.callFunctions("layerInComplete",{$layer:e,layerData:t}),r.layers.set.dataAttribute("remove",e,"animating-in"),r.layers.set.dataAttribute("add",e,"active"))}},out:{forced:function(){var t=r.slides.current.index||r.slides.next.index;r.timelines.slides[t]||(r.timelines.slides[t]={}),r.slider.$layersWrapper.find(".ls-link").css({display:"none"});var i=!r.timelines._layers&&!t&&r.o.animateFirstSlide;if(i&&r.transitions.layers.timeline.create(!1,"next"),r.timelines.slides[t]._forceOut){var a=r.layers.get("current, in, static, notactive, notstaticin"),s=r.layers.get("current, in, static, active, staticout"),n=a.add(s),l=r.layers.get("current, in, static"),d=r.layers.get("current, out, static, active"),c=r.layers.get("current, out, notstatic"),p=l.add(d).add(c);0===r.timelines._layers.duration()&&(n.length&&r.transitions.layers.timeline.addLayers(n,"in",r.timelines._layers,r.timelines.slides[t]._forceOut,r.timelines._layersAlt,r.timelines.slides[t]._forceOutMirror,"current"),d.length&&r.transitions.layers.timeline.addLayers(d,"out",r.timelines._layers,r.timelines.slides[t]._forceOut,r.timelines._layersAlt,r.timelines.slides[t]._forceOutMirror,"current")),r.timelines._layers.pause();var u=r.timelines._layers.time();p.each(function(){var i=e(this),a=i.data(r.defaults.init.dataKey),n=-1!==a.out.startAt.indexOf("slidechangeonly"),p=-1!==a.textOut.startAt.indexOf("slidechangeonly");c.is(i)&&(a.should.reset=!0,a.timelines._loop&&r.timelines._layers&&(r.timelines._layers.remove(a.timelines._loop),a.timelines._loop.play())),l.
41is(i)&&a.settings.slideIn===r.slides.current.index&&!i.is("[data-ls-static-in]")?(s.is(i)&&r.timelines.to([a.timelines,"_staticOut",1,!0,!0,!0]),a.timelines._staticIn=new o.TimelineMax({paused:!0}),a.timelines._staticIn.addCallback(function(){r.layers.set.dataAttribute("add",i,"static-in")},0),a.timelines._in&&a.timelines._staticIn.add(a.timelines._in,a.timeline.transitioninstart-u),a.timelines._textIn&&a.timelines._staticIn.add(a.timelines._textIn,a.timeline.textinstart-u),a.timelines._textOut&&!p&&a.timelines._staticIn.add(a.timelines._textOut,a.timeline.textoutstart-u),a.timelines._out&&!n&&a.timelines._staticIn.add(a.timelines._out,a.timeline.transitionoutstart-u),a.timelines._loop&&(a.timelines._loop.pause(),r.timelines._layers.remove(a.timelines._loop),0===a.timelines._loop.progress()?a.timelines._staticIn.addCallback(function(){a.timelines._loop.play()},a.timeline.loopstart-u):a.timelines._loop.play()),a.timelines._staticIn.addCallback(function(){r.timelines.to([a.timelines,"_staticIn",null,!0,!0,!0])}),a.timelines._staticIn.play()):d.is(i)&&a.settings.slideOut===r.slides.current.index&&(-1===a.staticSlides.indexOf(r.slides.next.index)?(r.timelines.to([a.timelines,"_staticIn _in _textIn",null,!0,!0,!0]),r.timelines.has(a.timelines._textOut)&&!p&&r.timelines.to([a.timelines,"_textOut",null,!0,!0,!0]),r.timelines.has(a.timelines._out)&&!n&&r.timelines.to([a.timelines,"_out",null,!0,!0,!0]),a.timelines._staticOut?a.timelines._staticOut.paused()&&a.timelines._staticOut.play():(a.timelines._staticOut=new o.TimelineMax({paused:!0}),a.timelines._staticOut.addCallback(function(){r.layers.set.dataAttribute("remove",i,"static-in animating-in text-animating-in"),r.layers.set.dataAttribute("add",i,"static-out")},0),r.timelines.has(a.timelines._forceOut)&&a.timelines._staticOut.add(("prev"===r.navigation.direction?a.timelines._forceOutMirror:a.timelines._forceOut).paused(!1),0),r.timelines.has(a.timelines._forceTextOut)&&p&&a.timelines._staticOut.add("prev"===r.navigation.direction?a.timelines._forceTextOutMirror:a.timelines._forceTextOut,0),a.timelines._staticOut.addCallback(function(){r.layers.set.dataAttribute("remove",i,"static-out"),r.transitions.layers.reset(i,a),r.timelines.to([a.timelines,"_staticOut",null,!0,!0,!0]),r.timelines.to([a.timelines,"_out _forceOut _forceOutMirror _textOut _forceTextOut _forceTextOutMirror",1,!0,!0,!0])}),a.timelines._staticOut.play())):(r.timelines.slides[t]._forceOut.remove(a.timelines._forceOut),r.timelines.slides[t]._forceOutMirror.remove(a.timelines._forceOutMirror)))}),i?r.timelines.to([r.timelines,"_forceOut _forceOutMirror",null,!0,!0]):(r.timelines._layers.eventCallback("onStart",null).eventCallback("onComplete",null).eventCallback("onReverseComplete",null).eventCallback("onUpdate",null).stop().clear(),r.timelines._layersAlt.stop().clear(),("prev"===r.navigation.direction?r.timelines.slides[t]._forceOutMirror:r.timelines.slides[t]._forceOut).play(),r.slideshow.forceFastChange&&r.timelines.to([r.timelines,"_forceOut _forceOutMirror",1]))}},onStart:function(e){if(!e.is("[data-ls-hidden]")){var t=e.data(r.defaults.init.dataKey);r.plugins.callFunctions("layerOutStart",{$layer:e,layerData:t}),t.out.zIndex?r.transitions.layers.setZIndex(e,t,t.out.zIndex):t.in.zIndex&&r.transitions.layers.setZIndex(e,t,t.original._zIndex),r.layers.set.dataAttribute("add",e,"animating-out")}},onComplete:function(e){var t=e.data(r.defaults.init.dataKey);e.is("[data-ls-hidden]")?(r.slider.state.changingSlides||t.settings.slideOut!==r.slides.current.index)&&r.transitions.layers.reset(e,t):(t.randomValues={},(r.slider.state.changingSlides||t.settings.slideOut!==r.slides.current.index)&&r.transitions.layers.reset(e,t),t.hover.enabled&&r.transitions.layers.hover.disable(e),r.layers.set.dataAttribute("remove",e,"animating-out"),r.layers.set.dataAttribute("add",e,"hidden"),t.is.mediaLayer&&t.mediaProperties&&t.mediaProperties.type&&e.find("[data-ls-playing]").length&&r.media.functions.stop(!0,e),t.is.countdown&&r.countdown.stopInterval(t.countdownSettings),t.is.counter&&r.counter.stop(t.counterSettings),t.is.lottie&&t.lottie&&t.lottie.player&&(t.lottie.player.stop(),t.lottie.player.freeze()),r.plugins.callFunctions("layerOutComplete",{$layer:e,layerData:t}))}},reset:function(e,t){if(t.original._zIndex&&r.transitions.layers.setZIndex(e,t,t.original._zIndex),t.timelines._loop&&(r.timelines.to([t.timelines,"_loop",0]),o.TweenMax.set(t.elements.$loopWrapper[0],t.reset.altWrapperOnSlideChange)),t.parallax._timeline&&(t.parallax._timeline.stop().clear(),delete t.parallax._timeline),t.parallax._timeout&&(r.functions.clearTimers({timeout:t.parallax._timeout}),delete t.parallax._timeout),t.parallax.reset&&(o.TweenMax.killTweensOf(t.elements.$parallaxWrapper[0]),o.TweenMax.set(t.elements.$parallaxWrapper[0],t.reset.altWrapperOnSlideChange)),t.clip.enabled){var i=t.clip.userDefined?t.clip.default:t.clip.style;t.loop.enabled&&o.TweenMax.set(t.elements.$loopWrapper[0],i),t.inClipFromCSS.clipPath||o.TweenMax.set(t.elements.$clipWrapper[0],i)}t.clip.textShouldReset&&o.TweenMax.set(e.find(".ls-ln, .ls-wd, .ls-ch"),t.clip.none),o.TweenMax.set(t.elements.$wrapper[0],t.reset.wrapperOnSlideChange),o.TweenMax.set(e[0],{"-webkit-filter":t.original.filter,filter:t.original.filter}),t.should.update&&(t.textInNodesFrom.random={},t.textOutNodesTo.random={},r.layers.update.data(e)),t.should.reset=!1},timeline:{shouldRestart:!1,totalDurations:[],create:function(t,a){a=a||(t?"current":"next");var n,l,d,c,p=r.slides[a].index;if(r.plugins.callFunctions("createTimelineBefore",a),r.timelines.slides[p]||(r.timelines.slides[p]={}),r.transitions.curNext=a,r.transitions.layers.timeline.shouldRestart=!1,r.o.allowRestartOnResize&&r.slider.isScrollScene&&(r.transitions.layers.timeline.shouldRestart=!0),r.transitions.layers.timeline.resetStates(),r.timelines.to([r.timelines,"_layers _layersAlt",0,!0,!0,!0]),r.timelines._layers=new o.TimelineMax({paused:!0,onStart:function(){r.api.hasEvent("slideTimelineDidStart")&&r.api.triggerEvent("slideTimelineDidStart",r.api.eventData())},onComplete:function(){r.o.playByScroll&&r.o.playByScrollSkipSlideBreaks&&("next"===r.slideshow.direction?r.transitions.layers.timeline.scrollForward(!0):r.transitions.layers.timeline.scrollBackwards(!0,!0))},onReverseComplete:function(){r.api.hasEvent("slideTimelineDidReverseComplete")&&r.api.triggerEvent("slideTimelineDidReverseComplete",r.api.eventData()),r.transitions.layers.timeline.shouldReplay&&(r.transitions.layers.timeline.shouldRestart=!1,r.timelines._layers.play()),r.o.playByScroll&&r.o.playByScrollSkipSlideBreaks&&r.transitions.layers.timeline.scrollBackwards(!0,!1)},onUpdate:function(e){r.api.hasEvent("slideTimelineDidUpdate")&&r.api.triggerEvent("slideTimelineDidUpdate",e)},onUpdateParams:["{self}"]}),r.timelines._layersAlt=new o.TimelineMax({paused:!0}),this.totalDuration=0,this.progress=1,t||(r.slides.prev.index&&r.timelines.to([r.timelines.slides[r.slides.prev.index],"_forceOut _forceOutMirror",1,!0,!0,!0,!0]),r.timelines.slides[p]._forceOut=new o.TimelineMax({paused:!0,autoRemoveChildren:!0}),r.timelines.slides[p]._forceOut.lsSlideIndex=p,r.timelines.slides[p]._forceOutMirror=ne
41w o.TimelineMax({paused:!0,autoRemoveChildren:!0}),r.timelines.slides[p]._forceOutMirror.lsSlideIndex=p),r.plugins.callFunctions("createTimelineBeforeAdd",a),n=t?r.layers.get(a+", in"):r.layers.get(a+", in, notstatic, notactive").add(r.layers.get(a+", in, static, notactive, notstaticin")).add(r.layers.get(a+", in, static, active, staticout")),l=r.layers.get(a+", out, notstatic").add(r.layers.get(a+", out, static, active")),d=r.layers.get(a+", in, bgonly, notactive"),c=e().add(n).add(l).add(d),this.addLayers(n,"in",r.timelines._layers,r.timelines.slides[p]._forceOut,r.timelines._layersAlt,r.timelines.slides[p]._forceOutMirror),this.addLayers(l,"out",r.timelines._layers,r.timelines.slides[p]._forceOut,r.timelines._layersAlt,r.timelines.slides[p]._forceOutMirror),r.slides[a].data&&-1!==r.slides[a].data.duration&&r.slides[a].data.duration<this.totalDuration?(this.progress=r.slides[a].data.duration/this.totalDuration,r.debugMode&&r.debug.add("warn","slideTimeline.duration",[r.slides[a].data.duration,this.totalDuration])):r.timelines._layers.duration()>this.totalDuration&&(this.progress=this.totalDuration/r.timelines._layers.duration()),-1===r.slides[a].data.duration?(r.o.slideDuration&&e.isNumeric(r.o.slideDuration)&&r.o.slideDuration>-1?this.totalDuration=r.o.slideDuration/1e3:0===this.totalDuration&&(this.totalDuration=r.o.slideDurationWithoutLayers/1e3),r.o.inLayerPreview&&(r.o.hasInfiniteLoop&&"loop-transition"===r.o.layerPreviewPresetType?this.totalDuration+=5:"ending-transition"===r.o.layerPreviewPresetType?this.totalDuration+=.25:"hover-transition"!==r.o.layerPreviewPresetType&&(this.totalDuration+=.5)),r.slides[a].data.duration=this.totalDuration,r.slides[r.slides[a].index].data.duration=this.totalDuration):this.totalDuration=r.slides[a].data.duration,r.o.getData&&-1!==r.o.getData.indexOf("slideDuration"))return this.totalDurations.push(this.totalDuration),r.slides[a].index<r.slides.count?setTimeout(function(e){r.slideshow.changeTo(e,!0)},100,r.slides[a].index+1):r.functions.getData("slideDuration",this.totalDurations),!1;if(r.slider.isScrollScene){r.slider.$spacingWrapper.attr("data-scene-duration",this.totalDuration);var u=r.slider.$spacingWrapper.attr("data-scene-pre-duration")||!1;this.totalDuration!==parseFloat(u)&&r.resize.scene(!0)}this.addLayers(d,"in",r.timelines._layers,r.timelines.slides[p]._forceOut,r.timelines._layersAlt),!0===r.transitions.layers.timeline.shouldRestart&&r.debugMode&&r.debug.add("warn","slideTimeline.restart",r.o.allowRestartOnResize?"enabled":"disabled");for(var m=0;m<c.length;m++)e(c[m]).data(r.defaults.init.dataKey).parallax.enabled&&e(c[m]).data(r.defaults.init.dataKey).elements.$parallaxWrapper.attr("data-ls-parallax","active");r.transitions.layers.parallax.trigger();var h=r.transitions.layers.parallax.wrappers;if(h.randomGlobal[r.slides.next.index]&&(r.functions.objectIsEmpty(h.randomGlobal[r.slides.next.index].$2d)&&r.functions.objectIsEmpty(h.randomGlobal[r.slides.next.index].$3d)||r.timeouts["rp-global-"+r.slides.next.index]||r.transitions.layers.parallax.random.setTimer({globalSlideParallaxData:r.slides.next.parallax,slideIndex:r.slides.next.index})),r.transitions.layers.scroll.reset(),r.transitions.layers.scroll.trigger(),r.api.hasEvent("slideTimelineDidCreate")&&r.api.triggerEvent("slideTimelineDidCreate",{slideTimeline:r.timelines._layers,layersOnSlideTimeline:c,slideTimelineDuration:this.totalDuration}),r.timelines._layers.set(i.find('.ls-slide-backgrounds .ls-z:not([data-slide-index="'+r.slides[a].index+'"]) .ls-bg-wrap').toArray(),{display:"none"},0),r.transitions.timers.create(),r.transitions.timers.bar._transition&&(r.gui.timers.bar.$element.css("width",0),r.timelines._layers.add(r.transitions.timers.bar._transition.play(),0)),r.transitions.timers.circle._transition&&r.timelines._layers.add(r.transitions.timers.circle._transition.play(),0),r.transitions.timers.slidebar._transition&&r.timelines._layers.add(r.transitions.timers.slidebar._transition.play(),0),r.timelines._layers.call(function(){if(!r.timelines._layers.reversed()){if(r.api.hasEvent("slideTimelineDidComplete")){var t;if(r.o.inLayerPreview&&r.o.hasInfiniteLoop)r.layers.get("current, in").each(function(){(t=e(this).data(r.defaults.init.dataKey)).loop&&t.timelines._loop&&t.timelines._loop.stop().progress(0)});if(!1===r.api.triggerEvent("slideTimelineDidComplete",r.api.eventData()))return}r.functions.setStates(r.transitions.layers.timeline,{finished:!0}),!r.slideshow.isPaused()&&r.slideshow.state.running?r.slideshow.changeTo(r.slides.next.index):r.slideshow.state.pausedByLastCycle&&r.transitions.timers.reverse()}},[],this,r.slides[a].data.duration),r.slides.next.data.$link&&r.slides.next.data.$link.css({display:"block"}),(!r.o.startInViewport||"inside"!==r.slider.position.toViewport&&!r.o.playByScrollStart&&r.slider.state.waitForGettingInViewport)&&r.o.startInViewport||!(r.slider.isPopup&&r.slider.state.popupIsVisible&&r.slider.state.popupShouldStart)&&r.slider.isPopup||(r.o.pauseL
41ayers&&r.slideshow.isPaused()||r.slideshow.state.pausedByPerformance?r.transitions.layers.timeline.pause(0):r.slider.isScrollScene||r.transitions.layers.timeline.play(),r.o.playByScroll&&"up"===r.device.scroll.directionAtSlideTransitionStart&&r.timelines._layers.progress(1)),r.timelines._layersAlt.play(),r.slider.isScrollScene&&r.slider.set.offset(),i.trigger("mouseleave.globalhover"+s),i.off("mouseenter.globalhover"+s+" mouseleave.globalhover"+s+" mousemove.globalhover"+s),r.slides[a].data.globalhover){var f=r.layers.get(a+",in,notactive").add(r.layers.get("static,active")).not("[data-ls-skipglobalhover]");i.on("mouseenter.globalhover"+s,function(){f.each(function(){r.transitions.layers.hover.mouseEnter(e(this),e(this).data(r.defaults.init.dataKey))})}),i.on("mouseleave.globalhover"+s,function(){f.each(function(){r.transitions.layers.hover.mouseLeave(e(this),e(this).data(r.defaults.init.dataKey))})}),i.on("mousemove.globalhover"+s,function(){f.each(function(){r.transitions.layers.hover.mouseMove(e(this),e(this).data(r.defaults.init.dataKey))})})}},prepare:function(){r.slides.next.data.overflow&&"hidden"!==r.slides.next.data.overflow?(r.slider.$layersWrapper.addClass("ls-visible"),r.slider.$slideBGWrapper.addClass("ls-visible")):(r.slider.$layersWrapper.removeClass("ls-visible"),r.slider.$slideBGWrapper.removeClass("ls-visible")),this.create()},getTiming:function(t,i,a,s){if("number"==typeof i)return i;i=i.toLowerCase();var o,n,l,d,c,p=r.defaults.layer.timelineHierarchy,u=0;if(-1!==i.indexOf("*")&&(c="*"),-1!==i.indexOf("/")&&(c="/"),-1!==i.indexOf("+")&&(c="+"),-1!==i.indexOf("-")&&(c="-"),c)if(d=i.split(c),o=e.trim(d[0]),l=parseInt(e.trim(d[1])),p[o]&&-1!==p[a][1].indexOf(p[o][0])){if(!t.timeline[o]&&p[o][0]>1){var m,h=p[o][0]-1||1;for(var f in p)p[f][0]===h&&(m=f);o=m}if(n="number"==typeof t.timeline[o]?t.timeline[o]:t.timeline[o](t),s)u=l/1e3;else switch(c){case"*":u=n*l;break;case"/":u=n/l;break;case"+":u=n+l/1e3;break;case"-":u=n-l/1e3}}else r.debugMode&&(p[o]||r.debug.add("warn","layerTransition.timing1",o),-1===p[a][1].indexOf(p[o][0])&&r.debug.add("warn","layerTransition.timing3",[o,p[o],a,p[a]])),("+"===c||s)&&(u=l/1e3);else p[o=e.trim(i)]&&-1!==p[a][1].indexOf(p[o][0])?u=s?0:"number"==typeof t.timeline[o]?t.timeline[o]:t.timeline[o](t):r.debugMode&&(p[o]?-1===p[a][1].indexOf(p[o][0])&&r.debug.add("warn","layerTransition.timing3",[o,p[o],a,p[a]]):r.debug.add("warn","layerTransition.timing1",o));return(u!=u||u<0)&&(r.debugMode&&r.debug.add("warn","layerTransition.timing2",[a,o,u]),u=0),u},addLayers:function(t,i,a,s,n,l,d){t.each(function(){var t=this,c=e(t),p=c.data(r.defaults.init.dataKey),u=p.elements.$wrapper,m=p.elements.$clipWrapper,h=p.elements.$loopWrapper,f=p.elements.$parallaxWrapper,g=0,y=p.settings.skipViewport&&r.slideshow.state.changed<1?n:a,v="loop"==p.settings.skipViewport&&r.slideshow.state.changed<1?n:a;d=void 0!==d?d:"next",r.transitions.firstSlide&&r.o.animateFirstSlide&&(r.transitions.nextSlide=r.slides.next),"in"===i&&p.timelines._staticOut&&r.timelines.to([p.timelines,"_staticOut",1,!0,!0,!0]);var x=e.extend(!0,{},p.inLayerFrom),S=x.css,w=e.extend({},p.inLayerShouldBeConverted),b=e.extend(!0,{},p.outLayerTo),T=b.css,k=e.extend({},p.outLayerShouldBeConverted),C=e.extend(!0,{},p.textInNodesFrom),O=e.extend(!0,{},p.textInShouldBeConverted),P=e.extend(!0,{},p.textOutNodesTo),I=e.extend(!0,{},p.textOutShouldBeConverted),L={$layer:c,layerData:p,slide:d,transitionType:i,timelines:{_layers:a,_layersAlt:n,_selectedSlideTimeline:y,_selectedLoopTimeline:v,_forceOut:s,_forceOutMirror:l},transitionData:{inLayerFrom:x,inLayerFromCSS:S,inLayerShouldBeConverted:w,outLayerTo:b,outLayerToCSS:T,outLayerShouldBeConverted:k,textInNodesFrom:C,textInShouldBeConverted:O,textOutNodesTo:P,textOutShouldBeConverted:I}};if(p.should.reset&&r.transitions.layers.reset(c,p),r.plugins.callFunctions("addLayersBefore",L),c.hasClass("ls-bg"))r.plugins.callFunctions("addLayersBGStart",L),p.kenBurns.zoom&&a.fromTo(c.closest(".ls-bg-wrap"),r.transitions.nextSlide.data.duration+r.transitions.nextSlide.data.calculatedTimeShift,{autoCSS:!1,css:p.kenBurns.from},{autoCSS:!1,css:p.kenBurns.to,ease:o.Quad.easeInOut},-r.transitions.nextSlide.data.calculatedTimeShift),r.plugins.callFunctions("addLayersBGBeforeFilter",L),e.isEmptyObject(p.filter.values.bgFrom)&&e.isEmptyObject(p.filter.values.bgTo)||(p.filter.transitions.bg||(p.filter.transitions.bg=r.transitions.layers.filters.createTransition(p,"bg",p.filter.values.bgFrom,p.filter.values.bgTo)),y.to([{p:0},t],r.transitions.nextSlide.data.duration,{p:1,autoCSS:!1,ease:o.Sine.easeInOut,onUpdate:r.transitions.layers.filters.animate,onUpdateParams:["{self}",p.filter.transitions.bg]},0)),r.plugins.callFunctions("addLayersBGEnd",L);
41else{if("in"===i){if(p.in.enabled?(p.timelines._in=new o.TimelineMax,r.plugins.callFunctions("addLayersInStart",L),p.settings.timelineIsCalculated&&!p.settings.recalculateTimeline||("startAtFirst"==p.settings.recalculateTimeline&&(p.settings.recalculateTimeline=!1,p.settings.timelineIsCalculated=!1),"number"!=typeof p.in.startAt&&(p.in.startAt=0),"number"!=typeof p.in.startAtFirst&&(p.in.startAtFirst=0),p.timeline.transitioninstart=r.transitions.firstSlide&&p.in.startAtFirst?p.in.startAtFirst:p.in.startAt,p.timeline.transitioninend=p.timeline.transitioninstart+p.in.duration),r.transitions.firstSlide&&p.in.startAtFirst&&(p.settings.recalculateTimeline="startAtFirst"),r.resize.performTransformOperations(p.inLayerToCSS,S),p.in.mirror&&"prev"===r.navigation.direction&&r.resize.mirrorTransitionProperties({transitionProperties:S,transitionPropertiesShouldBeConverted:w,transitionType:"normal",mirrorProperties:p.in.mirror}),r.resize.transformProperties(c,p,S,w,null,null,"in"),r.resize.styleProperties(c,p,p.inLayerStyleFromCSS,p.inLayerStyleShouldBeConvertedFrom),r.resize.styleProperties(c,p,p.inLayerStyleToCSS,p.inLayerStyleShouldBeConvertedTo),S.transformPerspective=p.transformPerspective.layer*p.settings.calculatedratio,r.plugins.callFunctions("addLayersInBeforeClip",L),p.clip.enabled&&(p.clip.style.css.clipPath=r.functions.convert.clipProperties(p.clip.style.css.clipPath,p,c,!0),p.inClipFromCSS.clipPath||p.clip.style.css.clipPath===p.clip.default.css.clipPath||(p.inClipFromCSS.clipPath=p.clip.default.css.clipPath)),p.inClipFromCSS.clipPath&&(p.inClipFromCSS.clipPath=r.functions.convert.clipProperties(p.inClipFromCSS.clipPath,p,c),p.timelines._in.fromTo(m[0],p.in.duration,p.inClipFrom,p.inClipTo,0)),r.plugins.callFunctions("addLayersInBeforeFilter",L),e.isEmptyObject(p.filter.values.in)?e.isEmptyObject(p.filter.values.out)||c.css("filter",p.original.filter):(p.filter.transitions.in||(p.filter.transitions.in=r.transitions.layers.filters.createTransition(p,"in",p.filter.values.in,p.filter.values.style)),p.timelines._in.to([{p:0},t],p.in.duration,{p:1,autoCSS:!1,ease:p.inLayerTo.ease,onUpdate:r.transitions.layers.filters.animate,onUpdateParams:["{self}",p.filter.transitions.in]},0)),r.plugins.callFunctions("addLayersInBeforeSmartBG",L),p.is.smartBG&&-1!==p.styleSettings.smartbg.indexOf("in")&&(p.inLayerStyleFrom.css["--x"]=parseInt(p.responsive["--x"])-S.x+"px",p.inLayerStyleTo.css["--x"]=parseInt(p.responsive["--x"])+"px",p.inLayerStyleFrom.css["--y"]=parseInt(p.responsive["--y"])-S.y+"px",p.inLayerStyleTo.css["--y"]=parseInt(p.responsive["--y"])+"px"),p.is.smartBG&&(r.slides[r.slides.current.index||1].data.hasSmartBG=!0),r.plugins.callFunctions("addLayersInBeforeCounter",L),p.is.counter&&(p.timelines._in.addCallback(function(){c.text(r.counter.applyNumberFormat(p.counterSettings,parseFloat(p.counterSettings.start)))},0),p.timelines._in.addCallback(function(){r.counter.start(c,p.counterSettings)},"transitioninstart"===p.counterSettings.startAt?0:p.in.duration)),r.plugins.callFunctions("addLayersInBeforeTL",L),0===p.timeline.transitioninstart&&0===p.in.duration?(p.inLayerTo.css.transformOrigin=x.css.transformOrigin,p.inLayerTo.css.transformPerspective=x.css.transformPerspective,p.timelines._in.set(u[0],p.inLayerTo,0),p.timelines._in.set(t,p.inLayerStyleTo,0)):(p.timelines._in.fromTo(u[0],p.in.duration,x,p.inLayerTo,0),p.timelines._in.fromTo(t,p.in.duration,p.inLayerStyleFrom,p.inLayerStyleTo,0)),y.add(p.timelines._in,p.timeline.transitioninstart)):(p.timeline.transitioninstart=0,p.timeline.transitioninend=0),r.plugins.callFunctions("addLayersInAfter",L),p.is.textLayer&&(p.timelines._textIn=new o.TimelineMax,(p.textIn.type||p.textOut.type)&&r.transitions.layers.splitType.resetNodes(c,p),p.textIn.enabled)){r.plugins.callFunctions("addLayersTextInStart",L),C.clipPath&&(C.clipPath=r.functions.convert.clipProperties(C.clipPath,p,c),p.textInNodesTo.css.clipPath=p.clip.default.css.clipPath);var _=!(!p.textIn.mirror||"prev"!==r.navigation.direction),M=r.transitions.layers.splitType.setNodesSequence(p.textIn.type.split("_"),p.textIn.ns);p.textIn.nodes=_?M[1]:M[0],_&&r.resize.mirrorTransitionProperties({transitionProperties:C,transitionPropertiesShouldBeConverted:O,transitionType:"text",mirrorProperties:p.textIn.mirror}),r.resize.transformProperties(c,p,C,O,null,p.textIn.nodes,"textin"),C.transformPerspective=p.transformPerspective.text*p.settings.calculatedratio,e.
41isEmptyObject(O.random)||r.transitions.layers.splitType.setRandomProperties(c,p,O.random,C,"In"),e.isEmptyObject(C.random)||r.transitions.layers.splitType.setRandomProperties(c,p,C.random,C,"In"),delete C.random,p.settings.timelineIsCalculated||(p.timeline.textinstart=r.transitions.layers.timeline.getTiming(p,p.textIn.startAt,"textinstart"),p.timeline.textinend=p.timeline.textinstart+(p.textIn.nodes.length-1)*p.textIn.shiftNodes+p.textIn.duration),p.in.enabled||p.timelines._textIn.to(u[0],0,e.extend(!0,{},p.inLayerTo,p.init.wrapper),0),r.plugins.callFunctions("addLayersTextInBeforeStyles",L),C.color?p.textInNodesToCSS.color=p.original.color:p.textOutNodesTo.color&&(C.color=p.original.color),r.plugins.callFunctions("addLayersTextInBeforeTLStyles",L),p.timelines._textIn.set(t,p.textIn.layerStyle,0),window.getSelection&&r.browser.isSafari&&p.timelines._textIn.addCallback(function(){try{window.getSelection().setBaseAndExtent(t,0,t,1e3)}catch(e){}window.getSelection().removeAllRanges()},Number.EPSILON),r.plugins.callFunctions("addLayersTextInBeforeTL",L),p.timelines._textIn.addCallback(function(){r.layers.set.dataAttribute("add",c,"text-animating-in"),r.plugins.callFunctions("layerTextInStart",{$layer:c,layerData:p})},0),p.timelines._textIn.staggerFromTo(p.textIn.nodes,p.textIn.duration,C,p.textInNodesTo,p.textIn.shiftNodes,0,function(){r.layers.set.dataAttribute("remove",c,"text-animating-in"),r.layers.set.dataAttribute("add",c,"active"),r.plugins.callFunctions("layerTextInComplete",{$layer:c,layerData:p})}),y.add(p.timelines._textIn,p.timeline.textinstart),r.plugins.callFunctions("addLayersTextInAfter",L)}if(p.is.keyframe&&r.o.playByScroll&&a.addPause(p.timeline.allinend(),function(){setTimeout(function(){delete r.timeouts.scroll,r.transitions.layers.timeline.timeScaleModifier=0,r.device.scroll.timeout=250},500)}),p.parallax.enabled&&"auto"==p.parallax.event){r.transitions.layers.parallax.auto(),p.parallax._timeline=new o.TimelineMax({paused:!0,repeat:-1===p.parallax.count?-1:p.parallax.count-1});var F,$={ease:o.Linear.easeNone,immediateRender:!1,onUpdate:function(e,t,i,a,s,r,n){o.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/n):0,rotationY:"3d"==r?-t.x/(100/n):0})}},W=function(e,t){return{x:e*r.resize.ratio,y:t*r.resize.ratio}},B="horizontal"==p.parallax.path||"vertical"==p.parallax.path,D="backward"===p.parallax.direction?-1:1;switch(B&&($.ease=o.Quad.easeInOut,$.duration=p.parallax.pathDuration/2,F=e.extend(!0,{},$)),p.parallax.path){default:case"circle":p.parallax.dummy=W(0,-10),$.bezier={curviness:1.5,values:[W(10,0),W(0,10),W(-10,0),W(0,-10)]};break;case"oval-h":p.parallax.dummy=W(0,-10),$.bezier={type:"thru",curviness:1,values:[W(20,0),W(0,10),W(-20,0),W(0,-10)]};break;case"oval-v":p.parallax.dummy=W(0,-20),$.bezier={type:"thru",curviness:1,values:[W(10,0),W(0,20),W(-10,0),W(0,-20)]};break;case"infinity":p.parallax.dummy=W(0,0),$.bezier={curviness:1.3,values:[W(20,-10),W(30,0),W(20,10),W(0,0),W(-20,-10),W(-30,0),W(-20,10),W(0,0)]};break;case"square":p.parallax.dummy=W(-10,-10),$.bezier={curviness:.5,values:[W(10,-10),W(10,10),W(-10,10),W(-10,-10)]};break;case"diamond":p.parallax.dummy=W(0,-10),$.bezier={curviness:.5,values:[W(10,0),W(0,10),W(-10,0),W(0,-10)]};break;case"triangle":p.parallax.dummy=W(0,10),$.bezier={curviness:.5,values:[W(-10,-10),W(10,-10),W(0,10)]};break;case"pentagon":p.parallax.dummy=W(0,10),$.bezier={curviness:.5,values:[W(-9.51,3.09),W(-5.88,-8.09),W(5.88,-8.09),W(9.51,3.09),W(0,10)]};break;case"horizontal":p.parallax.dummy=W(10*D,0),$.x=-10*D*r.resize.ratio,F.x=10*D*r.resize.ratio;break;case"vertical":p.parallax.dummy=W(0,-10*D),$.y=10*D*r.resize.ratio,F.y=-10*D*r.resize.ratio}if($.onUpdateParams=["{self}",p.parallax.dummy,f[0],p.parallax.distance,p.parallax.level,p.parallax.type,p.parallax.rotation],B)F.onUpdateParams=["{self}",p.parallax.dummy,f[0],p.parallax.distance,p.parallax.level,p.parallax.type,p.parallax.rotation],p.parallax._timeline.to(p.parallax.dummy,$.duration,$).to(p.parallax.dummy,F.duration,F);else if($.bezier){if("backward"===p.parallax.direction){var z=$.bezier.values;z.reverse(),z.push(z.shift())}p.parallax._timeline.to(p.parallax.dummy,p.parallax.pathDuration,$)}p.settings.timelineIsCalculated&&!p.is.static||(p.timeline.autoparallaxstart=r.transitions.layers.timeline.getTiming(p,p.parallax.startAt,"autoparallaxstart"),p.timeline.autoparallaxend=p.timeline.autoparallaxstart+(-1===p.parallax.count?p.parallax.pathDuration:p.parallax._timeline.duration())),-1===p.parallax.count?a.addCallback(function(){p.parallax._timeline.play()},p.timeline.autoparallaxstart):(a.add(p.parallax._timeline,p.timeline.autoparallaxstart),p.parallax._timeline.play()),r.transitions.layers.timeline.shouldRestart=!0}if(p.parallax.enabled&&"randomLocal"==p.parallax._event&&a.addCallback(function(){r.transitions.layers.parallax.random.setTimer({layerData:p})},p.timeline[p.parallax.randomStartAt]),p.loop.enabled){r.plugins.callFunctions("addLayersLoopStart",L),r.timelines.to([p.timelines,"_loop",0,!0,!0,!0]),p.loop.maxIterations=1;var A=e.extend({},p.loopLayerShouldBeConverted),N={transformOrigin:r.functions.convert.transformOrigin(p.loopLayerShouldBeConverted.transformOrigin,c,p,c.data(r.defaults.init.dataKey).elements.$outerStyleWrapper),looptransformPerspective:p.transformPerspective.loop*p.settings.calculatedratio},V=!0,R=!0;delete A.filter,p.loop.timings={},p.timelines._loop=new o.TimelineMax({paused:!0,smoothChildTiming:!0,onComplete:function(){-1===p.loop.count&&(this.lsRepeats++,this.pause(),-1===p.loop.count&&(this.clear(),this.time(0,!0)),p.loop.yoyo&&(this.yoyoreverse=!0),H(this,!0))}}),p.timelines._loop.lsRepeats=0,p.timelines._loop.lsWrapper=p.elements.$loopWrapper[0];var E=function(t,i){var a={};if(p.loop.timings.tweenDelay=r.functions.convert.randomProperties(p.loopTimingsShouldBeConverted.tweenDelay,"tween
41Delay","loop",c,p)/1e3,p.loop.timings.duration=r.functions.convert.randomProperties(p.loopTimingsShouldBeConverted.duration,"duration","loop",c,p)/1e3,i||t.yoyoreverse)t.yoyoreverse=!1,p.loopFrom=e.extend(!0,{},p.loopInitial);else for(var s in p.loopToCSS)p.loopFrom.css[s]=p.loopToCSS[s];for(var o in A)if(A.hasOwnProperty(o)){var n=A[o],l=/^[+\-*/]=\s*-?\d+(\.\d+)?(lw|lh|sw|sh|px|%)?$/.test(n),d=-1!==n.indexOf(r.defaults.init.staggerSplitChar)&&(n+"").charAt(0)!==r.defaults.init.openingBracket,u=/random/.test(n)||(n+"").charAt(0)===r.defaults.init.openingBracket;if(d){var m=n.split(r.defaults.init.staggerSplitChar);p.loop.maxIterations=Math.max(m.length,p.loop.maxIterations)}if(l){var h,f=n.split("="),g=e.trim(f[0]),y=r.functions.convert.randomProperties(e.trim(f[1]),o,"loop",c,p),v=p.loopFrom.css[o];switch(g){case"+":h=v+y;break;case"-":h=v-y;break;case"*":h=v*y;break;case"/":h=v/y}p.loopToCSS[o]=h}else u||d?p.loopToCSS[o]=r.functions.convert.randomProperties(A[o],o,"loop",c,p):(p.loopToCSS[o]=A[o],"x"!==o&&"y"!==o||(a[o]=p.loopToCSS[o]))}e.isEmptyObject(a)||r.resize.transformProperties(c,p,p.loopToCSS,a,null,null,"loop")},H=function(i,a){for(var s,n=new o.TimelineMax({paused:!0}),l=r.functions.convert.randomProperties(p.loopTimingsShouldBeConverted.repeatDelay,"repeatDelay","loop",c,p)/1e3,d=r.functions.convert.randomProperties(p.loopTimingsShouldBeConverted.yoyoDelay,"yoyoDelay","loop",c,p)/1e3,u=0;u<p.loop.maxIterations;u++){s=n.duration(),E(i,!p.loop.resume||!s&&!i.duration()&&0===i.lsRepeats);var m=e.extend(!0,{},p.loopFrom),f=e.extend(!0,{},p.loopTo),g=-m.css.x+"px",y=-m.css.y+"px",v=-f.css.x+"px",x=-f.css.y+"px",S=p.loop.timings.duration,w=p.loop.timings.tweenDelay;if(r.plugins.callFunctions("addLayersLoopBeforeFilter",L),R&&!e.isEmptyObject(p.filter.values.loop)&&(p.filter.transitions.loop||(p.filter.transitions.loop=r.transitions.layers.filters.createTransition(p,"loop",e.isEmptyObject(p.filter.values.afterIn)?p.filter.values.style:p.filter.values.afterIn,p.filter.values.loop)),n.to([{p:0},t],S,{p:1,autoCSS:!1,immediateRender:!1,ease:p.loopTo.ease,onUpdate:r.transitions.layers.filters.animate,onUpdateParams:["{self}",p.filter.transitions.loop]},s)),n.fromTo(h[0],S,m,f,s),r.plugins.callFunctions("addLayersLoopBeforeSmartBG",L),p.is.smartBG&&-1!==p.styleSettings.smartbg.indexOf("loop")&&n.fromTo(t,S,{immediateRender:!1,"--lx":g,"--ly":y},{ease:p.settings.smartbgease||p.loopTo.ease,"--lx":v,"--ly":x},s),r.plugins.callFunctions("addLayersLoopBeforeClip",L),p.loopClipToCSS.clipPath){p.loopClipToCSS.clipPath=r.functions.convert.clipProperties(p.loopClipToCSS.clipPath,p,c),(R||-1!==["polygon(100% 0%,100% 100%,0% 100%,0% 0%)","polygon(0% 100%, 0% 0%, 100% 0%, 100% 100%)"].indexOf(p.loopClipToCSS.clipPath))&&n.set(h[0],p.loopClipFrom,s),n.to(h[0],S,p.loopClipTo,s)}u<p.loop.maxIterations-1&&n.to({immediateRender:!1},w,{}),R=!1}r.plugins.callFunctions("addLayersLoopBeforeTL",L),V||i.to({immediateRender:!1},l,{}),i.add(r.gsap.TweenMax.fromTo(n,n.duration(),{progress:0},{progress:1,ease:r.gsap.Linear.easeNone,immediateRender:!1})),p.loop.yoyo&&(i.to({immediateRender:!1},Math.max(0,l+d),{}),i.add(r.gsap.TweenMax.fromTo(n,n.duration(),{progress:1},{progress:0,ease:r.gsap.Linear.easeNone,immediateRender:!1}))),a&&i.play(),V=!1};if(-1===p.loop.count&&(p.timelines._loop.clear(),p.timelines._loop.time(0,!0)),p.timelines._loop.set(h[0],N,0),H(p.timelines._loop),p.loop.count>1)for(;p.timelines._loop.lsRepeats<p.loop.count-1;)p.timelines._loop.lsRepeats++,p.loop.yoyo&&(p.timelines._loop.yoyoreverse=!0),H(p.timelines._loop,!0);p.settings.timelineIsCalculated&&!p.is.static||(p.timeline.loopstart=r.transitions.layers.timeline.getTiming(p,p.loop.startAt,"loopstart"),p.timeline.loopend=p.timeline.loopstart+p.timelines._loop.duration()),r.plugins.callFunctions("addLayersLoopBeforeTLInf",L),-1!==p.loop.count&&("looplayers"===r.o.pauseOnHover||r.gui.timers.slidebar.$element||r.o.playByScroll)?(v.add(p.timelines._loop,p.timeline.loopstart),p.timelines._loop.play()):v.addCallback(function(){p.timelines._loop.play()},p.timeline.loopstart)}if(p.loop.enabled&&p.textIn.enabled&&"string"==typeof p.textIn.startAt&&-1!==p.textIn.startAt.indexOf("loop")&&!/textin|allin/.test(p.loop.startAt)){var Y=r.transitions.layers.timeline.getTiming(p,p.textIn.startAt,"textinstart");Y!==p.timeline.textinstart&&(p.timeline.textinstart=Y,p.timeline.textinend=Y+(p.textIn.nodes.length-1)*p.textIn.shiftNodes+p.textIn.duration,y.remove(p.timelines._textIn),y.add(p.timelines._textIn,Y))}if(r.plugins.callFunctions("addLayersLoopBeforeStatic",L),p.is.static&&(p.timeline.staticfrom=p.timeline.transitioninend,p.timeline.staticto="100%",p.settings.timelineIsCalculated||(g=Math.max(p.timeline.allinandloopend(),0),r.transitions.layers.timeline.totalDuration=Math.max(r.transitions.layers.timeline.totalDuration,g))),r.plugins.callFunctions("addLayersLoopAfter",L),p.is.lottie&&p.lottie.isReady){var X=p.lottie.options.startAt,G=p.lottie.options.delay/1e3||0,j=(X?p.timeline[X]:0)+G;"autoplay"===p.lottie.options.trigger?y.addCallback(function(){p.lottie.player.unfreeze(),p.lottie.player.play()},j):"scroll"===p.lottie.options.trigger&&(p.lottie.startTime+=j,p.lottie.endTime+=j,p.lottie.startTime=parseFloat(p.lottie.startTime.toFixed(3)),p.lottie.endTime=parseFloat(p.lottie.endTime.toFixed(3)))}}if(p.is.textLayer&&p.textOut.enabled&&("out"===i&&p.textOut.startAt.indexOf("slidechangeonly")>-1||"in"===i&&-1===p.textOut.startAt.indexOf("slidechangeonly"))){-1!==p.textOut.startAt.indexOf("slidechangeonly")&&p.settings.slideOut===r.slides[d].index?(p.timelines._forceTextOut=new o.TimelineMax,p.timelines._forceTextOutMirror=ne
41w o.TimelineMax):-1===p.textOut.startAt.indexOf("slidechangeonly")&&(p.timelines._textOut=new o.TimelineMax);var U=p.clip.enabled&&!p.loopClipToCSS.clipPath&&p.clip.style.css.clipPath==p.clip.default.css.clipPath;r.plugins.callFunctions("addLayersTextOutStart",L);var K=r.transitions.layers.splitType.setNodesSequence(p.textOut.type.split("_"),p.textOut.ns);p.textOut.nodes=K[0],r.resize.transformProperties(c,p,p.textOutNodesTo,p.textOutShouldBeConverted,p.textOutNodesFrom,p.textOut.nodes,"textout"),p.textOutNodesTo.clipPath&&(p.textOutNodesTo.clipPath=r.functions.convert.clipProperties(p.textOutNodesTo.clipPath,p,c),p.textOutNodesFrom.clipPath=p.clip.default.css.clipPath),p.textOut.mirror?(p.textOut.nodesMirror=K[1],r.resize.mirrorTransitionProperties({transitionProperties:P,transitionPropertiesShouldBeConverted:I,transitionType:"text",mirrorProperties:p.textOut.mirror}),r.resize.transformProperties(c,p,P,I,p.textOutNodesFrom,p.textOut.nodes,"textoutmirror")):p.textOut.nodesMirror=K[0],p.textOutNodesFrom.transformPerspective=p.transformPerspective.text*p.settings.calculatedratio,e.isEmptyObject(p.textOutShouldBeConverted.random)||r.transitions.layers.splitType.setRandomProperties(c,p,p.textOutShouldBeConverted.random,p.textOutNodesTo,"Out"),e.isEmptyObject(p.textOutNodesTo.random)||r.transitions.layers.splitType.setRandomProperties(c,p,p.textOutNodesTo.random,p.textOutNodesTo,"Out"),delete p.textOutNodesTo.random,p.textOut.mirror&&(e.isEmptyObject(I.random)||r.transitions.layers.splitType.setRandomProperties(c,p,I.random,P,"Out"),e.isEmptyObject(P.random)||r.transitions.layers.splitType.setRandomProperties(c,p,P.random,P,"Out"),delete P.random),p.settings.timelineIsCalculated||(p.timeline.textoutstart=r.transitions.layers.timeline.getTiming(p,p.textOut.startAt,"textoutstart"),p.timeline.textoutend=p.timeline.textoutstart+(p.textOut.nodes.length-1)*p.textOut.shiftNodes+p.textOut.duration),r.plugins.callFunctions("addLayersTextOutBeforeStyles",L),p.textOutNodesTo.color&&(p.textOutNodesFrom.color=p.original.color);var q=function(){r.layers.set.dataAttribute("add",c,"text-animating-out"),-1===p.textOut.startAt.indexOf("slidechangeonly")&&r.layers.set.dataAttribute("add",c,"active"),r.plugins.callFunctions("layerTextOutStart",{$layer:c,layerData:p})},Q=function(){r.layers.set.dataAttribute("remove",c,"text-animating-out"),-1===p.textOut.startAt.indexOf("slidechangeonly")||p.out.enabled||r.layers.set.dataAttribute("add",c,"hidden"),r.plugins.callFunctions("layerTextOutComplete",{$layer:c,layerData:p})};if(r.plugins.callFunctions("addLayersTextOutBeforeTL",L),-1!==p.textOut.startAt.indexOf("slidechangeonly")&&p.settings.slideOut===r.slides[d].index)p.timelines._forceTextOut.addCallback(q,0),p.timelines._forceTextOutMirror.addCallback(q,0),p.timelines._forceTextOut.set(t,p.textOut.layerStyle,0),p.timelines._forceTextOutMirror.set(t,p.textOut.layerStyle,0),U&&(p.timelines._forceTextOut.fromTo(m[0],0,p.clip.style,p.clip.none,0),p.timelines._forceTextOutMirror.fromTo(m[0],0,p.clip.style,p.clip.none,0)),p.timelines._forceTextOut.staggerFromTo(p.textOut.nodes,p.textOut.duration,p.textOutNodesFrom,p.textOutNodesTo,p.textOut.shiftNodes,0,Q),p.timelines._forceTextOutMirror.staggerFromTo(p.textOut.nodesMirror,p.textOut.duration,p.textOutNodesFrom,P,p.textOut.shiftNodes,0,Q),p.timelines._forceTextOut.to(u[0],0,p.reset.wrapperOnTimelineEnd,p.timelines._forceTextOut.duration()),p.timelines._forceTextOutMirror.to(u[0],0,p.reset.wrapperOnTimelineEnd,p.timelines._forceTextOutMirror.duration()),p.timelines._forceTextOut.timeScale(p.timelines._forceTextOut.duration()/r.o.forceLayersOutDuration),p.timelines._forceTextOutMirror.timeScale(p.timelines._forceTextOutMirror.duration()/r.o.forceLayersOutDuration),s.add(p.timelines._forceTextOut,0),l.add(p.timelines._forceTextOutMirror,0);else if(-1===p.textOut.startAt.indexOf("slidechangeonly")){var Z=Math.max(p.timeline.textoutstart,p.timeline.textinend);p.timelines._textOut.addCallback(q,0),p.timelines._textOut.set(t,p.textOut.layerStyle,0),U&&p.timelines._textOut.fromTo(m[0],0,p.clip.style,p.clip.none,0),p.timelines._textOut.staggerFromTo(p.textOut.nodes,p.textOut.duration,p.textOutNodesFrom,p.textOutNodesTo,p.textOut.shiftNodes,0,Q),p.is.static||(s.to(u[0],0,p.reset.wrapperOnTimelineEnd,r.o.forceLayersOutDuration),l.to(u[0],0,p.reset.wrapperOnTimelineEnd,r.o.forceLayersOutDuration)),a.add(p.timelines._textOut,Z)}-1===p.textOut.startAt.indexOf("slidechangeonly")&&(g=Math.max(g,p.timeline.textoutandloopend())),r.transitions.layers.timeline.totalDuration=Math.max(r.transitions.layers.timeline.totalDuration,g),r.plugins.callFunctions("addLayersTextOutAfter",L)}if(p.out.enabled&&("out"===i||"in"===i&&p.is.static&&"slidechangeonly"
41!==p.out.startAt)){if("slidechangeonly"===p.out.startAt||c.is("[data-ls-animating-out]")||(p.timelines._out=new o.TimelineMax),p.timelines._forceOut=new o.TimelineMax,p.timelines._forceOutMirror=new o.TimelineMax,r.plugins.callFunctions("addLayersOutStart",L),r.resize.performTransformOperations(p.inLayerToCSS,p.outLayerToCSS),r.resize.transformProperties(c,p,p.outLayerToCSS,p.outLayerShouldBeConverted,p.outLayerFromCSS,null,"out"),r.resize.styleProperties(c,p,p.outLayerStyleFromCSS,p.outLayerStyleShouldBeConvertedFrom),r.resize.styleProperties(c,p,p.outLayerStyleToCSS,p.outLayerStyleShouldBeConvertedTo),p.outLayerFromCSS.transformPerspective=p.transformPerspective.layer*p.settings.calculatedratio,p.out.mirror&&(r.resize.performTransformOperations(p.inLayerToCSS,T),r.resize.mirrorTransitionProperties({transitionProperties:T,transitionPropertiesShouldBeConverted:k,transitionType:"normal",mirrorProperties:p.out.mirror}),r.resize.transformProperties(c,p,T,k,p.outLayerFromCSS,null,"outmirror")),r.plugins.callFunctions("addLayersOutBeforeSmartBG",L),p.is.smartBG&&-1!==p.styleSettings.smartbg.indexOf("out")&&(p.outLayerStyleFrom.css["--x"]=parseInt(p.responsive["--x"])+"px",p.outLayerStyleTo.css["--x"]=parseInt(p.responsive["--x"])-p.outLayerToCSS.x+"px",p.outLayerStyleFrom.css["--y"]=parseInt(p.responsive["--y"])+"px",p.outLayerStyleTo.css["--y"]=parseInt(p.responsive["--y"])-p.outLayerToCSS.y+"px"),r.plugins.callFunctions("addLayersOutBeforeFilter",L),e.isEmptyObject(p.filter.values.out)||p.filter.transitions.out||(p.filter.transitions.out=r.transitions.layers.filters.createTransition(p,"out",e.isEmptyObject(p.filter.values.afterLoop)?e.isEmptyObject(p.filter.values.afterIn)?p.filter.values.style:p.filter.values.afterIn:p.filter.values.afterLoop,p.filter.values.out)),r.plugins.callFunctions("addLayersOutBeforeClip",L),p.clip.enabled&&!p.outClipToCSS.clipPath&&p.clip.style.css.clipPath!==p.clip.default.css.clipPath&&(p.outClipToCSS.clipPath=p.clip.default.css.clipPath),p.outClipToCSS.clipPath&&(p.outClipToCSS.clipPath=r.functions.convert.clipProperties(p.outClipToCSS.clipPath,p,c)),r.plugins.callFunctions("addLayersOutBeforeTL",L),"slidechangeonly"===p.out.startAt||c.is("[data-ls-animating-out]")?(p.timeline.staticfrom=0,p.timeline.staticto="100%"):(p.settings.timelineIsCalculated||(p.timeline.transitionoutstart=Math.max(r.transitions.layers.timeline.getTiming(p,p.out.startAt,"transitionoutstart"),p.timeline.transitioninend),p.timeline.transitionoutend=p.timeline.transitionoutstart+p.out.duration),p.outClipToCSS.clipPath&&p.timelines._out.to(m[0],p.out.duration,p.outClipTo,0),e.isEmptyObject(p.filter.values.out)||p.timelines._out.to([{p:0},t],p.out.duration,{p:1,autoCSS:!1,ease:p.outLayerTo.ease,onUpdate:r.transitions.layers.filters.animate,onUpdateParams:["{self}",p.filter.transitions.out]},0),p.outLayerStyleTo.onComplete=function(){p.is.mediaLayer&&p.mediaProperties.$media[0].hasAttribute("data-ls-playing")&&r.media.functions.stopSingleMedia(c,p)},p.timelines._out.fromTo(u[0],p.out.duration,p.outLayerFrom,p.outLayerTo,0),p.timelines._out.fromTo(t,p.out.duration,p.outLayerStyleFrom,p.outLayerStyleTo,0),r.slider.isScrollScene||p.timelines._out.fromTo(u[0],0,p.init.wrapper,p.reset.wrapperOnTimelineEnd,p.out.duration),p.timelines._out.addCallback(function(){p.should.reset=!0}),a.add(p.timelines._out,p.timeline.transitionoutstart)),r.plugins.callFunctions("addLayersOutBeforeTLForced",L),p.settings.slideOut===r.slides[d].index){var J=Math.min(r.o.forceLayersOutDuration,p.out.duration);p.out.duration==p.out.defaultDuration&&(J=r.o.forceLayersOutDuration),p.timelines._forceOut.fromTo(u[0],J,p.outLayerFrom,p.outLayerTo,0),p.timelines._forceOut.fromTo(t,J,p.outLayerStyleFrom,p.outLayerStyleTo,0),p.timelines._forceOutMirror.fromTo(u[0],J,p.outLayerFrom,p.out.mirror?b:p.outLayerTo,0),p.timelines._forceOutMirror.fromTo(t,J,p.outLayerStyleFrom,p.outLayerStyleTo,0),p.outClipToCSS.clipPath&&(p.timelines._forceOut.to(m[0],J,p.outClipTo,0),p.timelines._forceOutMirror.to(m[0],J,p.outClipTo,0)),e.isEmptyObject(p.filter.values.out)||(p.timelines._forceOut.to([{p:0},t],J,{p:1,autoCSS:!1,ease:p.outLayerTo.ease,onUpdate:r.transitions.layers.filters.animate,onUpdateParams:["{self}",p.filter.transitions.out]},0),p.timelines._forceOutMirror.to([{p:0},t],J,{p:1,autoCSS:!1,ease:p.outLayerTo.ease,onUpdate:r.transitions.layers.filters.animate,onUpdateParams:["{self}",p.filter.transitions.out]},0)),s.add(p.timelines._forceOut,0),l.add(p.timelines._forceOutMirror,0)}g=Math.max(p.timeline.alloutandloopend(),0),r.transitions.layers.timeline.totalDuration=Math.max(r.transitions.layers.timeline.totalDuration,g),p.settings.timelineIsCalculated=!0,r.plugins.callFunctions("addLayersOutAfter",L)}}r.plugins.callFunctions("addLayersAfter",L)})},play:function(){r.timelines._layers&&(r.timelines._layers.play(),r.functions.setStates(this,{started:!0,running:!0,stopped:!1,paused:!1}))},pause:function(t){t=e.isNumeric(t)?t:.75;r.timelines._layers&&(o.TweenMax.to(r.timelines._layers,t,{timeScale:0,onComplete:function(e){e.pause()},onCompleteParams:[r.timelines._layers]}),r.functions.setStates(this,{paused:!0,stopped:!1}))},resume:function(){r.timelines._layers&&(this.state.paused&&r.timelines._layers.play(),o.TweenMax.to(r.timelines._layers,.75,{timeScale:1}),r.functions.setStates(this,{paused:!1,stopped:!1}))},reverse:function(){r.timelines._layers&&r.timelines._layers.reverse()},scrollForward:function(e){if(e||(this.play(),this.modifyTimeScale()),r.timelines._layers&&!r.slider.isBusy()&&(0===r.timelines._layers.totalDuration()||1===r.timelines._layers.progress())&&"down"===r.device.scroll.direction){r.slideshow.direction="next";var t=r.slideshow.sequence.normalized;t.indexOf(r.slides.current.index)===t.length-1?(r.slider.positionToViewport="under",r.device.scroll.enable(),r.slideshow.direction="prev"):r.navigation.next()}},scrollBackwards:function(e,t){(e&&!t||(this.reverse(),this.modifyTimeScale()),r.timelines._layers)&&(r.slider.isBusy()||0!==r.timelines._layers.totalDuration()&&0!==r.timelines._layers.progress()||"up"!==r.device.scroll.direction||(r.slideshow.direction="prev",0===r.slideshow.sequence.normalized.indexOf(r.slides.current.index)?(r.slider.positionToViewport="over",r.device.scroll.enable(),r.slideshow.direction="next"):r.navigation.prev()))},modifyTimeScale:function(){if(r.timelines._layers){o.TweenMax.to(r.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")}
41,set:function(e,t){t.elements.$wrapper.on("mouseenter."+s,function(){r.transitions.layers.hover.mouseEnter(e,t)}),t.elements.$wrapper.on("mouseleave."+s,function(){r.transitions.layers.hover.mouseLeave(e,t)}),t.elements.$wrapper.on("mousemove."+s,function(){r.transitions.layers.hover.mouseMove(e,t)})},createTimeline:function(t,i){if(i.hover._timeline=new o.TimelineMax({paused:!0,onReverseComplete:function(e,t){t.hover._timeline._reversed&&(t.hover._timeline.stop().clear(),delete t.hover._timeline)},onReverseCompleteParams:[t,i]}),r.resize.transformProperties(t,i,i.hoverToCSS,i.hoverShouldBeConverted,i.hoverFromCSS,null,"hover"),r.resize.styleProperties(t,i,i.hoverToCSS,i.hoverShouldBeConverted),i.hoverFromCSS.transformPerspective=i.transformPerspective.hover*i.settings.calculatedratio,i.hover._tween=o.TweenMax.fromTo(t[0],i.hover.durationIn,i.hoverFrom,i.hoverTo),i.hover._timeline.add(i.hover._tween,0),t.next().is(".ls-layer-link")){var a=t.next(),s=e.extend(!0,{},i.hoverFrom,{css:{opacity:1,color:"transparent",background:"transparent",z:0}}),n=e.extend(!0,{},i.hoverTo,{css:{opacity:1,color:"transparent",background:"transparent",z:0}});i.hover._linkTween=o.TweenMax.fromTo(a[0],i.hover.durationIn,s,n),i.hover._timeline.add(i.hover._linkTween,0)}else i.hover._linkTween=null;if(i.hover.alwaysOnTop){var l={zIndex:9999};r.browser.isSafari&&(l.transform="translateZ(999999px)"),i.hover._timeline.to(i.elements.$outerWrapper[0],i.hover.durationIn,{autoCSS:!1,css:l},0)}i.hover.reverseTimeScale=i.hover.durationIn/i.hover.durationOut===1?1:i.hover.durationIn/i.hover.durationOut,this.hoverIn(t,i)},mouseEnter:function(e,t){"1"===e.attr("data-ls-canhover")&&(e.attr("data-ls-hovered",1),t.elements.$wrapper.off("mousemove."+s),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:e(),$3d:e()},scroll:{$2d:e(),$3d:e()},auto:{$2d:e(),$3d:e()},randomGlobal:{},randomLocal:{}},globalSlideParallaxData:{},init:function(){var e=this;i.on("mouseenter."+s,function(){(e.wrappers.cursor.$2d.length||e.wrappers.cursor.$3d.length)&&e.calculateTransformProperties()}),i.on("mousemove."+s,function(t){(e.wrappers.cursor.$2d.length||e.wrappers.cursor.$3d.length)&&e.mouseMove(t)}),i.on("mouseleave."+s,function(){(e.wrappers.cursor.$2d.length||e.wrappers.cursor.$3d.length)&&e.reset()}),n.on("scroll.parallax"+s+" touchmove.parallax"+s,function(){(e.wrappers.scroll.$2d.length||e.wrappers.scroll.$3d.length)&&(e.state.paused||e.scroll())}),n.on("resize.parallax"+s,function(){(e.wrappers.auto.$2d.length||e.wrappers.auto.$3d.length||e.wrappers.scroll.$2d.length||e.wrappers.scroll.$3d.length||e.wrappers.cursor.$2d.length||e.wrappers.cursor.$3d.length)&&e.calculateTransformProperties()}),e.defaults.scrollModifier*=r.o.parallaxScrollReverse?-1:1},addLayer:function(t,i,a,s){switch(this.state.enabled||(r.functions.setStates(this,{enabled:!0}),this.init()),a.styleSettings.smartbg&&-1!==a.styleSettings.smartbg.indexOf("parallax")&&(i.smartBG=!0,a.settings.smartbgease&&(i.smartbgease=a.settings.smartbgease)),e.extend(!0,i,r.slides[s].parallax,a.parallax),a.transformPerspective.parallax?i.transformPerspective=a.transformPerspective.parallax:a.transformPerspective.parallax=i.transformPerspective,"random"===i.event&&(i.ease=r.functions.convert.easing(i.ease),i.type!==r.slides[s].parallax.type||i.randomX!==r.slides[s].parallax.randomX||i.randomY!==r.slides[s].parallax.randomY||i.randomDuration!==r.slides[s].parallax.randomDuration||i.randomCount!==r.slides[s].parallax.randomCount||i.randomStartAt!==r.slides[s].parallax.randomStartAt||i.randomWait!==r.slides[s].parallax.randomWait||i.distance!==r.slides[s].parallax.distance||i.rotation!==r.slides[s].parallax.rotation||a.settings.skipViewport?i._event="randomLocal":i._event="randomGlobal"),a.parallax=i,i.axis){case"none":i.x=!1,i.y=!1;break;case"x":i.y=!1;break;case"y":i.x=!1}i.smartBG&&o.TweenMax.set(t[0],{"--rx":"0px","--ry":"0px"}),"random"===i.event?(this.wrappers[i._event][s]||(this.wrappers[i._event][s]={$2d:e(),$3d:e()}),-1!==i._event.indexOf("randomLocal")&&(a.parallax.randomUID=r.functions.getUID(12)),this.wrappers[i._event][s]["$"+i.type]=this.wrappers[i._event][s]["$"+i.type].add(t)):this.wrappers[i.event]["$"+i.type]=this.wrappers[i.event]["$"+i.type].add(t)},random:{setTimer:function(t){(t=void 0!==t?t:{}).layerData?(t.$wrappers=t.$wrappers||t.layerData.elements.$parallaxWrapper,t.parallaxData=t.parallaxData||t.layerData.parallax,t.timeout=t.timeout||"rp-local-"+t.parallaxData.randomUID,t.eventName=t.eventName||"randomLocal"):(t.$wrappers=r.transitions.layers.parallax.wrappers.randomGlobal[t.slideIndex].$2d.add(r.transitions.layers.parallax.wrappers.randomGlobal[t.slideIndex].$3d),t.parallaxData=r.transitions.layers.parallax.globalSlideParallaxData[t.slideIndex]=t.parallaxData||t.globalSlideParallaxData||r.transitions.layers.parallax.globalSlideParallaxData[t.slideIndex],t.timeout=t.timeout||"rp-global-"+t.slideIndex,t.eventName=t.eventName||"randomGlobal"),t.$layer=t.$layer||t.$wrappers.first().find(".ls-layer, .ls-l").first(),t.layerData=t.layerData||t.$layer.data(r.defaults.init.dataKey),t.x=r.functions.convert.randomProperties(t.parallaxData.randomX,"x","parallax",t.$layer,t.layerData),t.y=r.functions.convert.randomProperties(t.parallaxData.randomY,"y","parallax",t.$layer,t.layerData),t.duration=t.parallaxData.randomDuration,e.isNumeric(t.duration)||(t.duration=r.functions.convert.randomProperties(t.duration,"duration")/1e3),t.wait=t.parallaxData.randomWait,e.isNumeric(t.wait)||(t.wait=r.functions.convert.randomProperties(t.wait,"delay")/1e3),r.transitions.layers.parallax.mouseMove(!1,{x:t.x,y:t.y,eventName:t.eventName,slideIndex:t.slideIndex||null,$wrappers:t.$wrappers,timeout:t.timeout,duration:t.duration,type:t.parallaxData.type}),r.timeouts[t.timeout]=setTimeout(function(){r.transitions.layers.parallax.random.setTimer(t)},1e3*(t.duration+t.wait))}},calculateTransformProperties:function(){var t,i;(t=this.wrappers,i=e(),function e(t){for(var a in t)t.hasOwnProperty(a)&&(t[a]&&t[a].jquery?i=i.add(t[a
41]):"object"==typeof t[a]&&null!==t[a]&&e(t[a]))}(t),i).each(function(){var t=e(this),i=t.data(r.defaults.init.dataKey).parallax,a=t.find(".ls-layer"),s=a.data(r.defaults.init.dataKey),n=r.functions.convert.transformOrigin(i.transformOrigin,a.data(r.defaults.init.dataKey).elements.$wrapper,s,t);i.parallaxCurrentOrigin=r.functions.convert.parallaxOrigin(i.origin,t,i),o.TweenMax.set(t[0],{transformOrigin:n,transformPerspective:i.transformPerspective*s.settings.calculatedratio}),"cursor"===i.event&&i.durationEnter&&(i._enterParallax&&(i._enterParallax.kill(),i._enterParallax=null),i.enteringTime=s.parallax.durationEnter,i._enterParallax=o.TweenMax.to(i,i.durationEnter,{enteringTime:0,ease:o.Quart.easeOut,onUpdate:function(){i.enteringTime<=1e-6&&(i.enteringTime=0,this.pause().progress(1))},onComplete:function(){this.invalidate(),i._enterParallax=null}}))}),this.transformPropertiesCalculated=!0},trigger:function(){n.trigger("scroll.parallax"+s),n.trigger("touchmove.parallax"+s)},auto:function(){this.transformPropertiesCalculated||this.calculateTransformProperties()},scroll:function(){var e=(("top"===this.defaults.centerLayers?l.scroll.top:l.scroll.top+(l.viewport.height-r.slider.height)/2)-r.slider.offset.top)*r.resize.ratio*this.defaults.scrollModifier;r.slider.state.inFullscreen&&(e=0),this.transformPropertiesCalculated||this.calculateTransformProperties();var t={x:0,y:e,eventName:"scroll"};this.animate(t,"2d"),this.animate(t,"3d")},mouseMove:function(e,t){t=void 0!==t?t:{},this.transformPropertiesCalculated||this.calculateTransformProperties();var i={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(i,"2d"),t.type&&"3d"!==t.type||this.animate(i,"3d")},animate:function(t,i){var a=-1!==(t=void 0!==t?t:{}).eventName.indexOf("random"),s="cursor"===t.eventName,n=this.wrappers[t.eventName]["$"+i];"randomGlobal"==t.eventName?n=this.wrappers[t.eventName][t.slideIndex]["$"+i]:"randomLocal"==t.eventName&&(n=t.$wrappers),n.each(function(){var n=e(this);if("active"===n.attr("data-ls-parallax")){var l=n.data(r.defaults.init.dataKey).parallax,d={},c=t.x,p=t.y;s&&(l.parallaxCurrentOrigin||(l.parallaxCurrentOrigin=r.functions.convert.parallaxOrigin(l.parallaxOrigin,n,l)),c-=l.parallaxCurrentOrigin.x,p-=l.parallaxCurrentOrigin.y),a||l.x?(d.x=-c*(l.distance/2e3)*parseInt(l.level),"3d"===i&&(d.rotationY=-c/(4e3/l.rotation))):d.x=0,a||l.y?(d.y=-p*(l.distance/2e3)*parseInt(l.level),"3d"===i&&(d.rotationX=p/(4e3/l.rotation))):d.y=0,s&&(l.skewX&&(d.skewX=-c*(l.skewX/2e3)*parseInt(l.level)),l.skewY&&(d.skewY=-p*(l.skewY/2e3)*parseInt(l.level)),l.scaleX&&(d.scaleX=1+Math.abs(c)*(l.scaleX/4e3)*parseInt(l.level)),l.scaleY&&(d.scaleY=1+Math.abs(p)*(l.scaleY/4e3)*parseInt(l.level))),t.timeout&&(l._timeout=t.timeout);var u=a?t.duration:Math.max(l.durationMove,l.enteringTime||0);d.ease=a?l.ease:o.Power1.easeOut,l.smartBG&&r.transitions.layers.parallax.animateSmartBG(d.x,d.y,n,u,l.smartbgease||d.ease),o.TweenMax.to(n[0],u,d)}})},animateSmartBG:function(e,t,i,a,s){o.TweenMax.to(i.find(".ls-layer, .ls-l").first()[0],a,{"--rx":-e+"px","--ry":-t+"px",ease:s})},reset:function(){e().add(this.wrappers.cursor.$2d).add(this.wrappers.cursor.$3d).each(function(){var t=e(this),i={x:0,y:0,skewX:0,skewY:0,scaleX:1,scaleY:1,rotationX:0,rotationY:0};t.find(".ls-layer[data-ls-hidden]").length&&!r.slider.isScrollScene&&(o.TweenMax.set(t[0],i),e(this).data(r.defaults.init.dataKey).parallax.smartBG&&r.transitions.layers.parallax.animateSmartBG(0,0,t,0)),t.find(".ls-layer[data-ls-parallax-reset]").length&&(o.TweenMax.to(t[0],e(this).data(r.defaults.init.dataKey).parallax.durationLeave,i),e(this).data(r.defaults.init.dataKey).parallax.smartBG&&r.transitions.layers.parallax.animateSmartBG(0,0,t,e(this).data(r.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:e(),init:function(){var e=this;
41n.on("scroll.scroll"+s+" touchmove.scroll"+s,function(){e.$wrappers.length&&e.scroll()}),n.on("resize.scroll"+s,function(){e.$wrappers.length&&e.calculateTransformProperties()})},addLayer:function(t,i,a,s){this.state.enabled||(r.functions.setStates(this,{enabled:!0}),this.init()),e.extend(!0,i,this.defaultProperties,a.scroll),a.transformPerspective.scroll?i.transformPerspective=a.transformPerspective.scroll:a.transformPerspective.scroll=i.transformPerspective,a.settings.skipViewport&&(i.skipViewport=!0),i.shouldBeConverted.transformOriginAlt||(i.shouldBeConverted.transformOriginAlt=i.shouldBeConverted.transformOrigin),i.ease=r.functions.convert.easing(i.ease),i.easeRev=r.functions.convert.easing(i.easeRev||i.ease),i.durationRev=i.durationRev||i.duration,a.scroll=i,this.$wrappers=this.$wrappers.add(t)},getCenter:function(e,t){var i="project";switch(((r.slider.isScrollScene||r.slider.isSticky)&&"scene"===t||"document"===t)&&(i=t),e){case"top":if("scene"===i)e=r.slider.wrapperPosition.top-(l.viewport.height-r.slider.height)/2;else e=l.scroll.top;break;case"center":switch(i){case"scene":e=r.slider.wrapperPosition.middleForScrollTransition;break;case"document":e=l.scroll.top;break;default:e=l.scroll.top+(l.viewport.height-r.slider.height)/2}break;case"bottom":switch(i){case"scene":e=r.slider.wrapperPosition.top+r.slider.wrapperOffset.height-l.viewport.height+(l.viewport.height-r.slider.height)/2;break;case"document":e=l.scroll.top;break;default:e=l.scroll.top+l.viewport.height-r.slider.height}break;case"top-meets-viewport-bottom":e=l.scroll.top+l.viewport.height;break;case"top-meets-viewport-middle":e=l.scroll.top+l.viewport.height/2;break;case"bottom-meets-viewport-top":e=l.scroll.top-r.slider.height;break;case"bottom-meets-viewport-middle":e=l.scroll.top+l.viewport.height/2-r.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(r.slider.isScrollScene||r.slider.isSticky)&&"scene"===e.getPosition?-t:"document"===e.getPosition?t:r.slider.state.inFullscreen?0:t-r.slider.offset.top},scroll:function(t){if(!r.slider.state.isNotDisplayed&&!r.slider.state.isHidden){var i=this,a=this.getCenter(this.defaults.centerLayers);this.transformPropertiesCalculated||this.calculateTransformProperties(),this.$wrappers.each(function(){var s,n,d,c=e(this),p=c.find(".ls-scroll-transform"),u=c.data(r.defaults.init.dataKey).scroll;if(-1!==r.slider.position.toViewportYForSkipViewportLayers.indexOf("inside")&&u.skipViewport||!i.state.paused){n=i.setCenter(u,a);var m={overwrite:"all",c:d=i.setY(u,n),ease:"down"===l.scroll.direction?u.ease:u.easeRev,onUpdate:function(t,a){var s=t.target.style.c<=0?"+":"-";u.layerPositionToCenter!==s&&i.setTransformProperties(e(a),u,s),u.layerPositionToCenter=s},onUpdateParams:["{self}",this,u]},h={overwrite:"all",ease:"down"===l.scroll.direction?u.ease:u.easeRev};u.x&&(h.x=i.calculateTransformations(-d*u.x/20,"x",u,-d)),u.y&&(h.y=i.calculateTransformations(-d*u.y/20,"y",u,-d)),u.rotation&&(h.rotation=i.calculateTransformations(d*u.rotation/40,"rotation",u,-d)),u.rotationX&&(h.rotationX=i.calculateTransformations(d*u.rotationX/40,"rotationX",u,-d)),u.rotationY&&(h.rotationY=i.calculateTransformations(d*u.rotationY/40,"rotationY",u,-d)),u.skewX&&(h.skewX=i.calculateTransformations(-d*u.skewX/40,"skewX",u,-d)),u.skewY&&(h.skewY=i.calculateTransformations(-d*u.skewY/40,"skewY",u,-d)),u.scaleX&&(h.scaleX=i.calculateTransformations(1-d*u.scaleX/-4e3,"scaleX",u,d)),u.scaleY&&(h.scaleY=i.calculateTransformations(1-d*u.scaleY/-4e3,"scaleY",u,d)),u.opacity&&(h.opacity=i.calculateTransformations(1-d*(u.opacityyoyo?Math.abs(u.opacity):u.opacity)/1e3,"opacity",u,d)),s="down"===l.scroll.direction?u.duration:u.durationRev,t||0==s?(o.TweenMax.set(c[0],m),o.TweenMax.set(p[0],h)):(o.TweenMax.to(c[0],s,m),o.TweenMax.to(p[0],s,h))}})}},calculateTransformations:function(e,t,i,a){if(i[t+"yoyo"])switch(t){case"scaleX":case"scaleY":a<0&&(e=1-(e-1));break;case"opacity":a<1&&(e=1-(e-1));break;default:a<1&&(e=-e)}return"opacity"==t&&i.opacityinvert&&(e=1-e),void 0!==i[t+"min"]&&e<i[t+"min"]&&(e=i[t+"min"]),void 0!==i[t+"max"]&&e>i[t+"max"]&&(e=i[t+"max"]),("x"===t&&i.xresponsive||"y"===t&&i.yresponsive)&&(e*=r.resize.ratio),e},calculateTransformProperties:function(){var t=this;this.$wrappers.each(function(){var i=e(this),a=i.data(r.defaults.init.dataKey).scroll,s=t.setCenter(a,t.getCenter(t.defaults.centerLayers)),o=t.setY(
41a,s)<=0?"+":"-";t.setTransformProperties(i,a,o)}),this.transformPropertiesCalculated=!0},setTransformProperties:function(e,t,i){var a=e.find(".ls-layer").data(r.defaults.init.dataKey);o.TweenMax.set(e.find(".ls-scroll-transform")[0],{transformOrigin:r.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,o=new r.defaults.layer.properties.filter,n={};for(s in o)switch(t){case"in":n[s]=[o[s],o[s]],n[s][0]=i.hasOwnProperty(s)?i[s]:a.hasOwnProperty(s)?a[s]:o[s],n[s][1]=a.hasOwnProperty(s)?a[s]:o[s],e.filter.values.afterIn[s]=n[s][1];break;case"hover":case"loop":case"out":n[s]=[],n[s][0]=i.hasOwnProperty(s)?i[s]:o[s],n[s][1]=a.hasOwnProperty(s)?a[s]:i.hasOwnProperty(s)&&i[s]!==o[s]?i[s]:o[s],"loop"===t&&!0!==e.loop.yoyo&&-1!==e.loop.count&&(e.filter.values.afterLoop[s]=n[s][1]);break;case"bg":n[s]=[o[s],o[s]],i.hasOwnProperty(s)&&(n[s][0]=i[s]),a.hasOwnProperty(s)&&(n[s][1]=a[s])}return n},convert:function(e){for(var t,i,a,s={},r=/(blur|brightness|contrast|grayscale|hue-rotate|invert|saturate|sepia)/i,o=0,n=(e=e.split(" ")).length;o<n;o++)(t=(a=e[o].split("("))[0]).match(r)&&(i=parseInt(a[1]),s[t]=i);return s},animate:function(e,t){var i=100*e.target[0].p;if("object"==typeof t){var a="";for(var 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)+"% )"}o.TweenMax.set(e.target,{"-webkit-filter":a,filter:a})}}},splitType:{setNodesSequence:function(e,t){var i=function(e,i){if("desc"==i)e=t.slice(0).reverse();else if("rand"==i)e=t.slice(0).sort(function(){return.5-Math.random()});else if("center"==i){var a,s=Math.floor(t.length/2);for(e=[t[s]],a=1;a<=s;a++)e.push(t[s-a],t[s+a]);e.length=t.length}else if("edge"==i){var r,o=Math.floor(t.length/2);for(e=[t[0]],r=1;r<=o;r++)e.push(t[t.length-r],t[r]);e.length=t.length}return e||t},a=i(t,e[1]),s={asc:"desc",desc:"asc"}[e[1]]||e[1];return[a,i(t,s)]},resetNodes:function(t,i){e(".ls-ch, .ls-wd, .ls-ln",t).add(i.elements.$wrapper).css({transform:"none",opacity:1}).each(function(){delete this._gsTransform})},setRandomProperties:function(e,t,i,a,s){for(var o in i){for(var n=[],l=0,d=t["text"+s].nodes.length;l<d;l++)n[l]=r.functions.convert.randomProperties(i[o],o,"text"+s.toLowerCase(),e,t);delete a[o],a.cycle[o]=n}i=null}}},media:{defaults:{delay:500,fadeIn:500,fadeOut:750},changeBackgroundVideo:function(e,t){if(r.slides.current.index&&r.slides.current.data.$backgroundVideo.length){var a=r.slides.current.data.$backgroundVideo,s=a.data(r.defaults.init.dataKey).elements.$bgWrapper;t&&(a.data(r.defaults.init.dataKey).mediaProperties.willBePaused=!0,s.fadeOut(r.transitions.media.defaults.fadeOut,function(){a.trigger("stopBackgroundVideo"),a.data(r.defaults.init.dataKey).mediaProperties.willBePaused=!1}))}if(r.slides.next.data.$backgroundVideo.length){var o=r.slides.next.data.$backgroundVideo,n=o.data(r.defaults.init.dataKey).elements.$bgWrapper,d=o.data(r.defaults.init.dataKey).elements.$bgOuterWrapper;l.isMobile&&(i.hasClass("ls-device-is-phone")&&d.hasClass("ls-hide-on-phone")||i.hasClass("ls-device-is-tablet")&&d.hasClass("ls-hide-on-tablet"))||setTimeout(function(){e&&r.o.animateFirstSlide||o.trigger("playBackgroundVideo")},e?50:0),e||t?n.fadeIn(r.transitions.media.defaults.fadeOut):n.css({display:"block"}),o.data(r.defaults.init.dataKey).mediaProperties.isPreloaded=!0}}},timers:{defaults:{fadeInDuration:.35,reverseDuration:.3},create:function(e){this.curNext=e||"next",this.reset(),r.gui.timers.bar.$element&&this.bar.createTransition(),r.gui.timers.circle.$element&&this.circle.createTransition(),r.gui.timers.slidebar.$element&&this.slidebar.createTransition()},reverse:function(){if(r.slides.current&&r.slides.current.data&&r.timelines._layers){var e=r.timelines._layers.progress(),t=r.slides.current.data.duration*e/this.defaults.reverseDuration;r.gui.timers.bar.$element&&this.bar._transition&&(r.timelines._layers.remove(r.transitions.timers.bar._transition),this.bar._transition.reverse().timeScale(t)),r.gui.timers.circle.$element&&this.circle._transition&&(r.timelines._layers.remove(r.transitions.timers.circle._transition),this.circle._transition.reverse().timeScale(t)),r.gui.timers.slidebar.$element&&this.slidebar._transition&&(r.timelines._layers.remove(r.transitions.timers.slidebar._transition),this.slidebar._transition.reverse().timeScale(t))}},reset:function(){r.gui.timers.bar.$element&&this.bar._transition&&this.bar.reset(),r.gui.timers.circle.$element&&this.circle._transition&&this.circle.reset(),r.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=o.TweenMax.fromTo(r.gui.timers.bar.$element[0],r.slides[r.transitions.curNext].data.duration,{autoCSS:!1,paused:!0,css:{width:0}},{autoCSS:!1,css:{},ease:o.Linear.easeNone,onReverseComplete:function(){r.transitions.timers.bar._transition=!1},onReverseCompleteParams:["{self}"],onComplete:function(e){e.target.style.width="100%",e.target.style.width="calc( 100% - "+r.slider.initial.skinWidth+"px )"},onCompleteParams:["{self}"],onUpdate:function(e){e.target.style.width=Math.min(r.slider.width,r.slider.width*e.progress())+"px"},onUpdateParams:["{self}"]})}},circle:{reset:function(){this._transition&&(r.gui.timers.circle.$element.stop(!0,!0),this._transition.kill(),this._transition=!1)},createTransition:function(){var e=r.gui.timers.circle.$element.find(".ls-ct-right .ls-ct-rotate")[0],t=r.gui.timers.circle.$element.find(".ls-ct-left .ls-ct-rotate")[0],i=r.slides[r.transitions.curNext].data.duration;this._transition=new o.TimelineMax({paused:!0}).fromTo(r.gui.timers.circle.$element[0],r.transitions.timers.defaults.fadeInDuration,{autoCSS:!1,immediateRender:!0,css:{opacity:0,display:"block"}},{autoCSS:!1,css:{opacity:r.gui.timers.circle.$element.data("original").opacity}}).fromTo(e,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:o.Linear.easeNone},0).fromTo(t,i/2,{autoCSS:!1,css:{rotation:0}},{autoCSS:!1,css:{rotation:180},ease:o.Linear.easeNone},i/2)}},slidebar:{reset:function(){this._transition&&(this._transition.kill(),this._transition=!1)},createTransition:function(){var t=this;t._transition=new o.TimelineMax({paused:!0,onReverseComplete:function(){r.transitions.timers.slidebar._transition=!1}}),e.each(r.gui.timers.slidebar.$sliderContainerElement,function(e,i){t._transition.add(o.TweenMax.fromTo(r.gui.timers.slidebar.$sliderContainerElement[e][0],r.slides[r.transitions.curNext].data.duration,{autoCSS:!1,css:{left:0}},{autoCSS:!1,immediateRender:!1,css:{},ease:o.Linear.easeNone,onComplete:function(t){t.target.style.left="calc( 100% - "+r.gui.timers.slidebar.
41sliderContainerElementWidth[e]+"px )"},onCompleteParams:["{self}"],onUpdate:function(t){t.target.style.left=(r.gui.timers.slidebar.containerElementWidth[e]-r.gui.timers.slidebar.sliderContainerElementWidth[e])*t.progress()+"px"},onUpdateParams:["{self}"]}),0),t._transition.add(o.TweenMax.fromTo(r.gui.timers.slidebar.$progressBarElement[e][0],r.slides[r.transitions.curNext].data.duration,{autoCSS:!1,css:{width:0}},{autoCSS:!1,css:{},ease:o.Linear.easeNone,onComplete:function(e){e.target.style.width="100%"},onCompleteParams:["{self}"],onUpdate:function(t){t.target.style.width=r.gui.timers.slidebar.elementWidth[e]*t.progress()+"px"},onUpdateParams:["{self}"]}),0)})}}},scrollscene:{min:1e-6,animate:function(e){if(r.timelines._layers){var t=l.scroll.top-r.slider.wrapperOffset.top+this.playFrom,i=(e=e&&"start"===e?this.min:Math.max(this.min,r.transitions.layers.timeline.totalDuration/r.transitions.scrollscene.maxProgressInPixels*t),o.Sine.easeOut),a=this.initialized&&!this.immediateRender?r.o.smoothScrollDuration/1e3:0;if("outside"===r.slider.position.toViewport)return;this._tween=r.timelines._layers.tweenTo(Math.min(e,r.transitions.layers.timeline.totalDuration),{ease:i,onUpdate:function(){for(var e=r.timelines._layers.time(),t=r.transitions.lottie.layerDatas.length,i=0;i<t;i++)if(r.transitions.lottie.layerDatas[i].isReady&&"scroll"===r.transitions.lottie.layerDatas[i].options.trigger){var a;if(e<=r.transitions.lottie.layerDatas[i].startTime)a="below",r.transitions.lottie.layerDatas[i].posToViewport!==a&&(r.transitions.lottie.players[i].stop(),r.transitions.lottie.players[i].setFrame(r.transitions.lottie.layerDatas[i].playFrom));else if(e>=r.transitions.lottie.layerDatas[i].endTime)a="above",r.transitions.lottie.layerDatas[i].posToViewport!==a&&r.transitions.lottie.players[i].setFrame(r.transitions.lottie.layerDatas[i].playTo);else{a="inside";var s=e-r.transitions.lottie.layerDatas[i].startTime,o=r.transitions.lottie.layerDatas[i].playFrom+s*r.transitions.lottie.layerDatas[i].frameRate*r.transitions.lottie.layerDatas[i].speed;r.transitions.lottie.players[i].setFrame(o)}r.transitions.lottie.layerDatas[i].posToViewport=a}}}).duration(a),this.initialized=!0,this.immediateRender=!1}}},lottie:{players:[],layerDatas:[],mirror:{left:"right",right:"left",top:"bottom",bottom:"top"},init:function(t,i){r.slides[t.data("slideIndex")].lottie.count+=1,i.lottie={userOptions:JSON.parse(t.attr("data-ls-lottie"))};var a=this,s=i.lottie;t.html("<canvas></canvas>");var o=t.find("canvas")[0];s.options=e.extend(!0,{loop:!0,speed:1,mode:"forward",start:0,end:100,layout:{fit:"contain",align:[.5,.5]},trigger:"autoplay",triggerFrom:"auto",startAt:"transitioninstart"},s.userOptions,{autoplay:!1,canvas:o});var n=s.options;"scroll"!==n.trigger||r.slider.isScrollScene||(n.trigger="autoplay"),s.player=new LS_DotLottie(n),s.player.addEventListener("loadError",function(e){console.error("Failed to load Lottie animation:",e.error),s.player.destroy(),r.slides[t.data("slideIndex")].lottie.loaded+=1}),s.player.addEventListener("load",function(){if(!r.slides[t.data("slideIndex")]||!r.slides[t.data("slideIndex")].lottie)return s.player.destroy(),!1;r.slides[t.data("slideIndex")].lottie.loaded+=1,s.playFrom=Math.max(Math.round(s.player.totalFrames*(n.start/100)),0),s.playTo=Math.min(Math.round(s.player.totalFrames*(n.end/100)),s.player.totalFrames),s.playTo<=s.playFrom&&(s.playTo=s.player.totalFrames),s.playTo=Math.round(s.playTo),s.player.setSegment(s.playFrom,s.playTo),s.player.setFrame(s.playFrom),s.frameRate=s.player.totalFrames/s.player.duration,s.speed=s.player.speed||1,s.frameCount=s.playTo-s.playFrom,s.actualDuration=s.frameCount/s.frameRate/s.speed||1,s.startTime=s.playFrom/s.frameRate/s.speed,s.duration=s.frameCount/s.frameRate/s.speed,s.endTime=s.startTime+s.duration,s.isReady=!0,s.player.setUseFrameInterpolation(!0),a.players.push(s.player),a.layerDatas.push(s),"autoplay"!==n.trigger&&r.transitions.lottie.setTrigger(t,s.player,s,n.trigger)})},setTrigger:function(t,i,a,r){var o=this;switch(r){case"toggleclick":case"click":t.on("click."+s,function(){i.isPlaying&&"click"!==r?i.pause():i.play()});break;case"togglehover":t.on("mouseleave."+s,function(){i.pause()});case"hover":t.on("mouseenter."+s,function(){i.play()});break;case"mousemove":t.on("mouseenter."+s,function(e){o.getSide("enter",e,this,a)}).on("mousemove."+s,function(t){a.enter||e(this).trigger("mouseenter."+s,t);var r,o=this.getBoundingClientRect(),n=t.clientX-o.left,l=t.clientY-o.top;switch(n=Math.max(0,Math.min(n,o.width)),l=Math.max(0,Math.min(l,o.height)),a.from){case"left":r=n/o.width;break;case"right":r=1-n/o.width;break;case"top":r=l/o.height;break;case"bottom":r=1-l/o.height}r=Math.max(0,Math.min(r,1));var d=Math.round(a.playFrom+r*(a.playTo-a.playFrom));
41i.setFrame(d)}).on("mouseleave."+s,function(e){o.getSide("leave",e,this,a);var t=a.enter;if(-1!==["left","right","top","bottom"].indexOf(a.options.triggerFrom)&&(t=a.options.triggerFrom),t===a.leave)i.setFrame(a.playFrom);else if(a.leave===o.mirror[t]){var s=a.playTo===Math.round(i.totalFrames)?i.totalFrames-1:a.playTo;i.setFrame(s)}delete a.enter,delete a.leave,delete a.from})}},getSide:function(e,t,i,a){var s=i.getBoundingClientRect(),r=t.clientX-s.left,o=t.clientY-s.top,n={left:r,right:s.width-r,top:o,bottom:s.height-o},l=a.options.triggerFrom,d=n.left;switch("leave"===e&&(l="auto"),l){case"left":case"right":case"horizontal":a[e]=n.left<=n.right?"left":"right";break;case"top":case"bottom":case"vertical":a[e]=n.top<=n.bottom?"top":"bottom";break;case"auto":a[e]="left",n.right<d&&(d=n.right,a[e]="right"),n.top<d&&(d=n.top,a[e]="top"),n.bottom<d&&(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()}}},r.plugins={load:function(){if(r.o.plugins&&0!==r.o.plugins.length){r.o.plugins=r.plugins.sortByPriority(r.o.plugins);var t=r.o.plugins[0],i="object"==typeof t?t.namespace:t;if(window._layerSlider.plugins[i])r.plugins.init(i,t,!0),r.plugins.load();else if(r.browser.usesFileProtocol||"object"!=typeof t)r.browser.usesFileProtocol?(window.console&&(console.error(r.defaults.slider.errorText,"Cannot load plugins on file:// protocol."),console.info("Please include the plugin files manually.")),r.o.plugins.splice(0,1),r.plugins.load()):(window.console&&(console.error(r.defaults.slider.errorText,"Plugin files are missing!"),console.info('Plugin "'+i+'" has been added in slider init options, but the source files are not found on page.')),r.o.plugins.splice(0,1),r.plugins.load());else{if(-1!==window._layerSlider.pluginsBeingLoaded.indexOf(i))return void r.plugins.checkLoaded(i);-1===window._layerSlider.pluginsLoaded.indexOf(i)&&-1===window._layerSlider.pluginsNotLoaded.indexOf(i)?(window._layerSlider.pluginsBeingLoaded.push(i),e.ajax({url:-1===t.js.indexOf(LS_nsProtocol||"http://")&&-1===t.js.indexOf("https://")?(window._layerSlider.pluginsPath?window._layerSlider.pluginsPath:window._layerSlider.scriptPath+"/../plugins/")+t.js:t.js,dataType:"script",success:function(){r.plugins.init(t.namespace,t,!0),window._layerSlider.pluginsLoaded.push(i)},error:function(e,t,a){window.console&&(console.error(r.defaults.slider.errorText,i,"plugin has not been loaded!"),console.error("Additional error info:",a)),window._layerSlider.pluginsNotLoaded.push(i)},complete:function(){window._layerSlider.pluginsBeingLoaded.splice(window._layerSlider.pluginsBeingLoaded.indexOf(i),1),r.plugins.load()}})):(r.o.plugins.splice(0,1),r.plugins.load())}}else r.slider.check.initialized()},init:function(t,a,o){try{r.initializedPlugins[t]=new window._layerSlider.plugins[t](r,i,s,a.settings),window._layerSlider.checkVersions(r.initializedPlugins[t].pluginData.requiredLSVersion,r.plugin.version)?(a.css&&o&&e('<link rel="stylesheet" href="'+(-1===a.css.indexOf(LS_nsProtocol||"http://")&&-1===a.css.indexOf("https://")?(window._layerSlider.pluginsPath?window._layerSlider.pluginsPath:window._layerSlider.scriptPath+"/../plugins/")+a.css:a.css)+'">').appendTo("head"),r.initializedPlugins[t].init&&r.initializedPlugins[t].init()):window.console&&console.error(r.defaults.slider.errorText,t,"plugin has not been loaded! Required LayerSlider version:",r.initializedPlugins[t].pluginData.requiredLSVersion,"(you have:",r.plugin.version+")")}catch(e){window.console&&(console.error(r.defaults.slider.errorText,t,"plugin has not been initialized!"),console.error("Additional error info:",e))}r.o.plugins.splice(0,1)},checkLoaded:function(e){r.intervals.pluginLoaded=setInterval(function(){-1===window._layerSlider.pluginsLoaded.indexOf(e)&&-1===window._layerSlider.pluginsNotLoaded.indexOf(e)||-1!==window._layerSlider.pluginsBeingLoaded.indexOf(e)||(clearInterval(r.intervals.pluginLoaded),delete r.intervals.pluginLoaded,r.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];r.plugins.events[s]||(r.plugins.events[s]={}),r.plugins.events[s][t]=i}else r.plugins.events[e]||(r.plugins.events[e]={}),r.plugins.events[e][t]=i},callFunctions:function(e,t){for(var i in r.plugins.events[e])r.plugins.events[e][i](t)},getLayersByEffect:function(t){var i,a=e();return r.slider.get.effectLayers().each(function(s,o){for(var n in e(o).data("ls-effects"))(i=e(o)).data("ls-effects")[n].effect==t&&(i.data(t,r.plugins.normalizeEffectSettings(i.data("ls-effects")[n])),a=a.add(o))}),a},normalizeEffectSettings:function(t){if(!t||"object"!=typeof t)return t;for(var i in t)"string"==typeof t[i]&&(t[i]=e.trim(t[i]));return t},sortByPriority:function(e){var t=function(e){return e&&"object"==typeof e?e.namespace:e};return e.sort(function(e,i){var a=_layerSliderEffectsPriority.indexOf(t(e)),s=_layerSliderEffectsPriority.indexOf(t(i));return-1===a&&-1===s?0:-1===a?1:-1===s?-1:a-s})}},r.performance={},r.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(t))return!1;r.api.hasEvent("sliderWillLoad")&&r.api.triggerEvent("sliderWillLoad"),r.slider.set.global()},set:{global:function(){if(r.originalMarkup=i[0].outerHTML,r.userInitOptions=r.functions.convert.properties(r.functions.convert.oldProperties(a)),r.meta={},r.o=e.extend(!0,{},r.defaults.init.options,r.userInitOptions),r.o.forceLayersOutDuration/=1e3,r.o.forceLayersOutDuration=r.o.forceLayersOutDuration>0?r.o.forceLayersOutDuration:.75,r.o.sliderFadeInDuration/=1e3,window.console&&!0!==r.o.hideWelcomeMessage&&!0!==window._layerSlider.hideWelcomeMessage){window._layerSlider.hideWelcomeMessage=!0;var t=window.console.info?"info":"log",s=window.LS_Meta&&window.LS_Meta.v?" | WP Plugin: "+window.LS_Meta.v:"";console[t]("LayerSlider initialized | core: "+r.plugin.version+"-"+r.plugin.release+s),console[t]("Find updates and docs @ https://layerslider.com/")}var o={namespace:"debug",js:"debug/layerslider.debug.js",css:"debug/layerslider.debug.css"};-1!==document.location.hash.indexOf("debug")&&window.console&&("object"==typeof r.o.plugins?r.o.plugins.push(o):r.o.plugins=[o]),(window._layerSlider.currentScript||window._layerSlider.lsScript)&&(window._layerSlider.scriptPath=(window._layerSlider.currentScript||window._layerSlider.lsScript).src.replace(/\\/g,"/").replace(/\/[^/]*$/,"")),r.o.silentMode&&(r.slider.$silentWrapper=e("<ls-silent-wrapper></ls-silent-wrapper>"),r.slider.$silentWrapper.append(i).prependTo("body")),"string"==typeof r.o.getData&&(r.o.getData=[r.o.getData]),"object"==typeof r.o.plugins?r.plugins.load():r.slider.check.initialized()},styles:function(){var a,o,d,c,p,u,m,h,f,g,y,v,x,S,w,b,T,k,C,O,P,I,L=r.slider,_=i.parent(),M=t.style,F=window.getComputedStyle(t,null),$=parseInt(t.clientWidth),W=parseInt(t.clientHeight),B=parseInt(_.width()),D=parseInt(_.height()),z=r.o.layersContainerWidth,A=r.o.layersContainerHeight,N=r.o.type.toLowerCase();switch(r.debugMode&&r.debug.add("group","sliderInit.style"),r.o.width?a=-1==r.o.width.indexOf("%")?parseInt(r.o.width):r.o.width:M.width?a=-1==M.width.indexOf("%")?parseInt(M.width):M.width:z>0?(a=z,r.debugMode&&r.debug.add("warn","sliderInit.noWidth",z)):(a=$,r.debugMode&&r.debug.add("warn","sliderInit.noWidth2",$)),d=a,r.o.height?o=-1==r.o.height.indexOf("%")?parseInt(r.o.height):r.o.height:M.height?o=-1==M.height.indexOf("%")?parseInt(M.height):M.height:A>0?(o=A,r.debugMode&&r.debug.add("warn","sliderInit.noHeight",A)):(o=W,r.debugMode&&r.debug.add("warn","sliderInit.noHeight2",D)),c=o,p=""!==M.maxWidth?-1!==M.maxWidth.indexOf("px")?parseInt(M.maxWidth):M.maxWidth:0,void 0===r.userInitOptions.type&&(z>0&&A>0||"100%"===a&&"100%"===o?N="fullsize":z<=0&&A<=0&&(r.o.responsiveUnder<=0||r.o.responsiveUnder>0&&r.o.sliderVersion)?N=void 0!==r.o.responsive&&!1===r.o.responsive?"fixedsize":"responsive":r.o.responsiveUnder>0&&(N="fullwidth")),N){case"fullwidth":-1!==a.indexOf("%")&&(r.debugMode&&r.debug.add("warn","sliderInit.percWidth",[N,a,$]),a=$),z<=0&&(z=a,r.debugMode&&r.debug.add("warn","sliderInit.conWidth",[N,a])),r.o.responsiveUnder<=0&&(r.o.responsiveUnder=z,r.debugMode&&r.debug.add("warn","sliderInit.fullwidth",z)),-1!==o.indexOf("%")&&(m=D/(100/parseInt(o)),r.debugMode&&r.debug.add("warn","sliderInit.fullwidth2",[N,o,m]),o=m),A<=0&&(A=o);break;case"fullsize":-1!==a.indexOf("%")&&(u=z>0?z:B,r.debugMode&&r.debug.add("warn","sliderInit.fullsize",[N,a,u,B,z]),a=u),z<=0&&(z=a,r.debugMode&&r.debug.add("warn","sliderInit.conWidth",[N,a])),-1!==o.indexOf("%")&&(m=A>0?A:n.height()/(100/parseInt(o)),r.debugMode&&r.debug.add("warn","sliderInit.fullsize2",[N,o,m,n.height(),A]),o=m),A<=0&&(A=o,r.debugMode&&r.debug.add("warn","sliderInit.conHeight",[N,o]));break;case"fixedsize":break;default:r.userInitOptions.type=r.o.type=N="responsive",r.o.responsiveUnder=-1,-1!==a.indexOf("%")&&(a=$,r.debugMode&&r.debug.add("warn","sliderInit.percWidth",[N,a,$])),-1!==o.indexOf("%")&&(o=W,r.debugMode&&r.debug.add("warn","sliderInit.responsive",[N,o,W])),r.debugMode&&z>0&&r.debug.add("warn","sliderInit.conWidth2",[N,z]),r.debugMode&&A>0&&r.debug.add("warn","sliderInit.conHeight2",[N,A])}if(i.addClass("ls-container ls-"+N),i.parent().addClass("ls-direction-fix"),r.userInitOptions.slideBGSize||"responsive"!==N||!r.userInitOptions.hasOwnProperty("sliderVersion")||r.userInitOptions.sliderVersion||(r.o.slideBGSize="auto",r.debugMode&&r.debug.add("warn","sliderInit.bgCover",N)),r.o.slideBGSize=r.o.slideBGSize.replace("100% 100%","stretch"),h=z>0?z:a,f=A>0?A:o,(g="auto"===(v=t.style.marginLeft)?"auto":""===v?parseInt(F.getPropertyValue("margin-left")):parseInt(t.style.marginLeft))===(y="auto"===(x=t.style.marginRight)?"auto":""===x?parseInt(F.getPropertyValue("margin-right")):parseInt(t.style.marginRight))&&(""===v&&""===x&&(S=g,g="auto",y="auto"),i.css({marginLeft:"auto",marginRight:"auto"}
41)),w=""!==M.paddingLeft?parseInt(M.paddingLeft):parseInt(i.css("padding-left")),T=""!==M.paddingRight?parseInt(M.paddingRight):parseInt(i.css("padding-right")),b=""!==M.paddingTop?parseInt(M.paddingTop):parseInt(i.css("padding-top")),k=""!==M.paddingBottom?parseInt(M.paddingBottom):parseInt(i.css("padding-bottom")),C=""!==M.borderLeftWidth?parseInt(M.borderLeftWidth):parseInt(i.css("border-left-width")),P=""!==M.borderRightWidth?parseInt(M.borderRightWidth):parseInt(i.css("border-right-width")),O=""!==M.borderTopWidth?parseInt(M.borderTopWidth):parseInt(i.css("border-top-width")),I=""!==M.borderBottomWidth?parseInt(M.borderBottomWidth):parseInt(i.css("border-bottom-width")),L.initial={type:N,width:a,height:o,originalWidth:d,originalHeight:c,percW:a/100,percH:o/100,layersWidth:z,layersHeight:A,ratio:h/f,maxWidth:p,marginLeft:g,marginRight:y,marginTop:r.o.marginTop,marginBottom:r.o.marginBottom,paddingLeft:w,paddingTop:b,paddingRight:T,paddingBottom:k,borderLeftWidth:C,borderTopWidth:O,borderRightWidth:P,borderBottomWidth:I,skinWidth:w+T+C+P,skinHeight:b+k+O+I},r.debugMode&&(r.debug.add("log","sliderInit.style",[a,o,d,c,z,A,parseInt(h/f*100)/100,p>0?p:void 0,[g,y]]),S&&r.debug.add("warn","sliderInit.margin",S)),e("#ls-global").length||(e("html").attr("id")?e("body").attr("id")||e("body").attr("id","ls-global"):e("html").attr("id","ls-global")),"static"!==F.getPropertyValue("position")&&"absolute"!==F.getPropertyValue("position")&&(t.style.position="relative"),r.o.insertSelector&&i[r.o.insertMethod](r.o.insertSelector),r.slider.$hiddenWrapper=e('<div class="ls-wp-container fitvidsignore ls-hidden" data-layerslider-uid="'+s+'"></div>').addClass(i.attr("class")).prependTo("body"),r.slider.$innerWrapper=e('<div class="ls-inner"></div>'),r.slider.$slideBGColorWrapper=e('<div class="ls-slide-bgcolor"></div>').appendTo(r.slider.$innerWrapper),r.slider.$layersWrapper=e('<div class="ls-layers"></div>').appendTo(r.slider.$innerWrapper),r.o.mask&&(r.slider.$maskWrapper=e('<div class="ls-mask"></div>').addClass("ls-"+r.o.mask).appendTo(r.slider.$layersWrapper)),r.slider.$bgVideosWrapper=e('<div class="ls-background-videos"></div>').appendTo(r.slider.$layersWrapper),r.slider.$slideBGWrapper=e('<div class="ls-slide-backgrounds"></div>').appendTo(r.slider.$layersWrapper),r.slider.$innerWrapper.appendTo(i),!0===r.o.hideOnMobile&&l.isMobile?(i.addClass("ls-forcehide"),i.closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"),r.o.autoStart=!1):r.slider.check.showHide(),"sticky"===r.o.scene||"scroll"===r.o.scene){switch(r.slider.isScene=!0,r.o.scene){case"scroll":r.slider.isScrollScene=!0;case"sticky":r.slider.isSticky=!0}i.parent().is("ls-scene-wrapper")?i.parent().attr("data-scene",r.o.scene).attr("data-layerslider-uid",s):i.wrap('<ls-scene-wrapper data-scene="'+r.o.scene+'" data-layerslider-uid="'+s+'"></ls-scene-wrapper>'),r.slider.$spacingWrapper=e('ls-scene-wrapper[data-layerslider-uid="'+s+'"]'),i.attr("data-scene",r.o.scene)}else r.slider.$spacingWrapper=i;var V=r.slider.isScene&&"scene"===r.o.globalBGFor?r.slider.$spacingWrapper:r.slider.$innerWrapper,R=!1;-1==r.o.globalBGColor.indexOf("gradient")?V.css({backgroundColor:r.o.globalBGColor}):(R=r.o.globalBGColor,r.o.globalBGColor="transparent"),r.o.globalBGImage?V.css({backgroundImage:"url( "+r.o.globalBGImage+" )"+(R?", "+R:""),backgroundRepeat:r.o.globalBGRepeat,backgroundAttachment:r.o.globalBGAttachment,backgroundSize:r.o.globalBGSize,backgroundPosition:r.o.globalBGPosition}):R&&V.css({backgroundImage:R}),"transparent"!=r.o.globalBGColor||!1!==r.o.globalBGImage||R||V.css({background:"none transparent"}),(r.o.preventSliderClip&&r.o.fitScreenWidth&&("fullwidth"===N||"fullsize"===N&&"fitheight"!==r.o.fullSizeMode)||r.slider.isScrollScene||r.slider.isSticky)&&i.parents(":not(body, html)").each(function(){e(this).addClass("ls-overflow-visible")})},options:function(){if(e("html").find('meta[content*="WordPress"]').length&&(r.meta.wpVersion=e("html").find('meta[content*="WordPress"]').attr("content").split("WordPress")[1]),window.LS_Meta&&window.LS_Meta.v?r.meta.lswpVersion=window.LS_Meta.v:e("html").find('script[src*="layerslider"]').length&&-1!=e("html").find('script[src*="layerslider"]').attr("src").indexOf("?")&&(r.meta.lswpVersion=e("html").find('script[src*="layerslider"]').attr("src").split("?")[1].split("=")[1]),"undefined"!=typeof layerSliderTransitions&&(r.t=e.extend({},layerSliderTransitions)),"undefined"!=typeof layerSliderCustomTransitions&&(r.ct=e.extend({},layerSliderCustomTransitions)),r.debugMode&&("undefined"!=typeof layerSliderCustomTransitions?(r.debug.add("log","sliderInit.customTransitions",!1),"undefined"==typeof layerSliderTransitions&&r.debug.add("warn","sliderInit.slideTransitions")):"undefined"==typeof layerSliderTransitions&&r.debug.add("warn","sliderInit.noSlideTransitions")),"number"==typeof r.o.parallaxCenterDegree&&(r.transitions.layers.parallax.defaults.centerDegree=r.o.parallaxCenterDegree),"number"==typeof r.o.parallaxSensitivity&&(r.transitions.layers.parallax.defaults.sensitive=r.o.parallaxSensitivity),r.o.parallaxCenterLayers&&(r.transitions.layers.parallax.defaults.centerLayers=r.o.parallaxCenterLayers),r.o.scrollCenterLayers&&(r.transitions.layers.scroll.defaults.centerLayers=r.o.scrollCenterLayers),r.slider.isSticky&&(e.extend(r.o,{allowFullscreen:!1,playByScroll:!1}),r.slider.isScrollScene&&e.extend(r.o,{autoPauseSlideshow:!1,autoStart:!1,pauseL
41ayers:!1,pauseOnHover:!1,startInViewport:!1})),r.o.playByScroll&&e.extend(r.o,{cycles:-1,startInViewport:!0,pauseOnHover:!1,autoStart:!1}),l.isMobile&&(r.o.pauseOnHover=!1),r.o.noContextMenu&&i.on("contextmenu."+s,function(){return!1}),r.o.startInViewport&&(r.slider.state.waitForGettingInViewport=!0,r.o.playByScroll)){r.slider.positionToViewport=l.scroll.top>r.slider.offset.top-(l.viewport.height-r.slider.height)/2?"under":"over";var t,a,o,n=!0,d=4*r.o.playByScrollSpeed;r.device.scroll.timeout=250,r.transitions.layers.timeline.timeScaleModifier=0,e(document).on("wheel."+s+" touchmove."+s,function(e){l.isMobile?((t=e.originalEvent.touches[0].clientY)>a?r.device.scroll.direction="up":t<a&&(r.device.scroll.direction="down"),o=a-t,a=t):(e.originalEvent.deltaY>0?r.device.scroll.direction="down":r.device.scroll.direction="up",o=e.originalEvent.deltaY),0!==Math.abs(o)&&(r.device.scroll.lastDirection?r.device.scroll.lastDirection!==r.device.scroll.direction&&(r.device.scroll.lastDirection=r.device.scroll.direction,r.transitions.layers.timeline.timeScaleModifier=0):r.device.scroll.lastDirection=r.device.scroll.direction,"inside"===r.slider.positionToViewport&&(r.resize.viewport(),o>=0?r.transitions.layers.timeline.scrollForward():r.transitions.layers.timeline.scrollBackwards(),n&&(clearTimeout(r.timeouts.scroll),n=!1,r.transitions.layers.timeline.timeScaleModifier=r.transitions.layers.timeline.timeScaleModifier<d?r.transitions.layers.timeline.timeScaleModifier+.25:d,r.timeouts.scroll2=setTimeout(function(){delete r.timeouts.scroll2,n=!0,r.device.scroll.timeout=r.device.scroll.timeout>50?r.device.scroll.timeout-50:50},r.device.scroll.timeout))),r.slider.check.positionToViewport(),r.timeouts.checkPosition=setTimeout(function(){r.slider.check.positionToViewport()},25))})}if(r.slider.canShow=!0,!l.automaticFontSizeRatio){var c=e('<ls-dummy style="font-size: 100px; width: 0; height: 0; opacity: 0; position: absolute; overflow: hidden; pointer-events: none;">Lorem</ls-dummy>').appendTo("body");l.automaticFontSizeRatio=parseFloat(c.css("font-size"))/parseFloat(c[0].style.fontSize)||1,c.remove()}},pictureElements:function(){for(var t=i.find("picture"),a=i.find("source"),s=0,o=a.length;s<o;s++){var n=e(a[s]);!n.attr("src")&&n.attr("data-src")&&n.attr("src",n.attr("data-src")),!n.attr("srcset")&&n.attr("data-srcset")&&n.attr("srcset",n.attr("data-srcset"))}for(var l=0,d=t.length;l<d;l++){var c=e(t[l]),p=c.find("img");if(c.is(".ls-bg, .ls-tn")||p.is(".ls-bg, .ls-tn")){var u=p[0],m=c.attr("class");!p.attr("src")&&p.attr("data-src")&&p.attr("src",r.defaults.init.emptyIMG),!p.attr("srcset")&&p.attr("data-srcset")&&p.attr("srcset",p.attr("data-srcset")),p.attr("data-src",u.currentSrc||p.attr("data-src")||p.attr("src")),p.removeAttr("src srcset").addClass(m).prependTo(p.closest(".ls-slide")),c.remove()}else c.find("img").appendTo(c).removeAttr("width height data-ls")}},events:function(){n.on("scroll."+s,function(){r.slider.set.offset()}),n.on("touchmove."+s,function(e){var t=e.touches?e.touches:e.originalEvent.touches;1==t.length&&(r.device.touchX=t[0].clientX)}),n.on("resize."+s,function(){r.slider.check.showHide(),r.transitions.scrollscene.immediateRender=!0,"inside"===r.slider.positionToViewport&&r.o.playByScroll&&r.resize.viewport(),r.slider.shouldResize&&(!l.isMobile||l.isMobile&&l.viewport.width!==l.viewport.lastWidth||r.slider.isPopup)&&r.resize.all(),r.slider.set.offset(),r.slider.isScene&&r.resize.scene(),r.slider.isPopup||(r.timeouts.resize&&clearTimeout(r.timeouts.resize),r.resize.once?r.resize.once=!1:r.timeouts.resize=setTimeout(function(){r.resize.once=!0,n.trigger("resize."+s),r.api.methods("resetScroll")},100))}),r.debugMode&&(n.off(".debug"+s),n.on("resize.debug"+s,function(){r.debug.add("log","resize.window",l.viewport.width,!0)})),n.on("hashchange."+s,function(){document.location.hash&&r.slides.deeplink(document.location.hash)}),r.slider.set.offset(),n.trigger("resize."+s),r.o.refreshWaypoint&&window.Waypoint&&Waypoint.refreshAll()},offset:function(){if("none"!==i.css("display")){var e=t.getBoundingClientRect(),a=r.slider.position.toViewportForPerformance;if(r.slider.get.offset(e),r.slider.get.position(e),r.slider.position.left-l.viewport.width>0?r.slider.position.left-l.viewport.width>r.performance.threshold?r.slider.position.toViewportX="after":r.slider.position.toViewportX="insideLimit":r.slider.position.right<0?r.slider.position.right<-r.performance.threshold?r.slider.position.toViewportX="before":r.slider.position.toViewportX="insideLimit":r.slider.position.toViewportX="inside",r.slider.position.top-l.viewport.height>0?r.slider.position.top-l.viewport.height>r.performance.threshold?r.slider.position.toViewportY="below":r.slider.position.toViewportY="insideLimit":r.slider.position.bottom<0?r.slider.position.bottom<-r.performance.threshold?r.slider.position.toViewportY="above":r.slider.position.toViewportY="insideLimit":r.slider.position.toViewportY="inside",r.slider.position.toViewportYForSkipViewportLayers=r.slider.position.toViewportY,r.slider.state.waitForGettingInViewport&&(r.slider.position.middle<l.viewport.height&&r.slider.position.middle>0?(r.slider.position.toViewportY="inside","inside"===r.slider.position.toViewportX&&(r.slider.position.toViewport="inside"),r.slider.state.waitForGettingInViewport=!1,r.timelines._layers&&r.timelines._layers.play(),r.o.animateFirstSlide&&r.slideshow.firstStart&&r.slider.state.readyForStart&&(r.resize.layers({callback:r.api.resumeCallback}),r.api.resumeCallback=!1),r.debugMode&&r.debug.add("log","slideshow.inviewport",!1)):r.slider.position.toViewportY="outside"),-1!==r.slider.position.toViewportX.indexOf("inside")&&"insideLimit"==r.slider.position.toViewportY||-1!==r.slider.position.toViewportY.indexOf("inside")&&"insideLimit"==r.slider.position.toViewportX?(r.slider.position.toViewport="insideLimit",r.slider.position.toViewportForPerformance="inside"):"inside"==r.slider.position.toViewportX&&"inside"==r.slider.position.toViewportY?(r.slider.position.toViewport="inside",r.slider.position.toViewportForPerformance="inside"):(r.slider.position.toViewport="outside",r.slider.position.toViewportForPerformance="outside"),r.o.performanceMode&&a!==r.slider.position.toViewportForPerformance&&("inside"===r.slider.position.toViewportForPerformance?(r.performance.sliderIsInv
41iewport=!0,r.api.methods("resumeSlider","performanceMode")):(r.performance.sliderIsInviewport=!1,r.api.methods("pauseSlider","performanceMode"))),(r.slider.isScrollScene||r.slider.isSticky)&&!r.slider.$spacingWrapper.is("[data-disabled-scene]")){var s=r.slider.$spacingWrapper[0].getBoundingClientRect(),o=(l.viewport.height-r.slider.height)/2;switch(r.o.stickTo||"center"){case"top":r.slider.stickLimit=0;break;case"center":r.slider.stickLimit=o;break;case"bottom":r.slider.stickLimit=2*o}switch(r.o.playFrom||"stick"){case"stick":r.transitions.scrollscene.playFrom=r.slider.stickLimit;break;case"top":r.transitions.scrollscene.playFrom=0;break;case"center":r.transitions.scrollscene.playFrom=l.viewport.height/2;break;case"bottom":r.transitions.scrollscene.playFrom=l.viewport.height}r.slider.wrapperPosition={left:s.left,top:s.top,middleForScrollTransition:s.top+s.height/2-l.viewport.height/2},r.slider.wrapperOffset={left:s.left+l.scroll.left,right:s.left+r.slider.width+l.scroll.left,top:s.top+l.scroll.top,bottom:s.bottom+r.slider.height+l.scroll.top,width:s.width,height:s.height},r.slider.state.shouldAnimateScrollSnene=!1,s.top<=r.transitions.scrollscene.playFrom&&(r.slider.state.shouldAnimateScrollSnene=!0),s.top>r.slider.stickLimit?("disabled"!==r.slider.state.sticky||r.slider.isScrollScene&&!r.transitions.scrollscene.initialized)&&(r.slider.state.sticky="disabled",r.slider.state.shouldAnimateScrollSnene=!0):s.bottom-r.slider.height-r.slider.stickLimit<0?("over"!==r.slider.state.sticky||r.slider.isScrollScene&&!r.transitions.scrollscene.initialized)&&(r.slider.state.sticky="over",r.slider.state.shouldAnimateScrollSnene=!0):s.top<=r.slider.stickLimit&&s.bottom>-r.slider.stickLimit&&("enabled"!==r.slider.state.sticky&&(r.slider.state.sticky="enabled"),r.slider.state.shouldAnimateScrollSnene=!0),r.slider.isScrollScene&&(r.timelines._layers&&r.slider.state.shouldAnimateScrollSnene&&r.transitions.scrollscene.animate(),r.slider.state.shouldAnimateScrollSnene&&(r.slider.fixScrollScene=!0),s.top>r.transitions.scrollscene.playFrom&&r.timelines.has(r.timelines._layers)&&r.timelines._layers.time()>r.transitions.scrollscene.min&&r.slider.fixScrollScene&&(r.slider.fixScrollScene=!1,r.transitions.scrollscene.animate("start")))}r.slider.state.isNotDisplayed&&(r.slider.state.isNotDisplayed=!1,r.resize.all(),r.slider.check.positionToViewport(),n.trigger("scroll"))}else r.slider.state.isNotDisplayed=!0},attributes:function(){i.attr("data-current-slide",r.slides.current.index)}},get:{offset:function(e){e=e||t.getBoundingClientRect(),r.slider.offset={left:e.left+l.scroll.left,right:e.left+r.slider.width+l.scroll.left,top:e.top+l.scroll.top,bottom:e.bottom+r.slider.height+l.scroll.top}},position:function(e){e=e||t.getBoundingClientRect(),r.slider.position={left:e.left,center:e.left+r.slider.width/2,right:e.right,top:e.top,middle:e.top+r.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 i.find("[data-ls-effects]")}},check:{initialized:function(){r.debugMode&&r.debug.add("log","sliderInit.info",[r.plugin.version,r.plugin.releaseDate,r.userInitOptions.sliderVersion||"n/a or slider version is pre 6.0.0",i.attr("id"),s,e.fn.jquery,r.meta.lswpVersion,r.meta.wpVersion],!0),r.slider.initialized||(r.slider.initialized=!0,this.skins())},skins:function(){r.o.skin&&""!==r.o.skin&&r.o.skinsPath&&""!==r.o.skinsPath?r.gui.skin.load():r.slider.init()},showHide:function(){l.isMobile&&!1!==r.o.hideOnMobile||(l.viewport.width<r.o.hideUnder||l.viewport.width>r.o.hideOver&&r.o.hideOver>0?r.slider.hide():r.slider.show())},visibility:function(){!!r.slider.$innerWrapper.width()?r.slider.state.isHidden&&(r.slider.state.isHidden=!1,r.resize.all({forceToGetParentWidth:!0})):r.slider.state.isHidden=!0},positionToViewport:function(){(delete r.timeouts.checkPosition,r.o.playByScroll)&&(r.device.scroll.direction&&(("down"===r.device.scroll.direction?l.scroll.top:r.slider.offset.top-(l.viewport.height-r.slider.height)/2)>("down"===r.device.scroll.direction?r.slider.offset.top-(l.viewport.height-r.slider.height)/2:l.scroll.top)&&
41("up"===r.device.scroll.direction&&"under"===r.slider.positionToViewport||"down"===r.device.scroll.direction&&"over"===r.slider.positionToViewport)||l.document.height<=l.viewport.height||r.slider.height<l.viewport.height&&("up"===r.device.scroll.direction&&l.scroll.top<=0&&r.slider.offset.top+r.slider.height/2<l.viewport.height/2||"down"===r.device.scroll.direction&&l.scroll.top>=l.document.height-l.viewport.height&&r.slider.offset.top+r.slider.height/2>l.scroll.top+l.viewport.height/2))&&(r.slider.positionToViewport="inside",r.resize.viewport(),r.device.scroll.disable()))}},init:function(){clearTimeout(r.timeouts.skinLoad1),clearTimeout(r.timeouts.skinLoad2),clearTimeout(r.timeouts.skinLoad3),clearTimeout(r.timeouts.skinLoad4),r.plugins.callFunctions("setSliderStylesBefore",{}),r.slider.set.styles(),r.plugins.callFunctions("setSliderOptionsBefore",{}),r.slider.set.options(),r.slider.set.pictureElements(),r.plugins.callFunctions("initSlidesBefore",{}),r.slides.init(),r.device.fullscreen.set(),r.media.init(),r.gui.timers.init(),r.gui.loadingIndicator.init(),r.preload.init(),r.gui.shadow.init(),r.navigation.init(),r.slideshow.init(),r.slides.set.firstSlide(),r.gui.navigation.init(),r.gui.media.init(),r.resize.slider(),r.slider.set.events(),r.api.hasEvent("sliderDidLoad")&&r.api.triggerEvent("sliderDidLoad",r.api.eventData()),r.functions.setStates(r.slider,{isLoaded:!0}),r.slider.state.shouldBeDestroyed?r.api.methods("destroy"):(r.slider.isPopup||(r.intervals.checkSliderVisibility=setInterval(function(){r.slider.check.visibility()},500)),r.slideshow.changeTo(r.slides.first.index))},hide:function(){i.addClass("ls-forcehide"),i.closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"),i.closest(".ls-popup").addClass("ls-forcehide"),i.closest(".ls-popup").prev(".ls-popup-overlay").addClass("ls-forcehide")},show:function(){i.removeClass("ls-forcehide"),i.closest(".ls-wp-fullwidth-container").removeClass("ls-forcehide"),i.closest(".ls-popup").removeClass("ls-forcehide"),i.closest(".ls-popup").prev(".ls-popup-overlay").removeClass("ls-forcehide")}},r.functions={isRandom:function(e){return"string"==typeof e&&[r.defaults.init.staggerSplitChar,r.defaults.init.rangeSplitChar,r.defaults.init.randomSplitChar,r.defaults.init.openingBracket,r.defaults.init.closingBracket].some(function(t){return-1!==e.indexOf(t)})},getData:function(e,t){return!r.o.getData||-1===r.o.getData.indexOf(e)||(r.api.triggerEvent("getData",{property:e,value:t}),!r.o.destroyAfter)||(r.api.methods("destroy",!0),!1)},convert:{parallaxOrigin:function(t,i,a){if("scroll"===a.event)return{x:0,y:0};var s="slidercenter slidermiddle";if("string"!=typeof t)t=s;else{var o=(t=e.trim(t).replace(/\s+/g," ")).split(" ");2===o.length&&{sliderleft:1,slidercenter:1,sliderright:1,layerleft:1,layercenter:1,layerright:1}[o[0]]&&{slidertop:1,slidermiddle:1,sliderbottom:1,layertop:1,layermiddle:1,layerbottom:1}[o[1]]||(t=s)}for(var n=t.split(" "),l=0,d=0,c=r.slider.offset,p=r.slider.width,u=r.slider.height,m=i.offset(),h=i.outerWidth(),f=i.outerHeight(),g=0;g<2;g++){var y=n[g],v=0===y.indexOf("slider"),x=0===g,S=y.replace(/^(slider|layer)/,""),w=v?c:m,b=v?p:h,T=v?u:f;if(x)switch(S){case"left":l=w.left;break;case"center":l=w.left+b/2;break;case"right":l=w.left+b}else switch(S){case"top":d=w.top;break;case"middle":d=w.top+T/2;break;case"bottom":d=w.top+T}}return{x:l,y:d}},transformOrigin:function(t,i,a,s){var o=e.trim(t).replace(/\s+/g," "),n=o.split(" "),l=s[0].style,d="",c=["Left","Top"],p=[r.slider.width,r.slider.height];o=o.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(" ");for(var u=0;u<o.length;u++)-1!==n[u].indexOf("slider")?(r.transitions.layers.timeline.shouldRestart=!0,d+=u<2?p[u]/(100/parseInt(o[u]))-parseInt(l[c[u].toLowerCase()])-parseInt(l["margin"+c[u]])+"px ":"0px"):-1!==o[u].indexOf("%")?d+=o[u]+" ":-1!==o[u].indexOf("em")?d+=parseFloat(o[u])*parseInt(i.css("font-size"))+"px ":d+=parseInt(o[u])*a.settings.calculatedratio+"px ";return e.trim(d)},specialValuesOfTransformOrigin:function(t){return t=e.trim(t).replace(/\s+/g," ").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(t,i,a,s){for(var o="object"==typeof t,n=[],l=s[0].style,d=["left","top"],c=function(t,s){var o=e(i[s]),c=parseInt(o.css("font-size")),p=o.position(),u=e.trim(t).replace(/\s+/g," "),m=u.split(" "),h="",f=[r.slider.width,r.slider.height];u=r.functions.convert.specialValuesOfTransformOrigin(u);for(var g=0;g<u.length;g++)-1!==m[g].indexOf("slider")?(r.transitions.layers.timeline.shouldRestart=!0,h+=g<2?f[g]/(100/parseInt(u[g]))-parseInt(p[d[g]])-parseInt(l[d[g].toLowerCase()])+"px ":"0px"):-1!==u[g].indexOf("%")?h+=u[g]+" ":-1!==u[g].indexOf("em")?h+=parseFloat(u[g])*c+"px ":h+=parseInt(u[g])*a.settings.calculatedratio+"px ";n.push(e.trim(h))},p=0,u=!!o&&t.length,m=0;m<i.length;m++)o?(c(t[p],m),++p==u&&(p=0)):c(t,m);return n},easing:function(e,t){var i,a,s;return"string"==typeof e?(-1!==(e=e.trim().toLowerCase()).indexOf("swing")||-1!==e.indexOf("linear")?i=o.Linear.easeNone:(s=!!(a=!!(a=e.match(/(easeinout|easein|easeout)(.+)/))&&a[2])&&o[a.charAt(0).toUpperCase()+a.slice(1)])?-1!==e.indexOf("easeinout")?i=s.easeInOut:-1!==e.indexOf("easeout")?i=t?s.easeIn:s.easeOut:-1!==e.indexOf("easein")&&(i=t?s.easeOut:s.easeIn):i=o.Linear.easeNone,i):e},transition:function(t,i,a,s){var o=e.extend({},t);return e.each({de:"delay",rotate:"rotation",rotateX:"rotationX",rotateY:"rotationY"},function(e,t){e in o&&(o[t]=o[e],delete o[e])}),"after"===a?o.scaleX=o.scaleY=o.scaleZ=1:o.scale3d!==s&&(o.scaleX=o.scaleY=o.scaleZ=o.scale3d,delete o.scale3d),o.delay&&(o.delay="after"===a?o.delay/1e3:o.delay),void 0===i&&(i="easeInOutQuart"),o.ease=r.functions.convert.easing(i),o}
41,properties:function(e,t,i,a,s){if("string"==typeof e)return r.functions.convert._properties(e,t,i,a,s);if("object"==typeof e){for(var o in e)e[o]=r.functions.convert._properties(e[o],t,i,a,s);return e}return e},_properties:function(t,i,a,s,o){var n=!1,l="string"==typeof t?t.trim():t;if("string"==typeof t&&-1===l.indexOf(r.defaults.init.staggerSplitChar)&&l.charAt(0)===r.defaults.init.openingBracket&&-1===l.indexOf("..")){var d=l.match(/^\[\s*(-?\d+(?:\.\d+)?)\s*([+\-*/])\s*(-?\d+(?:\.\d+)?)\s*\]$/),c=l.match(/^\[\s*([+\-*/])\s*(-?\d+(?:\.\d+)?)\s*\]$/);(d||c)&&(d?n=d:c&&(n=c))}if(-1!==["enable","enabled","true"].indexOf(l))return!0;if(-1!==["disable","disabled","false","undefined","null"].indexOf(l))return!1;if(!n){if("string"==typeof t&&-1!==l.indexOf(r.defaults.init.staggerSplitChar)&&l.charAt(0)!==r.defaults.init.openingBracket){for(var p=t.split(r.defaults.init.staggerSplitChar),u=(f=[],0);u<p.length;u++)f[u]=e.isNumeric(p[u])?parseFloat(e.trim(p[u])):e.trim(p[u]);return f}return i?""+parseInt(t)=="NaN"?0:parseInt(t):e.isNumeric(t)?parseFloat(t):t}var m,h,f=[],g=0,y=s?s.text().length:100;if(4===n.length?(g=parseFloat(n[1]),m=n[2],h=parseFloat(n[3])):3===n.length&&(g=0,m=n[1],h=parseFloat(n[2])),m&&!isNaN(h)){for(var v=0;v<y;v++)if(0===v)f.push(g);else{switch(m){case"+":g+=h;break;case"-":g-=h;break;case"*":g*=h;break;case"/":g/=h}f.push(g)}return f}},oldProperties:function(t){return e.each({firstLayer:"firstSlide",loops:"cycles",forceLoopNum:"forceCycles",layersContainer:"layersContainerWidth",sublayerContainer:"layersContainerWidth",randomSlideshow:"shuffleSlideshow"},function(e,i){e in t&&(t[i]=t[e],delete t[e])}),t},randomProperties:function(t,i,a,s,o,n){s=s||!1,o=o||!!s&&s.data(r.defaults.init.dataKey);var l="Width",d=!1,c=!1;if("number"!=typeof t||isNaN(t)||(t=t.toString()),"string"!=typeof t)return t;t=t.trim(),-1===i.indexOf("height")&&-1===i.indexOf("top")&&-1===i.indexOf("y")||(l="Height"),-1===i.indexOf("duration")&&-1===i.indexOf("delay")&&-1===i.indexOf("start")&&-1===i.indexOf("scale")&&-1===i.indexOf("opacity")&&-1===i.indexOf("rotat")&&-1===i.indexOf("skew")||(n=!0),o&&-1!==t.indexOf(r.defaults.init.staggerSplitChar)&&t.charAt(0)!==r.defaults.init.openingBracket&&(d=!0),-1!==t.indexOf("random")&&-1!==t.indexOf("(")&&-1!==t.indexOf(",")&&-1!==t.indexOf(")")?t=t.split("(")[1].split(")")[0].replace(",",r.defaults.init.rangeSplitChar):t.charAt(0)===r.defaults.init.openingBracket&&t.charAt(t.length-1)===r.defaults.init.closingBracket&&(t=t.substring(1,t.length-1)),t=t.replace(/,/g,".").replace(/Ù«/g,".");var p=-1===i.indexOf("scale")&&-1===i.indexOf("opacity")?1:100,u=t;if(d){c=!0;var m,h=a?a+i:i;if(o.randomValues[h]=o.randomValues[h]||{},!o.randomValues[h].r)if(o.randomValues[h].r=String(t).split(r.defaults.init.staggerSplitChar).map(function(e){return e.trim()}),o.clones&&-1!==a.indexOf("replicator"))o.clones<o.randomValues[h].r.length?(o.randomValues[h].r=o.randomValues[h].r.slice(0,o.clones),o.randomValues[h].r.reverse()):o.clones>o.randomValues[h].r.length?(o.randomValues[h].r.reverse(),(m=o.clones%o.randomValues[h].r.length)&&(o.randomValues[h].index=o.randomValues[h].r.length-m)):o.randomValues[h].r.reverse();var f=o.randomValues[h].r,g="number"==typeof o.randomValues[h].index?o.randomValues[h].index:0;g>=f.length&&(g=0),o.randomValues[h].index=g+1;var y=f[g];u=parseFloat(s?r.resize.getXY(s,o,y,l,n):y)}else-1!==t.indexOf(r.defaults.init.randomSplitChar)?(c=!0,u=(u=(f=t.split(r.defaults.init.randomSplitChar))[Math.floor(Math.random()*f.length)].trim()).charAt(0)===r.defaults.init.openingBracket&&u.charAt(u.length-1)===r.defaults.init.closingBracket?r.functions.convert.randomProperties(u,i,a,s,o):parseFloat(s?r.resize.getXY(s,o,u,l,n):u)):-1!==t.indexOf(r.defaults.init.rangeSplitChar)&&(c=!0,(f=t.split(r.defaults.init.rangeSplitChar))[0]=parseFloat((s?r.resize.getXY(s,o,f[0].trim(),l,n):f[0].trim())*p),f[1]=parseFloat((s?r.resize.getXY(s,o,f[1].trim(),l,n):f[1].trim())*p),isNaN(f[0])!==isNaN(f[1])&&(f[0]=f[1]=isNaN(f[0])?f[1]:f[0]),f.sort(function(e,t){return e-t}),u=Math.floor(Math.random()*(f[1]-f[0]+1)+f[0])/p);return"string"==typeof u&&e.isNumeric(u)?u=parseFloat(u):o&&!c&&(u=r.resize.getXY(s,o,u,l,n)),u},clipProperties:function(t,i,a,s){var r=e.trim(t);if(-1===r.indexOf("polygon")&&-1===r.indexOf("(")){var o="\\d+(?:\\.\\d+)?%\\s+\\d+(?:\\.\\d+)?%";if(new RegExp("^"+o+"(?:\\s*,\\s*"+o+"){3}$").test(r))return"polygon("+r.replace(/\s*,\s*/g,",")+")"}if(-1!==t.indexOf("polygon")&&-1===t.indexOf("clip")&&-1===t.indexOf("px")&&-1===t.indexOf(", "))return t;for(var n,l,d=t,c=-1===(t=-1!==t.indexOf("(")?e.trim(t.split("(")[1].split(")")[0]):e.trim(t)).indexOf(",")?t.split(" "):t.split(","),p=[["0%","0%"],["100%","0%"],["100%","100%"],["0%","100%"]],u=e.isNumeric(i.original.width)?i.original.width:a.outerWidth(),m=e.isNumeric(i.original.height)?i.original.height:a.outerHeight(),h=function(e){return Math.round(100*(e+Number.EPSILON))/100}
41,f=s&&-1!==d.indexOf("rect")?0:100,g=0;g<c.length;g++)if(-1===(n=c[g].trim()).indexOf(" ")){if("number"==typeof parseInt(n))switch(0===parseInt(n)&&(n="0%"),g){case 0:-1===n.indexOf("%")&&(n=h(parseInt(n)/(m/100))+"%"),p[0][1]=n,p[1][1]=n;break;case 1:-1!==n.indexOf("%")?(p[1][0]=100-parseInt(n)+"%",p[2][0]=100-parseInt(n)+"%"):(-1===n.indexOf("%")&&(n=h(Math.abs(parseInt(n)/(u/100)-f))+"%"),p[1][0]=n,p[2][0]=n);break;case 2:-1!==n.indexOf("%")?(p[2][1]=100-parseInt(n)+"%",p[3][1]=100-parseInt(n)+"%"):(-1===n.indexOf("%")&&(n=h(Math.abs(parseInt(n)/(m/100)-f))+"%"),p[2][1]=n,p[3][1]=n);break;case 3:-1===n.indexOf("%")&&(n=h(parseInt(n)/(u/100))+"%"),p[0][0]=n,p[3][0]=n}}else-1===(l=n.split(" "))[0].indexOf("%")&&(l[0]=h(parseInt(l[0])/(u/100))+"%"),p[g][0]=l[0],-1===l[1].indexOf("%")&&(l[1]=h(parseInt(l[1])/(m/100))+"%"),p[g][1]=l[1];for(var y="polygon(",v=0;v<p.length;v++)y+=p[v].join(" "),v<p.length-1&&(y+=",");return y+=")"}},getSliderClosestParentElementWithNumericValueOfProperty:function(t){for(var a,s=i.parents().not(".ls-fullscreen-wrapper"),o=s.length,n=100,l=0;l<o;l++)if("auto"!==(a=window.getComputedStyle(s[l]).getPropertyValue(t))){if
41(-1!==a.indexOf("px")&&(parseInt(a)>0||r.slider.isPopup))return r.slider.$parentWithNumericWidthValue=e(s[l]),r.slider.parentWithNumericWidthValuePercent=null,e(s[l]);-1!==a.indexOf("%")&&(n=n/100*parseInt(a),r.slider.parentWithNumericWidthValuePercent=n)}},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;a>-1;a--)for(s=t-1;s>-1;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;o>=0;o--)c.push(o);break;case"edge":case"mirror":for(r=n=Math.floor(p/2);r>0;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-=1],e[a]=e[i],e[i]=t;return e},countProp:function(e){var t=0;for(var i in e)e.hasOwnProperty(i)&&++t;return t},getDataProp:function(e,t){var i=new RegExp("(?:^|[\\s;])"+t+"\\s*:\\s*([^;\\s]+)","i"),a=e.match(i);return a?a[1]:null},updateDataProp:function(e,t,i){var a=new RegExp("(^|[\\s;])([\\s;]*)"+t+"\\s*:\\s*[^;\\s]+","i");if(a.test(e))return e.replace(a,function(e,a,s){return(a||"")+(s||"")+t+":"+i});var s=e.trim();return";"===s.slice(-1)?s+" "+t+":"+i+" ;":s+"; "+t+":"+i+" ;"},getURL:function(e){return e&&e.length?e[0].currentSrc?e[0].currentSrc:e.data("src")?e.data("src"):e.attr("src"):r.defaults.init.emptyIMG},getALT:function(e){return!!e.attr("alt")&&e.attr("alt")},setStates:function(e,t,i){if(e&&e.state){var a=r.slideshow.isPaused();if(i)e.state[t]=i;else for(var s in t)e.state[s]=t[s];var o=r.slideshow.isPaused();e==r.slideshow&&(r.api.hasEvent("slideshowStateDidChange")&&r.api.triggerEvent("slideshowStateDidChange",r.api.eventData()),o!=a&&(o?r.api.hasEvent("slideshowDidPause")&&r.api.triggerEvent("slideshowDidPause",r.api.eventData()):(r.slideshow.start(),r.api.hasEvent("slideshowDidResume")&&r.api.triggerEvent("slideshowDidResume",r.api.eventData()))))}},clearTimers:function(e){if((e=void 0!==e?e:{}).timeout&&r.timeouts[e.timeout])clearTimeout(r.timeouts[e.timeout]),delete r.timeouts[e.timeout];else if(!e.timeout)for(var t in r.timeouts)clearTimeout(r.timeouts[t]),delete r.timeouts[t];if(e.interval&&r.intervals[e.interval])clearInterval(r.intervals[e.interval]),delete r.intervals[e.interval];else if(!e.interval)for(var t in r.intervals)clearInterval(r.intervals[t]),delete r.intervals[t];r.plugins.callFunctions("clearTimers",{})},clearTimelines:function(){r.transitions.scrollscene._tween&&r.transitions.scrollscene._tween.kill&&r.transitions.scrollscene._tween.kill(),r.timelines.to([r.timelines,"_slideTransition _layers _layersAlt",null,!0,!0,!0,!0]);for(var t=0;t<r.timelines.slides.length;t++)r.timelines.to([r.timelines.slides[t],"_forceOut _forceOutMirror",null,!0,!0,!0,!0]);i.find(".ls-layer").each(function(){var t=e(this).data(r.defaults.init.dataKey);for(var i in t.timelines)r.timelines.to([t.timelines,i,null,!0,!0,!0])}),o.TweenMax.killTweensOf(i.find(".ls-bg, .ls-layer, .ls-wrapper, .ls-curtile, .ls-nexttile").get()),i.find(".ls-layer").each(function(){var t=e(this).data(r.defaults.init.dataKey);t.is.countdown&&r.countdown.stopInterval(t.countdownSettings),t.is.counter&&r.counter.stop(t.counterSettings)})},clearEvents:function(){r.plugins.callFunctions("clearEvents",{}),n.add("body").add(document).add(i).add(i.find("*")).add("."+s).off("."+s+" .debug"+s+" .parallax"+s+" .scroll"+s),window._layerSlider.closePopupsOnEsc&&window._layerSlider.closePopupsOnEsc[s]&&delete window._layerSlider.closePopupsOnEsc[s],delete window._layerSliders[s],i.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)}},r.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!==r.device.scroll.keys.indexOf(e.keyCode))return r.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(){r.functions.setStates(r.slider,{inFullscreen:!0}),e("body, html").addClass("ls-fullscreen"),r.slider.fullscreenWrapper.requestFullscreen(),i.trigger("mouseleave"),r.device.removeSelection()},exit:function(){r.functions.setStates(r.slider,{inFullscreen:!1}),r.resize.all(),e("body, html").removeClass("ls-fullscreen"),r.device.removeSelection()}
41,toggle:function(){r.device.fullscreen.element()?(r.device.fullscreen.exit(),document.exitFullscreen()):r.device.fullscreen.enter()},set:function(){r.o.allowFullscreen&&(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(i.wrap('<div class="ls-fullscreen-wrapper"></div>'),r.slider.$fullscreenWrapper=i.closest(".ls-fullscreen-wrapper"),r.slider.fullscreenWrapper=r.slider.$fullscreenWrapper[0],r.slider.$spacingWrapper=r.slider.$fullscreenWrapper,r.slider.fullscreenWrapper.requestFullscreen=r.slider.fullscreenWrapper.requestFullscreen||r.slider.fullscreenWrapper.webkitRequestFullscreen||r.slider.fullscreenWrapper.mozRequestFullScreen||r.slider.fullscreenWrapper.msRequestFullscreen,document.exitFullscreen=document.exitFullscreen||document.webkitExitFullscreen||document.mozCancelFullScreen||document.msExitFullscreen,e(document).on("fullscreenchange."+s+" webkitfullscreenchange."+s+" mozfullscreenchange."+s+" msfullscreenchange."+s,function(){r.device.fullscreen.element()||r.device.fullscreen.exit()}),r.slider.$fullscreenWrapper.on("dblclick."+s,function(){r.device.fullscreen.toggle()}))},element:function(){return document.fullscreenElement||document.webkitFullscreenElement||document.mozFullScreenElement||document.msFullscreenElement}}},r.actions={do:function(t){var a=!1,s="";switch(t.action){case"scrollBelowProject":case"scrollToNextProject":case"scrollToPrevProject":case"scrollToElement":case"scrollToSelf":case"scrollToScenePosition":case"scrollToSceneSlide":case"scrollToTimelinePosition":r.slider.isScene||i.addClass("ls-action-trigger"),r.slider.isScrollScene&&"scrollToTimelinePosition"===t.action&&(t.action="scrollToScenePosition",t.target="currentScene");var n,l=e(".ls-wp-container:not(.ls-hidden):not([data-scene]), ls-scene-wrapper"),d=e("ls-scene-wrapper, .ls-action-trigger"),c=e([]),p=r.slider.isScene?r.slider.$spacingWrapper:i,u=d.length,m=d.index(p);if(r.slider.isScene||i.removeClass("ls-action-trigger"),"scrollToSelf"===t.action)n=r.slider.$spacingWrapper.offset().top+(t.offset||0);else if("scrollBelowProject"===t.action)n=r.slider.$spacingWrapper.offset().top+r.slider.$spacingWrapper.height()+(t.offset||0);else if("scrollToPrevProject"===t.action)0!==l.index(p)?(c=l.eq(l.index(p)-1),n=r.slider.get.scrollTop(c,t)):a="There’s no previous project to scroll to.";else if("scrollToNextProject"===t.action)l.index(p)<l.length-1?(c=l.eq(l.index(p)+1),n=r.slider.get.scrollTop(c,t)):a="There’s no next project to scroll to.";else if(-1!==t.action.indexOf("scrollToElement")){try{c=e(t.selector.toString()).not(".ls-wp-container.ls-hidden")}catch(e){s=e}if(c.length){var h=c.closest("ls-scene-wrapper");h.length&&(c=h),n=r.slider.get.scrollTop(c,t)}else a='Couldn’t find the scroll target element "'+t.selector+'". Please verify the selector you’ve entered.'}else if("scrollToScenePosition"===t.action||"scrollToSceneSlide"===t.action){if("scrollToSceneSlide"===t.action){var f,g=parseInt(t.slide,10)||1;(f=t.project?e('[data-ls-slug="'+t.project+'"], [id="layerslider_'+t.project+'"], [id^="layerslider_'+t.project+'_"]').first().closest("ls-scene-wrapper").attr("data-scene-group"):r.slider.$spacingWrapper.attr("data-scene-group"))?(c=e('ls-scene-wrapper[data-scene-group="'+f+'"][data-scene-slide="'+g+'"]').first()).length||(a="Couldn’t find the scene of slide #"+g+" on the page. Please verify the slide number you’ve entered."):a=t.project?'Couldn’t find the project "'+t.project+'" on the page, or it isn’t embedded as a per-slide Scroll Scene.':"This project is not part of a per-slide embedded Scroll Scene group, thus there’s no scene to scroll to."}else switch(t.target){case"currentScene":r.slider.isScene?c=p:a="Current project is not a scene.";break;case"nextScene":m+1<u?c=e(d[m+1]):a="There are no next scenes in the DOM.";break;case"previousScene":m-1>=0?c=e(d[m-1]):a="There are no previous scenes in the DOM."}if(c.length){var y,v,x=parseFloat(c.attr("data-scene-duration")||c.attr("data-scene-pre-duration")),S=c.height(),w=(y=c.find(".ls-container")).height();t.position=e.trim(t.position)||"0ms",c.is('[data-scene="scroll"]')?(v=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?x*(Math.min(100,Math.max(0,parseFloat(t.position)))/100):Math.min(Math.max(0,parseFloat(t.position)/1e3),x),n=Math.round(parseFloat(c.offset().top)-parseFloat(y.css("top"))+(S-w)*(x?v/x:0))):(v=Math.min(100,Math.max(0,parseFloat(t.position)))/100,n=Math.round(parseFloat(c.offset().top)-parseFloat(y.css("top"))+(S-w)*v))}}else if("scrollToTimelinePosition"===t.action){var b=0,T=(t.position+"").charAt(0),k="+"===T||"-"===T;r.slider.state.isScrolling&&k&&(r.timelines._layers.stop(),b=r.timelines._layers.time()-r.slider.lastWantedTimelinePosition);var C=r.timelines._layers.duration(),O=C*(100*r.timelines._layers.progress()/100),P=0;switch(P=-1!==t.position.indexOf("%")||-1===t.position.indexOf("ms")?C*parseFloat(t.position)/100:parseFloat(t.position)/1e3,P=Math.abs(P),T){case"+":P=O+P;break;case"-":P=O-P}P=Math.max(Math.min(P-b,C),0),r.slider.lastWantedTimelinePosition=P}a||(t.duration=e.isNumeric(t.duration)?t.duration:1e3,r.slider.state.isScrolling=!0,"scrollToTimelinePosition"===t.action?r.timelines._layers.tweenTo(P,{ease:r.functions.convert.easing(t.easing),onComplete:function(){r.slider.state.isScrolling=!1}}).duration(t.duration/1e3):o.TweenMax.to("html, body",t.duration/1e3,{scrollTop:n,ease:r.functions.convert.easing(t.easing),onComplete:function(){r.slider.state.isScrolling=!1}}));break;case"switchSlide":r.slideshow.changeTo(t.slide,!0,!0);break;case"nextSlide":case"prevSlide":case"lastSlide":case"firstSlide":case"stopSlideshow":case"startSlideshow":var I;"nextSlide"===t.action&&(I="next"),"prevSlide"===t.action&&(I="prev"),"lastSlide"===t.action&&(I="last"),"firstSlide"===t.action&&(I="first"),"stopSlideshow"===t.action&&(I="stop"),"startSlideshow"===t.action&&(I="start"),r.navigation[I]("clicked");break;case"replaySlide":r.api.methods("replay");break;case"reverseSlide":r.api.methods("reverse",t.replay);break;case"resetSlide":r.api.methods("resetSlide");break;case"pauseProject":r.api.methods("pauseSlider");break;case"resumeProject":r.api.methods("resumeSlider");break;case"toggleProject":r.api.methods("toggleSlider");break;case"playMedia":r.media.functions.playActiveMedia();break;case"pauseMedia":r.media.functions.pauseActiveMedia();break;case"unmuteMedia":r.media.unmute.multipleMediaElements();break;case"openPopup":var L='[data-ls-slug="'+t.popup+'"], [id="layerslider_'+t.popup+'"], [id^
41="layerslider_'+t.popup+'_"]',_=e(L).first(),M="actionPopup_"+t.popup,F=function(){var t=(_=e(L).first()).data("lsSliderUID"),i=!!t&&window._layerSliders[t];return!(!i||!i.initializedPlugins)&&i.initializedPlugins.popup},$=function(e){e.plugin.settings.showOnce=!1,"opened"==e.state.is?t.toggle&&e.events.hide():t.slide?_.layerSlider("fastChangeTo",t.slide,function(){e.events.show()}):e.events.show()},W=function(e){var i=0;clearInterval(r.intervals[M]),r.intervals[M]=setInterval(function(){var a=F();a?(clearInterval(r.intervals[M]),delete r.intervals[M],e&&$(a)):(i+=100)>=1e4&&(clearInterval(r.intervals[M]),delete r.intervals[M],console.error('LayerSlider: Error while calling layer action "openPopup". The "'+t.popup+'" popup has been found on the page, but it did not initialize within 10 seconds. Its Popup add-on might be missing or failed to load.'))},100)},B=!!_.length&&F();if(B)$(B);else if(_.length)W(!0);else{var D={action:"ls_get_popup_markup",id:t.popup,slide:t.slide};e.get(r.o.ajaxURL||window.ajaxurl||"/wp-admin/admin-ajax.php",D,function(t){e(t).appendTo("body"),W(!1)}).fail(function(e,i,a){console.error('LayerSlider: Error while calling layer action "openPopup". Couldn’t load the "'+t.popup+'" popup.',a||i)})}break;case"launchPopups":var z;for(var A in window._layerSliders)(z=window._layerSliders[A]).initializedPlugins.popup&&z.api.methods("openPopup");break;case"closePopup":r.api.methods("closePopup");break;case"closeAllPopups":r.api.methods("closeAllPopups");break;case"jsFunction":try{window[t.function]()}catch(e){s=e,a="The browser thrown the following error after calling "+t.function+"() JavaScript function."}}a&&console.error('LayerSlider: Error while calling layer action "'+t.action+'". '+a+(""!==s?"\n\r\n\r":""),s)}},r.api={hasEvent:function(i,a){var s=e._data(a||t,"events");return!(!s||!s[i])},methods:function(t,a,o,l){if(!r.slider.isBusy())if("number"==typeof t)t>0&&t<r.slides.count+1&&t!=r.slides.current.index&&r.slideshow.changeTo(t,!0,!0);else switch(t){case"touchPrev":r.device.touchPrev=!0;case"previousSlide":case"prev":r.navigation.prev();break;case"touchNext":r.device.touchNext=!0;case"nextSlide":case"next":r.navigation.next();break;case"startSlideshow":case"start":r.navigation.start()}switch(t){case"openPopup":r.initializedPlugins.popup&&(r.plugins.callFunctions("openPopup",{}),a&&e.isNumeric(a)?i.layerSlider("fastChangeTo",a,function(){r.initializedPlugins.popup.events.show()}):r.initializedPlugins.popup.events.show());break;case"launchPopups":r.plugins.callFunctions("launchPopups",{}),r.actions.do({action:"launchPopups"});break;case"fastChangeTo":r.plugins.callFunctions("fastChangeTo",{}),a&&e.isNumeric(a)&&(r.slides.current.index!==a?(r.slideshow.forceFastChange=!0,r.slider.shouldResize=!0,o&&"function"==typeof o&&(r.slideshow.forceFastChangeCallback=o),r.slideshow.changeTo(a,!0,!0,"next")):o&&o());break;case"resetScroll":r.plugins.callFunctions("resetScroll",{}),r.slider.set.offset(),n.trigger("scroll.scroll"+s).trigger("touchmove.scroll"+s).trigger("scroll.parallax"+s).trigger("touchmove.parallax"+s);break;case"enableScene":r.slider.isScene&&(r.plugins.callFunctions("enableScene",{}),r.slider.$spacingWrapper.removeAttr("data-disabled-scene"),r.api.methods("resetScroll"));break;case"disableScene":r.slider.isScene&&(r.plugins.callFunctions("disableScene",{}),r.slider.$spacingWrapper.attr("data-disabled-scene",""),r.transitions.scrollscene.animate("start"),r.api.methods("resetScroll"));break;case"closePopup":r.initializedPlugins.popup&&(r.plugins.callFunctions("closePopup",{}),r.initializedPlugins.popup.events.hide());break;case"closeAllPopups":r.plugins.callFunctions("closAllPopups",{}),e('<div class="ls-close-all-popups-button"></div>').css("display","none").appendTo("body").trigger("click").remove();break;case"updateLayerData":a&&r.layers.update.data(a,o,l);break;case"redrawSlider":case"redraw":r.plugins.callFunctions("redrawSlider",{}),r.resize.all(),r.api.methods("resetScroll");break;case"replaySlide":case"replay":r.timelines._layers&&(r.plugins.callFunctions("replaySlide",{}),r.timelines._layers.pause().progress(0).invalidate().restart(!0,!1));break;case"reverseSlide":case"reverse":r.timelines._layers&&(r.plugins.callFunctions("reverseSlide",{}),r.timelines._layers.reversed()?r.timelines._layers.play():r.timelines._layers.reverse(),a&&(r.transitions.layers.timeline.shouldReplay=!0));break;case"unmute":case"unmuteMedia":r.media.unmute.multipleMediaElements();break;case"stopSlideshow":case"stop":r.navigation.stop();break;case"pauseSlider":case"pause":r.plugins.callFunctions("pauseSlider",{}),a&&"performanceMode"===a&&r.functions.setStates(r.slideshow,{pausedByPerformance:!0}),r.timelines._layers&&!r.slider.isScrollScene&&r.timelines._layers.stop(),r.layers.get("active").each(function(){var t=e(this).data(r.defaults.init.dataKey);t.timelines._loop&&t.timelines._loop.stop()}),r.transitions.layers.parallax.state.paused=!0,r.transitions.layers.scroll.
41state.paused=!0,r.media.functions.pauseActiveMedia(!0);break;case"resumePopup":r.layers.get("active").each(function(){r.media.functions.playIfAllowed(e(this))}),r.timelines._layers&&(r.timelines._layers.timeScale()<.001&&r.transitions.layers.timeline.resume(),r.timelines._layers.play()),r.timelines._slideTransition&&r.transitions.slide.isStarted&&r.timelines._slideTransition.play();break;case"resumeSlider":case"resume":r.plugins.callFunctions("resumeSlider",{}),r.timelines._layers&&(r.timelines._layers.timeScale()<.001&&r.transitions.layers.timeline.resume(),r.slider.isScrollScene||r.timelines._layers.play()),r.media.functions.playActiveMedia(!0),r.layers.get("active").each(function(){var t=e(this).data(r.defaults.init.dataKey);t.timelines._loop&&t.timelines._loop.play()}),r.transitions.layers.parallax.state.paused=!1,r.transitions.layers.scroll.state.paused=!1,r.timelines._slideTransition?r.transitions.slide.isStarted&&r.timelines._slideTransition.play():r.o.animateFirstSlide&&r.slideshow.firstStart&&r.slider.state.readyForStart&&(r.resize.layers({callback:r.api.resumeCallback}),r.api.resumeCallback=!1),a&&"performanceMode"===a&&r.functions.setStates(r.slideshow,{pausedByPerformance:!1});break;case"playMedia":r.media.functions.playActiveMedia();break;case"pauseMedia":r.media.functions.pauseActiveMedia();break;case"toggleSlider":case"toggle":r.plugins.callFunctions("toggleSlider",{}
41),r.slider.state.isPaused?(i.layerSlider("resume"),r.slider.state.isPaused=!1):(i.layerSlider("pause"),r.slider.state.isPaused=!0);break;case"reset":case"resetSlider":break;case"resetSlide":case"resetCurrentSlide":r.plugins.callFunctions("resetSlide",{}),r.timelines.to([r.timelines,"_layers _layersAlt",0]),r.media.functions.stop(!0);break;case"destroy":case"kill":if(r.plugins.callFunctions("killSlider",{}),r.slider.state.isLoaded){if(r.transitions.lottie.destroyAll(),r.functions.clearTimers(),r.functions.clearTimelines(),r.layers.$all.removeData(),r.api.hasEvent("sliderDidDestroy")&&r.api.triggerEvent("sliderDidDestroy"),r.slider.state.sholudBeRemoved||a){if(r.slider.$hiddenWrapper.remove(),r.gui.timers.slidebar.$containerElement)for(var d=0;d<r.gui.timers.slidebar.$containerElement.length;d++)r.gui.timers.slidebar.$containerElement[d]instanceof jQuery&&r.gui.timers.slidebar.$containerElement[d].remove();r.api.hasEvent("sliderDidRemove")&&r.api.triggerEvent("sliderDidRemove");var c=r.slider.$spacingWrapper;c.closest(".ls-popup").length&&(c=c.closest(".ls-popup")).prev(".ls-popup-overlay").remove(),c.remove(),r.slider.$silentWrapper&&r.slider.$silentWrapper.remove()}r.functions.clearEvents(),window._layerSlider.removeSlider(s)}else r.functions.setStates(r.slider,{shouldBeDestroyed:!0,sholudBeRemoved:a||!1});r.slider.positionToViewport="under",r.device.scroll.enable()}},eventData:function(){return{data:r,userData:r.o,uid:s,target:t,slider:i,state:r.slider.state,isBusy:r.slider.isBusy(),event:{target:t},api:function(e,t,a,s){i.layerSlider(e,t,a,s)},navigation:{direction:r.navigation.direction},slides:{first:{index:r.slides.first.index,deeplink:r.slides.get.deeplink(r.slides.first.index),data:r.slides.first.data},prev:{index:r.slides.prev.index,deeplink:r.slides.get.deeplink(r.slides.prev.index),data:r.slides.prev.data},current:{index:r.slides.current.index||r.slides.first.index,deeplink:r.slides.get.deeplink(r.slides.current.index),layersIn:r.layers.get("current,in"),layersOut:r.layers.get("current,out"),timeline:r.timelines._layers,data:r.slides.current.data},next:{index:r.slides.next.index,deeplink:r.slides.get.deeplink(r.slides.next.index),layersIn:r.layers.get("next,in"),layersOut:r.layers.get("next,out"),data:r.slides.next.data},count:r.slides.count},slideChangeTimeline:r.timelines._slideTransition,slideshow:{state:r.slideshow.state,sequence:r.slideshow.sequence,direction:r.slideshow.direction,isPaused:r.slideshow.isPaused()},cycles:{max:r.o.cycles,current:r.slideshow.curCycle}}},triggerEvent:function(e,t){var a,s;try{t?(s=i.triggerHandler(e+".layerSlider",t),a=i.triggerHandler(e+".$",t)):(s=i.triggerHandler(e+".layerSlider"),a=i.triggerHandler(e+".$"))}catch(t){console.error('LayerSlider: Error while calling event "'+e+'":\n\r\n\r',t)}return null!=s?s:null!=a?a:void 0}},r.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=t.userAgent.indexOf("Edge")>-1;return!!t.userAgent.match("CriOS")||null!=e&&"Google Inc."===i&&!1===a&&!1===s},usesFileProtocol:-1!==document.location.href.indexOf("file://"),cache:window._layerSlider.browserCache,supportsWebGL:function(){if(void 0===r.browser.cache.webGL){var e=document.createElement("canvas"),t=e.getContext("webgl")||e.getContext("experimental-webgl");r.browser.cache.webGL=!!t}return r.browser.cache.webGL},supports3D:function(){if(void 0!==r.browser.cache.support3D)return r.browser.cache.support3D;for(var t=e("<div>"),a=!1,s=!1,o=["perspective","OPerspective","msPerspective","MozPerspective","WebkitPerspective"],n=["transformStyle","OTransformStyle","msTransformStyle","MozTransformStyle","WebkitTransformStyle"],l=o.length-1;l>=0;l--)a=a||void 0!==t[0].style[o[l]];for(var d=n.length-1;d>=0;d--)t.css("transform-style","preserve-3d"),s=s||"preserve-3d"==t[0].style[n[d]];return a&&void 0!==t[0].style[o[4]]&&(t.attr("id","ls-test3d").appendTo(i),a=3===t[0].offsetHeight&&9===t[0].offsetLeft,t.remove()),r.browser.cache.support3D=a&&s,r.browser.cache.support3D},isOld:-1!==navigator.userAgent.indexOf("rident/5")},r.initializedPlugins={},r.timeouts={},r.intervals={},r.debug={options:{}},r.plugin={version:"8.4.0",release:"stable",releaseDate:"2026. 07. 29."},r.slider.load()}}(jQuery);
42// source --> https://fientuech.de/wp-content/plugins/LayerSlider/assets/static/layerslider/js/layerslider.transitions.js?ver=8.4.0 
43
44/*
45	* 2D & 3D Transitions for LayerSlider
46	*
47	* (c) 2011-2026 George Krupa, John Gera & Kreatura Media
48	*
49	* LayerSlider home:		https://layerslider.com/
50	* Licensing:			https://layerslider.com/licensing/
51*/
52
53
54
55;var layerSliderTransitions={t2d:[{n:"a b c",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"l"}},{n:"a b d",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"r"}},{n:"a b e",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"t"}},{n:"a b f",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e5",du:1e3,di:"b"}},{n:"g",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"f",ea:"e5",du:1e3,di:"l"}},{n:"h i j",r:[2,4],c:[4,7],t:{de:30,sq:"fw"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i k",r:[2,4],c:[4,7],t:{de:30,sq:"rv"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i l",r:[2,4],c:[4,7],t:{de:30,sq:"cf"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i m",r:[2,4],c:[4,7],t:{de:30,sq:"cr"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"h i n",r:[2,4],c:[4,7],t:{de:30,sq:"rnd"},tr:{tp:"f",ea:"e10",du:1e3,di:"l"}},{n:"o h b c",r:1,c:35,t:{de:25,sq:"rv"},tr:{tp:"f",ea:"e1",du:750,di:"l"}},{n:"o h b d",r:1,c:35,t:{de:25,sq:"fw"},tr:{tp:"f",ea:"e11",du:750,di:"l"}},{n:"o h b e",r:35,c:1,t:{de:25,sq:"cr"},tr:{tp:"f",ea:"e11",du:750,di:"l"}},{n:"o h b f",r:35,c:1,t:{de:25,sq:"cf"},tr:{tp:"f",ea:"e11",du:750,di:"l"}},{n:"o a b c",r:1,c:25,t:{de:30,sq:"rv"},tr:{tp:"sl",ea:"e11",du:350,di:"l"}},{n:"o a b d",r:1,c:25,t:{de:30,sq:"fw"},tr:{tp:"sl",ea:"e11",du:350,di:"r"}},{n:"o p b e",r:25,c:1,t:{de:30,sq:"cr"},tr:{tp:"sl",ea:"e11",du:350,di:"t"}},{n:"o a b f",r:25,c:1,t:{de:30,sq:"cf"},tr:{tp:"sl",ea:"e11",du:350,di:"b"}},{n:"a i q c n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"r"}},{n:"a i q d n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"l"}},{n:"a i q e n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"b"}},{n:"a i q f n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"t"}},{n:"a r i q r s",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"sl",ea:"e10",du:500,di:"rnd"}},{n:"a t q c u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a t q c v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a t q c n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a t q d u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a t q d v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a t q d n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a t b f q e u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a t b f q e n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a t b e q f v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a t b e q f n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w q e u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a w q e v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a w q e n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"b"}},{n:"a w q f u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w q f v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w q f n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"t"}},{n:"a w b d q c u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a w b d q c n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"r"}},{n:"a w b c q d v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"a w b c q d n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"sl",ea:"e11",du:600,di:"l"}},{n:"h x a i q c n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"r"}},{n:"h x a i q d n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"l"}},{n:"h x a i q e n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"b"}},{n:"h x a i q f n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"t"}},{n:"h x a r i q r s",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"rnd"}},{n:"h x a i b y u",r:[2,4],c:[4,7],t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e10",du:500,di:"tl"}},{n:"h x a i b z v",r:[2,4],c:[4,7],t:{de:50,sq:"rv"},tr:{tp:"mx",ea:"e10",du:500,di:"br"}},{n:"h x a i b A n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"tr"}},{n:"h x a i b B n",r:[2,4],c:[4,7],t:{de:50,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:500,di:"bl"}},{n:"h x a t q c u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a t q c v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a t q c n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a t q d u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a t q d v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a t q d n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a t b f q e u",r:[7,11],c:1,t:{de:100,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a t b f q e n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a t b e q f v",r:[7,11],c:1,t:{de:100,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a t b e q f n",r:[7,11],c:1,t:{de:100,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w q e u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a w q e v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a w q e n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"b"}},{n:"h x a w q f u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w q f v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w q f n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"t"}},{n:"h x a w b d q c u",r:1,c:[12,16],t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a w b d q c n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"r"}},{n:"h x a w b c q d v",r:1,c:[12,16],t:{de:75,sq:"rv"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"h x a w b c q d n",r:1,c:[12,16],t:{de:75,sq:"rnd"},tr:{tp:"mx",ea:"e11",du:600,di:"l"}},{n:"C",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"C t",r:4,c:1,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"C D",r:1,c:4,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"C i E",r:3,c:4,t:{de:35,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5,_rY:90}},{n:"C i F",r:3,c:4,t:{de:35,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"t",_s:.5,_rX:-90}},{n:"G i E",r:3,c:4,t:{de:15,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5,_rY:90}},{n:"G i F",r:3,c:4,t:{de:15,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"t",_s:.5,_rX:-90}},{n:"C H t",r:4,c:1,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"r",_s:.5}},{n:"C H D",r:1,c:4,t:{de:50,sq:"fw"},tr:{tp:"mx",ea:"e5",du:750,di:"l",_s:.5}},{n:"I J b d",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"r",_rY:90}},{n:"I J b c",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"l",_rY:-90}},{n:"I J b f",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"b",_rX:-90}},{n:"I J b e",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"sl",ea:"e10",du:750,di:"t",_rX:90}},{n:"I i b d",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:90}},{n:"I i b c",r:[3,4],c:[3,4],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:-90}},{n:"I i b f",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:-90}},{n:"I i b e",r:[3,4],c:[3,4],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:90}},{n:"I t b f",r:[6,12],c:1,t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:90}},{n:"I t b e",r:[6,12],c:1,t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:-90}},{n:"I D b d",r:1,c:[6,12],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:-90}},{n:"I D b c",r:1,c:[6,12],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:90}},{n:"K t b d",r:[3,10],c:1,t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:90}},{n:"K t b c",r:[3,10],c:1,t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rY:-90}},{n:"K D b f",r:1,c:[3,10],t:{de:55,sq:"fw"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:-90}},{n:"K D b e",r:1,c:[3,10],t:{de:55,sq:"rv"},tr:{tp:"f",ea:"e10",du:750,di:"l",_rX:90}},{n:"K x L J b d",r:1,c:1,t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"r",_s:.1,_r:-90,_rY:90}},{n:"K x L J b c",r:1,c:1,t:{de:75,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"l",_s:.1,_r:90,_rY:-90}},{n:"K x L i b d",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"r",_r:-45}},{n:"K x L i b c",r:[3,4],c:[3,4],t:{de:55,sq:"fw"},tr:{tp:"mx",ea:"e10",du:750,di:"l",_r:-45}},{n:"K x L i b r",r:[3,4],c:[3,4],t:{de:55,sq:"rnd"},tr:{tp:"mx",ea:"e10",du:750,di:"rnd",_r:-45}},{n:"M J N",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"f",ea:"e10",du:1500,di:"l",_s:.8}},{n:"M J b O",r:1,c:1,t:{de:0,sq:"fw"},tr:{tp:"f",ea:"e11",du:1500,di:"l",_s:1.2}},{n:"M i r",r:[3,4],c:[3,4],t:{de:35,sq:"rnd"},tr:{tp:"f",ea:"e10",du:750,di:"l",_s:.1}},{n:"M i b O r",r:[3,4],c:[3,4],t:{de:35,sq:"rnd"},tr:{tp:"f",ea:"e10",du:750,di:"l",_s:2}}
55,{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}
55},{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"
55,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};
56// source --> https://fientuech.de/wp-content/plugins/wp-mailto-links/core/includes/assets/js/custom.js?ver=231021-110146 
57/* WP Mailto Links */
58/*global jQuery, window*/
59jQuery(function ($) {
60
61    'use strict';
62
63    // encoding method
64    function rot13(s) {
65        // source: http://jsfromhell.com/string/rot13
66        return s.replace(/[a-zA-Z]/g, function (c) {
67            return String.fromCharCode((c <= 'Z' ? 90 : 122) >= (c = c.charCodeAt(0) + 13) ? c : c - 26);
68        });
69    }
70
71    // fetch email from data attribute
72    function fetchEmail(el) {
73        var email = el.getAttribute('data-enc-email');
74
75        if (!email) {
76            return null;
77        }
78
79        // replace [at] sign
80        email = email.replace(/\[at\]/g, '@');
81
82        // encode
83        email = rot13(email);
84
85        return email;
86    }
87
88    // replace email in title attribute
89    function parseTitle(el) {
90        var title = el.getAttribute('title');
91        var email = fetchEmail(el);
92
93        if (title && email) {
94            title = title.replace('{{email}}', email);
95            el.setAttribute('title', title);
96        }
97    }
98
99    // set input value attribute
100    function setInputValue(el) {
101        var email = fetchEmail(el);
102
103        if (email) {
104            el.setAttribute('value', email);
105        }
106    }
107
108    // open mailto link
109    function mailto(el) {
110        var email = fetchEmail(el);
111
112        if (email) {
113            window.location.href = 'mailto:' + email;
114        }
115    }
116    
117    // revert
118    function revert(el, rtl) {
119        var email = fetchEmail(el);
120
121        if (email) {
122           rtl.text(email);
123           rtl.removeClass('wpml-rtl');
124        }
125    }
126
127    // prepare for copying email
128    document.addEventListener('copy', function(e){
129        $('a[data-enc-email]').each(function () {
130            var rtl = $(this).find('.wpml-rtl');
131
132            if (rtl.text()) {
133                revert(this, rtl);
134            }
135        });
136        console.log('copy');
137    });
138
139    // set mailto click
140    $('body').on('click', 'a[data-enc-email]', function () {
141        mailto(this);
142    });
143
144    // parse title attirbute
145    $('a[data-enc-email]').each(function () {
146        parseTitle(this);
147    });
148
149    // parse input fields
150    $('input[data-enc-email]').each(function () {
151        setInputValue(this);
152    });
153
154});

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.