if(function(e){var t,n=function(){};n.dumy=document.createElement("div"),n.trim=function(e){return e.replace(/\s/gi,"")},n.splitAndTrim=function(e,t){for(var s=e.split(","),o=s.length,i=0;io.length)throw new Error("invalid index!");e.insertBefore(t,o[s])},n.hasCanvas=function(){return Boolean(document.createElement("canvas"))},n.hitTest=function(e,t,s){if(!e)throw Error("Hit test target is null!");var o=e.getBoundingClientRect();return t>=o.left&&t<=o.left+(o.right-o.left)&&s>=o.top&&s<=o.top+(o.bottom-o.top)},n.getScrollOffsets=function(){return null!=e.pageXOffset?{x:e.pageXOffset,y:e.pageYOffset}:"CSS1Compat"==document.compatMode?{x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop}:void 0},n.getViewportSize=function(){return n.hasPointerEvent&&1>0,0!==this._cycle&&this._cycle===this._totalTime/r&&m<=e&&this._cycle--,this._time=this._totalTime-this._cycle*r,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?this._time=_:this._time<0&&(this._time=0)),this._easeType?(l=this._time/_,(1===(a=this._easeType)||3===a&&.5<=l)&&(l=1-l),3===a&&(l*=2),1===(d=this._easePower)?l*=l:2===d?l*=l*l:3===d?l*=l*l*l:4===d&&(l*=l*l*l*l),1===a?this.ratio=1-l:2===a?this.ratio=l:this._time/_<.5?this.ratio=l/2:this.ratio=1-l/2):this.ratio=this._ease.getRatio(this._time/_)),c!==this._time||s||f!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!s&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=c,this._totalTime=m,this._rawPrevTime=b,this._cycle=f,S.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!o?this.ratio=this._ease.getRatio(this._time/_):o&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==c&&0<=e&&(this._active=!0),0===m&&(2===this._initted&&0this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},e.duration=function(e){return arguments.length?o.prototype.duration.call(this,e):this._duration},e.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},e.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},e.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},e.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},v},!0),_fwd_gsScope.FWDFWD_gsDefine("FWDTimelineLite",["core.FWDAnim","core.FWDSimpleTimeline","FWDTweenLite"],function(u,h,c){var m=function(e){h.call(this,e),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var t,s,o=this.vars;for(s in o)t=o[s],b(t)&&-1!==t.join("").indexOf("{self}")&&(o[s]=this._swapSelfInParams(t));b(o.tweens)&&this.add(o.tweens,0,o.align,o.stagger)},_=1e-10,e=c._internals,t=m._internals={},f=e.isSelector,b=e.isArray,p=e.lazyTweens,g=e.lazyRender,r=_fwd_gsScope.FWDFWD_gsDefine.globals,v=function(e){var t,s={};for(t in e)s[t]=e[t];return s},D=function(e,t,s){var o,i,n=e.cycle;for(o in n)i=n[o],e[o]="function"==typeof i?i.call(t[s],s):i[s%i.length];delete e.cycle},n=t.pauseCallback=function(){},S=function(e){var t,s=[],o=e.length;for(t=0;t!==o;s.push(e[t++]));return s},s=m.prototype=new h;return m.version="1.19.0",s.constructor=m,s.kill()._gc=s._forcingPlayhead=s._hasPause=!1,s.to=function(e,t,s,o){var i=s.repeat&&r.FWDAnimation||c;return t?this.add(new i(e,t,s),o):this.set(e,s,o)},s.from=function(e,t,s,o){return this.add((s.repeat&&r.FWDAnimation||c).from(e,t,s),o)},s.fromTo=function(e,t,s,o,i){var n=o.repeat&&r.FWDAnimation||c;return t?this.add(n.fromTo(e,t,s,o),i):this.set(e,o,i)},s.staggerTo=function(e,t,s,o,i,n,r,l){var a,d,u=new m({onComplete:n,onCompleteParams:r,callbackScope:l,smoothChildTiming:this.smoothChildTiming}),h=s.cycle;for("string"==typeof e&&(e=c.selector(e)||e),f(e=e||[])&&(e=S(e)),(o=o||0)<0&&((e=S(e)).reverse(),o*=-1),d=0;de._startTime;a._timeline;)d&&a._timeline.smoothChildTiming?a.totalTime(a._totalTime,!0):a._gc&&a._enabled(!0,!1),a=a._timeline;return this},s.remove=function(e){if(e instanceof u){this._remove(e,!1);var t=e._timeline=e.vars.useFrames?u._rootFramesTimeline:u._rootTimeline;return e._startTime=(e._paused?e._pauseTime:t._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&b(e)){for(var s=e.length;-1<--s;)this.remove(e[s]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},s._remove=function(e,t){h.prototype._remove.call(this,e,t);var s=this._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},s.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},s.insert=s.insertMultiple=function(e,t,s,o){return this.add(e,t||0,s,o)},s.appendMultiple=function(e,t,s,o){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),s,o)},s.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},s.addPause=function(e,t,s,o){var i=c.delayedCall(0,n,s,o||this);return i.vars.onComplete=i.vars.onReverseComplete=t,i.data="isPause",this._hasPause=!0,this.add(i,e)},s.removeLabel=function(e){return delete this._labels[e],this},s.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},s._parseTimeOrLabel=function(e,t,s,o){var i;if(o instanceof u&&o.timeline===this)this.remove(o);else if(o&&(o instanceof Array||o.push&&b(o)))for(i=o.length;-1<--i;)o[i]instanceof u&&o[i].timeline===this&&this.remove(o[i]);if("string"==typeof t)return this._parseTimeOrLabel(t,s&&"number"==typeof e&&null==this._labels[t]?e-this.duration():0,s);if(t=t||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(i=e.indexOf("=")))return null==this._labels[e]?s?this._labels[e]=this.duration()+t:t:this._labels[e]+t;t=parseInt(e.charAt(i-1)+"1",10)*Number(e.substr(i+1)),e=1_&&(r="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:_,e=u+1e-4;else if(e<1e-7)if(this._totalTime=this._time=0,(0!==h||0===this._duration&&this._rawPrevTime!==_&&(0=e&&!a;)o._duration||"isPause"===o.data&&0this._time;)a.render(a._reversed?a.totalDuration()-(e-a._startTime)*a._timeScale:(e-a._startTime)*a._timeScale,t,s),a=a._prev;a=null,this.pause()}o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(e-o._startTime)*o._timeScale,t,s):o.render((e-o._startTime)*o._timeScale,t,s)}o=n}this._onUpdate&&(t||(p.length&&g(),this._callback("onUpdate"))),r&&(this._gc||c!==this._startTime&&m===this._timeScale||(0===this._time||u>=this.totalDuration())&&(i&&(p.length&&g(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this._callback(r)))}},s._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof m&&e._hasPausedChild())return!0;e=e._next}return!1},s.getChildren=function(e,t,s,o){o=o||-9999999999;for(var i=[],n=this._first,r=0;n;)n._startTime=s&&(i._startTime+=e),i=i._next;if(t)for(o in n)n[o]>=s&&(n[o]+=e);return this._uncache(!0)},s._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var s=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),o=s.length,i=!1;-1<--o;)s[o]._kill(e,t)&&(i=!0);return i},s.clear=function(e){var t=this.getChildren(!1,!0,!0),s=t.length;for(this._time=this._totalTime=0;-1<--s;)t[s]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},s.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return u.prototype.invalidate.call(this)},s._enabled=function(e,t){if(e===this._gc)for(var s=this._first;s;)s._enabled(e,!0),s=s._next;return h.prototype._enabled.call(this,e,t)},s.totalTime=function(e,t,s){this._forcingPlayhead=!0;var o=u.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,o},s.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},s.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,s,o=0,i=this._last,n=999999999999;i;)t=i._prev,i._dirty&&i.totalDuration(),i._startTime>n&&this._sortChildren&&!i._paused?this.add(i,i._startTime-i._delay):n=i._startTime,i._startTime<0&&!i._paused&&(o-=i._startTime,this._timeline.smoothChildTiming&&(this._startTime+=i._startTime/this._timeScale),this.shiftChildren(-i._startTime,!1,-9999999999),n=0),o<(s=i._startTime+i._totalDuration/i._timeScale)&&(o=s),i=t;this._duration=this._totalDuration=o,this._dirty=!1}return this._totalDuration}return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this},s.paused=function(e){if(!e)for(var t=this._first,s=this._time;t;)t._startTime===s&&"isPause"===t.data&&(t._rawPrevTime=0),t=t._next;return u.prototype.paused.apply(this,arguments)},s.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===u._rootFramesTimeline},s.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},m},!0),_fwd_gsScope.FWDFWD_gsDefine("TimelineMax",["FWDTimelineLite","FWDTweenLite","easing.Ease"],function(t,l,e){var s=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},T=1e-10,o=l._internals,B=o.lazyTweens,L=o.lazyRender,a=_fwd_gsScope.FWDFWD_gsDefine.globals,d=new e(null,null,1,0),i=s.prototype=new t;return i.constructor=s,i.kill()._gc=!1,s.version="1.19.0",i.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},i.addCallback=function(e,t,s,o){return this.add(l.delayedCall(0,e,s,o),t)},i.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var s=this.getTweensOf(e,!1),o=s.length,i=this._parseTimeOrLabel(t);-1<--o;)s[o]._startTime===i&&s[o]._enabled(!1,!1);return this},i.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},i.tweenTo=function(e,t){t=t||{};var s,o,i,n={ease:d,useFrames:this.usesFrames(),immediateRender:!1},r=t.repeat&&a.FWDAnimation||l;for(o in t)n[o]=t[o];return n.time=this._parseTimeOrLabel(e),s=Math.abs(Number(n.time)-this._time)/this._timeScale||.001,i=new r(this,s,n),n.onStart=function(){i.target.paused(!0),i.vars.time!==i.target.time()&&s===i.duration()&&i.duration(Math.abs(i.vars.time-i.target.time())/i.target._timeScale),t.onStart&&i._callback("onStart")},i},i.tweenFromTo=function(e,t,s){s=s||{},e=this._parseTimeOrLabel(e),s.startAt={onComplete:this.seek,onCompleteParams:[e],callbackScope:this},s.immediateRender=!1!==s.immediateRender;var o=this.tweenTo(t,s);return o.duration(Math.abs(o.vars.time-e)/this._timeScale||.001)},i.render=function(e,t,s){this._gc&&this._enabled(!0,!1);var o,i,n,r,l,a,d,u,h=this._dirty?this.totalDuration():this._totalDuration,c=this._duration,m=this._time,f=this._totalTime,_=this._startTime,b=this._timeScale,p=this._rawPrevTime,g=this._paused,v=this._cycle;if(h-1e-7<=e)this._locked||(this._totalTime=h,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(i=!0,r="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&-1e-7<=e||p<0||p===T)&&p!==e&&this._first&&(l=!0,T>0,0!==this._cycle&&this._cycle===this._totalTime/a&&f<=e&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(1&this._cycle)&&(this._time=c-this._time),this._time>c?e=(this._time=c)+1e-4:this._time<0?this._time=e=0:e=this._time)),this._hasPause&&!this._forcingPlayhead&&!t){if(m<=(e=this._time))for(o=this._first;o&&o._startTime<=e&&!d;)o._duration||"isPause"!==o.data||o.ratio||0===o._startTime&&0===this._rawPrevTime||(d=o),o=o._next;else for(o=this._last;o&&o._startTime>=e&&!d;)o._duration||"isPause"===o.data&&0this._time;)d.render(d._reversed?d.totalDuration()-(e-d._startTime)*d._timeScale:(e-d._startTime)*d._timeScale,t,s),d=d._prev;d=null,this.pause()}o._reversed?o.render((o._dirty?o.totalDuration():o._totalDuration)-(e-o._startTime)*o._timeScale,t,s):o.render((e-o._startTime)*o._timeScale,t,s)}o=n}this._onUpdate&&(t||(B.length&&L(),this._callback("onUpdate"))),r&&(this._locked||this._gc||_!==this._startTime&&b===this._timeScale||(0===this._time||h>=this.totalDuration())&&(i&&(B.length&&L(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this._callback(r)))}else f!==this._totalTime&&this._onUpdate&&(t||this._callback("onUpdate"))},i.getActive=function(e,t,s){null==e&&(e=!0),null==t&&(t=!0),null==s&&(s=!1);var o,i,n=[],r=this.getChildren(e,t,s),l=0,a=r.length;for(o=0;oe)return s[t].name;return null},i.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),s=t.length;-1<--s;)if(t[s].timethis._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},i.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},i.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},i.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},i.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},s},!0),w=180/Math.PI,S=[],y=[],O=[],p={},s=_fwd_gsScope.FWDFWD_gsDefine.globals,g=function(e,t,s,o){s===o&&(s=o-(o-t)/1e6),e===t&&(t=e+(s-e)/1e6),this.a=e,this.b=t,this.c=s,this.d=o,this.da=o-e,this.ca=s-e,this.ba=t-e},C=function(e,t,s,o){var i={a:e},n={},r={},l={c:o},a=(e+t)/2,d=(t+s)/2,u=(s+o)/2,h=(a+d)/2,c=(d+u)/2,m=(c-h)/8;return i.b=a+(e-a)/4,n.b=h+m,i.c=n.a=(i.b+n.b)/2,n.c=r.a=(h+c)/2,r.b=c-m,l.b=u+(o-u)/4,r.c=l.a=(r.b+l.b)/2,[i,n,r,l]},v=function(e,t,s,o,i){var n,r,l,a,d,u,h,c,m,f,_,b,p,g=e.length-1,v=0,D=e[0].a;for(n=0;n>0||6)-1,h=[],c=[];for(s in e)f(e[s],r,t);for(i=r.length,o=0;o>0]=c,l[n]=d,a=0,c=[]);return{length:d,lengths:l,segments:h}}(this._beziers,this._timeRes);this._length=c.length,this._lengths=c.lengths,this._segments=c.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(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),n=h.length;-1<--n;){for(r=0;r<3;r++)o=h[n][r],this._func[o]="function"==typeof e[o]&&e[o.indexOf("set")||"function"!=typeof e["get"+o.substr(3)]?o:"get"+o.substr(3)];o=h[n][2],this._initialRotations[n]=(this._func[o]?this._func[o].call(this._target):this._target[o])||0,this._overwriteProps.push(o)}return this._startRatio=s.vars.runBackwards?1:0,!0},set:function(e){var t,s,o,i,n,r,l,a,d,u,h=this._segCount,c=this._func,m=this._target,f=e!==this._startRatio;if(this._timeRes){if(d=this._lengths,u=this._curSeg,e*=this._length,o=this._li,e>this._l2&&o=e;);0===o&&ethis._s2&&o=e;);0===o&&e>0)*(1/h))*h;for(s=1-r,o=this._props.length;-1<--o;)i=this._props[o],l=(r*r*(n=this._beziers[i][t]).da+3*s*(r*n.ca+s*n.ba))*r+n.a,this._mod[i]&&(l=this._mod[i](l,m)),c[i]?m[i](l):"x"==i?m.setX(l):"y"==i?m.setY(l):"z"==i?m.setZ(l):"angleX"==i?m.setAngleX(l):"angleY"==i?m.setAngleY(l):"angleZ"==i?m.setAngleZ(l):"w"==i?m.setWidth(l):"h"==i?m.setHeight(l):"alpha"==i?m.setAlpha(l):"scale"==i?m.setScale2(l):m[i]=l;if(this._autoRotate){var _,b,p,g,v,D,S,y=this._autoRotate;for(o=y.length;-1<--o;)i=y[o][2],D=y[o][3]||0,S=!0===y[o][4]?1:w,n=this._beziers[y[o][0]],_=this._beziers[y[o][1]],n&&_&&(n=n[t],_=_[t],b=n.a+(n.b-n.a)*r,b+=((g=n.b+(n.c-n.b)*r)-b)*r,g+=(n.c+(n.d-n.c)*r-g)*r,p=_.a+(_.b-_.a)*r,p+=((v=_.b+(_.c-_.b)*r)-p)*r,v+=(_.c+(_.d-_.c)*r-v)*r,l=f?Math.atan2(v-p,g-b)*S+D:this._initialRotations[o],this._mod[i]&&(l=this._mod[i](l,m)),c[i]?m[i](l):m[i]=l)}}}),e=b.prototype,b.bezierThrough=m,b.cubicToQuadratic=C,b._autoCSS=!0,b.quadraticToCubic=function(e,t,s){return new g(e,(2*t+e)/3,(2*t+s)/3,s)},b._cssRegister=function(){var e=s.CSSPlugin;if(e){var t=e._internals,m=t._parseToProxy,f=t._setPluginRatio,_=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,s,o,i,n){t instanceof Array&&(t={values:t}),n=new b;var r,l,a,d=t.values,u=d.length-1,h=[],c={};if(u<0)return i;for(r=0;r<=u;r++)a=m(e,d[r],o,i,n,u!==r),h[r]=a.end;for(l in t)c[l]=t[l];return c.values=h,(i=new _(e,"bezier",0,0,a.pt,2)).data=a,i.plugin=n,i.setRatio=f,0===c.autoRotate&&(c.autoRotate=!0),!c.autoRotate||c.autoRotate instanceof Array||(r=!0===c.autoRotate?0:Number(c.autoRotate),c.autoRotate=null!=a.end.left?[["left","top","rotation",r,!1]]:null!=a.end.x&&[["x","y","rotation",r,!1]]),c.autoRotate&&(o._transform||o._enableTransforms(!1),a.autoRotate=o._target._gsTransform,a.proxy.rotation=a.autoRotate.rotation||0,o._overwriteProps.push("rotation")),n._onInitTween(a.proxy,c,o._tween),i}})}},e._mod=function(e){for(var t,s=this._overwriteProps,o=s.length;-1<--o;)(t=e[s[o]])&&"function"==typeof t&&(this._mod[s[o]]=t)},e._kill=function(e){var t,s,o=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],s=o.length;-1<--s;)o[s]===t&&o.splice(s,1);if(o=this._autoRotate)for(s=o.length;-1<--s;)e[o[s][2]]&&o.splice(s,1);return this._super._kill.call(this,e)},_fwd_gsScope.FWDFWD_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","FWDTweenLite"],function(n,U){var f,O,C,_,N=function(){n.call(this,"css"),this._overwriteProps.length=0,this.setRatio=N.prototype.setRatio},d=_fwd_gsScope.FWDFWD_gsDefine.globals,b={},e=N.prototype=new n("css");(e.constructor=N).version="1.19.0",N.API=2,N.defaultTransformPerspective=0,N.defaultSkewType="compensated",N.defaultSmoothOrigin=!0,e="px",N.suffixMap={top:e,right:e,bottom:e,left:e,width:e,height:e,fontSize:e,padding:e,margin:e,perspective:e,lineHeight:""};var B,p,g,A,v,T,L,W,t,s,x=/(?:\-|\.|\b)(\d|\.|e\-)+/g,H=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,D=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,u=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,E=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *=*([^)]*)/i,S=/opacity:([^;]*)/i,r=/alpha\(opacity *=.+?\)/i,y=/^(rgb|hsl)/,l=/([A-Z])/g,a=/-([a-z])/gi,w=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,h=function(e,t){return t.toUpperCase()},m=/(?:Left|Right|Width)/i,c=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,F=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,k=/[\s,\(]/i,R=Math.PI/180,j=180/Math.PI,M={},z=document,o=function(e){return z.createElementNS?z.createElementNS("http://www.w3.org/1999/xhtml",e):z.createElement(e)},V=o("div"),X=o("img"),i=N._internals={_specialProps:b},Y=navigator.userAgent,G=(t=Y.indexOf("Android"),s=o("a"),g=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||3>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),ce[e])s=ce[e];else if("#"===e.charAt(0))4===e.length&&(e="#"+(o=e.charAt(1))+o+(i=e.charAt(2))+i+(n=e.charAt(3))+n),s=[(e=parseInt(e.substr(1),16))>>16,e>>8&255,255&e];else if("hsl"===e.substr(0,3))if(s=c=e.match(x),t){if(-1!==e.indexOf("="))return e.match(H)}else r=Number(s[0])%360/360,l=Number(s[1])/100,o=2*(a=Number(s[2])/100)-(i=a<=.5?a*(l+1):a+l-a*l),3o--)for(;++oo--)for(;++o>0];return o.parse(e,r,i,n)}},ve=(i._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,s,o,i,n,r=this.data,l=r.proxy,a=r.firstMPT;a;)t=l[a.v],a.r?t=Math.round(t):t<1e-6&&-1e-6l.length?a.length:l.length,r=0;rn.pr;)r=r._next;(n._prev=r?r._prev:a)?n._prev._next=n:l=n,(n._next=r)?r._prev=n:a=n,n=d}this._firstPT=l}return!0},e.parse=function(e,t,s,o){var i,n,r,l,a,d,u,h,c,m,f=e.style;for(i in t)"function"==typeof(d=t[i])&&(d=d(W,L)),(n=b[i])?s=n.parse(e,d,i,this,s,o,t):(a=ee(e,i,C)+"",c="string"==typeof d,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||c&&y.test(d)?(c||(d=(3<(d=fe(d)).length?"rgba(":"rgb(")+d.join(",")+")"),s=ye(f,i,a,d,!0,"transparent",s,0,o)):c&&k.test(d)?s=ye(f,i,a,d,!0,null,s,0,o):(u=(r=parseFloat(a))||0===r?a.substr((r+"").length):"",""!==a&&"auto"!==a||("width"===i||"height"===i?(r=le(e,i,C),u="px"):"left"===i||"top"===i?(r=se(e,i,C),u="px"):(r="opacity"!==i?0:1,u="")),(m=c&&"="===d.charAt(1))?(l=parseInt(d.charAt(0)+"1",10),d=d.substr(2),l*=parseFloat(d),h=d.replace(E,"")):(l=parseFloat(d),h=c?d.replace(E,""):""),""===h&&(h=i in O?O[i]:u),d=l||0===l?(m?l+r:l)+h:t[i],u!==h&&""!==h&&(l||0===l)&&r&&(r=te(e,i,r,u),"%"===h?(r/=te(e,i,100,"%")/100,!0!==t.strictUnits&&(a=r+"%")):"em"===h||"rem"===h||"vw"===h||"vh"===h?r/=te(e,i,1,h):"px"!==h&&(l=te(e,i,l,h),h="px"),m&&(l||0===l)&&(d=l+r+h)),m&&(l+=r),!r&&0!==r||!l&&0!==l?void 0!==f[i]&&(d||d+""!="NaN"&&null!=d)?(s=new De(f,i,l||r||0,0,s,-1,i,!1,0,a,d)).xs0="none"!==d||"display"!==i&&-1===i.indexOf("Style")?d:a:Z("invalid "+i+" tween value: "+t[i]):(s=new De(f,i,r,l-r,s,0,i,!1!==B&&("px"===h||"zIndex"===i),0,a,d)).xs0=h)),o&&s&&!s.plugin&&(s.plugin=o);return s},e.setRatio=function(e){var t,s,o,i=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;i;){if(t=i.c*e+i.s,i.r?t=Math.round(t):t<1e-6&&-1e-6this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},m.ease=new m(.7,.7),f.config=m.config=function(e,t,s){return new m(e,t,s)},(f=(t=l("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0)).prototype=new b).constructor=t,f.getRatio=function(e){return e<0?e=0:1<=e&&(e=.999999999),(this._p2*e>>0)*this._p1},f.config=t.config=function(e){return new t(e)},(f=(s=l("easing.RoughEase",function(e){for(var t,s,o,i,n,r,l=(e=e||{}).taper||"none",a=[],d=0,u=0|(e.points||20),h=u,c=!1!==e.randomize,m=!0===e.clamp,f=e.template instanceof b?e.template:null,_="number"==typeof e.strength?.4*e.strength:.4;-1<--h;)t=c?Math.random():1/u*h,s=f?f.getRatio(t):t,o="none"===l?_:"out"===l?(i=1-t)*i*_:"in"===l?t*t*_:t<.5?(i=2*t)*i*.5*_:(i=2*(1-t))*i*.5*_,c?s+=Math.random()*o-.5*o:h%2?s+=.5*o:s-=.5*o,m&&(1t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&e<=t.t;)t=t.prev;return(this._prev=t).v+(e-t.t)/t.gap*t.c},f.config=function(e){return new s(e)},s.ease=new s,u("Bounce",a("BounceOut",function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),a("BounceIn",function(e){return(e=1-e)<1/2.75?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),a("BounceInOut",function(e){var t=e<.5;return(e=t?1-2*e:2*e-1)<1/2.75?e*=7.5625*e:e=e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),u("Circ",a("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),a("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),a("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),u("Elastic",(e=function(e,t,s){var o=l("easing."+e,function(e,t){this._p1=1<=e?e:1,this._p2=(t||s)/(e<1?e:1),this._p3=this._p2/n*(Math.asin(1/this._p1)||0),this._p2=n/this._p2},!0),i=o.prototype=new b;return i.constructor=o,i.getRatio=t,i.config=function(e,t){return new o(e,t)},o})("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*this._p2)+1},.3),e("ElasticIn",function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)},.3),e("ElasticInOut",function(e){return(e*=2)<1?this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*this._p2)*.5+1},.45)),u("Expo",a("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),a("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),a("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),u("Sine",a("SineOut",function(e){return Math.sin(e*r)}),a("SineIn",function(e){return 1-Math.cos(e*r)}),a("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),l("easing.EaseLookup",{find:function(e){return b.map[e]}},!0),d(o.SlowMo,"SlowMo","ease,"),d(s,"RoughEase","ease,"),d(t,"SteppedEase","ease,"),c},!0)}),_fwd_gsScope.FWDFWD_gsDefine&&_fwd_gsScope._fwd_gsQueue.pop()(),function(m,f){"use strict";var _={},b=m.FWDGreenSockGlobals=m.FWDGreenSockGlobals||m;if(!b.FWDTweenLite){var e,t,s,p,g,o,i,v=function(e){var t,s=e.split("."),o=b;for(t=0;t=s&&ethis._duration?this._duration:e,t)):this._time},s.totalTime=function(e,t,s){if(g||p.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!s&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var o=this._totalDuration,i=this._timeline;if(on;)i=i._prev;return i?(e._next=i._next,i._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=i,this._recent=e,this._timeline&&this._uncache(!0),this},s._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},s.render=function(e,t,s){var o,i=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;i;)o=i._next,(i._active||e>=i._startTime&&!i._paused)&&(i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(e-i._startTime)*i._timeScale,t,s):i.render((e-i._startTime)*i._timeScale,t,s)),i=o},s.rawTime=function(){return g||p.wake(),this._totalTime};var P=c("FWDTweenLite",function(e,t,s){if(d.call(this,t,s),this.render=P.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:P.selector(e)||e;var o,i,n,r=e.jquery||e.length&&e!==m&&e[0]&&(e[0]===m||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Y[P.defaultOverwrite]:"number"==typeof l?l>>0:Y[l],(r||e instanceof Array||e.push&&y(e))&&"number"!=typeof e[0])for(this._targets=n=a(e),this._propLookup=[],this._siblings=[],o=0;o=Z){for(s in Z=p.frame+(parseInt(P.autoSleep,10)||120),z){for(e=(t=z[s].tweens).length;-1<--e;)t[e]._gc&&t.splice(e,1);0===t.length&&delete z[s]}if((!(s=K._first)||s._paused)&&P.autoSleep&&!G._first&&1===p._listeners.tick.length){for(;s&&s._paused;)s=s._next;s||p.sleep()}}},p.addEventListener("tick",d._updateRoot);var Q=function(e,t,s){var o,i,n=e._gsTweenID;if(z[n||(e._gsTweenID=n="t"+V++)]||(z[n]={target:e,tweens:[]}),t&&((o=z[n].tweens)[i=o.length]=t,s))for(;-1<--i;)o[i]===t&&o.splice(i,1);return z[n].tweens},$=function(e,t,s,o){var i,n,r=e.vars.onOverwrite;return r&&(i=r(e,t,s,o)),(r=P.onOverwrite)&&(n=r(e,t,s,o)),!1!==i&&!1!==n},J=function(e,t,s,o,i){var n,r,l,a;if(1===o||4<=o){for(a=i.length,n=0;nu&&((m||!l._initted)&&u-l._startTime<=2e-10||(h[c++]=l)));for(n=c;-1<--n;)if(l=h[n],2===o&&l._kill(s,e,t)&&(r=!0),2!==o||!l._firstPT&&l._initted){if(2!==o&&!$(l,t))continue;l._enabled(!1,!1)&&(r=!0)}return r},ee=function(e,t,s){for(var o=e._timeline,i=o._timeScale,n=e._startTime;o._timeline;){if(n+=o._startTime,i*=o._timeScale,o._paused)return-100;o=o._timeline}return t<(n/=i)?n-t:s&&n===t||!e._initted&&n-t<2*D?D:(n+=e.totalDuration()/e._timeScale/i)>t+D?0:n-t-D};s._init=function(){var e,t,s,o,i,n,r=this.vars,l=this._overwrittenProps,a=this._duration,d=!!r.immediateRender,u=r.ease;if(r.startAt){for(o in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),i={},r.startAt)i[o]=r.startAt[o];if(i.overwrite=!1,i.immediateRender=!0,i.lazy=d&&!1!==r.lazy,i.startAt=i.delay=null,this._startAt=P.to(this.target,0,i),d)if(0l.pr;)o=o._next;(l._prev=o?o._prev:n)?l._prev._next=l:i=l,(l._next=o)?o._prev=l:n=l,l=r}l=t._firstPT=i}for(;l;)l.pg&&"function"==typeof l.t[e]&&l.t[e]()&&(s=!0),l=l._next;return s},te.activate=function(e){for(var t=e.length;-1<--t;)e[t].API===te.API&&(j[(new e[t])._propName]=e[t]);return!0},n.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,s=e.propName,o=e.priority||0,i=e.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},r=c("plugins."+s.charAt(0).toUpperCase()+s.substr(1)+"Plugin",function(){te.call(this,s,o),this._overwriteProps=i||[]},!0===e.fwd_global),l=r.prototype=new te(s);for(t in(l.constructor=r).API=e.API,n)"function"==typeof e[t]&&(l[n[t]]=e[t]);return r.version=e.version,te.activate([r]),r},e=m._fwd_gsQueue){for(t=0;tself.totalItems-1)return self.id=self.totalItems-1,void(self.propsObjVariableName_str?FWDAddress.setValue("RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id+"&rl_propsobj="+self.propsObjVariableName_str):FWDAddress.setValue("RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id));self.createAndShowItem(),self.prevId=self.id}}else self.hide();else-1!=location.href.indexOf("RL?")&&e&&t&&FWDRLU3DC.show(e,t,self.propsObjVariableName_str)}},self.setupPreloader=function(){FWDRLU3DCPreloader.setPrototype(),self.preloader_do=new FWDRLU3DCPreloader(self.data.mainPreloader_img,70,41,13,50),self.main_do.addChild(self.preloader_do)},self.positionPreloader=function(){self.preloader_do.setX(parseInt((self.stageWidth-self.preloader_do.w)/2)),self.thumbnailsManager_do&&self.thumbnailsManager_do.areThumbnailsCreated_bl&&self.areThumbnailsShowed_bl?self.preloader_do.setY(parseInt((self.stageHeight-self.preloader_do.h-self.thumbnailH)/2)):self.preloader_do.setY(parseInt((self.stageHeight-self.preloader_do.h)/2))},self.setupThumbnailManager=function(){self.thumbnailsManager_do||(FWDRLU3DCThumbnailsManager.setPrototype(),self.thumbnailsManager_do=new FWDRLU3DCThumbnailsManager(self),self.thumbnailsManager_do.addListener(FWDRLU3DCThumb.CLICK,self.thumbClickHandler),self.main_do.addChildAt(self.thumbnailsManager_do,1))},self.hideOrShowThumbnails=function(){self.areThumbnailsShowed_bl?(self.hsThumbanilsButton_do.setButtonState(0),self.thumbnailsManager_do.hide(!0),self.areThumbnailsShowed_bl=!1):(self.hsThumbanilsButton_do.setButtonState(1),self.thumbnailsManager_do.show(!0),self.areThumbnailsShowed_bl=!0),self.hideShareButtons(!0),self.resizeCurrentItem(!1,!0),self.positionButtons(!0),self.startAnim(801)},self.thumbClickHandler=function(e){self.gotoToItem(e.id)},self.setupThumbnails=function(e){setTimeout(function(){self.thumbnailsManager_do&&self.showThumbnails_bl&&self.thumbnailsManager_do.setupThumbnails()},e)},self.setupButtons=function(){self.buttons_ar=[],self.buttonsMaxW_ar=[],FWDRLU3DCSimpleButton.setPrototype(),self.closeButton_do=new FWDRLU3DCSimpleButton(self.data.closeN_img,self.data.closeSPath_str),self.closeButton_do.addListener(FWDRLU3DCSimpleButton.MOUSE_UP,self.closeButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.closeButton_do),self.main_do.addChild(self.closeButton_do),FWDRLU3DCComplexButton.setPrototype(),self.zoomButton_do=new FWDRLU3DCComplexButton(self.data.maximizeN_img,self.data.maximizeSPath_str,self.data.minimizeN_img,self.data.minimizeSPath_str,!0),self.zoomButton_do.addListener(FWDRLU3DCComplexButton.MOUSE_UP,self.zoomButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.zoomButton_do),self.main_do.addChild(self.zoomButton_do),FWDRLU3DCComplexButton.setPrototype(),self.descButton_do=new FWDRLU3DCComplexButton(self.data.infoOpenN_img,self.data.infoOpenS_str,self.data.infoCloseN_img,self.data.infoCloseS_str,!0),self.descButton_do.addListener(FWDRLU3DCComplexButton.MOUSE_UP,self.descButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.descButton_do),self.main_do.addChild(self.descButton_do),FWDRLU3DCComplexButton.setPrototype(),self.slideShowButton_do=new FWDRLU3DCComplexButton(self.data.playN_img,self.data.playS_str,self.data.pauseN_img,self.data.pauseS_str,!0),self.slideShowButton_do.addListener(FWDRLU3DCComplexButton.MOUSE_UP,self.slideshowButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.slideShowButton_do),self.main_do.addChild(self.slideShowButton_do),FWDRLU3DCSlideShowPreloader.setPrototype(),-1!=self.data.lightboxSkinPath_str.indexOf("minimal")?self.slp_do=new FWDRLU3DCSlideShowPreloader(self.data.slideSwowImage_img,30,29,60,self.slideShowDelay):self.slp_do=new FWDRLU3DCSlideShowPreloader(self.data.slideSwowImage_img,29,29,60,self.slideShowDelay),self.buttonsMaxW_ar.push(self.slp_do),self.main_do.addChild(self.slp_do),FWDRLU3DCComplexButton.setPrototype(),self.shareButton_do=new FWDRLU3DCComplexButton(self.data.showShareImage_img,self.data.showShareImageSPath_str,self.data.hideShareImage_img,self.data.hideShareImageSPath_str,!0),self.shareButton_do.addListener(FWDRLU3DCComplexButton.MOUSE_UP,self.shareButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.shareButton_do),self.main_do.addChild(self.shareButton_do),FWDRLU3DCSimpleButton.setPrototype(),self.nextButton_do=new FWDRLU3DCSimpleButton(self.data.nextN_img,self.data.nextSPath_str),self.nextButton_do.addListener(FWDRLU3DCSimpleButton.MOUSE_UP,self.nextButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.nextButton_do),self.main_do.addChild(self.nextButton_do),FWDRLU3DCSimpleButton.setPrototype(),self.prevButton_do=new FWDRLU3DCSimpleButton(self.data.prevN_img,self.data.prevSPath_str),self.prevButton_do.addListener(FWDRLU3DCSimpleButton.MOUSE_UP,self.prevButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.prevButton_do),self.main_do.addChild(self.prevButton_do),FWDRLU3DCComplexButton.setPrototype(),self.hsThumbanilsButton_do=new FWDRLU3DCComplexButton(self.data.hideThumbnailsN_img,self.data.hideThumbnailsSPath_str,self.data.showThumbnailsN_img,self.data.showThumbnailsSPath_str,!0),self.hsThumbanilsButton_do.addListener(FWDRLU3DCComplexButton.MOUSE_UP,self.hsButtonOnMouseUpHandler),self.buttonsMaxW_ar.push(self.hsThumbanilsButton_do),self.main_do.addChild(self.hsThumbanilsButton_do);for(var e=0;ethis.maxShareButtonsW&&(this.maxShareButtonsW=e.w);for(t=0;tthis.nextButton_do.y&&FWDAnimation.to(self.nextButton_do.buttonsHolder_do,.8,{alpha:0,ease:Expo.easeInOut}),this.hsThumbanilsButton_do&&this.shareButtonsHolder_do.y+this.shareButtonsHolder_do.h+self.spaceBetweenButtons>this.hsThumbanilsButton_do.y&&this.shareButtonsHolder_do.x==this.hsThumbanilsButton_do.x&&FWDAnimation.to(self.hsThumbanilsButton_do.buttonsHolder_do,.8,{alpha:0,ease:Expo.easeInOut});for(var s=0;sthis.nextButton_do.y&&1==this.shareButton_do.buttonsHolder_do.alpha&&FWDAnimation.to(self.nextButton_do.buttonsHolder_do,.8,{alpha:1,ease:Expo.easeOut}),this.hsThumbanilsButton_do&&this.shareButtonsHolder_do.y+this.shareButtonsHolder_do.h+self.spaceBetweenButtons>this.hsThumbanilsButton_do.y&&1==this.shareButton_do.buttonsHolder_do.alpha&&FWDAnimation.to(self.hsThumbanilsButton_do.buttonsHolder_do,.8,{alpha:1,ease:Expo.easeOut})}},self.showCloseButton=function(){self.showCloseButton_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)&&self.buttons_ar.splice(0,0,self.closeButton_do)},self.hideCloseButton=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)&&(FWDAnimation.killTweensOf(self.zoomButton_do),self.closeButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do),1))},self.hideZoomButton=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)&&(FWDAnimation.killTweensOf(self.zoomButton_do),self.zoomButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do),1))},self.showZoomButton=function(){self.defaultShowZoomButton_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)&&(FWDAnimation.killTweensOf(self.zoomButton_do),-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)?(self.zoomButton_do.setX(self.closeButton_do.x),self.zoomButton_do.setY(self.closeButton_do.y+self.closeButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)+1,0,self.zoomButton_do)):(self.isFirstItemShowed_bl&&(self.zoomButton_do.setX(self.mainItemHolder_do.x+self.mainItemHolder_do.w+self.buttonsOffsetIn),self.zoomButton_do.setY(self.mainItemHolder_do.y)),self.buttons_ar.splice(0,0,self.zoomButton_do)))},self.showDescriptionButton=function(){self.defaultHideDescriptionButtons_bl&&(self.showDescriptionButton_bl=!0,-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)&&(FWDAnimation.killTweensOf(self.descButton_do),-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)?(self.descButton_do.setX(self.zoomButton_do.x),self.descButton_do.setY(self.zoomButton_do.y+self.zoomButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)+1,0,self.descButton_do)):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)?(self.descButton_do.setX(self.closeButton_do.x),self.descButton_do.setY(self.closeButton_do.y+self.closeButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)+1,0,self.descButton_do)):(self.isFirstItemShowed_bl&&(self.descButton_do.setX(self.mainItemHolder_do.x+self.mainItemHolder_do.w+self.buttonsOffsetIn),self.descButton_do.setY(self.mainItemHolder_do.y)),self.buttons_ar.splice(0,0,self.descButton_do))))},self.hideDescriptionButton=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)&&(self.showDescriptionButton_bl=!1,FWDAnimation.killTweensOf(self.descButton_do),self.descButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do),1))},self.hideSlideshowButton=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)&&(FWDAnimation.killTweensOf(self.slideShowButton_do),self.slideShowButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do),1))},self.showSlideshowButton=function(){self.showSlideShowButton_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)&&(FWDAnimation.killTweensOf(self.slideShowButton_do),-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)?(self.slideShowButton_do.setX(self.descButton_do.x),self.slideShowButton_do.setY(self.descButton_do.y+self.descButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)+1,0,self.slideShowButton_do)):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)?(self.slideShowButton_do.setX(self.zoomButton_do.x),self.slideShowButton_do.setY(self.zoomButton_do.y+self.zoomButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)+1,0,self.slideShowButton_do)):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)?(self.slideShowButton_do.setX(self.closeButton_do.x),self.slideShowButton_do.setY(self.closeButton_do.y+self.closeButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)+1,0,self.slideShowButton_do)):(self.isFirstItemShowed_bl&&(self.slideShowButton_do.setX(self.mainItemHolder_do.x+self.mainItemHolder_do.w+self.buttonsOffsetIn),self.slideShowButton_do.setY(self.mainItemHolder_do.y)),self.buttons_ar.splice(0,0,self.slideShowButton_do)))},self.hideSlideShowAnimation=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do)&&(FWDAnimation.killTweensOf(self.slp_do),self.slp_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do),1))},self.showSlideShowAnimation=function(){self.defaultShowSlideShowAnimation_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do)&&(FWDAnimation.killTweensOf(self.slp_do),-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)?(self.slp_do.setX(self.slideShowButton_do.x),self.slp_do.setY(self.slideShowButton_do.y+self.slideShowButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)+1,0,self.slp_do)):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)?(self.slp_do.setX(self.descButton_do.x),self.slp_do.setY(self.descButton_do.y+self.descButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)+1,0,self.slp_do)):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)?(self.slp_do.setX(self.zoomButton_do.x),self.slp_do.setY(self.zoomButton_do.y+self.zoomButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)+1,0,self.slp_do)):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)?(self.slp_do.setX(self.closeButton_do.x),self.slp_do.setY(self.closeButton_do.y+self.closeButton_do.h+self.spaceBetweenButtons),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)+1,0,self.slp_do)):(self.isFirstItemShowed_bl&&(self.slp_do.setX(self.mainItemHolder_do.x+self.mainItemHolder_do.w+self.buttonsOffsetIn),self.slp_do.setY(self.mainItemHolder_do.y)),self.buttons_ar.splice(0,0,self.slp_do)))},self.hideFacebookButton=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.shareButton_do)&&(FWDAnimation.killTweensOf(self.shareButton_do),self.shareButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.shareButton_do),1))},self.showShareButton=function(){self.showShareButton_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.shareButton_do)&&(-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do)+1,0,self.shareButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)+1,0,self.shareButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)+1,0,self.shareButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)+1,0,self.shareButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)+1,0,self.shareButton_do):self.buttons_ar.splice(0,0,self.shareButton_do))},self.hideNextAndPrevButtons=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.nextButton_do)&&(FWDAnimation.killTweensOf(self.nextButton_do),FWDAnimation.killTweensOf(self.prevButton_do),self.prevButton_do.setX(-5e3),self.nextButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.nextButton_do),1))},self.showNextAndPrevButtons=function(){self.defaultShowNextAndPrevButtons_bl&&self.showNextAndPrevButtons_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.nextButton_do)&&(-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.shareButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.shareButton_do)+1,0,self.nextButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slp_do)+1,0,self.nextButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.slideShowButton_do)+1,0,self.nextButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.descButton_do)+1,0,self.nextButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.zoomButton_do)+1,0,self.nextButton_do):-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)?self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.closeButton_do)+1,0,self.nextButton_do):self.buttons_ar.splice(0,0,self.nextButton_do))},self.hideHsThumbnailButton=function(){-1!=FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.hsThumbanilsButton_do)&&(FWDAnimation.killTweensOf(self.hsThumbanilsButton_do),self.hsThumbanilsButton_do.setX(-5e3),self.buttons_ar.splice(FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.hsThumbanilsButton_do),1))},self.showHsThumbnailButton=function(){self.showThumbnailsHideOrShowButton_bl&&-1==FWDRLU3DCUtils.indexOfArray(self.buttons_ar,self.hsThumbanilsButton_do)&&self.buttons_ar.splice(self.buttons_ar.length,0,self.hsThumbanilsButton_do)},self.positionButtons=function(e){if(self.isFirstItemShowed_bl&&self.isShowed_bl&&self.isReady_bl){var t,s,o=0,i=0;self.areThumbnailsShowed_bl&&(o=Math.round((self.thumbnailH+self.spaceBetweenThumbnailsAndItem)/2-self.spaceBetweenThumbnailsAndItem/2)),self.showNextAndPrevButtons_bl&&(self.buttonsAlignment_str==FWDRLU3DC.BUTTONS_IN?self.prevButton_do.finalX=self.finalX-self.prevButton_do.w-self.buttonsOffsetIn:self.prevButton_do.finalX=self.buttonsOffsetIn,self.prevButton_do.finalY=parseInt((self.stageHeight-self.prevButton_do.h)/2)-o,null==self.prevButton_do.finalX&&(self.prevButton_do.finalX=-5e3),null==self.prevButton_do.finalY&&(self.prevButton_do.finalY=-5e3));for(var n=self.buttons_ar.length,r=0;rself.finalH&&self.buttonsAlignment_str==FWDRLU3DC.BUTTONS_IN?0==l?self.buttonsAlignment_str==FWDRLU3DC.BUTTONS_IN?self.areThumbnailsShowed_bl?t.finalY=parseInt((self.stageHeight-i-self.thumbnailH)/2):t.finalY=parseInt((self.stageHeight-i)/2):t.finalY=self.buttonsOffsetIn:t.finalY=s.finalY+s.h+self.spaceBetweenButtons:(self.buttonsAlignment_str==FWDRLU3DC.BUTTONS_IN?t.finalY=self.finalY:t.finalY=self.buttonsOffsetIn,s?(t.finalY=s.finalY+s.h+self.spaceBetweenButtons,t==self.nextButton_do?t.finalYself.stageHeight-self.thumbnailH&&self.areThumbnailsShowed_bl&&(t.finalX=self.finalX-t.w-self.buttonsOffsetIn,t.finalY=self.finalY+self.finalH-t.h,self.showNextAndPrevButtons_bl&&t.finalYself.thumbnailsManager_do.totalW+2*(t.w+self.buttonsOffsetIn)?t.finalY=self.stageHeight-t.h-self.buttonsOffsetIn:t.finalY=self.stageHeight-t.h-self.thumbnailH-self.buttonsOffsetIn:t.finalY=self.stageHeight-t.h-self.buttonsOffsetIn,s&&s.finalY+s.h+t.h+self.spaceBetweenButtons+self.buttonsOffsetIn>self.stageHeight-self.thumbnailH&&self.areThumbnailsShowed_bl&&self.stageWidthself.stageWidth/2?t.finalX=self.stageWidth:t.finalX=-t.w),void 0===t.finalX&&(t.finalX=-5e3),void 0===t.finalY&&(t.finalY=-5e3),e?(0==o&&self.showNextAndPrevButtons_bl&&(FWDAnimation.killTweensOf(self.prevButton_do),FWDAnimation.to(self.prevButton_do,.8,{alpha:1,x:self.prevButton_do.finalX,y:self.prevButton_do.finalY,ease:Expo.easeInOut})),FWDAnimation.killTweensOf(t),FWDAnimation.to(t,.8,{alpha:1,x:t.finalX,y:t.finalY,ease:Expo.easeInOut})):(0==o&&self.showNextAndPrevButtons_bl&&(FWDAnimation.killTweensOf(self.prevButton_do),self.prevButton_do.setX(self.prevButton_do.finalX),self.prevButton_do.setY(self.prevButton_do.finalY)),FWDAnimation.killTweensOf(t),t.setAlpha(1),t.setX(t.finalX),t.setY(t.finalY)))}},self.hideStuffForGood=function(){self.shareButton_do&&self.shareButton_do.setX(-5e3),self.prevButton_do.setX(-5e3),self.nextButton_do.setX(-5e3),self.closeButton_do.setX(-5e3),self.zoomButton_do.setX(-5e3),self.descButton_do.setX(-5e3),self.slideShowButton_do.setX(-5e3),self.slp_do.setX(-5e3),self.hsThumbanilsButton_do.setX(-5e3),self.videoHolder_do&&(self.video_do.stop(),self.videoHolder_do.setX(-5e3),self.videoHolder_do.w=1,self.videoHolder_do.h=1),self.audioHolder_do&&(self.audio_do.stop(),self.audioHolder_do.setX(-5e3),self.audioHolder_do.w=1,self.audioHolder_do.h=1)},self.showButtonsWithFade=function(e){self.isReady_bl&&(self.areButtonsShowed_bl=!0,e?(this.shareButtonsHolder_do&&this.areButtonsSharedShowed_bl?this.shareButtonsHolder_do.y+this.shareButtonsHolder_do.h+self.spaceBetweenButtons>this.nextButton_do.y&&FWDAnimation.to(self.nextButton_do.buttonsHolder_do,.8,{alpha:0,ease:Expo.easeInOut}):FWDAnimation.to(self.nextButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),FWDAnimation.to(self.prevButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),FWDAnimation.to(self.closeButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),FWDAnimation.to(self.zoomButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),this.shareButtonsHolder_do&&this.areButtonsSharedShowed_bl?this.shareButtonsHolder_do.y+this.shareButtonsHolder_do.h+self.spaceBetweenButtons>this.hsThumbanilsButton_do.y&&this.shareButtonsHolder_do.finalX==this.hsThumbanilsButton_do.finalX&&FWDAnimation.to(self.hsThumbanilsButton_do.buttonsHolder_do,.8,{alpha:0,ease:Expo.easeInOut}):FWDAnimation.to(self.hsThumbanilsButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),FWDAnimation.to(self.descButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),FWDAnimation.to(self.slideShowButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut}),self.shareButton_do&&FWDAnimation.to(self.shareButton_do.buttonsHolder_do,.8,{alpha:1,ease:Quint.easeOut})):(FWDAnimation.killTweensOf(self.nextButton_do.buttonsHolder_do),FWDAnimation.killTweensOf(self.prevButton_do.buttonsHolder_do),self.nextButton_do.buttonsHolder_do.setAlpha(1),self.prevButton_do.buttonsHolder_do.setAlpha(1),FWDAnimation.killTweensOf(self.nextButton_do.closeButton_do),self.closeButton_do.buttonsHolder_do.setAlpha(1),FWDAnimation.killTweensOf(self.zoomButton_do.closeButton_do),self.zoomButton_do.buttonsHolder_do.setAlpha(1),FWDAnimation.killTweensOf(self.hsThumbanilsButton_do.hsThumbanilsButton_do),self.hsThumbanilsButton_do.buttonsHolder_do.setAlpha(1),FWDAnimation.killTweensOf(self.descButton_do.descButton_do),self.descButton_do.buttonsHolder_do.setAlpha(1),self.shareButton_do&&(FWDAnimation.killTweensOf(self.shareButton_do.descButton_do),self.shareButton_do.buttonsHolder_do.setAlpha(1))))},self.hideButtonsWithFade=function(e){e?(FWDAnimation.to(self.nextButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.prevButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.closeButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.zoomButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.hsThumbanilsButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.descButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.slideShowButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut}),self.shareButton_do&&FWDAnimation.to(self.shareButton_do.buttonsHolder_do,.8,{alpha:0,ease:Quint.easeOut})):(FWDAnimation.killTweensOf(self.nextButton_do.buttonsHolder_do),FWDAnimation.killTweensOf(self.prevButton_do.buttonsHolder_do),self.nextButton_do.buttonsHolder_do.setAlpha(0),self.prevButton_do.buttonsHolder_do.setAlpha(0),FWDAnimation.killTweensOf(self.nextButton_do.closeButton_do),self.closeButton_do.buttonsHolder_do.setAlpha(0),FWDAnimation.killTweensOf(self.zoomButton_do.closeButton_do),self.zoomButton_do.buttonsHolder_do.setAlpha(0),FWDAnimation.killTweensOf(self.hsThumbanilsButton_do.hsThumbanilsButton_do),self.hsThumbanilsButton_do.buttonsHolder_do.setAlpha(0),FWDAnimation.killTweensOf(self.hsThumbanilsButton_do.descButton_do),self.descButton_do.buttonsHolder_do.setAlpha(0),FWDAnimation.killTweensOf(self.slideShowButton_do.descButton_do),self.slideShowButton_do.buttonsHolder_do.setAlpha(0),self.shareButton_do&&(FWDAnimation.killTweensOf(self.shareButton_do.descButton_do),self.shareButton_do.buttonsHolder_do.setAlpha(0))),self.areButtonsShowed_bl=!1},this.parsePlaylistObject=function(e,t,s){if(0==t&&e.thumbnailPath_str&&(self.areThumbnailsShowed_bl=!1,self.setupThumbnailManager(),self.showThumbnailsByDefault_bl?(self.thumbnailsManager_do.show(!1),self.areThumbnailsShowed_bl=!0):(self.thumbnailsManager_do.hide(!1),self.areThumbnailsShowed_bl=!1),self.defaultShowThumbnails_bl?self.showThumbnails_bl=!0:(self.showThumbnails_bl=!1,self.areThumbnailsShowed_bl=!1),self.defaultShowThumbnailsHideOrShowButton_bl&&self.defaultShowThumbnails_bl?self.showThumbnailsHideOrShowButton_bl=!0:self.showThumbnailsHideOrShowButton_bl=!1),0!=t||e.thumbnailPath_str||(self.areThumbnailsShowed_bl=!1,self.showThumbnails_bl=!1,self.showThumbnailsHideOrShowButton_bl=!1),/\.jpg|\.jpeg|\.png/i.test(e.type_str)?(e.iconType_str=FWDRLU3DCThumb.IMAGE,e.type_str=FWDRLU3DC.IMAGE_TYPE,e.width=void 0,e.height=void 0):/\.mp4/i.test(e.type_str)?(e.iconType_str=FWDRLU3DCThumb.VIDEO,e.type_str=FWDRLU3DC.VIDEO_TYPE):/\.mp3/i.test(e.type_str)||"-soundcloud-"==e.type_str?(e.type_str=FWDRLU3DC.AUDIO_TYPE,e.iconType_str=FWDRLU3DCThumb.AUDIO):/\.swf/i.test(e.type_str)?(e.type_str=FWDRLU3DC.FLASH_TYPE,e.iconType_str=FWDRLU3DCThumb.FLASH):(/youtube\.|vimeo\./i.test(e.type_str)?-1!=e.type_str.indexOf("youtube.")?e.iconType_str=FWDRLU3DCThumb.YOUTUBE:e.iconType_str=FWDRLU3DCThumb.VIMEO:-1!=e.type_str.indexOf("google.")?e.iconType_str=FWDRLU3DCThumb.MAPS:-1!=e.type_str.indexOf("RL_AJAX")?e.iconType_str=FWDRLU3DCThumb.AJAX:-1!=e.type_str.indexOf("RL_HTML")?e.iconType_str=FWDRLU3DCThumb.HTML:e.iconType_str=FWDRLU3DCThumb.IFRAME,e.type_str=FWDRLU3DC.IFRAME_TYPE),(e.type_str==FWDRLU3DC.IMAGE_TYPE||e.type_str==FWDRLU3DC.VIDEO_TYPE)&&e.type_str==FWDRLU3DC.VIDEO_TYPE){var o=encodeURI(e.url.substr(0,e.url.lastIndexOf("/")+1)),i=encodeURIComponent(e.url.substr(e.url.lastIndexOf("/")+1));e.url=o+i}self.playlist_ar[t]=e},FWDRLU3DC.show=function(e,t,s){if(!self.isShowed_bl)if(self.id=t,self.propsObjVariableName_str=s,FWDRLU3DC.dispatchEvent(FWDRLU3DC.SHOW_START,{obj:e}),e){if(self.setDefaultSettings(),s&&window[s]){var o=window[s];self.setObjectPropsSettings(o)}else self.setDefaultSettings();self.stopToLoadPlaylist(),self.isPlaylistDispatchingError_bl=!1,-1!=e.indexOf("facebook.com")?(self.isFacebook_bl=!0,self.facebookUrl_str=String(e.match(/[\.][0-9]*[\.|&]/i)[0]).replace(/\.|&/g,""),self.originalFacebookURL_str=e,self.isPlaylistDispatchingError_bl=!0,self.loadFacebookPlaylist()):-1!=e.indexOf("youtube.com")?(self.isYoutube_bl=!0,self.nextPageToken_str=void 0,self.youtubeUrl_str=e.match(/list=([^&]+)/i)[1],self.originalYoutubeURL_str=e,self.isPlaylistDispatchingError_bl=!0,self.loadYoutubePlaylist()):-1!=e.indexOf("soundcloud.com")?(self.isSoundCloud_bl=!0,self.soundCloundUrl_str=e,self.isPlaylistDispatchingError_bl=!0,self.loadSoundCloudPlaylist()):-1!=e.indexOf("flickr.com")?(self.isFlickr_bl=!0,self.originalFlickrURL_str=e,self.flickrUrl_str=String(e.match(/[^\/]+$/i)),self.isPlaylistDispatchingError_bl=!0,self.loadFlickrPlaylist()):FWDRLU3DC.parsePlaylist(e,t,s),self.so=FWDRLU3DCUtils.getScrollOffsets(),self.isShowed_bl=!0,self.isAnim_bl=!0,self.showSlideShowAnimation_bl=!1,self.showDescription_bl=self.defaultShowDescriptionByDefault_bl,self.startResizeHandler(),self.addPreventMouseWheel(),clearTimeout(self.showOrHideCompleteId_to),self.showOrHideCompleteId_to=setTimeout(self.showComplete,401),FWDAnimation.to(self.bk_do,.8,{alpha:self.backgroundOpacity,ease:Quint.easeOut}),self.preloader_do&&(self.positionPreloader(),self.preloader_do.show(!0)),self.main_do.addChild(self.disableClick_do),self.isReady_bl&&(self.hideButtons(),self.hideStuffForGood()),self.desc_do.hide(!1,!0,!0),self.thumbnailsManager_do&&self.thumbnailsManager_do.destoryThumbnails()}else{alert("Revolution lightbox error! Please specify a playlist in the FWDRLU3DC.show() method.")}},this.loadSoundCloudPlaylist=function(){if(-1!=self.soundCloundUrl_str.indexOf("likes")&&(self.soundCloundUrl_str=self.soundCloundUrl_str.replace(/\/likes$/,"/favorites")),-1==self.soundCloundUrl_str.indexOf("api.soundcloud.")?url="http://api.soundcloud.com/resolve?format=json&url="+self.soundCloundUrl_str+"&limit=100&client_id="+self.scClientId_str+"&callback=FWDRLU3DC.parsePlaylist":url=self.sourceURL_str+"?format=json&client_id="+self.scClientId_str+"&limit=100&callback=FWDRLU3DC.parsePlaylist",null==self.scs_el)try{self.scs_el=document.createElement("script"),self.scs_el.src=url,self.scs_el.id=parent.instanceName_str+".data.parseflickrPlaylist",document.documentElement.appendChild(self.scs_el)}catch(e){}self.JSONPRequestTimeoutId_to=setTimeout(function(){var e="Soundcloud playlist can't be loaded:"+self.soundCloundUrl_str+".";self.main_do.addChild(self.info_do),self.info_do.showText(e),self.isAnim_bl=!1},5e3)},this.loadFlickrPlaylist=function(){if(url="https://api.flickr.com/services/rest/?method=flickr.photosets.getPhotos&api_key="+self.flickrAPIKey_str+"&photoset_id="+self.flickrUrl_str+"&format=json&jsoncallback=FWDRLU3DC.parsePlaylist",null==self.scs_el)try{self.scs_el=document.createElement("script"),self.scs_el.src=url,self.scs_el.id="FWDRLU3DCIFRAMELOAD",document.documentElement.appendChild(self.scs_el)}catch(e){}self.JSONPRequestTimeoutId_to=setTimeout(function(){var e="Flick playlist with the id: "+self.soundCloundUrl_str+" can't be loaded.";self.main_do.addChild(self.info_do),self.info_do.showText(e),self.isAnim_bl=!1},5e3)},this.loadYoutubePlaylist=function(){var e;if(self.nextPageToken_str?e="https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&pageToken="+self.nextPageToken_str+"&playlistId="+self.youtubeUrl_str+"&key=AIzaSyAlyhJ-C5POyo4hofPh3b7ECAxWy6t6lyg&maxResults=50&callback=FWDRLU3DC.parsePlaylist":(self.youtubeObject_ar=[],e="https://www.googleapis.com/youtube/v3/playlistItems?part=snippet&playlistId="+self.youtubeUrl_str+"&key=AIzaSyAlyhJ-C5POyo4hofPh3b7ECAxWy6t6lyg&maxResults=50&callback=FWDRLU3DC.parsePlaylist"),null==self.scs_el)try{self.scs_el=document.createElement("script"),self.scs_el.src=e,self.scs_el.id="FWDRLU3DCIFRAMELOAD",document.documentElement.appendChild(self.scs_el)}catch(e){}self.JSONPRequestTimeoutId_to=setTimeout(function(){var e="Error loading Youtube playlist: "+self.originalYoutubeURL_str+".";self.main_do.addChild(self.info_do),self.info_do.showText(e),self.isAnim_bl=!1},5e3)},this.loadFacebookPlaylist=function(){if("file:"==document.location.protocol){self.isPlaylistDispatchingError_bl=!0;return self.main_do.addChild(self.info_do),self.info_do.showText("Please test online, is not possible to view Facebook albums local."),void setTimeout(function(){self.isAnim_bl=!1},850)}self.facebookShare?self.loadAccessFacebookAccessToken():(FWDRLU3DCFacebookShare.setPrototype(),self.facebookShare=new FWDRLU3DCFacebookShare(self.facebookAppId_str),self.facebookShare.addListener(FWDRLU3DCFacebookShare.API_READY,self.facebookAPIReadyHandler),self.facebookShare.addListener(FWDRLU3DCFacebookShare.API_ERROR,self.facebookAPIErrorHandler))},this.facebookAPIReadyHandler=function(e){self.loadAccessFacebookAccessToken()},this.facebookAPIErrorHandler=function(e){var t="Error loading file:"+self.originalFacebookURL_str+"";self.main_do.addChild(self.info_do),self.info_do.showText(t),self.isAnim_bl=!1},this.loadAccessFacebookAccessToken=function(){self.stopToLoadPlaylist(),self.sourceURL_str=self.data.mainFolderPath_str+"facebook_access_token.txt",self.xhr=new XMLHttpRequest,self.xhr.onreadystatechange=self.facebookTokenOnLoadoadHandler,self.xhr.onerror=self.facebookErrorHandler;try{self.xhr.open("get",self.sourceURL_str+"?rand="+parseInt(99999999*Math.random()),!0),self.xhr.send()}catch(e){e&&e.message&&e.message,self.facebookAPIErrorHandler()}},this.facebookTokenOnLoadoadHandler=function(e){var response;if(4==self.xhr.readyState)if(404==self.xhr.status){var error="Facebook token path is not found:"+self.originalFacebookURL_str+"";self.main_do.addChild(self.info_do),self.info_do.showText(error),self.isAnim_bl=!1}else if(408==self.xhr.status){var error="Loading facebook token";self.main_do.addChild(self.info_do),self.info_do.showText(error),self.isAnim_bl=!1}else 200==self.xhr.status&&(response=window.JSON?JSON.parse(self.xhr.responseText):eval("("+self.xhr.responseText+")"),self.accessToken_str=response.access_token,self.loadFacebookPlaylistWhenReady())},this.facebookErrorHandler=function(e){var t="Error loading file:"+self.originalFacebookURL_str+"";self.main_do.addChild(self.info_do),self.info_do.showText(t),self.isAnim_bl=!1},this.loadFacebookPlaylistWhenReady=function(){FB.api("/"+self.facebookUrl_str+"?access_token="+self.accessToken_str,"GET",{fields:"photos.limit(100){images,created_time,name}"},function(e){e&&FWDRLU3DC.parsePlaylist(e,self.id,self.propsObjVariableName_str)})},FWDRLU3DC.parsePlaylist=function(e,t,s){var o;if(self.stopToLoadPlaylist(),self.playlistDomOrObj_str=e,self.playlist_ar=[],self.isFacebook_bl){o=self.playlistDomOrObj_str.photos.data,self.isPlaylistDispatchingError_bl=!1,self.totalItems=o.length;for(var i=document.createElement("div"),n=0;n"+l.name+"",-1==r.url.indexOf("RL_HTML")?(r.description&&(i.innerHTML=r.description),r.description&&(i.innerHTML=r.description,r.descriptionText=i.innerText)):(i.innerHTML=l.html,r.html=i.innerHTML),self.parsePlaylistObject(r,n,!0)}i=null,self.playlistDomOrObj_str=self.originalFacebookURL_str,self.resizeHandler()}else if(self.isYoutube_bl){if(e.error){var a="Error loading Youtube playlist:"+self.originalYoutubeURL_str+".";return self.main_do.addChild(self.info_do),self.info_do.showText(a),void(self.isAnim_bl=!1)}e&&(o=e);for(n=0;n"+l.snippet.title+"",-1==r.url.indexOf("RL_HTML")?(r.description&&(i.innerHTML=r.description),r.description&&(i.innerHTML=r.description,r.descriptionText=i.innerText)):(i.innerHTML=l.html,r.html=i.innerHTML),self.parsePlaylistObject(r,n,!0)}i=null,self.playlistDomOrObj_str=self.originalYoutubeURL_str,self.resizeHandler()}else if(self.isFlickr_bl){if("fail"==e.stat){a="Flickr playlist with the id can't be loaded: "+self.flickrUrl_str+".";return self.main_do.addChild(self.info_do),self.info_do.showText(a),void(self.isAnim_bl=!1)}e&&(o=e.photoset.photo),self.isPlaylistDispatchingError_bl=!1,self.totalItems=o.length;for(i=document.createElement("div"),n=0;n",-1==r.url.indexOf("RL_HTML")?(r.description&&(i.innerHTML=r.description),r.description&&(i.innerHTML=r.description,r.descriptionText=i.innerText)):(i.innerHTML=l.html,r.html=i.innerHTML),r.height=self.data.audioControllerHeight+2*self.itemBorderSize,self.parsePlaylistObject(r,n,!0)}i=null,self.playlistDomOrObj_str=self.originalFlickrURL_str,self.resizeHandler()}else if(self.isSoundCloud_bl){if(e.tracks)o=e.tracks;else{if(!e.length){a="Please provide a playlist or tracks URL:"+self.soundCloundUrl_str+".";return self.main_do.addChild(self.info_do),self.info_do.showText(a),void(self.isAnim_bl=!1)}o=e}self.isPlaylistDispatchingError_bl=!1,self.totalItems=o.length;for(i=document.createElement("div"),n=0;n",-1==r.url.indexOf("RL_HTML")?(r.description&&(i.innerHTML=r.description),r.description&&(i.innerHTML=r.description,r.descriptionText=i.innerText)):(i.innerHTML=l.html,r.html=i.innerHTML),r.height=self.data.audioControllerHeight+2*self.itemBorderSize,self.parsePlaylistObject(r,n,!0)}i=null,self.playlistDomOrObj_str=self.soundCloundUrl_str,self.resizeHandler()}else if(-1!=e.indexOf("rlobj_")){if(!(o=window[e]))return void alert('Revolution lightbox error! The playlist JSON object with the label "'+e+"\" doesn't exist!");self.totalItems=o.playlistItems.length;for(i=document.createElement("div"),n=0;nself.totalItems-1&&(self.id=self.totalItems-1),self.prevId=self.id,self.useDeepLinking_bl&&(location.hash=s?"RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id+"&rl_propsobj="+s:"RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id),(self.isSoundCloud_bl||self.isFacebook_bl||self.isYoutube_bl||self.isFlickr_bl)&&self.showComplete()},self.showComplete=function(){self.useAsModal_bl?self.removeCloseEventsWhenBkIsPressed():self.addCloseEventsWhenBkIsPressed(),self.isReady_bl&&-1!=self.id&&!self.curItem_do&&self.playlist_ar&&!self.isPlaylistDispatchingError_bl&&(self.positionPreloader(),self.preloader_do.show(!0),self.showCloseButton_bl?self.showCloseButton():self.hideCloseButton(),self.playlist_ar[self.id].type_str==FWDRLU3DC.IMAGE_TYPE&&self.defaultShowZoomButton_bl?self.showZoomButton():self.hideZoomButton(),self.playlist_ar[self.id].description&&self.defaultHideDescriptionButtons_bl?(self.hasItemDescription_bl=!0,self.showDescriptionButton()):(self.hasItemDescription_bl=!1,self.hideDescriptionButton()),self.showSlideShowButton_bl?self.showSlideshowButton():self.hideSlideshowButton(),self.showShareButton_bl?self.showShareButton():self.hideFacebookButton(),self.showNextAndPrevButtons_bl?self.showNextAndPrevButtons():self.hideNextAndPrevButtons(),self.showThumbnailsHideOrShowButton_bl&&self.showThumbnails_bl?(self.showHsThumbnailButton(),self.showThumbnailsByDefault_bl?self.hsThumbanilsButton_do.setButtonState(1):self.hsThumbanilsButton_do.setButtonState(0)):self.hideHsThumbnailButton(),self.showDescription_bl?self.descButton_do.setButtonState(0):self.descButton_do.setButtonState(1),self.hideButtons(),self.createAndShowItem(),self.isMobile_bl&&self.addSwipeSupport(),self.startAnim(801))},self.hide=function(){self.isAnim_bl||!self.isShowed_bl||self.isAnimMaximizeOrMinimize_bl||self.isMaximized_bl||self.swipeMoved_bl||!self.areButtonsShowed_bl||(self.isSoundCloud_bl=!1,self.isFacebook_bl=!1,self.isYoutube_bl=!1,self.isFlickr_bl=!1,self.stopToLoadPlaylist(),self.isMobile_bl&&self.closeButton_do&&FWDAnimation.isTweening(self.closeButton_do.buttonsHolder_do)||(FWDAnimation.to(self.bk_do,.8,{alpha:0,delay:.4,ease:Quint.easeOut}),self.curItem_do&&self.curItem_do.screen&&(FWDAnimation.to(self.curItem_do,.6,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.curItem_do,.8,{x:0,y:0,w:0,h:0,delay:.1,ease:Expo.easeInOut})),FWDAnimation.to(self.mainItemHolder_do,.8,{x:self.stageWidth/2,y:self.stageHeight/2,w:0,h:0,delay:.1,ease:Expo.easeInOut}),FWDAnimation.to(self.itemBorder_do,.8,{w:0,h:0,alpha:0,delay:.1,ease:Expo.easeInOut}),FWDAnimation.to(self.itemBk_do,.8,{x:0,y:0,w:0,h:0,delay:.1,ease:Expo.easeInOut}),self.curItem_do&&self.hideButtons(!0),self.isShowed_bl=!1,self.isFirstItemShowed_bl=!1,self.id,self.curItem_do=null,self.prevItem_do=null,self.isAnimForVideoAndAudioPlayersDone_bl=!1,self.stopResizeHandler(),self.closeAjax(),self.tm.stop(),self.thumbnailsManager_do&&self.thumbnailsManager_do.hide(!0),self.main_do.contains(self.info_do)&&self.main_do.removeChild(self.info_do),self.closeImage(),self.useAsModal_bl||self.removeCloseEventsWhenBkIsPressed(),self.hider.stop(),self.preloader_do.hide(!0),self.hideShareButtons(!0,!0),self.videoHolder_do&&(self.video_do.stop(),self.video_do.setPosterSource(""),self.videoHolder_do.setX(-5e3),self.videoHolder_do.w=1,self.videoHolder_do.h=1),self.audioHolder_do&&(self.audio_do.stop(),self.audioHolder_do.setX(-5e3),self.audioHolder_do.w=1,self.audioHolder_do.h=1),self.desc_do.descriptionAnimationType_str="opacity",FWDRLU3DC.dispatchEvent(FWDRLU3DC.HIDE_START),self.hasItemDescription_bl&&self.showDescription_bl&&self.desc_do.hide(!0),clearTimeout(self.showOrHideCompleteId_to),self.showOrHideCompleteId_to=setTimeout(self.hideComplete,1200),self.isMobile_bl&&self.removeSwipeSupport(),self.startAnim(1202)))},self.hideComplete=function(){self.useDeepLinking_bl&&(location.hash="RL"),self.removePreventMouseWheel(),self.isFirstItemShowed_bl=!1,self.firstVideoOrAudioAdded_bl=!1,self.curItem_do=null,self.prevItem_do=null,self.removeItems(0),self.thumbnailsManager_do&&(self.thumbnailsManager_do.destoryThumbnails(),self.thumbnailsManager_do.hideForGood()),self.video_do&&RLVideoPlayer&&RLVideoPlayer.setPosterSource(""),self.isMobile_bl&&self.removeSwipeSupport(),self.main_do.setX(-5e3),FWDRLU3DC.dispatchEvent(FWDRLU3DC.HIDE_COMPLETE)},self.startAnim=function(e){self.stopAnim(),self.isAnim_bl=!0,self.animId_to=setTimeout(self.animationDone,e)},self.stopAnim=function(){self.isAnim_bl=!1,self.tm&&self.tm.pause(),clearTimeout(self.animId_to)},self.animationDone=function(){self.isAnim_bl=!1,self.tm.resume(),self.removeItems(1),self.curItem_do&&self.dlChangeHandler(),self.hasItemDescription_bl&&self.showDescription_bl&&self.desc_do.show(!0)},self.addCloseEventsWhenBkIsPressed=function(){self.isMobile_bl?self.hasPointerEvent_bl?self.bk_do.screen.addEventListener("pointerup",self.onBkMouseUp):(self.bk_do.screen.addEventListener("touchend",self.onBkMouseUp),self.bk_do.screen.addEventListener("touchmove",self.onBkTouchMove)):self.bk_do.screen.addEventListener?self.bk_do.screen.addEventListener("click",self.onBkMouseUp):self.bk_do.screen.attachEvent&&self.bk_do.screen.attachEvent("onclick",self.onBkMouseUp)},self.removeCloseEventsWhenBkIsPressed=function(){self.isMobile_bl?self.hasPointerEvent_bl?self.bk_do.screen.removeEventListener("pointerup",self.onBkMouseUp):(self.bk_do.screen.removeEventListener("touchend",self.onBkMouseUp),self.bk_do.screen.removeEventListener("touchmove",self.onBkTouchMove)):self.bk_do.screen.removeEventListener?self.bk_do.screen.removeEventListener("click",self.onBkMouseUp):self.bk_do.screen.detachEvent&&self.bk_do.screen.detachEvent("onclick",self.onBkMouseUp)},self.onBkTouchMove=function(){clearTimeout(self.doNotAllowToHideId_to),self.doNotAllowToHideId_to=setTimeout(function(){self.doNotAllowToHide_bl=!1},100),self.doNotAllowToHide_bl=!0},self.onBkMouseUp=function(){self.doNotAllowToHide_bl||self.hide()},this.stopToLoadPlaylist=function(){clearTimeout(self.JSONPRequestTimeoutId_to);try{self.scs_el.src=null,document.documentElement.removeChild(self.scs_el),self.scs_el=null}catch(e){}if(null!=self.xhr){try{self.xhr.abort()}catch(e){}self.xhr.onreadystatechange=null,self.xhr.onerror=null,self.xhr=null}},self.createAndShowItem=function(){var e=self.playlist_ar[self.id];if(self.type_str=e.type_str,self.url=e.url,self.posterPath_str=e.posterPath,self.closeAjax(),self.tm.pause(),self.closeImage(),self.preloader_do.hide(!0),self.main_do.contains(self.info_do)&&self.main_do.removeChild(self.info_do),self.thumbnailsManager_do&&self.thumbnailsManager_do.disableOrEnableThumbnails(),self.prevItem_do&&self.prevItem_do.type_str!=FWDRLU3DC.IMAGE_TYPE&&(self.removeItems(0),self.prevItem_do=null),self.playlist_ar[self.id].description?(self.hasItemDescription_bl=!0,self.showDescriptionButton()):(self.hasItemDescription_bl=!1,self.hideDescriptionButton(),self.desc_do.hide(!1,!1,!0)),self.videoHolder_do&&(self.video_do.stop(),self.type_str!=FWDRLU3DC.VIDEO_TYPE&&(self.videoHolder_do.setX(-5e3),self.videoHolder_do.w=1,self.videoHolder_do.h=1)),self.audioHolder_do&&(self.audio_do.stop(),self.type_str==FWDRLU3DC.AUDIO_TYPE&&self.isFirstItemShowed_bl||(self.audioHolder_do.setX(-5e3),self.audioHolder_do.w=1,self.audioHolder_do.h=1)),self.isAnimForVideoAndAudioPlayersDone_bl=!1,self.type_str==FWDRLU3DC.IMAGE_TYPE)self.loadImage(),self.firstVideoOrAudioAdded_bl=!0;else if(self.type_str==FWDRLU3DC.IFRAME_TYPE||self.type_str==FWDRLU3DC.FLASH_TYPE||self.type_str==FWDRLU3DC.VIDEO_TYPE||self.type_str==FWDRLU3DC.AUDIO_TYPE){if(self.originalW=e.width||self.defaultItemW,self.originalH=e.height||self.defaultItemH,self.prevItem_do&&(self.resizeCurrentItem(!0),FWDAnimation.to(self.prevItem_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.prevItem_do,.8,{x:parseInt((self.finalW-self.prevItem_do.w)/2),y:parseInt((self.finalH-self.prevItem_do.h)/2),ease:Expo.easeInOut})),self.curItem_do=new FWDRLU3DCDisplayObject("div"),self.curItem_do.type_str=self.type_str,self.prevItem_do=self.curItem_do,self.isMobile_bl&&(self.curItem_do.getStyle().overflow="scroll",self.curItem_do.getStyle().webkitOverflowScrolling="touch"),self.itemHolder_do.addChild(self.curItem_do),self.isFirstItemShowed_bl?self.resizeCurrentItem(!1,!0):(self.resizeCurrentItem(!1),self.showItemFirstTime(),self.positionButtons(!1),self.positionShareButtons(!1),self.hideButtons(),self.setupThumbnails(800)),self.hideZoomButton(),self.playlist_ar[self.id].description?(self.hasItemDescription_bl=!0,self.desc_do.setText(self.playlist_ar[self.id].description),self.showDescriptionButton()):(self.hasItemDescription_bl=!1,self.hideDescriptionButton()),"opacity"==self.descriptionAnimationType_str&&self.hasItemDescription_bl&&self.desc_do.hide(!1,!0,!1),self.positionButtons(!0),self.positionShareButtons(!0),self.type_str==FWDRLU3DC.VIDEO_TYPE){if(!self.data.DFUseVideo_bl)return self.main_do.addChild(self.info_do),void self.info_do.showText("To play video mp4 files please set useVideo:\"yes\".");if(!self.videoHolder_do&&FWDRLU3DCUtils.isLocal)return self.main_do.addChild(self.info_do),void self.info_do.showText("This browser can't play mp4 video files locally, please use a different browser like Chrome, IE9+, Firefox(WIN), Safari(MAC). It will work on all browsers when tested online.");self.videoHolder_do.w==self.finalW-2*self.itemBorderSize&&self.videoHolder_do.h==self.finalH-2*self.itemBorderSize?(setTimeout(self.addContent,200),self.startAnim(201),self.showSlideShowAnimation_bl&&self.slp_do.animReset()):(setTimeout(self.addContent,800),self.startAnim(801))}else if(self.type_str==FWDRLU3DC.AUDIO_TYPE){if(!self.data.DFUseAudio_bl)return self.main_do.addChild(self.info_do),void self.info_do.showText("To play audio mp3 files please set useAudio:\"yes\".");if(!self.audioHolder_do&&FWDRLU3DCUtils.isLocal)return self.main_do.addChild(self.info_do),void self.info_do.showText("This browser can't play mp3 audio files locally, please use a different browser like Chrome, IE9+, Firefox(WIN), Safari(MAC). It will work on all browsers when tested online.");self.audioHolder_do.w==self.finalW-2*self.itemBorderSize&&self.audioHolder_do.h==self.finalH-2*self.itemBorderSize?(setTimeout(self.addContent,200),self.startAnim(201),self.showSlideShowAnimation_bl&&self.slp_do.animReset()):(setTimeout(self.addContent,800),self.startAnim(801))}else if(self.type_str==FWDRLU3DC.IFRAME_TYPE)setTimeout(self.addContent,800),self.startAnim(801);else if(self.type_str==FWDRLU3DC.FLASH_TYPE){if(!FWDRLU3DCFlashTest.hasFlashPlayerVersion("9.0.18")&&!self.isMobile_bl)return self.main_do.addChild(self.info_do),self.info_do.showText("Please install Adobe flash player! Click here to install. to view this flash content."),void self.startAnim(801);if(self.isMobile_bl)return self.main_do.addChild(self.info_do),self.info_do.showText("Adobe flash player is not supported on mobile devices, to view this content please use a desktop machine."),void self.startAnim(801);setTimeout(self.addContent,800),self.startAnim(801)}self.videoHolder_do&&(self.videoHolder_do.w==self.finalW-2*self.itemBorderSize&&self.videoHolder_do.h==self.finalH-2*self.itemBorderSize||(self.videoHolder_do.setX(-5e3),self.videoHolder_do.w=1,self.videoHolder_do.h=1))}FWDRLU3DC.dispatchEvent(FWDRLU3DC.UPDATE,{curId:self.id})},self.addContent=function(){if(self.type_str==FWDRLU3DC.VIDEO_TYPE)return self.isAnimForVideoAndAudioPlayersDone_bl=!0,RLVideoPlayer.setVideoSource(self.url),RLVideoPlayer.setPosterSource(self.posterPath_str),self.videoAutoPlay_bl&&!self.firstVideoOrAudioAdded_bl?RLVideoPlayer.play():self.nextVideoOrAudioAutoPlay_bl&&self.firstVideoOrAudioAdded_bl&&RLVideoPlayer.play(),self.resizeCurrentItem(),self.prevVideoW=self.finalW,self.prevVideoH=self.finalH,self.firstVideoOrAudioAdded_bl=!0,self.videoAutoPlay_bl=!1,void(self.audioAutoPlay_bl=!1);if(self.type_str==FWDRLU3DC.AUDIO_TYPE)return self.isAnimForVideoAndAudioPlayersDone_bl=!0,RLAudioPlayer.setSource(self.url),self.audioAutoPlay_bl&&!self.firstVideoOrAudioAdded_bl?RLAudioPlayer.play():self.nextVideoOrAudioAutoPlay_bl&&self.firstVideoOrAudioAdded_bl&&RLAudioPlayer.play(),self.resizeCurrentItem(),self.firstVideoOrAudioAdded_bl=!0,self.audioAutoPlay_bl=!1,void(self.videoAutoPlay_bl=!1);if(self.type_str==FWDRLU3DC.FLASH_TYPE){var e='';return self.curItem_do.setInnerHTML(e),void self.resizeCurrentItem()}if(-1!=self.url.indexOf("RL_HTML"))return self.addInnerHTMLContent(self.playlist_ar[self.id].html),void self.resizeCurrentItem();if(-1==self.url.indexOf("RL_AJAX:")){var t,s="http://";-1!=self.url.indexOf("https")&&(s="https://"),self.nextVideoOrAudioAutoPlay_bl&&self.firstVideoOrAudioAdded_bl&&(self.videoAutoPlay_bl=!0);var o,i=self.videoAutoPlay_bl?"1":"0";self.firstVideoOrAudioAdded_bl=!0,(t=document.createElement("iframe")).width="100%",t.height="100%",t.allowFullScreen=1,t.setAttribute("allowFullScreen",""),t.frameBorder=0,-1!=self.url.indexOf("youtube.")||-1!=self.url.indexOf("vimeo.")?(-1!=self.url.indexOf("youtube.")?(o=self.url.replace(/.*\?v=|&.*/gi,""),t.src=s+"www.youtube.com/embed/"+o+"?wmode=transparent&autoplay="+i):-1!=self.url.indexOf("vimeo.")&&(o=self.url.replace(/.*\/|\?.*/gi,""),t.src=s+"player.vimeo.com/video/"+o+"?autoplay="+i),self.videoAutoPlay_bl=!1):(-1!=self.url.indexOf("google.")&&(self.url=self.url.replace(/&key=\.*|key=\.*|&key=*/gi,""),self.url+="&key="+self.googleMapsAPIKey_str),t.src=self.url),self.curItem_do.screen.appendChild(t),self.resizeCurrentItem()}else{if(FWDRLU3DCUtils.isLocal)return void self.ajaxLoadError("Using ajax locally is not possible or allowed, please test online.");self.url=self.url.substr(self.url.indexOf(":")+1),self.xmlhttp=new XMLHttpRequest,self.xmlhttp.onerror=function(){self.ajaxLoadError("Ajax error with code: "+self.xmlhttp.status)},self.xmlhttp.onreadystatechange=function(){4===self.xmlhttp.readyState&&(200==self.xmlhttp.status?self.addInnerHTMLContent(self.xmlhttp.responseText):self.ajaxLoadError("Ajax error with code: "+self.xmlhttp.status))},self.xmlhttp.open("GET",self.url,!0);try{self.xmlhttp.send()}catch(e){e.message&&self.ajaxLoadError(e.message)}}},self.addInnerHTMLContent=function(e){self.curItem_do.getStyle().overflow="auto",self.curItem_do.setInnerHTML(e),self.curItem_do.screen.addEventListener&&(self.curItem_do.screen.addEventListener("mousewheel",function(e){e.stopImmediatePropagation&&e.stopImmediatePropagation()}),self.curItem_do.screen.addEventListener("DOMMouseScroll",function(e){e.stopImmediatePropagation&&e.stopImmediatePropagation()}),self.curItem_do.screen.addEventListener("touchmove",function(e){self.curItem_do.screen.scrollHeight>self.finalH-2*self.itemBorderSize&&e.stopImmediatePropagation()}))},self.ajaxLoadError=function(e){self.tm.stop(),self.stopAnim(),self.preloader_do.hide(!0),self.main_do.addChild(self.info_do),self.info_do.showText(e)},self.closeAjax=function(){self.xmlhttp&&(self.xmlhttp.onerror=null,self.xmlhttp.onreadystatechange=null,self.xmlhttp.abort(),self.xmlhttp=null)},self.closeImage=function(){self.image_img&&(self.image_img.onload=null,self.image_img.onerror=null,self.image_img=null)},self.loadImage=function(){self.isLoading_bl=!0,self.stopAnim(),self.positionPreloader(),self.preloader_do.show(!0),self.image_img=new Image,self.image_img.onload=self.imageLoadComplete,self.image_img.onerror=self.imageLoadError,self.image_img.src=self.url},self.imageLoadComplete=function(e){self.originalW=self.image_img.width,self.originalH=self.image_img.height,self.curItem_do=new FWDRLU3DCDisplayObject("img"),self.curItem_do.setScreen(self.image_img),self.curItem_do.type_str=FWDRLU3DC.IMAGE_TYPE,self.isFirstItemShowed_bl?(self.resizeCurrentItem(!0,!1),self.prevItem_do&&self.prevItem_do.type_str==FWDRLU3DC.IMAGE_TYPE&&(FWDAnimation.to(self.prevItem_do,.8,{alpha:0,ease:Quint.easeOut}),FWDAnimation.to(self.prevItem_do,.8,{x:parseInt((self.finalW-self.prevItem_do.w)/2),y:parseInt((self.finalH-self.prevItem_do.h)/2),ease:Expo.easeInOut})),self.curItem_do.setWidth(self.finalW-2*self.itemBorderSize),self.curItem_do.setHeight(self.finalH-2*self.itemBorderSize),self.curItem_do.setAlpha(0),self.resizeCurrentItem(!1,!0),FWDAnimation.to(self.curItem_do,.8,{alpha:1,delay:.8,ease:Quint.easeOut})):(self.resizeCurrentItem(!1),self.showItemFirstTime(),self.positionButtons(!1),self.positionShareButtons(!1),self.hideButtons(),self.setupThumbnails(800)),self.startAnim(801),self.isLoading_bl=!1,self.prevItem_do=self.curItem_do,self.preloader_do.hide(!0),self.showZoomButton(),self.hasItemDescription_bl&&("opacity"==self.descriptionAnimationType_str&&self.hasItemDescription_bl&&self.desc_do.hide(!1,!0,!1),self.showDescriptionButton(),self.desc_do.setText(self.playlist_ar[self.id].description)),self.positionButtons(!0),self.positionShareButtons(!0),self.itemHolder_do.addChild(self.curItem_do)},self.imageLoadError=function(e){self.tm.stop(),self.stopAnim(),self.preloader_do.hide(!0),self.main_do.addChild(self.info_do),self.info_do.showText("Image with path "+decodeURIComponent(self.url)+" can't be loaded, probably the path is incorrect.")},this.maximizeOrMinimize=function(){var e,t,s,o,i,n,r;self.isLoading_bl||self.isAnim_bl||(self.isAnimMaximizeOrMinimize_bl=!0,clearTimeout(self.maximizeCompleteTimeOutId_to),clearTimeout(self.minimizeCompleteTimeOutId_to),self.isMaximized_bl?(self.isMaximized_bl=!1,self.zoomButton_do.setButtonState(1),self.isMobile_bl?self.removeEventsForScrollngImageOnMobile():self.removeEventsForScrollngImageOnDesktop(),FWDAnimation.to(self.curItem_do,.8,{x:self.finalX+self.itemBorderSize,y:self.finalY+self.itemBorderSize,w:self.finalW-2*self.itemBorderSize,h:self.finalH-2*self.itemBorderSize,ease:Expo.easeInOut}),self.setButtonsVisible(!0),self.positionButtons(!0),self.positionShareButtons(!0),self.minimizeCompleteTimeOutId_to=setTimeout(self.minimizeCompleteHandler,801)):(self.isMaximized_bl=!0,self.zoomButton_do.setButtonState(0),self.tm.pause(),e=self.stageWidth/self.originalW,r=0,(t=self.stageHeight/self.originalH)<=e?r=e:e<=t&&(r=t),i=parseInt(self.originalW*r),n=parseInt(self.originalH*r),s=parseInt((self.stageWidth-i)/2),o=parseInt((self.stageHeight-n)/2),1!=self.curItem_do.alpha&&self.curItem_do.setAlpha(1),self.curItem_do.setX(self.curItem_do.getGlobalX()),self.curItem_do.setY(self.curItem_do.getGlobalY()),FWDAnimation.to(self.zoomButton_do,.8,{x:self.stageWidth-self.zoomButton_do.w-1,y:1,ease:Expo.easeInOut}),self.isMobile_bl?FWDAnimation.to(self.curItem_do,.8,{x:s,y:o,w:i,h:n,ease:Expo.easeInOut}):(t<=e?FWDAnimation.to(self.curItem_do,.8,{x:s,w:i,h:n,ease:Expo.easeInOut}):eself.totalItems-1&&(self.id=0),self.useDeepLinking_bl?self.propsObjVariableName_str?FWDAddress.setValue("RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id+"&rl_propsobj="+self.propsObjVariableName_str):FWDAddress.setValue("RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id):self.createAndShowItem(),self.hideShareButtons(!0))},self.gotoPrevItem=function(){self.isReady_bl&&self.isFirstItemShowed_bl&&!self.isAnim_bl&&(self.isMobile_bl||self.disableClick(),self.id--,self.id<0?self.id=self.totalItems-1:self.id>self.totalItems-1&&(self.id=0),self.useDeepLinking_bl?self.propsObjVariableName_str?FWDAddress.setValue("RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id+"&rl_propsobj="+self.propsObjVariableName_str):FWDAddress.setValue("RL?rl_playlist="+self.playlistDomOrObj_str+"&rl_id="+self.id):self.createAndShowItem(),self.hideShareButtons(!0))},self.removeItems=function(e){for(var t;self.itemHolder_do.getNumChildren()>e;)t=self.itemHolder_do.getChildAt(0),FWDAnimation.killTweensOf(t),self.itemHolder_do.removeChild(t),t.destroy();t=null},self.addSwipeSupport=function(){self.hasPointerEvent_bl?self.main_do.screen.addEventListener("pointerdown",self.swipeStartHandler):self.main_do.screen.addEventListener("touchstart",self.swipeStartHandler)},self.removeSwipeSupport=function(){self.hasPointerEvent_bl?(window.removeEventListener("pointerdown",self.swipeStartHandler),window.removeEventListener("pointerup",self.swipeUpHandler),window.removeEventListener("pointermove",self.swipeMoveHandler)):(window.removeEventListener("touchstart",self.swipeStartHandler),window.removeEventListener("touchend",self.swipeUpHandler),window.removeEventListener("touchmove",self.swipeMoveHandler)),self.swipeMoved_bl=!1},this.swipeStartHandler=function(e){if(!e.touches||1==e.touches.length){var t=FWDRLU3DCUtils.getViewportMouseCoordinates(e);self.swipeMoved_bl=!1,self.mouseX=t.screenX,self.mouseY=t.screenY,self.hasPointerEvent_bl?(window.addEventListener("pointerup",self.swipeUpHandler),window.addEventListener("pointermove",self.swipeMoveHandler)):(window.addEventListener("touchend",self.swipeUpHandler),window.addEventListener("touchmove",self.swipeMoveHandler))}},self.swipeMoveHandler=function(e){if(e.preventDefault&&e.preventDefault(),!(self.isClickedDisabled_bl||e.touches&&1!=e.touches.length)){self.swipeMoved_bl=!0;var t=FWDRLU3DCUtils.getViewportMouseCoordinates(e);self.dif=self.mouseX-t.screenX,self.mouseX=t.screenX,self.mouseY=t.screenY}},self.swipeUpHandler=function(e){var t;self.isAnim_bl||self.isAnimMaximizeOrMinimize_bl||self.isMaximized_bl||(t=FWDRLU3DCUtils.isApple?20:4,self.dif>t?self.isClickedDisabled_bl||self.gotoNextItem():self.dif<-t&&(self.isClickedDisabled_bl||self.gotoPrevItem()),self.dif=0,self.hasPointerEvent_bl?(window.removeEventListener("pointerup",self.swipeUpHandler),window.removeEventListener("pointermove",self.swipeMoveHandler)):(window.removeEventListener("touchend",self.swipeUpHandler),window.removeEventListener("touchmove",self.swipeMoveHandler)))},self.addKeyboardSupport=function(){self.hasKeyboardSupport_bl||(self.hasKeyboardSupport_bl=!0,document.addEventListener?(document.addEventListener("keydown",self.onKeyDownHandler),document.addEventListener("keyup",self.onKeyUpHandler)):(document.attachEvent("onkeydown",self.onKeyDownHandler),document.attachEvent("onkeyup",self.onKeyUpHandler)))},self.removeKeyboardSupport=function(){self.hasKeyboardSupport_bl&&(self.hasKeyboardSupport_bl=!1,document.removeEventListener?(document.removeEventListener("keydown",self.onKeyDownHandler),document.removeEventListener("keyup",self.onKeyUpHandler)):(document.detachEvent("onkeydown",self.onKeyDownHandler),document.detachEvent("onkeyup",self.onKeyUpHandler)))},self.onKeyDownHandler=function(e){return document.removeEventListener?document.removeEventListener("keydown",self.onKeyDownHandler):document.detachEvent("onkeydown",self.onKeyDownHandler),39==e.keyCode?(self.gotoNextItem(),e.preventDefault&&e.preventDefault(),!1):37==e.keyCode?(self.gotoPrevItem(),e.preventDefault&&e.preventDefault(),!1):void 0},this.onKeyUpHandler=function(e){document.addEventListener?document.addEventListener("keydown",self.onKeyDownHandler):document.attachEvent("onkeydown",self.onKeyDownHandler)},self.setDefaultSettings=function(){self.buttonsAlignment_str=self.DFButtonsAlignment_str,self.defaultItemW=self.DFDefaultItemW,self.defaultItemH=self.DFDefaultItemH,self.descriptionWindowPosition_str=self.DFDescriptionWindowPosition_str,self.desc_do&&(self.desc_do.position_str=self.descriptionWindowPosition_str),self.descriptionAnimationType_str=self.DFDescriptionAnimationType_str,self.desc_do&&(self.desc_do.descriptionAnimationType_str=self.descriptionAnimationType_str),self.backgroundColor_str=self.DFBackgroundColor_str,self.bk_do.getStyle().backgroundColor=self.backgroundColor_str,self.itemBorderColor1_str=self.DFitemBorderColor1_str,self.itemBorderColor2_str=self.DFitemBorderColor2_str,self.itemBorder_do&&self.itemBorder_do.setCSSGradient(self.DFitemBorderColor1_str,self.DFitemBorderColor2_str),self.spaceBetweenButtons=self.DFSpaceBetweenButtons,self.buttonsHideDelay=self.DFbuttonsHideDelay,self.hider&&(self.hider.hideDelay=self.buttonsHideDelay),self.nextVideoOrAudioAutoPlay_bl=self.DFNextVideoOrAudioAutoPlay_bl,self.useAsModal_bl=self.DFUseAsModal_bl,self.slideShowAutoPlay_bl=self.DFSlideShowAutoPlay_bl,self.videoAutoPlay_bl=self.DFVideoAutoPlay_bl,self.audioAutoPlay_bl=self.DFAudioAutoPlay_bl,self.addKeyboardSupport_bl=self.DFSddKeyboardSupport_bl,self.showCloseButton_bl=self.DFShowCloseButton_bl,self.showShareButton_bl=self.DFShowFacebookButton_bl,self.defaultShowZoomButton_bl=self.DFShowZoomButton,self.showSlideShowButton_bl=self.DFShowSlideShowButton_bl,self.defaultShowSlideShowAnimation_bl=self.DFSefaultShowSlideShowAnimation_bl,self.defaultShowNextAndPrevButtons_bl=self.DFSefaultShowNextAndPrevButtons_bl,self.slideShowDelay=self.DFSlideShowDelay,self.tm&&(self.tm.delay=self.slideShowDelay),self.slp_do&&(self.slp_do.duration=self.slideShowDelay/1e3),self.itemOffsetH=self.DFItemOffsetH,self.buttonsOffsetIn=self.DFButtonsOffsetIn,self.buttonsOffsetOut=self.DFButtonsOffsetOut,self.itemBorderSize=self.DFItemBorderSize,self.desc_do&&(self.desc_do.margins=self.itemBorderSize),self.itemBorderRadius=self.DFItemBorderRadius,self.itemBorderRadius?self.mainItemHolder_do.getStyle().borderRadius=self.itemBorderRadius+"px":self.mainItemHolder_do.getStyle().borderRadius="",self.backgroundOpacity=self.DFBackgroundOpacity,self.itemBoxShadow_str=self.DFItemBoxShadow_str,"none"==self.itemBoxShadow_str?self.mainItemHolder_do.getStyle().boxShadow="none":self.mainItemHolder_do.getStyle().boxShadow=self.itemBoxShadow_str,self.itemBkColor_str=self.DFItemBkColor_str,self.itemBk_do.getStyle().backgroundColor=self.itemBkColor_str,self.defaultShowThumbnails_bl=self.DFDefaultThumbnails_bl,self.defaultShowThumbnailsHideOrShowButton_bl=self.DFDefaultShowThumbnailsHideOrShowButton_bl,self.showThumbnailsByDefault_bl=self.DFShowThumbnailsByDefault_bl,self.showThumbnailsOverlay_bl=self.DFShowThumbnailsOverlay_bl,self.thumbnailsManager_do&&(self.thumbnailsManager_do.showThumbnailsOverlay_bl=self.showThumbnailsOverlay_bl),self.showThumbnailsSmallIcon_bl=self.DFShowThumbnailsSmallIcon_bl,self.thumbnailsManager_do&&(self.thumbnailsManager_do.showThumbnailsSmallIcon_bl=self.showThumbnailsSmallIcon_bl),self.thumbnailsOffsetBottom=self.DFThumbnailsOffsetBottom,self.thumbnailH=self.DFThumbnailH,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsOffsetBottom=self.thumbnailsOffsetBottom,self.thumbnailsManager_do.thumbnailH=self.thumbnailH-self.thumbnailsOffsetBottom,self.thumbnailsManager_do.stageHeight=self.thumbnailH),self.thumbnailsBorderSize=self.DFThumbnailsBorderSize,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderSize=self.thumbnailsBorderSize),self.thumbnailsBorderRadius=self.DFThumbnailsBorderRadius,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderRadius=self.thumbnailsBorderRadius),self.spaceBetweenThumbnailsAndItem=self.DFSpaceBetweenThumbnailsAndItem,self.spaceBetweenThumbnails=self.DFSpaceBetweenThumbnails,self.thumbnailsManager_do&&(self.thumbnailsManager_do.spaceBetweenThumbnails=self.spaceBetweenThumbnails),self.thumbnailsOverlayOpacity=self.DFThumbnailsOverlayOpacity,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsOverlayOpacity=self.thumbnailsOverlayOpacity),self.thumbnailsOverlayColor_str=self.DFThumbnailsOverlayColor_str,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsOverlayColor_str=self.thumbnailsOverlayColor_str),self.thumbnailsBorderNormalColor_str=self.DFThumbnailsBorderNormalColor,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderNormalColor_str=self.thumbnailsBorderNormalColor_str),self.thumbnailsBorderSelectedColor_str=self.DFThumbnailsBorderSelectedColor_str,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderSelectedColor_str=self.thumbnailsBorderNormalColor_str),self.defaultHideDescriptionButtons_bl=self.DFDefaultHideDescriptionButtons_bl,self.defaultShowDescriptionByDefault_bl=self.DFDefaultShowDescriptionByDefault_bl,self.showDescription_bl=self.defaultShowDescriptionByDefault_bl,self.descriptionWindowBackgroundColor_str=self.DFDescriptionWindowBackgroundColor,self.desc_do&&(self.desc_do.backgroundColor_str=self.descriptionWindowBackgroundColor_str,self.desc_do.bk_do.setBkColor(self.descriptionWindowBackgroundColor_str)),self.descriptionWindowBackgroundOpacity=self.DFDescriptionWindowBackgroundOpacity,self.desc_do&&(self.desc_do.backgroundOpacity=self.descriptionWindowBackgroundOpacity,self.desc_do.bk_do.setAlpha(self.desc_do.backgroundOpacity)),self.data.videoControllerBackgroundColor_str=self.DFVideoControllerBackgroundColor_str,self.data.videoPosterBackgroundColor_str=self.DFVideoPosterBackgroundColor_str,self.data.videoPosterBackgroundColor_str=self.DFVideoPosterBackgroundColor_str,self.video_do&&self.video_do.controller_do&&(self.video_do.controller_do.mainHolder_do.getStyle().backgroundColor=self.data.videoControllerBackgroundColor_str,self.video_do.videoPoster_do.getStyle().backgroundColor=self.data.videoPosterBackgroundColor_str),self.data.audioControllerBackgroundColor_str=self.DFAudioControllerBackgroundColor_str,self.audio_do&&self.audio_do.controller_do&&(self.audio_do.controller_do.getStyle().backgroundColor=self.data.audioControllerBackgroundColor_str)},self.setObjectPropsSettings=function(e){for(var t in e)switch(t){case"defaultItemWidth":self.defaultItemW=e.defaultItemWidth||640;break;case"defaultItemHeight":self.defaultItemH=e.defaultItemHeight||380;break;case"buttonsAlignment":self.buttonsAlignment_str=e.buttonsAlignment||"in","in"==self.buttonsAlignment_str||"out"==self.buttonsAlignment_str||(self.buttonsAlignment_str="in");break;case"descriptionWindowPosition":self.descriptionWindowPosition_str=e.descriptionWindowPosition||"top","top"==self.descriptionWindowPosition_str||"bottom"==self.descriptionWindowPosition_str||(self.descriptionWindowPosition_str="top"),self.desc_do&&(self.desc_do.position_str=self.descriptionWindowPosition_str);break;case"showDescriptionButton":self.defaultHideDescriptionButtons_bl=e.showDescriptionButton,self.defaultHideDescriptionButtons_bl="yes"==self.defaultHideDescriptionButtons_bl;break;case"showDescriptionByDefault":self.defaultShowDescriptionByDefault_bl=e.showDescriptionByDefault,self.defaultShowDescriptionByDefault_bl="yes"==self.defaultShowDescriptionByDefault_bl,self.showDescription_bl=self.defaultShowDescriptionByDefault_bl;break;case"descriptionWindowAnimationType":self.descriptionAnimationType_str=e.descriptionWindowAnimationType||"motion","motion"==self.descriptionAnimationType_str||"opacity"==self.descriptionAnimationType_str||(self.descriptionAnimationType_str="motion"),self.desc_do&&(self.desc_do.descriptionAnimationType_str=self.descriptionAnimationType_str);break;case"descriptionWindowBackgroundColor":self.descriptionWindowBackgroundColor_str=e.descriptionWindowBackgroundColor||"#FF0000",self.desc_do&&(self.desc_do.backgroundColor_str=self.descriptionWindowBackgroundColor_str,self.desc_do.bk_do.setBkColor(self.descriptionWindowBackgroundColor_str));break;case"descriptionWindowBackgroundOpacity":self.descriptionWindowBackgroundOpacity=e.descriptionWindowBackgroundOpacity||1,self.desc_do&&(self.desc_do.backgroundOpacity=self.descriptionWindowBackgroundOpacity,self.desc_do.bk_do.setAlpha(self.desc_do.backgroundOpacity));break;case"backgroundColor":self.backgroundColor_str=e.backgroundColor||"#000000",self.bk_do.getStyle().backgroundColor=self.backgroundColor_str;break;case"itemBorderColor":self.itemBorderColor1_str=e.itemBorderColor1||"transparent",self.itemBorderColor2_str=e.itemBorderColor2||"transparent",self.itemBorder_do&&self.itemBorder_do.setCSSGradient(self.itemBorderColor1,self.itemBorderColor2);break;case"spaceBetweenButtons":self.spaceBetweenButtons=e.spaceBetweenButtons||0;break;case"buttonsHideDelay":self.buttonsHideDelay=e.buttonsHideDelay||3,self.buttonsHideDelay*=1e3,self.hider&&(self.hider.hideDelay=self.buttonsHideDelay);break;case"useAsModal":self.useAsModal_bl=e.useAsModal,self.useAsModal_bl="yes"==self.useAsModal_bl;break;case"slideShowAutoPlay":self.slideShowAutoPlay_bl=e.slideShowAutoPlay,self.slideShowAutoPlay_bl="yes"==self.slideShowAutoPlay_bl;break;case"videoAutoPlay":self.videoAutoPlay_bl=e.videoAutoPlay,self.videoAutoPlay_bl="yes"==self.videoAutoPlay_bl,self.isMobile_bl&&(self.videoAutoPlay_bl=!1);break;case"nextVideoOrAudioAutoPlay":self.nextVideoOrAudioAutoPlay_bl=e.nextVideoOrAudioAutoPlay,self.nextVideoOrAudioAutoPlay_bl="yes"==self.nextVideoOrAudioAutoPlay_bl,self.isMobile_bl&&(self.nextVideoOrAudioAutoPlay_bl=!1);break;case"audioAutoPlay":self.audioAutoPlay_bl=e.audioAutoPlay,self.audioAutoPlay_bl="yes"==self.audioAutoPlay_bl,self.isMobile_bl&&(self.audioAutoPlay_bl=!1);break;case"addKeyboardSupport":self.addKeyboardSupport_bl=e.addKeyboardSupport,self.addKeyboardSupport_bl="yes"==self.addKeyboardSupport_bl;break;case"showCloseButton":self.showCloseButton_bl=e.showCloseButton,self.showCloseButton_bl="no"!=self.showCloseButton_bl;break;case"showShareButton":self.showShareButton_bl=e.showShareButton,self.showShareButton_bl="yes"==self.showShareButton_bl;break;case"showZoomButton":self.defaultShowZoomButton_bl=e.showZoomButton,self.defaultShowZoomButton_bl="no"!=self.defaultShowZoomButton_bl;break;case"showSlideShowButton":self.showSlideShowButton_bl=e.showSlideShowButton,self.showSlideShowButton_bl="yes"==self.showSlideShowButton_bl;break;case"showSlideShowAnimation":self.defaultShowSlideShowAnimation_bl=e.showSlideShowAnimation,self.defaultShowSlideShowAnimation_bl="yes"==self.defaultShowSlideShowAnimation_bl;break;case"showNextAndPrevButtons":self.defaultShowNextAndPrevButtons_bl=e.showNextAndPrevButtons,self.defaultShowNextAndPrevButtons_bl="no"!=self.defaultShowNextAndPrevButtons_bl,"no"==e.showNextAndPrevButtonsOnMobile&&self.isMobile_bl&&(self.defaultShowNextAndPrevButtons_bl=!1);break;case"slideShowDelay":self.slideShowDelay=1e3*parseInt(e.slideShowDelay),self.slideShowDelay<.001&&(self.slideShowDelay=1e3),self.tm&&(self.tm.delay=self.slideShowDelay),self.slp_do&&(self.slp_do.duration=self.slideShowDelay/1e3);break;case"itemOffsetHeight":self.itemOffsetH=e.itemOffsetHeight||0;break;case"buttonsOffsetIn":self.buttonsAlignment_str==FWDRLU3DC.BUTTONS_IN?this.buttonsOffsetIn=e.buttonsOffsetIn||0:this.buttonsOffsetIn=e.buttonsOffsetOut||0;break;case"buttonsOffsetOut":self.buttonsAlignment_str==FWDRLU3DC.BUTTONS_IN?self.buttonsOffsetOut=e.buttonsOffsetOut||0:self.buttonsOffsetOut=e.buttonsOffsetIn||0;break;case"itemBorderSize":self.itemBorderSize=e.itemBorderSize||0,self.desc_do&&(self.desc_do.margins=self.itemBorderSize);break;case"itemBorderRadius":self.itemBorderRadius=e.itemBorderRadius||0,self.itemBorderRadius?self.mainItemHolder_do.getStyle().borderRadius=self.itemBorderRadius+"px":self.mainItemHolder_do.getStyle().borderRadius="";break;case"backgroundOpacity":self.backgroundOpacity=e.backgroundOpacity||.8;break;case"itemBoxShadow":self.itemBoxShadow_str=e.itemBoxShadow||"none","none"==self.itemBoxShadow_str?self.mainItemHolder_do.getStyle().boxShadow="none":self.mainItemHolder_do.getStyle().boxShadow=self.itemBoxShadow_str;break;case"itemBackgroundColor":self.itemBkColor_str=e.itemBackgroundColor||"transparent",self.itemBk_do.getStyle().backgroundColor=self.itemBkColor_str;break;case"showThumbnails":self.defaultShowThumbnails_bl=e.showThumbnails,self.defaultShowThumbnails_bl="yes"==self.defaultShowThumbnails_bl;break;case"showThumbnailsHideOrShowButton":self.defaultShowThumbnailsHideOrShowButton_bl=e.showThumbnailsHideOrShowButton,self.defaultShowThumbnailsHideOrShowButton_bl="yes"==self.defaultShowThumbnailsHideOrShowButton_bl;break;case"showThumbnailsByDefault":self.showThumbnailsByDefault_bl=e.showThumbnailsByDefault,self.showThumbnailsByDefault_bl="yes"==self.showThumbnailsByDefault_bl;break;case"showThumbnailsOverlay":self.showThumbnailsOverlay_bl=e.showThumbnailsOverlay,self.showThumbnailsOverlay_bl="yes"==self.showThumbnailsOverlay_bl,self.thumbnailsManager_do&&(self.thumbnailsManager_do.showThumbnailsOverlay_bl=self.showThumbnailsOverlay_bl);break;case"showThumbnailsSmallIcon":self.showThumbnailsSmallIcon_bl=e.showThumbnailsSmallIcon,self.showThumbnailsSmallIcon_bl="yes"==self.showThumbnailsSmallIcon_bl,self.thumbnailsManager_do&&(self.thumbnailsManager_do.showThumbnailsSmallIcon_bl=self.showThumbnailsSmallIcon_bl);break;case"thumbnailsOffsetBottom":self.thumbnailsOffsetBottom=e.thumbnailsOffsetBottom||0,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsOffsetBottom=self.thumbnailsOffsetBottom);break;case"thumbnailsImageHeight":self.thumbnailH=e.thumbnailsImageHeight||50;break;case"thumbnailsBorderSize":self.thumbnailsBorderSize=e.thumbnailsBorderSize||0,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderSize=self.thumbnailsBorderSize);break;case"thumbnailsBorderRadius":self.thumbnailsBorderRadius=e.thumbnailsBorderRadius||0,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderRadius=self.thumbnailsBorderRadius);break;case"spaceBetweenThumbnailsAndItem":self.spaceBetweenThumbnailsAndItem=e.spaceBetweenThumbnailsAndItem||0;break;case"spaceBetweenThumbnails":self.spaceBetweenThumbnails=e.spaceBetweenThumbnails||0,self.thumbnailsManager_do&&(self.thumbnailsManager_do.spaceBetweenThumbnails=self.spaceBetweenThumbnails);break;case"thumbnailsOverlayOpacity":self.thumbnailsOverlayOpacity=e.thumbnailsOverlayOpacity||1,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsOverlayOpacity=self.thumbnailsOverlayOpacity);break;case"thumbnailsOverlayColor":self.thumbnailsOverlayColor_str=e.thumbnailsOverlayColor||"#FF0000",self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsOverlayColor_str=self.thumbnailsOverlayColor_str);break;case"thumbnailsBorderNormalColor":self.thumbnailsBorderNormalColor_str=e.thumbnailsBorderNormalColor||"#FF0000",self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderNormalColor_str=self.thumbnailsBorderNormalColor_str);break;case"thumbnailsBorderSelectedColor":self.thumbnailsBorderSelectedColor_str=e.thumbnailsBorderSelectedColor||"#FF0000",self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailsBorderSelectedColor_str=self.thumbnailsBorderNormalColor_str);break;case"videoControllerBackgroundColor":self.data.videoControllerBackgroundColor_str=e.videoControllerBackgroundColor||"transparent",self.video_do&&self.video_do.controller_do&&(self.video_do.controller_do.mainHolder_do.getStyle().backgroundColor=self.data.videoControllerBackgroundColor_str);break;case"videoPosterBackgroundColor":self.data.videoPosterBackgroundColor_str=e.videoPosterBackgroundColor||"transparent",self.video_do&&(self.video_do.videoPoster_do.getStyle().backgroundColor=self.data.videoPosterBackgroundColor_str);break;case"audioControllerBackgroundColor":self.data.audioControllerBackgroundColor_str=e.audioControllerBackgroundColor||"transparent",self.audio_do&&self.audio_do.controller_do&&(self.audio_do.controller_do.getStyle().backgroundColor=self.data.audioControllerBackgroundColor_str)}e.thumbnailsImageHeight&&(self.thumbnailH+=2*self.thumbnailsBorderSize+self.thumbnailsOffsetBottom,self.thumbnailsManager_do&&(self.thumbnailsManager_do.thumbnailH=self.thumbnailH-self.thumbnailsOffsetBottom,self.thumbnailsManager_do.stageHeight=self.thumbnailH))},FWDRLU3DC.addListener=function(e,t){if(self.listeners){if(null==e)throw Error("type_str is required.");if("object"==typeof e)throw Error("type_str must be of type_str String.");if("function"!=typeof t)throw Error("listener must be of type_str Function.");var s={};s.type_str=e,s.listener=t,(s.target=self).listeners.events_ar.push(s)}},FWDRLU3DC.dispatchEvent=function(e,t){if(null!=self.listeners){if(null==e)throw Error("type_str is required.");if("object"==typeof e)throw Error("type_str must be of type_str String.");for(var s=0,o=self.listeners.events_ar.length;sJavaScript error: "+e+" on line "+s+" for "+t;i.main_do.setInnerHTML(o),i.main_do.screen.scrollTop=i.main_do.screen.scrollHeight},this.log=function(e){var t=i.main_do.getInnerHTML()+"
"+e;i.main_do.setInnerHTML(t),i.main_do.getScreen().scrollTop=1e4},this.init()};t.setPrototype=function(){t.prototype=new FWDRLU3DCDisplayObject("div","absolute")},t.prototype=null,e.FWDRLU3DCConsole=t}(window),function(){var e=function(e,t){var r=this;this.parent=e,this.url="http://www.webdesign-flash.ro",this.menu_do=null,this.normalMenu_do=null,this.selectedMenu_do=null,this.over_do=null,this.isDisabled_bl=!1,this.init=function(){r.updateParent(r.parent)},this.updateParent=function(e){r.parent&&(r.parent.screen.addEventListener?r.parent.screen.removeEventListener("contextmenu",this.contextMenuHandler):r.parent.screen.detachEvent("oncontextmenu",this.contextMenuHandler)),r.parent=e,r.parent.screen.addEventListener?r.parent.screen.addEventListener("contextmenu",this.contextMenuHandler):r.parent.screen.attachEvent("oncontextmenu",this.contextMenuHandler)},this.contextMenuHandler=function(e){if(!r.isDisabled_bl){if("disabled"==t)return!!e.preventDefault&&void e.preventDefault();if("default"!=t&&-1!=r.url.indexOf("sh.r")){if(r.setupMenus(),r.parent.addChild(r.menu_do),r.menu_do.setVisible(!0),r.positionButtons(e),window.addEventListener?window.addEventListener("mousedown",r.contextMenuWindowOnMouseDownHandler):document.documentElement.attachEvent("onclick",r.contextMenuWindowOnMouseDownHandler),!e.preventDefault)return!1;e.preventDefault()}}},this.contextMenuWindowOnMouseDownHandler=function(e){var t=FWDRLU3DCUtils.getViewportMouseCoordinates(e),s=t.screenX,o=t.screenY;FWDRLU3DCUtils.hitTest(r.menu_do.screen,s,o)||(window.removeEventListener?window.removeEventListener("mousedown",r.contextMenuWindowOnMouseDownHandler):document.documentElement.detachEvent("onclick",r.contextMenuWindowOnMouseDownHandler),r.menu_do.setX(-500))},this.setupMenus=function(){this.menu_do||(this.menu_do=new FWDRLU3DCDisplayObject("div"),r.menu_do.setX(-500),this.menu_do.getStyle().width="100%",this.normalMenu_do=new FWDRLU3DCDisplayObject("div"),this.normalMenu_do.getStyle().fontFamily="Arial, Helvetica, sans-serif",this.normalMenu_do.getStyle().padding="4px",this.normalMenu_do.getStyle().fontSize="12px",this.normalMenu_do.getStyle().color="#000000",this.normalMenu_do.setInnerHTML("© made by FWD"),this.normalMenu_do.setBkColor("#FFFFFF"),this.selectedMenu_do=new FWDRLU3DCDisplayObject("div"),this.selectedMenu_do.getStyle().fontFamily="Arial, Helvetica, sans-serif",this.selectedMenu_do.getStyle().padding="4px",this.selectedMenu_do.getStyle().fontSize="12px",this.selectedMenu_do.getStyle().color="#FFFFFF",this.selectedMenu_do.setInnerHTML("© made by FWD"),this.selectedMenu_do.setBkColor("#000000"),this.selectedMenu_do.setAlpha(0),this.over_do=new FWDRLU3DCDisplayObject("div"),this.over_do.setBkColor("#FF0000"),this.over_do.setAlpha(0),this.menu_do.addChild(this.normalMenu_do),this.menu_do.addChild(this.selectedMenu_do),this.menu_do.addChild(this.over_do),this.parent.addChild(this.menu_do),this.over_do.setWidth(this.selectedMenu_do.getWidth()),this.menu_do.setWidth(this.selectedMenu_do.getWidth()),this.over_do.setHeight(this.selectedMenu_do.getHeight()),this.menu_do.setHeight(this.selectedMenu_do.getHeight()),this.menu_do.setVisible(!1),this.menu_do.setButtonMode(!0),this.menu_do.screen.onmouseover=this.mouseOverHandler,this.menu_do.screen.onmouseout=this.mouseOutHandler,this.menu_do.screen.onclick=this.onClickHandler)},this.mouseOverHandler=function(){-1==r.url.indexOf("w.we")&&(r.menu_do.visible=!1),FWDAnimation.to(r.normalMenu_do,.8,{alpha:0,ease:Expo.easeOut}),FWDAnimation.to(r.selectedMenu_do,.8,{alpha:1,ease:Expo.easeOut})},this.mouseOutHandler=function(){FWDAnimation.to(r.normalMenu_do,.8,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(r.selectedMenu_do,.8,{alpha:0,ease:Expo.easeOut})},this.onClickHandler=function(){window.open(r.url,"_blank")},this.positionButtons=function(e){var t=FWDRLU3DCUtils.getViewportMouseCoordinates(e),s=t.screenX-r.parent.getGlobalX(),o=t.screenY-r.parent.getGlobalY(),i=s+2,n=o+2;i>r.parent.getWidth()-r.menu_do.getWidth()-2&&(i=s-r.menu_do.getWidth()-2),n>r.parent.getHeight()-r.menu_do.getHeight()-2&&(n=o-r.menu_do.getHeight()-2),r.menu_do.setX(i),r.menu_do.setY(n)},this.disable=function(){r.isDisabled_bl=!0},this.enable=function(){r.isDisabled_bl=!1},this.destroy=function(){r.parent&&(r.parent.screen.removeEventListener?r.parent.screen.removeEventListener("contextmenu",this.contextMenuHandler):r.parent.screen.detachEvent("oncontextmenu",this.contextMenuHandler)),window.removeEventListener?window.removeEventListener("mousedown",r.contextMenuWindowOnMouseDownHandler):document.documentElement.detachEvent("onclick",r.contextMenuWindowOnMouseDownHandler)},this.init()};e.prototype=null,window.FWDRLU3DCContextMenu=e}(window),function(i){var n=function(e,t,s){var o=this;n.prototype;this.xhr=null,this.emailXHR=null,this.playlist_ar=null,this.props_obj=e,this.skinPaths_ar=[],this.images_ar=[],this.cats_ar=[],this.lightboxSkinPath_str=null,this.facebookAppId_str=null,this.wrningIconPath_str=null,this.countLoadedSkinImages=0,this.showLoadPlaylistErrorId_to,this.loadPreloaderId_to,this.allowToChangeVolume_bl=!0,this.autoPlay_bl=!1,this.showFacebookButton_bl=!1,this.isDataLoaded_bl=!1,this.useDeepLinking_bl=!1,this.isMobile_bl=FWDRLU3DCUtils.isMobile,this.hasPointerEvent_bl=FWDRLU3DCUtils.hasPointerEvent,o.init=function(){o.parseProperties()},o.parseProperties=function(){if(o.mainFolderPath_str=o.props_obj.mainFolderPath,o.mainFolderPath_str)if(o.mainFolderPath_str.lastIndexOf("/")+1!=o.mainFolderPath_str.length&&(o.mainFolderPath_str+="/"),o.lightboxSkinPath_str=o.props_obj.skinPath,o.lightboxSkinPath_str){if(o.lightboxSkinPath_str.lastIndexOf("/")+1!=o.lightboxSkinPath_str.length&&(o.lightboxSkinPath_str+="/"),o.flashPath_str=o.mainFolderPath_str+"video_player.swf",o.audioFlashPath_str=o.mainFolderPath_str+"audio_player.swf",o.lightboxSkinPath_str=o.mainFolderPath_str+o.lightboxSkinPath_str,o.videoSkinPath_str=o.lightboxSkinPath_str+"video_player_skin/",o.audioSkinPath_str=o.lightboxSkinPath_str+"audio_player_skin/",o.wrningIconPath_str=o.lightboxSkinPath_str+"main_skin/warning.png",o.rightClickContextMenu_str=o.props_obj.rightClickContextMenu||"developer",test="developer"==o.rightClickContextMenu_str||"disabled"==o.rightClickContextMenu_str||"default"==o.rightClickContextMenu_str,test||(o.rightClickContextMenu_str="developer"),o.autoPlay_bl=o.props_obj.autoPlay,o.autoPlay_bl="yes"==o.autoPlay_bl,o.useVideo_bl="no"!=o.props_obj.useVideo,o.DFUseVideo_bl=o.useVideo_bl,!FWDRLU3DCEVPlayer.hasHTML5Video&&FWDRLU3DCUtils.isLocal&&(o.useVideo_bl=!1),o.useAudio_bl="no"!=o.props_obj.useAudio,o.DFUseAudio_bl=o.useAudio_bl,!FWDRLU3DCEAP.hasHTML5Audio&&FWDRLU3DCUtils.isLocal&&(o.useAudio_bl=!1),o.timeColor_str=o.props_obj.timeColor||"#FF0000",o.videoPosterBackgroundColor_str=o.props_obj.videoPosterBackgroundColor||"transparent",o.videoControllerBackgroundColor_str=o.props_obj.videoControllerBackgroundColor||"transparent",o.audioControllerBackgroundColor_str=o.props_obj.audioControllerBackgroundColor||"transparent",o.volume=1,o.controllerHeight=o.props_obj.videoControllerHeight||50,o.startSpaceBetweenButtons=o.props_obj.startSpaceBetweenButtons||0,o.controllerHideDelay=o.props_obj.videoControllerHideDelay||2,o.controllerHideDelay*=1e3,o.vdSpaceBetweenButtons=o.props_obj.vdSpaceBetweenButtons||0,o.scrubbersOffsetWidth=o.props_obj.scrubbersOffsetWidth||0,o.volumeScrubberOffsetRightWidth=o.props_obj.volumeScrubberOffsetRightWidth||0,o.timeOffsetLeftWidth=o.props_obj.timeOffsetLeftWidth||0,o.timeOffsetRightWidth=o.props_obj.timeOffsetRightWidth||0,o.timeOffsetTop=o.props_obj.timeOffsetTop||0,o.logoMargins=o.props_obj.logoMargins||0,o.mainScrubberOffestTop=o.props_obj.mainScrubberOffestTop||0,o.volumeScrubberWidth=o.props_obj.volumeScrubberWidth||10,o.audioScrubbersOffestTotalWidth=o.props_obj.audioScrubbersOffestTotalWidth||0,o.audioControllerHeight=o.props_obj.audioControllerHeight||40,200skinPath property is not defined in the constructor function!",o.dispatchEvent(n.LOAD_ERROR,{text:errorMessage_str}))},100);else setTimeout(function(){null!=o&&(errorMessage_str="The mainFolderPath property is not defined in the constructor function!",o.dispatchEvent(n.LOAD_ERROR,{text:errorMessage_str}))},100)},this.onPreloaderLoadHandler=function(){setTimeout(function(){o.dispatchEvent(n.PRELOADER_LOAD_DONE)},50)},o.loadSkin=function(){for(var e,t,s=0;s can't be loaded.",i.console&&console.log(e);var t={text:message};setTimeout(function(){o.dispatchEvent(n.LOAD_ERROR,t)},100)},o.showPropertyError=function(e){setTimeout(function(){o.dispatchEvent(n.LOAD_ERROR,{text:"The property called "+e+" is not defined."})},100)},o.init()};n.setPrototype=function(){n.prototype=new FWDRLU3DCEventDispatcher},n.prototype=null,n.PRELOADER_LOAD_DONE="onPreloaderLoadDone",n.LOAD_DONE="onLoadDone",n.LOAD_ERROR="onLoadError",n.IMAGE_LOADED="onImageLoaded",n.SKIN_LOAD_COMPLETE="onSkinLoadComplete",n.SKIN_PROGRESS="onSkinProgress",n.IMAGES_PROGRESS="onImagesPogress",n.PLAYLIST_LOAD_COMPLETE="onPlaylistLoadComplete",i.FWDRLU3DCData=n}(window),function(e){var l=function(e,t,s,o,i,n){var r=this;l.prototype;this.main_do,this.text_do,this.bk_do,this.descriptionAnimationType_str=t,this.backgroundColor_str=i,this.position_str=s,this.backgroundOpacity=n,this.margins=o,this.finalW=0,this.finalH=0,this.finalY=0,this.resizeWithDelayId_to,this.isShowedFirstTime_bl=!1,this.isShowed_bl=!1,this.isHiddenDone_bl=!0,r.init=function(){r.setupMainContainers()},r.setupMainContainers=function(){r.main_do=new FWDRLU3DCDisplayObject("div"),r.main_do.getStyle().width="100%",r.main_do.getStyle().height="100%",r.main_do.setBackfaceVisibility(),!r.isMobile_bl&&FWDRLU3DCUtils.isChrome&&(r.main_do.hasTransform3d_bl=!1,r.main_do.hasTransform2d_bl=!1),r.text_do=new FWDRLU3DCDisplayObject("div"),r.text_do.getStyle().fontSmoothing="antialiased",r.text_do.getStyle().webkitFontSmoothing="antialiased",r.text_do.getStyle().textRendering="optimizeLegibility",r.text_do.getStyle().width="100%",r.text_do.setBackfaceVisibility(),r.text_do.hasTransform3d_bl=!1,r.text_do.hasTransform2d_bl=!1,r.bk_do=new FWDRLU3DCDisplayObject("div"),r.bk_do.setResizableSizeAfterParent(),r.bk_do.setBkColor(r.backgroundColor_str),r.bk_do.setAlpha(r.backgroundOpacity),r.bk_do.setBackfaceVisibility(),!r.isMobile_bl&&FWDRLU3DCUtils.isChrome&&(r.bk_do.hasTransform3d_bl=!1,r.bk_do.hasTransform2d_bl=!1),r.main_do.addChild(r.bk_do),r.main_do.addChild(r.text_do),r.addChild(r.main_do)},r.setText=function(e){r.text_do.setInnerHTML(e),r.resizeAndPosition()},r.resizeAndPosition=function(e,t){e&&(r.finalW=e),r.finalH=r.text_do.getHeight(),r.setFinalSize(),clearTimeout(r.resizeWithDelayId_to),r.resizeWithDelayId_to=setTimeout(r.setFinalSize,50)},r.setFinalSize=function(){r.finalH=r.text_do.getHeight(),"top"==r.position_str?r.finalY=r.margins:r.finalY=e.mainItemHolder_do.h-r.finalH-r.margins,r.setX(r.margins),r.setY(r.finalY),r.setWidth(r.finalW),r.main_do.setHeight(r.finalH),r.setHeight(r.finalH)},r.hide=function(e,t,s){(r.isShowed_bl||t)&&(r.isShowed_bl=!1,s&&(r.isShowedFirstTime_bl=!1),FWDAnimation.killTweensOf(r.main_do),e?"motion"==r.descriptionAnimationType_str?"top"==r.position_str?FWDAnimation.to(r.main_do,.8,{y:-r.finalH,ease:Expo.easeInOut,onComplete:r.hideComplete}):FWDAnimation.to(r.main_do,.8,{y:r.finalH,ease:Expo.easeInOut,onComplete:r.hideComplete}):FWDAnimation.to(r.main_do,.8,{alpha:0,ease:Quint.easeOut,onComplete:r.hideComplete}):r.hideComplete())},r.hideComplete=function(){r.setVisible(!1),"motion"==r.descriptionAnimationType_str?"top"==r.position_str?r.main_do.setY(-r.finalH):r.main_do.setY(r.finalH):r.main_do.setAlpha(0)},r.show=function(e){r.isShowed_bl||(r.isShowed_bl=!0,r.isShowedFirstTime_bl||(r.isShowedFirstTime_bl=!0,r.hideComplete(),r.resizeAndPosition()),r.setVisible(!0),FWDAnimation.killTweensOf(r.main_do),"motion"==r.descriptionAnimationType_str?(1!=r.main_do.alpha&&r.main_do.setAlpha(1),e?FWDAnimation.to(r.main_do,.8,{y:0,ease:Expo.easeInOut}):r.main_do.setY(0)):(r.main_do.setY(0),e?FWDAnimation.to(r.main_do,.8,{alpha:1,ease:Quint.easeOut}):r.main_do.setAlpha(1)))},r.init()};l.setPrototype=function(){l.prototype=new FWDRLU3DCDisplayObject("div")},l.HIDE_COMPLETE="infoWindowHideComplete",l.prototype=null,e.FWDRLU3DCDescriptionWindow=l}(window),window.FWDRLU3DCDisplayObject=function(e,t,s,o){var i=this;if(i.listeners={events_ar:[]},"div"!=e&&"img"!=e&&"canvas"!=e)throw Error("Type is not valid! "+e);i.type=e,this.children_ar=[],this.style,this.screen,this.transform,this.position=t||"absolute",this.overflow=s||"hidden",this.display=o||"inline-block",this.visible=!0,this.buttonMode,this.x=0,this.y=0,this.w=0,this.h=0,this.rect,this.alpha=1,this.innerHTML="",this.opacityType="",this.isHtml5_bl=!1,this.hasTransform3d_bl=FWDRLU3DCUtils.hasTransform3d,this.hasTransform2d_bl=FWDRLU3DCUtils.hasTransform2d,(FWDRLU3DCUtils.isIE||FWDRLU3DCUtils.isIE11&&!FWDRLU3DCUtils.isMobile)&&(i.hasTransform3d_bl=!1,i.hasTransform2d_bl=!1),this.hasBeenSetSelectable_bl=!1,i.init=function(){i.setScreen()},i.getTransform=function(){for(var e,t=["transform","msTransform","WebkitTransform","MozTransform","OTransform"];e=t.shift();)if(void 0!==i.screen.style[e])return e;return!1},i.getOpacityType=function(){return void 0!==i.screen.style.opacity?"opacity":"filter"},i.getGlobalX=function(){return i.getRect().left},i.getGlobalY=function(){return i.getRect().top},i.setScreen=function(e){"img"==i.type&&e?i.screen=e:i.screen=document.createElement(i.type),i.setMainProperties()},i.setMainProperties=function(){i.transform=i.getTransform(),i.setPosition(i.position),i.setOverflow(i.overflow),i.opacityType=i.getOpacityType(),"opacity"==i.opacityType&&(i.isHtml5_bl=!0),"filter"==i.opacityType&&(i.screen.style.filter="inherit"),i.screen.style.left="0px",i.screen.style.top="0px",i.screen.style.margin="0px",i.screen.style.padding="0px",i.screen.style.maxWidth="none",i.screen.style.maxHeight="none",i.screen.style.border="none",i.screen.style.lineHeight="1",i.screen.style.backgroundColor="transparent",i.screen.style.backfaceVisibility="hidden",i.screen.style.webkitBackfaceVisibility="hidden",i.screen.style.MozBackfaceVisibility="hidden",i.screen.style.transition="none",i.screen.style.webkitTransition="none",i.screen.style.MozTransition="none",i.screen.style.OTransition="none","img"==e&&(i.setWidth(i.screen.width),i.setHeight(i.screen.height))},i.setBackfaceVisibility=function(){i.screen.style.backfaceVisibility="visible",i.screen.style.webkitBackfaceVisibility="visible",i.screen.style.MozBackfaceVisibility="visible"},i.setSelectable=function(e){e||(i.screen.style.userSelect="none",i.screen.style.MozUserSelect="none",i.screen.style.webkitUserSelect="none",i.screen.style.khtmlUserSelect="none",i.screen.style.oUserSelect="none",i.screen.style.msUserSelect="none",i.screen.msUserSelect="none",i.screen.ondragstart=function(e){return!1},i.screen.onselectstart=function(){return!1},i.screen.ontouchstart=function(){return!1},i.screen.style.webkitTouchCallout="none",i.hasBeenSetSelectable_bl=!0)},i.getScreen=function(){return i.screen},i.setVisible=function(e){i.visible=e,1==i.visible?i.screen.style.visibility="visible":i.screen.style.visibility="hidden"},i.getVisible=function(){return i.visible},i.setResizableSizeAfterParent=function(){i.screen.style.width="100%",i.screen.style.height="100%"},i.getStyle=function(){return i.screen.style},i.setOverflow=function(e){i.overflow=e,i.screen.style.overflow=i.overflow},i.setPosition=function(e){i.position=e,i.screen.style.position=i.position},i.setDisplay=function(e){i.display=e,i.screen.style.display=i.display},i.setButtonMode=function(e){i.buttonMode=e,1==i.buttonMode?i.screen.style.cursor="pointer":i.screen.style.cursor="default"},i.setBkColor=function(e){i.screen.style.backgroundColor=e},i.setInnerHTML=function(e){i.innerHTML=e,i.screen.innerHTML=i.innerHTML},i.getInnerHTML=function(){return i.innerHTML},i.getRect=function(){return i.screen.getBoundingClientRect()},i.setAlpha=function(e){i.alpha=e,"opacity"==i.opacityType?i.screen.style.opacity=i.alpha:"filter"==i.opacityType&&(i.screen.style.filter="alpha(opacity="+100*i.alpha+")",i.screen.style.filter="progid:DXImageTransform.Microsoft.Alpha(Opacity="+Math.round(100*i.alpha)+")")},i.getAlpha=function(){return i.alpha},i.getRect=function(){return i.screen.getBoundingClientRect()},i.getGlobalX=function(){return i.getRect().left},i.getGlobalY=function(){return i.getRect().top},i.setX=function(e){i.x=e,i.hasTransform3d_bl?i.screen.style[i.transform]="translate3d("+i.x+"px,"+i.y+"px,0)":i.hasTransform2d_bl?i.screen.style[i.transform]="translate("+i.x+"px,"+i.y+"px)":i.screen.style.left=i.x+"px"},i.getX=function(){return i.x},i.setY=function(e){i.y=e,i.hasTransform3d_bl?i.screen.style[i.transform]="translate3d("+i.x+"px,"+i.y+"px,0)":i.hasTransform2d_bl?i.screen.style[i.transform]="translate("+i.x+"px,"+i.y+"px)":i.screen.style.top=i.y+"px"},i.getY=function(){return i.y},i.setWidth=function(e){i.w=e,"img"==i.type&&(i.screen.width=i.w),i.screen.style.width=i.w+"px"},i.getWidth=function(){return"div"==i.type?0!=i.screen.offsetWidth?i.screen.offsetWidth:i.w:"img"==i.type?0!=i.screen.offsetWidth?i.screen.offsetWidth:0!=i.screen.width?i.screen.width:i._w:"canvas"==i.type?0!=i.screen.offsetWidth?i.screen.offsetWidth:i.w:void 0},i.setHeight=function(e){i.h=e,"img"==i.type&&(i.screen.height=i.h),i.screen.style.height=i.h+"px"},i.getHeight=function(){return"div"==i.type?0!=i.screen.offsetHeight?i.screen.offsetHeight:i.h:"img"==i.type?0!=i.screen.offsetHeight?i.screen.offsetHeight:0!=i.screen.height?i.screen.height:i.h:"canvas"==i.type?0!=i.screen.offsetHeight?i.screen.offsetHeight:i.h:void 0},i.addChild=function(e){i.contains(e)&&i.children_ar.splice(FWDRLU3DCUtils.indexOfArray(i.children_ar,e),1),i.children_ar.push(e),i.screen.appendChild(e.screen)},i.removeChild=function(e){if(!i.contains(e))throw Error("##removeChild()## Child dose't exist, it can't be removed!");i.children_ar.splice(FWDRLU3DCUtils.indexOfArray(i.children_ar,e),1),i.screen.removeChild(e.screen)},i.contains=function(e){return-1!=FWDRLU3DCUtils.indexOfArray(i.children_ar,e)},i.addChildAt=function(e,t){if(0==i.getNumChildren())i.children_ar.push(e),i.screen.appendChild(e.screen);else if(1==t)i.screen.insertBefore(e.screen,i.children_ar[0].screen),i.screen.insertBefore(i.children_ar[0].screen,e.screen),i.contains(e)?i.children_ar.splice(FWDRLU3DCUtils.indexOfArray(i.children_ar,e),1,e):i.children_ar.splice(FWDRLU3DCUtils.indexOfArray(i.children_ar,e),0,e);else{if(t<0||t>i.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");i.screen.insertBefore(e.screen,i.children_ar[t].screen),i.contains(e)?i.children_ar.splice(FWDRLU3DCUtils.indexOfArray(i.children_ar,e),1,e):i.children_ar.splice(FWDRLU3DCUtils.indexOfArray(i.children_ar,e),0,e)}},i.getChildAt=function(e){if(e<0||e>i.getNumChildren()-1)throw Error("##getChildAt()## Index out of bounds!");if(0==i.getNumChildren())throw Errror("##getChildAt## Child dose not exist!");return i.children_ar[e]},i.removeChildAtZero=function(){i.screen.removeChild(i.children_ar[0].screen),i.children_ar.shift()},i.getNumChildren=function(){return i.children_ar.length},i.addListener=function(e,t){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");if("function"!=typeof t)throw Error("listener must be of type Function.");var s={};s.type=e,s.listener=t,(s.target=this).listeners.events_ar.push(s)},i.dispatchEvent=function(e,t){if(null!=this.listeners){if(null==e)throw Error("type is required.");if("object"==typeof e)throw Error("type must be of type String.");for(var s=0,o=this.listeners.events_ar.length;s"+_d.title+"