/home/techb158/ileadtechnology.com/public/js
NameSizeModeActions
.js7969960644editdlrm
app.js2949730644editdlrm
bootstrap.bundle.js1958550644editdlrm
bootstrap.bundle.js.map.js3266340644editdlrm
colorbox.js291680644editdlrm
country.js17280644editdlrm
custom-file-input.js9760644editdlrm
custom-js.js20644editdlrm
custom-toggle.js91960644editdlrm
datepicker.js1092000644editdlrm
fontawesome-iconpicker.js520570644editdlrm
FWDUVPlayer.js7576570644editdlrm
image.js10090644editdlrm
index.php530644editdlrm
jquery-2.min.js843190644editdlrm
jquery-3.3.1.min.js869270644editdlrm
jquery-ui.js5207140644editdlrm
jquery.lazy.min.js50220644editdlrm
jquery.lazy.plugins.min.js44120644editdlrm
jquery.min.js843190644editdlrm
jquery.owl-filter.js12880644editdlrm
jquery.payform.min.js84560644editdlrm
lightbox-plus-jquery.min.js987170644editdlrm
pace.min.js125070644editdlrm
protip.js333040644editdlrm
script.js19710644editdlrm
select2.min.js683820644editdlrm
share.js6150644editdlrm
subscription-pricing.js18080644editdlrm
sweetalert2@9.js669600644editdlrm
theme.js274440644editdlrm
tinymce.min.js3928220644editdlrm
venom-button.js103220644editdlrm
venom-button.min.js81060644editdlrm
Edit: /home/techb158/ileadtechnology.com/public/js/.js (796996B)
if(!function(t){function r(){}r.dumy=document.createElement("div"),r.trim=function(e){return e.replace(/\s/gi,"")},r.trimAndFormatUrl=function(e){return e=(e=e.toLocaleLowerCase()).replace(/ /g,"-")},r.storArrayBasedOnObjectValue=function(e,t){e.sort(function(s){var o=1;"-"===s[0]&&(o=-1,s=s.substr(1));return function(e,t){return(e[s]t[s]?1:0)*o}}(t))},r.getCookie=function(e){for(var t=e+"=",s=document.cookie.split(";"),o=0;o>>32-t}function d(e,t){var s,o,i,l,n;return i=2147483648&e,l=2147483648&t,n=(1073741823&e)+(1073741823&t),(s=1073741824&e)&(o=1073741824&t)?2147483648^n^i^l:s|o?1073741824&n?3221225472^n^i^l:1073741824^n^i^l:n^i^l}function t(e,t,s,o,i,l,n){var a;return e=d(e,d(d((a=t)&s|~a&o,i),n)),d(r(e,l),t)}function s(e,t,s,o,i,l,n){var a;return e=d(e,d(d(t&(a=o)|s&~a,i),n)),d(r(e,l),t)}function o(e,t,s,o,i,l,n){return e=d(e,d(d(t^s^o,i),n)),d(r(e,l),t)}function i(e,t,s,o,i,l,n){return e=d(e,d(d(s^(t|~o),i),n)),d(r(e,l),t)}function l(e){var t,s="",o="";for(t=0;t<=3;t++)s+=(o="0"+(e>>>8*t&255).toString(16)).substr(o.length-2,2);return s}var n,a,u,h,c,_,f,p,m,b=Array();for(b=function(e){for(var t,s=e.length,o=s+8,i=16*(1+(o-o%64)/64),l=Array(i-1),n=0,a=0;a>>29,l}(e=function(e){e=e.replace(/\r\n/g,"\n");for(var t="",s=0;s>6|192):(t+=String.fromCharCode(o>>12|224),t+=String.fromCharCode(o>>6&63|128)),t+=String.fromCharCode(63&o|128))}return t}(e)),_=1732584193,f=4023233417,p=2562383102,m=271733878,n=0;n>>16&255,c=u>>>8&255,_=255&u;a.style.position="absolute",a.style.left="0px",a.style.top="0px",a.style.margin="0px",a.style.padding="0px",a.style.maxWidth="none",a.style.maxHeight="none",a.style.border="none",a.style.lineHeight="1",a.style.backgroundColor="transparent",a.style.backfaceVisibility="hidden",a.style.webkitBackfaceVisibility="hidden",a.style.MozBackfaceVisibility="hidden",a.style.MozImageRendering="optimizeSpeed",a.style.WebkitImageRendering="optimizeSpeed",null==o&&(o=e.width,i=e.height),a.width=o,a.height=i,r.drawImage(e,0,0,e.naturalWidth,e.naturalHeight,0,0,o,i),n=r.getImageData(0,0,o,i),d=r.getImageData(0,0,o,i);for(var f=0,p=n.data.length;f>>16&255,h=d>>>8&255,c=255&d;i||(i=e.width,l=e.height),t.width=i,t.height=l,a.drawImage(e,0,0,e.naturalWidth,e.naturalHeight,0,0,i,l),n=a.getImageData(0,0,i,l),r=a.getImageData(0,0,i,l);for(var _=0,f=n.data.length;_o.length)throw new Error("invalid index!");e.insertBefore(t,o[s])},r.hasCanvas=function(){return Boolean(document.createElement("canvas"))},r.hitTest=function(e,t,s){if(!e)throw Error("Hit test target is null!");var o=e.getBoundingClientRect();return t>=parseInt(o.left)&&t<=parseInt(o.left+(o.right-o.left))&&s>=parseInt(o.top)&&s<=parseInt(o.top+(o.bottom-o.top))},r.hitBuggyTest=function(e,t,s){if(!e)throw Error("Hit test target is null!");e.getBoundingClientRect();return!1},r.hasWEBGL=function(){try{var e=document.createElement("canvas");return!!t.WebGLRenderingContext&&(e.getContext("webgl")||e.getContext("experimental-webgl"))}catch(e){return!1}}(),r.isLocal="file:"==document.location.protocol,r.getScrollOffsets=function(){return null!=t.pageXOffset?{x:t.pageXOffset,y:t.pageYOffset}:"CSS1Compat"==document.compatMode?{x:document.documentElement.scrollLeft,y:document.documentElement.scrollTop}:void 0},r.getViewportSize=function(){return r.hasPointerEvent&&1>0,0!==this._cycle&&this._cycle===this._totalTime/n&&_<=e&&this._cycle--,this._time=this._totalTime-this._cycle*n,this._yoyo&&0!=(1&this._cycle)&&(this._time=p-this._time),this._time>p?this._time=p:this._time<0&&(this._time=0)),this._easeType?(a=this._time/p,(1===(r=this._easeType)||3===r&&.5<=a)&&(a=1-a),3===r&&(a*=2),1===(d=this._easePower)?a*=a:2===d?a*=a*a:3===d?a*=a*a*a:4===d&&(a*=a*a*a*a),1===r?this.ratio=1-a:2===r?this.ratio=a:this._time/p<.5?this.ratio=a/2:this.ratio=1-a/2):this.ratio=this._ease.getRatio(this._time/p)),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=_,this._rawPrevTime=m,this._cycle=f,S.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!o?this.ratio=this._ease.getRatio(this._time/p):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===_&&(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?m.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},m},!0),_fwd_gsScope.FWDFWD_gsDefine("FWDTimelineLite",["core.FWDAnimation","core.FWDSimpleTimeline","FWDTweenLite"],function(u,h,c){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],y(t)&&-1!==t.join("").indexOf("{self}")&&(o[s]=this._swapSelfInParams(t));y(o.tweens)&&this.add(o.tweens,0,o.align,o.stagger)}function f(e){var t,s={};for(t in e)s[t]=e[t];return s}function p(e,t,s){var o,i,l=e.cycle;for(o in l)i=l[o],e[o]="function"==typeof i?i.call(t[s],s):i[s%i.length];delete e.cycle}function m(e){var t,s=[],o=e.length;for(t=0;t!==o;s.push(e[t++]));return s}var b=1e-10,e=c._internals,t=_._internals={},g=e.isSelector,y=e.isArray,v=e.lazyTweens,S=e.lazyRender,n=_fwd_gsScope.FWDFWD_gsDefine.globals,l=t.pauseCallback=function(){},s=_.prototype=new h;return _.version="1.19.0",s.constructor=_,s.kill()._gc=s._forcingPlayhead=s._hasPause=!1,s.to=function(e,t,s,o){var i=s.repeat&&n.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&&n.FWDAnimation||c).from(e,t,s),o)},s.fromTo=function(e,t,s,o,i){var l=o.repeat&&n.FWDAnimation||c;return t?this.add(l.fromTo(e,t,s,o),i):this.set(e,o,i)},s.staggerTo=function(e,t,s,o,i,l,n,a){var r,d,u=new _({onComplete:l,onCompleteParams:n,callbackScope:a,smoothChildTiming:this.smoothChildTiming}),h=s.cycle;for("string"==typeof e&&(e=c.selector(e)||e),g(e=e||[])&&(e=m(e)),(o=o||0)<0&&((e=m(e)).reverse(),o*=-1),d=0;de._startTime;r._timeline;)d&&r._timeline.smoothChildTiming?r.totalTime(r._totalTime,!0):r._gc&&r._enabled(!0,!1),r=r._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&&y(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,l,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&&y(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=1b&&(n="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:b,e=u+1e-4;else if(e<1e-7)if(this._totalTime=this._time=0,(0!==h||0===this._duration&&this._rawPrevTime!==b&&(0=e&&!r;)o._duration||"isPause"===o.data&&0this._time;)r.render(r._reversed?r.totalDuration()-(e-r._startTime)*r._timeScale:(e-r._startTime)*r._timeScale,t,s),r=r._prev;r=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=l}this._onUpdate&&(t||(v.length&&S(),this._callback("onUpdate"))),n&&(this._gc||c!==this._startTime&&_===this._timeScale||(0===this._time||u>=this.totalDuration())&&(i&&(v.length&&S(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[n]&&this._callback(n)))}},s._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof _&&e._hasPausedChild())return!0;e=e._next}return!1},s.getChildren=function(e,t,s,o){o=o||-9999999999;for(var i=[],l=this._first,n=0;l;)l._startTime=s&&(i._startTime+=e),i=i._next;if(t)for(o in l)l[o]>=s&&(l[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)return e&&this.totalDuration()?this.timeScale(this._totalDuration/e):this;if(this._dirty){for(var t,s,o=0,i=this._last,l=999999999999;i;)t=i._prev,i._dirty&&i.totalDuration(),i._startTime>l&&this._sortChildren&&!i._paused?this.add(i,i._startTime-i._delay):l=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),l=0),o<(s=i._startTime+i._totalDuration/i._timeScale)&&(o=s),i=t;this._duration=this._totalDuration=o,this._dirty=!1}return this._totalDuration},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},_},!0),_fwd_gsScope.FWDFWD_gsDefine("TimelineMax",["FWDTimelineLite","FWDTweenLite","easing.Ease"],function(t,a,e){function s(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}var D=1e-10,o=a._internals,W=o.lazyTweens,F=o.lazyRender,r=_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(a.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,l={ease:d,useFrames:this.usesFrames(),immediateRender:!1},n=t.repeat&&r.FWDAnimation||a;for(o in t)l[o]=t[o];return l.time=this._parseTimeOrLabel(e),s=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,i=new n(this,s,l),l.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,l,n,a,r,d,u,h=this._dirty?this.totalDuration():this._totalDuration,c=this._duration,_=this._time,f=this._totalTime,p=this._startTime,m=this._timeScale,b=this._rawPrevTime,g=this._paused,y=this._cycle;if(h-1e-7<=e)this._locked||(this._totalTime=h,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(i=!0,n="onComplete",a=!!this._timeline.autoRemoveChildren,0===this._duration&&(e<=0&&-1e-7<=e||b<0||b===D)&&b!==e&&this._first&&(a=!0,D>0,0!==this._cycle&&this._cycle===this._totalTime/r&&f<=e&&this._cycle--,this._time=this._totalTime-this._cycle*r,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(_<=(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=l}this._onUpdate&&(t||(W.length&&F(),this._callback("onUpdate"))),n&&(this._locked||this._gc||p!==this._startTime&&m===this._timeScale||(0===this._time||h>=this.totalDuration())&&(i&&(W.length&&F(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[n]&&this._callback(n)))}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,l=[],n=this.getChildren(e,t,s),a=0,r=n.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,P=[],T=[],B=[],v={},s=_fwd_gsScope.FWDFWD_gsDefine.globals,m=_fwd_gsScope.FWDFWD_gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,fwd_global:!0,init:function(e,t,s){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._mod={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var o,i,l,n,a,r=t.values||[],d={},u=r[0],h=t.autoRotate||s.vars.orientToBezier;for(o in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,u)this._props.push(o);for(l=this._props.length;-1<--l;)o=this._props[l],this._overwriteProps.push(o),i=this._func[o]="function"==typeof e[o],d[o]=i?e[o.indexOf("set")||"function"!=typeof e["get"+o.substr(3)]?o:"get"+o.substr(3)]():parseFloat(e[o]),a||d[o]!==r[0][o]&&(a=d);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?_(r,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,a):function(e,t,s){var o,i,l,n,a,r,d,u,h,c,_,f={},p="cubic"===(t=t||"soft")?3:2,m="soft"===t,b=[];if(m&&s&&(e=[s].concat(e)),null==e||e.length<1+p)throw"invalid Bezier data";for(h in e[0])b.push(h);for(r=b.length;-1<--r;){for(f[h=b[r]]=a=[],c=0,u=e.length,d=0;d>0||6)-1,h=[],c=[];for(s in e)f(e[s],n,t);for(i=n.length,o=0;o>0]=c,a[l]=d,r=0,c=[]);return{length:d,lengths:a,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]),l=h.length;-1<--l;){for(n=0;n<3;n++)o=h[l][n],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[l][2],this._initialRotations[l]=(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,l,n,a,r,d,u,h=this._segCount,c=this._func,_=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-n,o=this._props.length;-1<--o;)i=this._props[o],a=(n*n*(l=this._beziers[i][t]).da+3*s*(n*l.ca+s*l.ba))*n+l.a,this._mod[i]&&(a=this._mod[i](a,_)),c[i]?_[i](a):"x"==i?_.setX(a):"y"==i?_.setY(a):"z"==i?_.setZ(a):"angleX"==i?_.setAngleX(a):"angleY"==i?_.setAngleY(a):"angleZ"==i?_.setAngleZ(a):"w"==i?_.setWidth(a):"h"==i?_.setHeight(a):"alpha"==i?_.setAlpha(a):"scale"==i?_.setScale2(a):_[i]=a;if(this._autoRotate){var p,m,b,g,y,v,S,P=this._autoRotate;for(o=P.length;-1<--o;)i=P[o][2],v=P[o][3]||0,S=!0===P[o][4]?1:w,l=this._beziers[P[o][0]],p=this._beziers[P[o][1]],l&&p&&(l=l[t],p=p[t],m=l.a+(l.b-l.a)*n,m+=((g=l.b+(l.c-l.b)*n)-m)*n,g+=(l.c+(l.d-l.c)*n-g)*n,b=p.a+(p.b-p.a)*n,b+=((y=p.b+(p.c-p.b)*n)-b)*n,y+=(p.c+(p.d-p.c)*n-y)*n,a=f?Math.atan2(y-b,g-m)*S+v:this._initialRotations[o],this._mod[i]&&(a=this._mod[i](a,_)),c[i]?_[i](a):_[i]=a)}}}),e=m.prototype,m.bezierThrough=_,m.cubicToQuadratic=S,m._autoCSS=!0,m.quadraticToCubic=function(e,t,s){return new g(e,(2*t+e)/3,(2*t+s)/3,s)},m._cssRegister=function(){var e=s.CSSPlugin;if(e){var t=e._internals,_=t._parseToProxy,f=t._setPluginRatio,p=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,s,o,i,l){t instanceof Array&&(t={values:t}),l=new m;var n,a,r,d=t.values,u=d.length-1,h=[],c={};if(u<0)return i;for(n=0;n<=u;n++)r=_(e,d[n],o,i,l,u!==n),h[n]=r.end;for(a in t)c[a]=t[a];return c.values=h,(i=new p(e,"bezier",0,0,r.pt,2)).data=r,i.plugin=l,i.setRatio=f,0===c.autoRotate&&(c.autoRotate=!0),!c.autoRotate||c.autoRotate instanceof Array||(n=!0===c.autoRotate?0:Number(c.autoRotate),c.autoRotate=null!=r.end.left?[["left","top","rotation",n,!1]]:null!=r.end.x&&[["x","y","rotation",n,!1]]),c.autoRotate&&(o._transform||o._enableTransforms(!1),r.autoRotate=o._target._gsTransform,r.proxy.rotation=r.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(r.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(l,L){var f,T,B,p,R=function(){l.call(this,"css"),this._overwriteProps.length=0,this.setRatio=R.prototype.setRatio},d=_fwd_gsScope.FWDFWD_gsDefine.globals,m={},e=R.prototype=new l("css");(e.constructor=R).version="1.19.0",R.API=2,R.defaultTransformPerspective=0,R.defaultSkewType="compensated",R.defaultSmoothOrigin=!0,e="px",R.suffixMap={top:e,right:e,bottom:e,left:e,width:e,height:e,fontSize:e,padding:e,margin:e,perspective:e,lineHeight:""};function n(e,t){return t.toUpperCase()}function t(e){return Z.createElementNS?Z.createElementNS("http://www.w3.org/1999/xhtml",e):Z.createElement(e)}function a(e){return M.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1}function b(e){window.console&&console.log(e)}function D(e,t){var s,o,i=(t=t||ee).style;if(void 0!==i[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),s=["O","Moz","ms","Ms","Webkit"],o=5;-1<--o&&void 0===i[s[o]+e];);return 0<=o?(le="-"+(ne=3===o?"ms":s[o]).toLowerCase()+"-",ne+e):null}function g(e,t){var s,o,i,l={};if(t=t||ae(e,null))if(s=t.length)for(;-1<--s;)-1!==(i=t[s]).indexOf("-transform")&&Ae!==i||(l[i.replace(c,n)]=t.getPropertyValue(i));else for(s in t)-1!==s.indexOf("Transform")&&xe!==s||(l[s]=t[s]);else if(t=e.currentStyle||e.style)for(s in t)"string"==typeof s&&void 0===l[s]&&(l[s.replace(c,n)]=t[s]);return ie||(l.opacity=a(e)),o=Qe(e,t,!1),l.rotation=o.rotation,l.skewX=o.skewX,l.scaleX=o.scaleX,l.scaleY=o.scaleY,l.x=o.x,l.y=o.y,Me&&(l.z=o.z,l.rotationX=o.rotationX,l.rotationY=o.rotationY,l.scaleZ=o.scaleZ),l.filters&&delete l.filters,l}function y(e,t,s,o,i){var l,n,a,r={},d=e.style;for(n in s)"cssText"!==n&&"length"!==n&&isNaN(n)&&(t[n]!==(l=s[n])||i&&i[n])&&-1===n.indexOf("Origin")&&("number"!=typeof l&&"string"!=typeof l||(r[n]="auto"!==l||"left"!==n&&"top"!==n?""!==l&&"auto"!==l&&"none"!==l||"string"!=typeof t[n]||""===t[n].replace(u,"")?l:0:ue(e,n),void 0!==d[n]&&(a=new ve(d,n,d[n],a))));if(o)for(n in o)"className"!==n&&(r[n]=o[n]);return{difs:r,firstMPT:a}}function v(e,t,s){if("svg"===(e.nodeName+"").toLowerCase())return(s||ae(e))[t]||0;if(e.getBBox&&Ye(e))return e.getBBox()[t]||0;var o=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),i=he[t],l=i.length;for(s=s||ae(e,null);-1<--l;)o-=parseFloat(re(e,"padding"+i[l],s,!0))||0,o-=parseFloat(re(e,"border"+i[l]+"Width",s,!0))||0;return o}function W(e,t){return"function"==typeof e&&(e=e(E,V)),"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)||0}function F(e,t){return"function"==typeof e&&(e=e(E,V)),null==e?t:"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)||0}function H(e,t,s,o){var i,l,n,a,r;return"function"==typeof e&&(e=e(E,V)),(a=null==e?t:"number"==typeof e?e:(i=360,l=e.split("_"),n=((r="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(l[0].substr(2)):parseFloat(l[0]))*(-1===e.indexOf("rad")?1:J)-(r?0:t),l.length&&(o&&(o[s]=t+n),-1!==e.indexOf("short")&&(n%=i)!==n%180&&(n=n<0?n+i:n-i),-1!==e.indexOf("_cw")&&n<0?n=(n+3599999999640)%i-(n/i|0)*i:-1!==e.indexOf("ccw")&&0>16,e>>8&255,255&e];else{if(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),fe[e])s=fe[e];else if("#"===e.charAt(0))4===e.length&&(e="#"+(o=e.charAt(1))+o+(i=e.charAt(2))+i+(l=e.charAt(3))+l),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(O),t){if(-1!==e.indexOf("="))return e.match(I)}else n=Number(s[0])%360/360,a=Number(s[1])/100,o=2*(r=Number(s[2])/100)-(i=r<=.5?r*(a+1):r+a-r*a),3o--)for(;++o<_;)s[o]=l?s[(o-1)/2|0]:d[o];return u+s.join(c)+c+t+h+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,s,o;if("number"==typeof e)e+=f;else if(n&&G.test(e)){for(s=e.replace(G,"|").split("|"),o=0;oo--)for(;++o<_;)t[o]=l?t[(o-1)/2|0]:d[o];return u+t.join(c)+h}:function(e){return e}}function ge(d){return d=d.split(","),function(e,t,s,o,i,l,n){var a,r=(t+"").split(" ");for(n={},a=0;a<4;a++)n[d[a]]=r[a]=r[a]||r[(a-1)/2>>0];return o.parse(e,n,i,l)}}se._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,s,o,i,l,n=this.data,a=n.proxy,r=n.firstMPT;r;)t=a[r.v],r.r?t=Math.round(t):t<1e-6&&-1e-6a.length?r.length:a.length,n=0;nl.pr;)n=n._next;(l._prev=n?n._prev:r)?l._prev._next=l:a=l,(l._next=n)?n._prev=l:r=l,l=d}this._firstPT=a}return!0},e.parse=function(e,t,s,o){var i,l,n,a,r,d,u,h,c,_,f=e.style;for(i in t)"function"==typeof(d=t[i])&&(d=d(E,V)),(l=m[i])?s=l.parse(e,d,i,this,s,o,t):(r=re(e,i,B)+"",c="string"==typeof d,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||c&&j.test(d)?(c||(d=(3<(d=pe(d)).length?"rgba(":"rgb(")+d.join(",")+")"),s=Pe(f,i,r,d,!0,"transparent",s,0,o)):c&&q.test(d)?s=Pe(f,i,r,d,!0,null,s,0,o):(u=(n=parseFloat(r))||0===n?r.substr((n+"").length):"",""!==r&&"auto"!==r||(u="width"===i||"height"===i?(n=v(e,i,B),"px"):"left"===i||"top"===i?(n=ue(e,i,B),"px"):(n="opacity"!==i?0:1,"")),""===(h=(_=c&&"="===d.charAt(1))?(a=parseInt(d.charAt(0)+"1",10),d=d.substr(2),a*=parseFloat(d),d.replace(A,"")):(a=parseFloat(d),c?d.replace(A,""):""))&&(h=i in T?T[i]:u),d=a||0===a?(_?a+n:a)+h:t[i],u!==h&&""!==h&&(a||0===a)&&n&&(n=de(e,i,n,u),"%"===h?(n/=de(e,i,100,"%")/100,!0!==t.strictUnits&&(r=n+"%")):"em"===h||"rem"===h||"vw"===h||"vh"===h?n/=de(e,i,1,h):"px"!==h&&(a=de(e,i,a,h),h="px"),_&&(!a&&0!==a||(d=a+n+h))),_&&(a+=n),!n&&0!==n||!a&&0!==a?void 0!==f[i]&&(d||d+""!="NaN"&&null!=d)?(s=new Se(f,i,a||n||0,0,s,-1,i,!1,0,r,d)).xs0="none"!==d||"display"!==i&&-1===i.indexOf("Style")?d:r:b("invalid "+i+" tween value: "+t[i]):(s=new Se(f,i,n,a-n,s,0,i,!1!==U&&("px"===h||"zIndex"===i),0,r,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},_.ease=new _(.7,.7),f.config=_.config=function(e,t,s){return new _(e,t,s)},(f=(o=u("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0)).prototype=new m).constructor=o,f.getRatio=function(e){return e<0?e=0:1<=e&&(e=.999999999),(this._p2*e>>0)*this._p1},f.config=o.config=function(e){return new o(e)},(f=(i=u("easing.RoughEase",function(e){for(var t,s,o,i,l,n,a=(e=e||{}).taper||"none",r=[],d=0,u=0|(e.points||20),h=u,c=!1!==e.randomize,_=!0===e.clamp,f=e.template instanceof m?e.template:null,p="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"===a?p:"out"===a?(i=1-t)*i*p:"in"===a?t*t*p:t<.5?(i=2*t)*i*.5*p:(i=2*(1-t))*i*.5*p,c?s+=Math.random()*o-.5*o:h%2?s+=.5*o:s-=.5*o,_&&(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 i(e)},i.ease=new i,t("Bounce",e("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}),e("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)}),e("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})),t("Circ",e("CircOut",function(e){return Math.sqrt(1- --e*e)}),e("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),e("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),t("Elastic",(l=function(e,t,s){var o=u("easing."+e,function(e,t){this._p1=1<=e?e:1,this._p2=(t||s)/(e<1?e:1),this._p3=this._p2/r*(Math.asin(1/this._p1)||0),this._p2=r/this._p2},!0),i=o.prototype=new m;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),l("ElasticIn",function(e){return-this._p1*Math.pow(2,10*--e)*Math.sin((e-this._p3)*this._p2)},.3),l("ElasticInOut",function(e){return(e*=2)<1?this._p1*Math.pow(2,10*--e)*Math.sin((e-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*--e)*Math.sin((e-this._p3)*this._p2)*.5+1},.45)),t("Expo",e("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),e("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),e("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),t("Sine",e("SineOut",function(e){return Math.sin(e*d)}),e("SineIn",function(e){return 1-Math.cos(e*d)}),e("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),u("easing.EaseLookup",{find:function(e){return m.map[e]}},!0),h(n.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(o,"SteppedEase","ease,"),c},!0)}),_fwd_gsScope.FWDFWD_gsDefine&&_fwd_gsScope._fwd_gsQueue.pop()(),function(_,f){"use strict";var p={},m=_.FWDGreenSockGlobals=_.FWDGreenSockGlobals||_;if(!m.FWDTweenLite){var e,t,s,b,g,o,i,y=function(e){var t,s=e.split("."),o=m;for(t=0;t=s&&ethis._duration?this._duration:e,t)):this._time},s.totalTime=function(e,t,s){if(g||b.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(ol;)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||b.wake(),this._totalTime};var E=c("FWDTweenLite",function(e,t,s){if(d.call(this,t,s),this.render=E.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:E.selector(e)||e;var o,i,l,n=e.jquery||e.length&&e!==_&&e[0]&&(e[0]===_||e[0].nodeType&&e[0].style&&!e.nodeType),a=this.vars.overwrite;if(this._overwrite=a=null==a?z[E.defaultOverwrite]:"number"==typeof a?a>>0:z[a],(n||e instanceof Array||e.push&&P(e))&&"number"!=typeof e[0])for(this._targets=l=r(e),this._propLookup=[],this._siblings=[],o=0;o=q){for(s in q=b.frame+(parseInt(E.autoSleep,10)||120),j){for(e=(t=j[s].tweens).length;-1<--e;)t[e]._gc&&t.splice(e,1);0===t.length&&delete j[s]}if((!(s=G._first)||s._paused)&&E.autoSleep&&!Q._first&&1===b._listeners.tick.length){for(;s&&s._paused;)s=s._next;s||b.sleep()}}},b.addEventListener("tick",d._updateRoot);var J=function(e,t,s){var o,i,l=e._gsTweenID;if(j[l||(e._gsTweenID=l="t"+Y++)]||(j[l]={target:e,tweens:[]}),t&&((o=j[l].tweens)[i=o.length]=t,s))for(;-1<--i;)o[i]===t&&o.splice(i,1);return j[l].tweens},$=function(e,t,s,o){var i,l,n=e.vars.onOverwrite;return n&&(i=n(e,t,s,o)),(n=E.onOverwrite)&&(l=n(e,t,s,o)),!1!==i&&!1!==l},Z=function(e,t,s,o,i){var l,n,a,r;if(1===o||4<=o){for(r=i.length,l=0;lu&&((_||!a._initted)&&u-a._startTime<=2e-10||(h[c++]=a)));for(l=c;-1<--l;)if(a=h[l],2===o&&a._kill(s,e,t)&&(n=!0),2!==o||!a._firstPT&&a._initted){if(2!==o&&!$(a,t))continue;a._enabled(!1,!1)&&(n=!0)}return n},ee=function(e,t,s){for(var o=e._timeline,i=o._timeScale,l=e._startTime;o._timeline;){if(l+=o._startTime,i*=o._timeScale,o._paused)return-100;o=o._timeline}return t<(l/=i)?l-t:s&&l===t||!e._initted&&l-t<2*v?v:(l+=e.totalDuration()/e._timeScale/i)>t+v?0:l-t-v};s._init=function(){var e,t,s,o,i,l,n=this.vars,a=this._overwrittenProps,r=this._duration,d=!!n.immediateRender,u=n.ease;if(n.startAt){for(o in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),i={},n.startAt)i[o]=n.startAt[o];if(i.overwrite=!1,i.immediateRender=!0,i.lazy=d&&!1!==n.lazy,i.startAt=i.delay=null,this._startAt=E.to(this.target,0,i),d)if(0a.pr;)o=o._next;(a._prev=o?o._prev:l)?a._prev._next=a:i=a,(a._next=o)?o._prev=a:l=a,a=n}a=t._firstPT=i}for(;a;)a.pg&&"function"==typeof a.t[e]&&a.t[e]()&&(s=!0),a=a._next;return s},te.activate=function(e){for(var t=e.length;-1<--t;)e[t].API===te.API&&(N[(new e[t])._propName]=e[t]);return!0},l.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,l={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},n=c("plugins."+s.charAt(0).toUpperCase()+s.substr(1)+"Plugin",function(){te.call(this,s,o),this._overwriteProps=i||[]},!0===e.fwd_global),a=n.prototype=new te(s);for(t in(a.constructor=n).API=e.API,l)"function"==typeof e[t]&&(a[l[t]]=e[t]);return n.version=e.version,te.activate([n]),n},e=_._fwd_gsQueue){for(t=0;tJavaScript 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 FWDUVPDisplayObject("div","absolute")},t.prototype=null,e.FWDConsole=t}(window),function(e){var _=function(e,t,s,o,i,l,n,a,r,d,u,h){var c=this;_.prototype;this.main_do=null,this.icon_do=null,this.iconS_do=null,this.bk_do=null,this.text_do=null,this.border_do=null,this.thumbHolder_do=null,this.icon_img=e,c.useHEX=d,c.nBC=u,c.sBC=h,this.borderNColor_str=i,this.borderSColor_str=l,this.adsBackgroundPath_str=n,this.position_str=o,this.textNormalColor_str=a,this.textSelectedColor_str=r,this.text_str=s,this.iconOverPath_str=t,this.totalWidth=215,this.totalHeight=64,this.fontSize=12,this.hasThumbanil_bl=!1,this.isShowed_bl=!1,this.isMbl=FWDUVPUtils.isMobile,this.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,c.init=function(){c.setOverflow("visible"),c.setupMainContainers(),c.hide(!1,!0)},c.setupMainContainers=function(){this.main_do=new FWDUVPDisplayObject("div"),this.main_do.hasTransform3d_bl=!1,this.main_do.hasTransform2d_bl=!1,this.main_do.setBackfaceVisibility(),this.bk_do=new FWDUVPDisplayObject("div"),this.bk_do.getStyle().background="url('"+this.adsBackgroundPath_str+"')",this.text_do=new FWDUVPDisplayObject("div"),this.text_do.screen.className="UVP-skip",this.text_do.hasTransform3d_bl=!1,this.text_do.hasTransform2d_bl=!1,this.text_do.setBackfaceVisibility(),this.text_do.setOverflow("visible"),this.text_do.getStyle().display="inline",this.text_do.getStyle().fontFamily="Arial",this.text_do.getStyle().fontSize="22px",this.text_do.getStyle().whiteSpace="nowrap",this.text_do.getStyle().color=this.textNormalColor_str,this.text_do.getStyle().fontSmoothing="antialiased",this.text_do.getStyle().webkitFontSmoothing="antialiased",this.text_do.getStyle().textRendering="optimizeLegibility",this.thumbHolder_do=new FWDUVPDisplayObject("div"),this.thumbHolder_do.setWidth(this.totalHeight-8),this.thumbHolder_do.setHeight(this.totalHeight-8),this.thumbHolder_do.setX(this.totalWidth-this.thumbHolder_do.w-4),this.thumbHolder_do.setY(4),this.border_do=new FWDUVPDisplayObject("div"),this.border_do.getStyle().border="1px solid "+this.borderNColor_str,this.border_do.setButtonMode(!0),this.main_do.setWidth(this.totalWidth),this.main_do.setHeight(this.totalHeight),this.bk_do.setWidth(this.totalWidth),this.bk_do.setHeight(this.totalHeight),"left"==this.position_str?(this.border_do.setX(-1),this.border_do.setWidth(this.totalWidth-1)):this.border_do.setWidth(this.totalWidth),this.border_do.setHeight(this.totalHeight-2),this.setWidth(this.totalWidth),this.setHeight(this.totalHeight),this.useHEX?(this.icon_do=new FWDUVPDisplayObject("div"),this.icon_do.setWidth(c.icon_img.width),this.icon_do.setHeight(c.icon_img.height),this.icon_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(this.icon_img,this.nBC).canvas,this.icon_do.screen.appendChild(c.icon_do_canvas)):(this.icon_do=new FWDUVPDisplayObject("img"),this.icon_do.setScreen(this.icon_img),this.icon_do.setWidth(this.icon_img.width),this.icon_do.setHeight(this.icon_img.height)),this.iconS_img=new Image,this.iconS_img.src=this.iconOverPath_str,this.useHEX?(this.iconS_do=new FWDUVPDisplayObject("div"),this.iconS_do.setWidth(this.icon_do.w),this.iconS_do.setHeight(this.icon_do.h),this.iconS_img.onload=function(){c.iconS_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.iconS_img,c.sBC).canvas,c.iconS_do.screen.appendChild(c.iconS_do_canvas)}):(this.iconS_do=new FWDUVPDisplayObject("img"),this.iconS_do.setScreen(this.iconS_img),this.iconS_do.setWidth(this.icon_do.w),this.iconS_do.setHeight(this.icon_do.h)),this.iconS_do.setAlpha(0),this.main_do.addChild(this.bk_do),this.main_do.addChild(this.text_do),this.main_do.addChild(this.thumbHolder_do),this.main_do.addChild(this.icon_do),this.main_do.addChild(this.iconS_do),this.main_do.addChild(this.border_do),FWDUVPUtils.isIEAndLessThen9&&(this.dumy_do=new FWDUVPDisplayObject("div"),this.dumy_do.setBkColor("#00FF00"),this.dumy_do.setAlpha(1e-4),this.dumy_do.setWidth(this.totalWidth),this.dumy_do.setHeight(this.totalHeight),this.dumy_do.setButtonMode(!0),this.main_do.addChild(this.dumy_do)),this.addChild(this.main_do),this.updateText(c.text_str),FWDUVPUtils.isIEAndLessThen9?c.isMbl?c.hasPointerEvent_bl?(c.dumy_do.screen.addEventListener("pointerup",c.onMouseUp),c.dumy_do.screen.addEventListener("pointerover",c.onMouseOver),c.dumy_do.screen.addEventListener("pointerout",c.onMouseOut)):c.dumy_do.screen.addEventListener("touchend",c.onMouseUp):c.dumy_do.screen.addEventListener?(c.dumy_do.screen.addEventListener("mouseover",c.onMouseOver),c.dumy_do.screen.addEventListener("mouseout",c.onMouseOut),c.dumy_do.screen.addEventListener("mouseup",c.onMouseUp)):c.dumy_do.screen.attachEvent&&(c.dumy_do.screen.attachEvent("onmouseover",c.onMouseOver),c.dumy_do.screen.attachEvent("onmouseout",c.onMouseOut),c.dumy_do.screen.attachEvent("onmouseup",c.onMouseUp)):c.isMbl?c.hasPointerEvent_bl?(c.border_do.screen.addEventListener("pointerup",c.onMouseUp),c.border_do.screen.addEventListener("pointerover",c.onMouseOver),c.border_do.screen.addEventListener("pointerout",c.onMouseOut)):c.border_do.screen.addEventListener("touchend",c.onMouseUp):c.border_do.screen.addEventListener?(c.border_do.screen.addEventListener("mouseover",c.onMouseOver),c.border_do.screen.addEventListener("mouseout",c.onMouseOut),c.border_do.screen.addEventListener("mouseup",c.onMouseUp)):c.border_do.screen.attachEvent&&(c.border_do.screen.attachEvent("onmouseover",c.onMouseOver),c.border_do.screen.attachEvent("onmouseout",c.onMouseOut),c.border_do.screen.attachEvent("onmouseup",c.onMouseUp))},c.onMouseOver=function(e){e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||c.setSelectedState()},c.onMouseOut=function(e){e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||c.setNormalState()},c.onMouseUp=function(e){e.preventDefault&&e.preventDefault(),2!=e.button&&c.isShowed_bl&&c.dispatchEvent(_.MOUSE_UP)},this.updateText=function(e){var t;this.text_do.setInnerHTML(e),setTimeout(function(){t=c.text_do.getWidth()+8+c.iconS_do.w,c.text_do.setX(parseInt(c.totalWidth-t)/2),c.text_do.setY(parseInt((c.totalHeight-c.text_do.getHeight())/2)+2),c.icon_do.setX(c.text_do.x+t-c.iconS_do.w),c.icon_do.setY(parseInt((c.totalHeight-c.iconS_do.h)/2)+2),c.iconS_do.setX(c.text_do.x+t-c.iconS_do.w),c.iconS_do.setY(parseInt((c.totalHeight-c.iconS_do.h)/2)+2)},50)},this.resize=function(e){var t=c.totalWidth;e&&(t=64),e?(this.text_do.setVisible(!1),c.icon_do.setX(Math.round((t-c.iconS_do.w)/2)-1),c.icon_do.setY(Math.round((c.totalHeight-c.iconS_do.h)/2))):(this.text_do.setVisible(!0),c.icon_do.setX(c.text_do.x+c.text_do.getWidth()+8+c.iconS_do.w-c.iconS_do.w),c.icon_do.setY(parseInt((c.totalHeight-c.iconS_do.h)/2)+2)),c.iconS_do.setX(c.icon_do.x),c.iconS_do.setY(c.icon_do.y),c.setWidth(t),c.main_do.setWidth(t),c.bk_do.setWidth(t),c.border_do.setWidth(t-1)},this.setNormalState=function(){FWDAnimation.to(c.iconS_do,.5,{alpha:0,ease:Expo.easeOut}),FWDAnimation.to(c.text_do.screen,.5,{css:{color:c.textNormalColor_str},ease:Expo.easeOut}),FWDAnimation.to(c.border_do.screen,.5,{css:{borderColor:c.borderNColor_str},ease:Expo.easeOut})},this.setSelectedState=function(){FWDAnimation.to(c.iconS_do,.5,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(c.text_do.screen,.5,{css:{color:c.textSelectedColor_str},ease:Expo.easeOut}),FWDAnimation.to(c.border_do.screen,.5,{css:{borderColor:c.borderSColor_str},ease:Expo.easeOut})},this.show=function(e){this.isShowed_bl||(this.isShowed_bl=!0,this.setVisible(!0),FWDAnimation.killTweensOf(this.main_do),e&&!c.isMbl?"left"==this.position_str?FWDAnimation.to(this.main_do,.8,{x:0,delay:.8,ease:Expo.easeInOut}):FWDAnimation.to(this.main_do,.8,{x:1-this.totalWidth,delay:.8,ease:Expo.easeInOut}):"left"==this.position_str?this.main_do.setX(0):this.main_do.setX(-this.totalWidth),this.text_do.getStyle().color=this.textNormalColor_str)},this.hide=function(e,t){(this.isShowed_bl||t)&&(this.isShowed_bl=!1,this.hasThumbanil_bl=!1,FWDAnimation.killTweensOf(this.main_do),e&&!c.isMbl?"left"==this.position_str?FWDAnimation.to(this.main_do,.8,{x:-this.totalWidth,ease:Expo.easeInOut,onComplete:this.hideCompleteHandler}):FWDAnimation.to(this.main_do,.8,{x:0,ease:Expo.easeInOut,onComplete:this.hideCompleteHandler}):("left"==this.position_str?this.main_do.setX(-this.totalWidth):this.main_do.setX(0),this.hideCompleteHandler()))},this.hideCompleteHandler=function(){c.smallImage_img&&(c.smallImage_img.onload=null,c.smallImage_img.src="",FWDAnimation.killTweensOf(c.icon_do)),1!=c.main_do.alpha&&c.main_do.setAlpha(1),c.thumbHolder_do.setVisible(!1),c.setVisible(!1)},this.hideWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(this.main_do,.8,{alpha:.5})},this.showWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(this.main_do,.8,{alpha:1})},c.init()};_.setPrototype=function(){_.prototype=null,_.prototype=new FWDUVPTransformDisplayObject("div")},_.CLICK="onClick",_.MOUSE_OVER="onMouseOver",_.SHOW_TOOLTIP="showTooltip",_.MOUSE_OUT="onMouseOut",_.MOUSE_UP="onMouseDown",_.prototype=null,e.FWDUVPAdsButton=_}(window),function(e){var n=function(e,t,s,o,i){var l=this;n.prototype;this.main_do=null,this.bk_do=null,this.text_do=null,this.border_do=null,this.thumbHolder_do=null,this.borderNColor_str=t,this.borderSColor_str=s,this.adsBackgroundPath_str=o,this.position_str=e,this.timeColor_str=i,this.totalWidth=215,this.totalHeight=64,this.fontSize=12,this.hasThumbanil_bl=!1,this.isShowed_bl=!1,this.isMbl=FWDUVPUtils.isMobile,this.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,l.init=function(){l.setOverflow("visible"),l.setupMainContainers(),l.hide(!1,!0)},l.setupMainContainers=function(){this.main_do=new FWDUVPDisplayObject("div"),this.main_do.hasTransform3d_bl=!1,this.main_do.hasTransform2d_bl=!1,this.main_do.setBackfaceVisibility(),this.bk_do=new FWDUVPDisplayObject("div"),this.bk_do.getStyle().background="url('"+this.adsBackgroundPath_str+"')",this.text_do=new FWDUVPDisplayObject("div"),this.text_do.screen.className="UVP-skip-in",this.text_do.hasTransform3d_bl=!1,this.text_do.hasTransform2d_bl=!1,this.text_do.setBackfaceVisibility(),this.text_do.getStyle().fontFamily="Arial",this.text_do.getStyle().fontSize="12px",this.text_do.getStyle().lineHeight="18px",this.text_do.getStyle().textAlign="center",this.text_do.getStyle().color=this.timeColor_str,this.text_do.getStyle().fontSmoothing="antialiased",this.text_do.getStyle().webkitFontSmoothing="antialiased",this.text_do.getStyle().textRendering="optimizeLegibility",this.text_do.setInnerHTML("..."),this.thumbHolder_do=new FWDUVPDisplayObject("div"),this.thumbHolder_do.setWidth(this.totalHeight-8),this.thumbHolder_do.setHeight(this.totalHeight-8),this.thumbHolder_do.setX(this.totalWidth-this.thumbHolder_do.w-4),this.thumbHolder_do.setY(4),this.border_do=new FWDUVPDisplayObject("div"),this.border_do.getStyle().border="1px solid "+this.borderNColor_str,this.main_do.setWidth(this.totalWidth),this.main_do.setHeight(this.totalHeight),this.bk_do.setWidth(this.totalWidth),this.bk_do.setHeight(this.totalHeight),"left"==this.position_str?(this.border_do.setX(-1),this.border_do.setWidth(this.totalWidth-1)):this.border_do.setWidth(this.totalWidth),this.border_do.setHeight(this.totalHeight-2),this.setWidth(this.totalWidth),this.setHeight(this.totalHeight),this.main_do.addChild(this.bk_do),this.main_do.addChild(this.text_do),this.main_do.addChild(this.thumbHolder_do),this.main_do.addChild(this.border_do),this.addChild(this.main_do)},this.loadThumbnail=function(e){if(this.hasThumbanil_bl=!0,this.smallImage_img){this.smallImage_img.removeAttribute("width"),this.smallImage_img.removeAttribute("height"),this.smallImage_img.onload=null,this.smallImage_img.src="";try{FWDUVPUtils.isIE||this.thumbHolder_do.removeChild(l.thumbnail_do)}catch(e){}}this.thumbnail_do||(this.thumbnail_do=new FWDUVPDisplayObject("img"),this.smallImage_img=new Image),this.thumbHolder_do.setVisible(!0),this.smallImage_img.onload=this.onSmallImageLoad,this.smallImage_img.src=e},this.onSmallImageLoad=function(){l.smallImageOriginalW=l.smallImage_img.width,l.smallImageOriginalH=l.smallImage_img.height,l.thumbnail_do.setScreen(l.smallImage_img),l.thumbHolder_do.addChild(l.thumbnail_do);var e=l.thumbHolder_do.w/l.smallImageOriginalW,t=l.thumbHolder_do.h/l.smallImageOriginalH,s=0;t<=e?s=e:e<=t&&(s=t),l.thumbnail_do.setWidth(Math.round(l.smallImageOriginalW*s)),l.thumbnail_do.setHeight(Math.round(l.smallImageOriginalH*s)),l.thumbnail_do.setX(Math.round((l.thumbHolder_do.w-l.thumbnail_do.w)/2)),l.thumbnail_do.setY(Math.round((l.thumbHolder_do.h-l.thumbnail_do.h)/2)),l.thumbnail_do.setAlpha(0),FWDAnimation.to(l.thumbnail_do,.8,{alpha:1}),l.updateText()},this.updateText=function(e){e&&this.text_do.setInnerHTML(e),this.hasThumbanil_bl?(this.text_do.setX(16),this.text_do.setWidth(this.totalWidth-this.totalHeight-26)):(this.text_do.setX(8),this.text_do.setWidth(this.totalWidth-16)),this.text_do.setY(parseInt((l.totalHeight-l.text_do.getHeight())/2))},this.show=function(e){this.isShowed_bl||(this.isShowed_bl=!0,this.setVisible(!0),FWDAnimation.killTweensOf(this.main_do),e&&!l.isMbl?"left"==this.position_str?FWDAnimation.to(this.main_do,.8,{x:0,delay:.2,ease:Expo.easeInOut}):FWDAnimation.to(this.main_do,.8,{x:1-this.totalWidth,delay:.2,ease:Expo.easeInOut}):"left"==this.position_str?this.main_do.setX(0):this.main_do.setX(-this.totalWidth))},this.hide=function(e,t){(this.isShowed_bl||t)&&(this.isShowed_bl=!1,this.hasThumbanil_bl=!1,FWDAnimation.killTweensOf(this.main_do),e&&!l.isMbl?"left"==this.position_str?FWDAnimation.to(this.main_do,.8,{x:-this.totalWidth,ease:Expo.easeInOut,onComplete:this.hideCompleteHandler}):FWDAnimation.to(this.main_do,.8,{x:0,ease:Expo.easeInOut,onComplete:this.hideCompleteHandler}):("left"==this.position_str?this.main_do.setX(-this.totalWidth):this.main_do.setX(0),this.hideCompleteHandler()))},this.hideCompleteHandler=function(){l.smallImage_img&&(l.smallImage_img.onload=null,l.smallImage_img.src="",FWDAnimation.killTweensOf(l.thumbnail_do)),1!=l.main_do.alpha&&l.main_do.setAlpha(1),l.thumbHolder_do.setVisible(!1),l.setVisible(!1)},this.hideWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(this.main_do,.8,{alpha:.5})},this.showWithOpacity=function(){FWDUVPUtils.isIEAndLessThen9||FWDAnimation.to(this.main_do,.8,{alpha:1})},l.init()};n.setPrototype=function(){n.prototype=null,n.prototype=new FWDUVPTransformDisplayObject("div")},n.CLICK="onClick",n.MOUSE_OVER="onMouseOver",n.SHOW_TOOLTIP="showTooltip",n.MOUSE_OUT="onMouseOut",n.MOUSE_UP="onMouseDown",n.prototype=null,e.FWDUVPAdsStart=n}(window),function(window){var FWDUVPAnnotation=function(props_obj){var self=this,prototype=FWDUVPAnnotation.prototype;this.id=props_obj.id,this.startTime=props_obj.start,this.endTime=props_obj.end,this.htmlContent_str=props_obj.content,this.left=props_obj.left,this.top=props_obj.top,this.showCloseButton_bl=props_obj.showCloseButton_bl,this.clickSource=props_obj.clickSource,this.clickSourceTarget=props_obj.clickSourceTarget,this.closeButtonNpath=props_obj.closeButtonNpath,this.closeButtonSPath=props_obj.closeButtonSPath,this.normalStateClass=props_obj.normalStateClass,this.selectedStateClass=props_obj.selectedStateClass,this.showAnnotationsPositionTool_bl=props_obj.showAnnotationsPositionTool_bl,this.prt=props_obj.prt,this.curX=this.left,this.curY=this.top,this.data=props_obj.data,this.useHEX=props_obj.useHEX,this.nBC=props_obj.nBC,this.sBC=props_obj.sBC,this.handPath_str=props_obj.handPath_str,this.grabPath_str=props_obj.grabPath_str,this.dummy_do=null,this.isShowed_bl=!1,this.isClsd=!1,self.init=function(){-1!=this.data.sknPth.indexOf("hex_white")&&(self.sBC="#FFFFFF"),self.setOverflow("visible"),self.setAlpha(0),self.setVisible(!1),FWDUVPUtils.hasTransform2d&&(this.getStyle().transformOrigin="0% 0%"),this.screen.innerHTML=this.htmlContent_str,this.screen.className=this.normalStateClass,this.setBackfaceVisibility(),this.getStyle().fontSmoothing="antialiased",this.getStyle().webkitFontSmoothing="antialiased",this.getStyle().textRendering="optimizeLegibility",this.dummy_do=new FWDUVPDisplayObject("div"),this.dummy_do.getStyle().width="100%",this.dummy_do.getStyle().height="100%",this.addChild(this.dummy_do),setTimeout(function(){self.w=self.getWidth(),self.h=self.getHeight()},100),self.showCloseButton_bl&&!self.showAnnotationsPositionTool_bl&&(FWDUVPSimpleSizeButton.setPrototype(),self.clsBtn=new FWDUVPSimpleSizeButton(self.closeButtonNpath,self.closeButtonSPath,26,26,this.useHEX,this.nBC,this.sBC,!0),self.clsBtn.setScale2(0),self.clsBtn.addListener(FWDUVPSimpleSizeButton.MOUSE_UP,self.closeClickButtonCloseHandler),self.clsBtn.getStyle().position="absolute",self.addChild(self.clsBtn)),self.showAnnotationsPositionTool_bl&&(self.info_do=new FWDUVPDisplayObject("div"),self.info_do.getStyle().backgroundColor="#FFFFFF",self.info_do.getStyle().boxShadow="2px 2px 2px #888888;",this.info_do.getStyle().fontSmoothing="antialiased",this.info_do.getStyle().webkitFontSmoothing="antialiased",this.info_do.getStyle().textRendering="optimizeLegibility",this.addChild(this.info_do),setTimeout(function(){self.info_do.screen.innerHTML="
data-left="+Math.round(self.curX*self.prt.scaleInverse)+"
data-top="+Math.round(self.curY*self.prt.scaleInverse)+"
",self.setX(Math.round(self.curX*self.prt.scale)),self.setY(Math.round(self.curY*self.prt.scale))},100),self.isMbl?self.hasPointerEvent_bl?self.screen.addEventListener("pointerdown",self.selfOnDownHandler):self.screen.addEventListener("touchdown",self.selfOnDownHandler):window.addEventListener&&self.screen.addEventListener("mousedown",self.selfOnDownHandler),self.getStyle().cursor="url("+self.handPath_str+"), default"),self.clickSource&&!self.showAnnotationsPositionTool_bl&&(self.dummy_do.setButtonMode(!0),self.dummy_do.screen.addEventListener("click",this.onClickHandler),self.dummy_do.screen.addEventListener("mouseover",this.onMouseOverHandler),self.dummy_do.screen.addEventListener("mouseout",this.onMouseOutHandler))},this.selfOnDownHandler=function(e){e.preventDefault&&e.preventDefault(),self.getStyle().cursor="url("+self.grabPath_str+"), default",self.prt.addChild(self);var t=FWDUVPUtils.getViewportMouseCoordinates(e);self.startX=t.screenX-self.prt.getGlobalX(),self.startY=t.screenY-self.prt.getGlobalY(),self.curX=self.x,self.curY=self.y,self.isMbl?self.hasPointerEvent_bl?(window.addEventListener("pointermove",self.selfMoveHandler),window.addEventListener("pointerup",self.selfEndHandler)):(window.addEventListener("touchmove",self.selfMoveHandler),window.addEventListener("touchend",self.selfEndHandler)):window.addEventListener&&(window.addEventListener("mousemove",self.selfMoveHandler),window.addEventListener("mouseup",self.selfEndHandler))},this.selfMoveHandler=function(e){e.preventDefault&&e.preventDefault();var t=FWDUVPUtils.getViewportMouseCoordinates(e);self.localX=t.screenX-self.prt.getGlobalX(),self.localY=t.screenY-self.prt.getGlobalY(),self.curX=self.x,self.curY=self.y,self.curX+=self.localX-self.startX,self.curY+=self.localY-self.startY,self.setX(self.curX),self.setY(self.curY),self.startX=t.screenX-self.prt.getGlobalX(),self.startY=t.screenY-self.prt.getGlobalY(),self.info_do.screen.innerHTML="
data-left="+Math.round(self.curX*self.prt.scaleInverse)+"
data-top="+Math.round(self.curY*self.prt.scaleInverse)+"
"},this.selfEndHandler=function(e){self.getStyle().cursor="url("+self.handPath_str+"), default",self.isMbl?self.hasPointerEvent_bl?(window.removeEventListener("pointermove",self.selfMoveHandler),window.removeEventListener("pointerup",self.selfEndHandler)):(window.removeEventListener("touchmove",self.selfMoveHandler),window.removeEventListener("touchend",self.selfEndHandler)):window.removeEventListener&&(window.removeEventListener("mousemove",self.selfMoveHandler),window.removeEventListener("mouseup",self.selfEndHandler))},this.onMouseOverHandler=function(e){self.setSelectedAtate()},this.onMouseOutHandler=function(e){self.setNormalState()},this.onClickHandler=function(){-1!=self.clickSource.indexOf("https")||-1!=self.clickSource.indexOf("http")?window.open(self.clickSource,self.clickSourceTarget):eval(self.clickSource)},this.closeClickButtonCloseHandler=function(){self.hide(),self.isClsd=!0},this.show=function(){this.isShowed_bl||this.isClsd||(self.isShowed_bl=!0,self.setVisible(!0),FWDAnimation.killTweensOf(self),FWDAnimation.to(self,.8,{alpha:1,ease:Quint.easeOut}),self.clsBtn&&FWDAnimation.to(self.clsBtn,.8,{scale:1,delay:.2,ease:Elastic.easeOut}))},this.hide=function(){this.isShowed_bl&&(FWDAnimation.killTweensOf(self),self.isShowed_bl=!1,self.setVisible(!1),self.setAlpha(0),self.clsBtn&&(FWDAnimation.killTweensOf(self.clsBtn),self.clsBtn.setScale2(0)))},this.setNormalState=function(){self.selectedStateClass&&FWDAnimation.to(self.screen,.8,{className:self.normalStateClass,ease:Quint.easeOut})},this.setSelectedAtate=function(){self.selectedStateClass&&FWDAnimation.to(self.screen,.8,{className:self.selectedStateClass,ease:Quint.easeOut})},this.updateHEXColors=function(e,t){self.clsBtn&&self.clsBtn.updateHEXColors(e,t,self.buttonWidth,self.buttonHeight)},self.init()};FWDUVPAnnotation.setPrototype=function(){FWDUVPAnnotation.prototype=null,FWDUVPUtils.hasTransform2d?FWDUVPAnnotation.prototype=new FWDUVPTransformDisplayObject("div"):FWDUVPAnnotation.prototype=new FWDUVPDisplayObject("div")},FWDUVPAnnotation.prototype=null,window.FWDUVPAnnotation=FWDUVPAnnotation}(window),function(a){var e=function(i,l){var n=this;e.prototype;n.nBC=l.nBC,n.sBC=l.sBC,this.ann_ar=[],this.showAnnotationsPositionTool_bl=l.showAnnotationsPositionTool_bl,n.init=function(){n.setOverflow("visible")},n.setupAnnotations=function(e){if(n.ann_ar)for(var t=0;t=t.startTime&&e<=t.endTime?(t.show(),n.position()):t.hide()},this.position=function(e){var t=i.sW/i.maxWidth;if(n.setX(Math.round((i.sW-t*i.maxWidth)/2)),n.setY(Math.round((i.tempVidStageHeight-t*i.maxHeight)/2)),n.scale=i.sW/i.maxWidth,n.scaleY=n.scale,n.scaleX=n.scale,n.scaleInverse=i.maxWidth/i.sW,!n.showAnnotationsPositionTool_bl)for(var s=0;si.maxWidth/3&&(o.finalX-=i.playlistWidth+i.spaceBetweenControllerAndPlaylist),o.finalY=Math.floor(o.top*n.scaleY),o.clsBtn&&(o.clsBtn.setWidth(Math.round(o.clsBtn.buttonWidth*n.scaleInverse)),o.clsBtn.setHeight(Math.round(o.clsBtn.buttonHeight*n.scaleInverse)),o.clsBtn.n_do.setWidth(Math.round(o.clsBtn.buttonWidth*n.scaleInverse)),o.clsBtn.n_do.setHeight(Math.round(o.clsBtn.buttonHeight*n.scaleInverse)),o.clsBtn.n_do_canvas&&(o.clsBtn.n_do_canvas.style.width=Math.round(o.clsBtn.buttonWidth*n.scaleInverse)+"px",o.clsBtn.n_do_canvas.style.height=Math.round(o.clsBtn.buttonheight*n.scaleInverse)+"px",o.clsBtn.s_do_canvas.style.width=Math.round(o.clsBtn.buttonWidth*n.scaleInverse)+"px",o.clsBtn.s_do_canvas.style.height=Math.round(o.clsBtn.buttonheight*n.scaleInverse)+"px"),o.clsBtn.s_do.setWidth(Math.round(o.clsBtn.buttonWidth*n.scaleInverse)),o.clsBtn.s_do.setHeight(Math.round(o.clsBtn.buttonHeight*n.scaleInverse)),o.clsBtn.setX(Math.floor(o.getWidth()-o.clsBtn.w/2)),o.clsBtn.setY(Math.floor(-o.clsBtn.h/2))),o.prevFinalX!=o.finalX&&(e?FWDAnimation.to(o,.8,{x:o.finalX,ease:Expo.easeInOut}):o.setX(o.finalX)),o.prevFinalY!=o.finalY&&(e?FWDAnimation.to(o,.8,{y:o.finalY,ease:Expo.easeInOut}):o.setY(o.finalY)),o.prevFinalX=o.finalX,o.prevFinalY=o.finalY}},this.updateHEXColors=function(e,t){if(n.nBC=e,n.sBC=t,n.ann_ar)for(var s=0;s
",void 0,"UVPCategoriesNextAndPrevNormalState","UVPCategoriesNextAndPrevSelectedState")):(FWDUVPSimpleButton.setPrototype(),p.clsBtn=new FWDUVPSimpleButton(p.catCloseN_img,s.catCloseSPath_str,void 0,!0,s.useHEX,s.nBC,p.sBC,!1,!1,!1,!1,!0)),p.clsBtn.addListener(FWDUVPSimpleButton.MOUSE_UP,p.closeButtonOnMouseUpHandler),p.useVectorIcons_bl?(FWDUVPSimpleButton.setPrototype(),p.nextButton_do=new FWDUVPSimpleButton(void 0,void 0,void 0,!0,void 0,void 0,void 0,"
",void 0,"UVPCategoriesNextAndPrevNormalState","UVPCategoriesNextAndPrevSelectedState")):(FWDUVPSimpleButton.setPrototype(),p.nextButton_do=new FWDUVPSimpleButton(p.catNextN_img,s.catNextSPath_str,void 0,!0,s.useHEX,s.nBC,p.sBC,!1,!1,!1,!1,!0)),p.nextButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,p.nextButtonOnMouseUpHandler),p.useVectorIcons_bl?(FWDUVPSimpleButton.setPrototype(),p.prevButton_do=new FWDUVPSimpleButton(void 0,void 0,void 0,!0,void 0,void 0,void 0,"
",void 0,"UVPCategoriesNextAndPrevNormalState","UVPCategoriesNextAndPrevSelectedState")):(FWDUVPSimpleButton.setPrototype(),p.prevButton_do=new FWDUVPSimpleButton(p.catPrevN_img,s.catPrevSPath_str,void 0,!0,s.useHEX,s.nBC,p.sBC,!1,!1,!1,!1,!0)),p.prevButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,p.prevButtonOnMouseUpHandler))},this.closeButtonOnMouseUpHandler=function(){p.hide()},this.nextButtonOnMouseUpHandler=function(){var e=p.howManyThumbsToDisplayH*p.howManyThumbsToDisplayV;p.tempId+=e,p.tempId>p.totalThumbnails-1&&(p.tempId=p.totalThumbnails-1);var t=Math.floor(p.tempId/e);p.tempId=t*e,p.resizeAndPositionThumbnails(!0,"next"),p.disableEnableNextAndPrevButtons(!1,!0)},this.prevButtonOnMouseUpHandler=function(){var e=p.howManyThumbsToDisplayH*p.howManyThumbsToDisplayV;p.tempId-=e,p.tempId<0&&(p.tempId=0);var t=Math.floor(p.tempId/e);p.tempId=t*e,p.resizeAndPositionThumbnails(!0,"prev"),p.disableEnableNextAndPrevButtons(!0,!1)},this.positionButtons=function(){p.clsBtn.setX(p.sW-p.clsBtn.w-p.buttonsMargins),p.clsBtn.setY(p.buttonsMargins),p.nextButton_do.setX(p.sW-p.nextButton_do.w-p.buttonsMargins),p.nextButton_do.setY(parseInt((p.sH-p.nextButton_do.h)/2)),p.prevButton_do.setX(p.buttonsMargins),p.prevButton_do.setY(parseInt((p.sH-p.prevButton_do.h)/2))},this.disableEnableNextAndPrevButtons=function(e,t){var s=p.howManyThumbsToDisplayH*p.howManyThumbsToDisplayV,o=Math.floor(p.tempId/s),i=Math.ceil(p.totalThumbnails/s)-1;p.howManyThumbsToDisplayH,p.howManyThumbsToDisplayH;s>=p.totalThumbnails?(p.nextButton_do.disable(),p.prevButton_do.disable(),p.nextButton_do.setDisabledState(),p.prevButton_do.setDisabledState()):0==o?(p.nextButton_do.enable(),p.prevButton_do.disable(),p.nextButton_do.setEnabledState(),p.prevButton_do.setDisabledState()):(o==i?(p.nextButton_do.disable(),p.prevButton_do.enable(),p.nextButton_do.setDisabledState()):(p.nextButton_do.enable(),p.prevButton_do.enable(),p.nextButton_do.setEnabledState()),p.prevButton_do.setEnabledState()),e||p.prevButton_do.setNormalState(),t||p.nextButton_do.setNormalState()},this.setupMobileMove=function(){p.hasPointerEvent_bl?p.screen.addEventListener("pointerdown",p.mobileDownHandler):p.screen.addEventListener("touchstart",p.mobileDownHandler)},this.mobileDownHandler=function(e){if(!e.touches||1==e.touches.length){var t=FWDUVPUtils.getViewportMouseCoordinates(e);p.mouseX=t.screenX,p.mouseY=t.screenY,p.hasPointerEvent_bl?(window.addEventListener("pointerup",p.mobileUpHandler),window.addEventListener("pointermove",p.mobileMoveHandler)):(window.addEventListener("touchend",p.mobileUpHandler),window.addEventListener("touchmove",p.mobileMoveHandler))}},this.mobileMoveHandler=function(e){if(e.preventDefault&&e.preventDefault(),!e.touches||1==e.touches.length){p.showDisable();var t=FWDUVPUtils.getViewportMouseCoordinates(e);p.dif=p.mouseX-t.screenX,p.mouseX=t.screenX,p.mouseY=t.screenY}},this.mobileUpHandler=function(e){p.hideDisable(),10p.thumbnailMaxWidth&&(p.howManyThumbsToDisplayH+=1,p.thumbW=Math.floor((_-p.spacerH*(p.howManyThumbsToDisplayH-1))/p.howManyThumbsToDisplayH)),p.thumbH=Math.floor(p.thumbW/p.thumbnailMaxWidth*p.thumbnailMaxHeight),p.howManyThumbsToDisplayV=Math.floor(f/(p.thumbH+p.spacerV)),p.howManyThumbsToDisplayV<1&&(p.howManyThumbsToDisplayV=1),l=Math.min(p.howManyThumbsToDisplayH,p.totalThumbnails)*(p.thumbW+p.spacerH)-p.spacerH,n=Math.min(Math.ceil(p.totalThumbnails/p.howManyThumbsToDisplayH),p.howManyThumbsToDisplayV)*(p.thumbH+p.spacerV)-p.spacerV,a=p.howManyThumbsToDisplayH>p.totalThumbnails?0:_-l,p.howManyThumbsToDisplayH>p.totalThumbnails&&(p.howManyThumbsToDisplayH=p.totalThumbnails),u=p.howManyThumbsToDisplayH*p.howManyThumbsToDisplayV,o=Math.floor(p.tempId/u),p.isSearched_bl&&(o=0),d=p.howManyThumbsToDisplayH*o,firstId=o*u,(r=firstId+u)>p.totalThumbnails&&(r=p.totalThumbnails);for(c=0;c=firstId&&c=p.totalThumbnails?(p.nextButton_do.setVisible(!1),p.prevButton_do.setVisible(!1)):(p.nextButton_do.setVisible(!0),p.prevButton_do.setVisible(!0))}},this.loadImages=function(){p.countLoadedThumbs>p.totalThumbnails-1||(p.image_img&&(p.image_img.onload=null,p.image_img.onerror=null),p.image_img=new Image,p.image_img.onerror=p.onImageLoadError,p.image_img.onload=p.onImageLoadComplete,p.image_img.src=p.categories_ar[p.countLoadedThumbs].thumbnailPath)},this.onImageLoadError=function(e){},this.onImageLoadComplete=function(e){p.thumbs_ar[p.countLoadedThumbs].setImage(p.image_img),p.countLoadedThumbs++,p.loadWithDelayId_to=setTimeout(p.loadImages,40)},this.disableOrEnableThumbnails=function(){for(var e,t=0;tn.mainButtonsHolder_do.h?n.allowToScrollAndScrollBarIsActive_bl=!0:n.allowToScrollAndScrollBarIsActive_bl=!1,!n.allowToScrollAndScrollBarIsActive_bl&&n.scrMainHolder_do?n.scrMainHolder_do.setVisible(!1):n.allowToScrollAndScrollBarIsActive_bl&&n.scrMainHolder_do&&n.isShd&&n.scrMainHolder_do.setVisible(!0),n.scrHandler_do&&n.updateScrollBarSizeActiveAndDeactivate(),this.getMaxWidthResizeAndPosition(),n.updateScrollBarHandlerAndContent()},this.hide=function(e,t){(n.isShd||t)&&(FWDAnimation.killTweensOf(this),n.isShd=!1,FWDAnimation.killTweensOf(n.mainButtonsHolder_do),FWDAnimation.killTweensOf(n.bk_do),e?(FWDAnimation.to(n.mainButtonsHolder_do,.8,{y:-n.ttBtnH,ease:Expo.easeInOut,onComplete:n.hideComplete}),FWDAnimation.to(n.bk_do,.8,{alpha:0})):(n.mainButtonsHolder_do.setY(n.buttonHeight-n.ttBtnH),n.bk_do.setAlpha(0),n.setHeight(n.buttonHeight)))},this.hideComplete=function(){n.mainButtonsHolder_do.setVisible(!1),n.bk_do.setVisible(!1)},this.show=function(e,t){n.isShd&&!t||(FWDAnimation.killTweensOf(this),n.mainButtonsHolder_do.setY(-n.ttBtnH),n.isShd=!0,n.mainButtonsHolder_do.setVisible(!0),n.bk_do.setVisible(!0),n.resizeAndPosition(),FWDAnimation.killTweensOf(n.mainButtonsHolder_do),FWDAnimation.killTweensOf(n.bk_do),n.scrMainHolder_do&&n.allowToScrollAndScrollBarIsActive_bl&&n.scrMainHolder_do.setVisible(!0),e?(FWDAnimation.to(n.bk_do,.8,{alpha:1}),FWDAnimation.to(n.mainButtonsHolder_do,.8,{y:n.buttonHeight+i.spaceBetweenThumbnails,ease:Expo.easeInOut})):(n.bk_do.setAlpha(1),n.mainButtonsHolder_do.setY(n.buttonHeight+i.spaceBetweenThumbnails)))},this.setupScrollLogic=function(){n.setupMobileScrollbar(),n.isMbl||n.setupScrollbar(),n.addMouseWheelSupport_bl&&n.addMouseWheelSupport()},this.setupMobileScrollbar=function(){n.hasPointEvt?n.mainButtonsHolder_do.screen.addEventListener("pointerdown",n.scrollBarTouchStartHandler):n.mainButtonsHolder_do.screen.addEventListener("touchstart",n.scrollBarTouchStartHandler),n.isMbl&&(n.updateMobileScrollBarId_int=setInterval(n.updateMobileScrollBar,16))},this.scrollBarTouchStartHandler=function(e){e.preventDefault&&e.preventDefault(),n.isScrollingOnMove_bl=!1,FWDAnimation.killTweensOf(n.buttonsHolder_do);var t=FWDUVPUtils.getViewportMouseCoordinates(e);n.isDragging_bl=!0,n.lastPresedY=t.screenY,n.checkLastPresedY=t.screenY,n.hasPointEvt?(o.addEventListener("pointerup",n.scrollBarTouchEndHandler),o.addEventListener("pointermove",n.scrollBarTouchMoveHandler)):(o.addEventListener("touchend",n.scrollBarTouchEndHandler),o.addEventListener("touchmove",n.scrollBarTouchMoveHandler)),o.addEventListener("mouseup",n.scrollBarTouchEndHandler),o.addEventListener("mousemove",n.scrollBarTouchMoveHandler),clearInterval(n.updateMoveMobileScrollbarId_int),n.updateMoveMobileScrollbarId_int=setInterval(n.updateMoveMobileScrollbar,20)},this.scrollBarTouchMoveHandler=function(e){if(e.preventDefault&&e.preventDefault(),e.stopImmediatePropagation(),!(n.ttBtnH=n.checkLastPresedY+6||t.screenY<=n.checkLastPresedY-6)&&(n.isScrollingOnMove_bl=!0);var s=t.screenY-n.lastPresedY;if(n.thmbsFinY+=s,n.thmbsFinY=Math.round(n.thmbsFinY),n.lastPresedY=t.screenY,n.vy=2*s,!n.isMobile){0n.scrMainHolder_do.h-n.scrHandler_do.h-1&&(n.scrBarHandY=n.scrMainHolder_do.h-n.scrHandler_do.h-1),FWDAnimation.killTweensOf(n.scrHandler_do),FWDAnimation.killTweensOf(n.scrHandlerLines_do),n.scrHandler_do.setY(n.scrBarHandY),n.scrHandlerLines_do.setY(n.scrBarHandY+parseInt((n.scrHandler_do.h-n.scrHandlerLinesN_do.h)/2)))}}},this.scrollBarTouchEndHandler=function(e){n.isDragging_bl=!1,clearInterval(n.updateMoveMobileScrollbarId_int),clearTimeout(n.disableOnMoveId_to),n.disableOnMoveId_to=setTimeout(function(){i.prt.hideDisable()},100),n.hasPointEvt?(o.removeEventListener("pointerup",n.scrollBarTouchEndHandler),o.removeEventListener("pointermove",n.scrollBarTouchMoveHandler)):(o.removeEventListener("touchend",n.scrollBarTouchEndHandler),o.removeEventListener("touchmove",n.scrollBarTouchMoveHandler)),o.removeEventListener("mousemove",n.scrollBarTouchMoveHandler)},this.updateMoveMobileScrollbar=function(){n.buttonsHolder_do.setY(n.thmbsFinY)},this.updateMobileScrollBar=function(e){n.isDragging_bl||(n.ttBtnH=n.scrTrack_do.h-n.scrHandler_do.h?n.scrBarHandY=n.scrTrack_do.h-n.scrHandler_do.h:n.scrBarHandY<=0&&(n.scrBarHandY=0),n.scrHandler_do.setY(n.scrBarHandY),FWDAnimation.killTweensOf(n.scrHandler_do),FWDAnimation.to(n.scrHandlerLines_do,.8,{y:s,ease:Quart.easeOut}),n.updateScrollBarHandlerAndContent(!0)},n.scrollBarHandlerEndHandler=function(e){var t=FWDUVPUtils.getViewportMouseCoordinates(e);n.isDragging_bl=!1,FWDUVPUtils.hitTest(n.scrHandler_do.screen,t.screenX,t.screenY)||(FWDAnimation.killTweensOf(n.scrHandlerLinesN_do),FWDAnimation.killTweensOf(n.scrHandlerLinesS_do),FWDAnimation.to(n.scrHandlerLinesN_do,.8,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(n.scrHandlerLinesS_do,.8,{alpha:0,ease:Expo.easeOut})),i.prt.hideDisable(),FWDAnimation.killTweensOf(n.scrHandler_do),FWDAnimation.to(n.scrHandler_do,.4,{y:n.scrBarHandY,ease:Quart.easeOut}),o.removeEventListener?(o.removeEventListener("mousemove",n.scrollBarHandlerMoveHandler),o.removeEventListener("mouseup",n.scrollBarHandlerEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",n.scrollBarHandlerMoveHandler),document.detachEvent("onmouseup",n.scrollBarHandlerEndHandler))},this.updateScrollBarSizeActiveAndDeactivate=function(){n.disableForAWhileAfterThumbClick_bl||(n.allowToScrollAndScrollBarIsActive_bl?(n.allowToScrollAndScrollBarIsActive_bl=!0,n.scrMainHolder_do.setX(n.sW-n.scrMainHolder_do.w),n.scrMainHolder_do.setHeight(n.mainButtonsHolder_do.h),n.scrTrack_do.setHeight(n.scrMainHolder_do.h),n.scrTrackMiddle_do.setHeight(n.scrTrack_do.h-2*n.scrTrackTop_do.h),n.scrTrackBottom_do.setY(n.scrTrackMiddle_do.y+n.scrTrackMiddle_do.h),n.scrMainHolder_do.setAlpha(1),n.scrHandler_do.setButtonMode(!0),n.scrHandlerLines_do.setButtonMode(!0)):(n.allowToScrollAndScrollBarIsActive_bl=!1,n.scrMainHolder_do.setX(n.sW-n.scrMainHolder_do.w),n.scrMainHolder_do.setHeight(n.mainButtonsHolder_do.h),n.scrTrack_do.setHeight(n.scrMainHolder_do.h),n.scrTrackMiddle_do.setHeight(n.scrTrack_do.h-2*n.scrTrackTop_do.h),n.scrTrackBottom_do.setY(n.scrTrackMiddle_do.y+n.scrTrackMiddle_do.h),n.scrMainHolder_do.setAlpha(.5),n.scrHandler_do.setY(0),n.scrHandler_do.setButtonMode(!1),n.scrHandlerLines_do.setButtonMode(!1)),n.scrHandler_do.setHeight(Math.max(120,Math.round(Math.min(1,n.scrMainHolder_do.h/n.ttBtnH)*n.scrMainHolder_do.h))),n.scrHandlerMiddle_do.setHeight(n.scrHandler_do.h-2*n.scrHandlerTop_do.h),n.scrHandlerBottom_do.setY(n.scrHandlerMiddle_do.y+n.scrHandlerMiddle_do.h),FWDAnimation.killTweensOf(n.scrHandlerLines_do),n.scrHandlerLines_do.setY(n.scrBarHandY+parseInt((n.scrHandler_do.h-n.scrHandlerLines_do.h)/2)),n.scrHandlerBottom_do.setY(n.scrHandler_do.h-n.scrHandlerBottom_do.h))},this.addMouseWheelSupport=function(){n.screen.addEventListener?(n.screen.addEventListener("DOMMouseScroll",n.mouseWheelHandler),n.screen.addEventListener("mousewheel",n.mouseWheelHandler)):n.screen.attachEvent&&n.screen.attachEvent("onmousewheel",n.mouseWheelHandler)},n.mouseWheelHandler=function(e){if(e.preventDefault&&e.preventDefault(),n.disableMouseWheel_bl||n.isDragging_bl)return!1;var t=e.detail||e.wheelDelta;e.wheelDelta&&(t*=-1),0=n.scrTrack_do.h-n.scrHandler_do.h?n.scrBarHandY=n.scrTrack_do.h-n.scrHandler_do.h:n.scrBarHandY<=0&&(n.scrBarHandY=0);var s=n.scrBarHandY+parseInt((n.scrHandler_do.h-n.scrHandlerLines_do.h)/2);if(FWDAnimation.killTweensOf(n.scrHandler_do),FWDAnimation.killTweensOf(n.scrHandlerLines_do),FWDAnimation.to(n.scrHandlerLines_do,.8,{y:s,ease:Quart.easeOut}),FWDAnimation.to(n.scrHandler_do,.5,{y:n.scrBarHandY,ease:Quart.easeOut}),n.isDragging_bl=!0,n.updateScrollBarHandlerAndContent(!0),n.isDragging_bl=!1,!e.preventDefault)return!1;e.preventDefault()},this.updateScrollBarHandlerAndContent=function(e,t){if(!n.disableForAWhileAfterThumbClick_bl&&(n.allowToScrollAndScrollBarIsActive_bl||t)){var s=0;n.isDragging_bl&&!n.isMbl?("Infinity"==(s=n.scrBarHandY/(n.scrMainHolder_do.h-n.scrHandler_do.h))?s=0:1<=s&&(scrollPercent=1),n.thmbsFinY=-1*Math.round(s*(n.ttBtnH-n.mainButtonsHolder_do.h)),0==n.mainButtonsHolder_do.h&&(n.thmbsFinY=0)):(s=n.curId/(n.ttBtns-1),n.thmbsFinY=Math.min(0,-1*Math.round(s*(n.ttBtnH-n.mainButtonsHolder_do.h))),0==n.mainButtonsHolder_do.h&&(n.thmbsFinY=0),n.scrMainHolder_do&&(n.scrBarHandY=Math.round((n.scrMainHolder_do.h-n.scrHandler_do.h)*s),n.scrBarHandY<0?n.scrBarHandY=0:n.scrBarHandY>n.scrMainHolder_do.h-n.scrHandler_do.h-1&&(n.scrBarHandY=n.scrMainHolder_do.h-n.scrHandler_do.h-1),FWDAnimation.killTweensOf(n.scrHandler_do),FWDAnimation.killTweensOf(n.scrHandlerLines_do),e?(FWDAnimation.to(n.scrHandler_do,.4,{y:n.scrBarHandY,ease:Quart.easeOut}),FWDAnimation.to(n.scrHandlerLines_do,.8,{y:n.scrBarHandY+parseInt((n.scrHandler_do.h-n.scrHandlerLinesN_do.h)/2),ease:Quart.easeOut})):(n.scrHandler_do.setY(n.scrBarHandY),n.scrHandlerLines_do.setY(n.scrBarHandY+parseInt((n.scrHandler_do.h-n.scrHandlerLinesN_do.h)/2))))),n.lastThumbnailFinalY!=n.thmbsFinY&&(FWDAnimation.killTweensOf(n.buttonsHolder_do),e?FWDAnimation.to(n.buttonsHolder_do,.5,{y:n.thmbsFinY,ease:Quart.easeOut}):n.buttonsHolder_do.setY(n.thmbsFinY)),n.lastThumbnailFinalY=n.thmbsFinY}},this.init()};t.setPrototype=function(){t.prototype=new FWDUVPDisplayObject("div")},t.OPEN="open",t.HIDE_COMPLETE="infoWindowHideComplete",t.BUTTON_PRESSED="buttonPressed",t.prototype=null,o.FWDUVPComboBox=t}(window),function(){var d=function(t,e,s,o,i,l,n,a){var r=this;d.prototype;this.bk_sdo=null,this.text_sdo=null,this.dumy_sdo=null,this.label1_str=e,this.bkNClr=s,this.bkSClr=o,this.txtNClr=i,this.txtSClr=l,this.totalWidth=400,this.totalHeight=a,this.id=n,this.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,this.isMbl=FWDUVPUtils.isMobile,this.isDisabled_bl=!1,r.init=function(){r.setBackfaceVisibility(),r.setButtonMode(!0),r.setupMainContainers(),r.setWidth(r.totalWidth),r.setHeight(r.totalHeight),r.setNormalState()},r.setupMainContainers=function(){r.bk_sdo=new FWDUVPDisplayObject("div"),r.bk_sdo.setBkColor(r.bkNClr),r.addChild(r.bk_sdo),r.text_sdo=new FWDUVPDisplayObject("div"),r.text_sdo.getStyle().whiteSpace="nowrap",r.text_sdo.screen.className="fwduvp-cb-button",r.text_sdo.setBackfaceVisibility(),r.text_sdo.setOverflow("visible"),r.text_sdo.setDisplay("inline-block"),r.text_sdo.getStyle().fontFamily="Arial",r.text_sdo.getStyle().fontSize="13px",r.text_sdo.getStyle().padding="6px",r.text_sdo.getStyle().fontWeight="100",r.text_sdo.getStyle().color=r.nBC,r.text_sdo.getStyle().fontSmoothing="antialiased",r.text_sdo.getStyle().webkitFontSmoothing="antialiased",r.text_sdo.getStyle().textRendering="optimizeLegibility",FWDUVPUtils.isIEAndLessThen9?r.text_sdo.screen.innerText=r.label1_str:r.text_sdo.setInnerHTML(r.label1_str),r.addChild(r.text_sdo),r.dumy_sdo=new FWDUVPDisplayObject("div"),FWDUVPUtils.isIE&&(r.dumy_sdo.setBkColor("#FF0000"),r.dumy_sdo.setAlpha(0)),r.addChild(r.dumy_sdo),r.hasPointerEvent_bl?(r.screen.addEventListener("pointerup",r.onClick),r.screen.addEventListener("pointerover",r.onMouseOver),r.screen.addEventListener("pointerout",r.onMouseOut)):r.screen.addEventListener&&(r.isMbl||(r.screen.addEventListener("mouseover",r.onMouseOver),r.screen.addEventListener("mouseout",r.onMouseOut),r.screen.addEventListener("mouseup",r.onClick)),r.screen.addEventListener("touchend",r.onClick))},r.onMouseOver=function(e){r.isDisabled_bl||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(r.text_sdo),r.setSelectedState(!0),r.dispatchEvent(d.MOUSE_OVER))},r.onMouseOut=function(e){r.isDisabled_bl||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(r.text_sdo),r.setNormalState(!0),r.dispatchEvent(d.MOUSE_OUT))},r.onClick=function(e){r.isDisabled_bl||t.isScrollingOnMove_bl||(e.preventDefault&&e.preventDefault(),r.dispatchEvent(d.CLICK))},r.onMouseDown=function(e){r.isDisabled_bl||t.isScrollingOnMove_bl||(e.preventDefault&&e.preventDefault(),r.dispatchEvent(d.MOUSE_DOWN,{e:e}))},this.setSelectedState=function(e){FWDAnimation.killTweensOf(r.bk_sdo.screen),FWDAnimation.killTweensOf(r.text_sdo.screen),e?(FWDAnimation.to(r.bk_sdo.screen,.6,{css:{backgroundColor:r.bkSClr},ease:Quart.easeOut}),FWDAnimation.to(r.text_sdo.screen,.6,{css:{color:r.txtSClr},ease:Quart.easeOut})):(r.bk_sdo.setBkColor(r.bkSClr),r.text_sdo.getStyle().color=r.txtSClr)},this.setNormalState=function(e){FWDAnimation.killTweensOf(r.bk_sdo.screen),FWDAnimation.killTweensOf(r.text_sdo.screen),e?(FWDAnimation.to(r.bk_sdo.screen,.6,{css:{backgroundColor:r.bkNClr},ease:Quart.easeOut}),FWDAnimation.to(r.text_sdo.screen,.6,{css:{color:r.txtNClr},ease:Quart.easeOut})):(r.bk_sdo.setBkColor(r.bkNClr),r.text_sdo.getStyle().color=r.txtNClr)},r.centerText=function(){r.dumy_sdo.setWidth(r.totalWidth),r.dumy_sdo.setHeight(r.totalHeight),r.bk_sdo.setWidth(r.totalWidth),r.bk_sdo.setHeight(r.totalHeight),r.text_sdo.setX(4),r.text_sdo.setY(Math.round((r.totalHeight-r.text_sdo.getHeight())/2))},r.getMaxTextWidth=function(){return r.text_sdo.getWidth()},this.disable=function(){r.isDisabled_bl=!0,r.setButtonMode(!1),r.setSelectedState(!0)},this.enable=function(){r.isDisabled_bl=!1,r.setNormalState(!0),r.setButtonMode(!0)},r.init()};d.setPrototype=function(){d.prototype=new FWDUVPDisplayObject("div")},d.FIRST_BUTTON_CLICK="onFirstClick",d.SECOND_BUTTON_CLICK="secondButtonOnClick",d.MOUSE_OVER="onMouseOver",d.MOUSE_OUT="onMouseOut",d.MOUSE_DOWN="onMouseDown",d.CLICK="onClick",d.prototype=null,window.FWDUVPComboBoxButton=d}(window),function(){var f=function(e,t,s,o,i,l,n,a,r,d,u,h,c){var _=this;f.prototype;this.arrowN_str=s,this.arrowS_str=o,this.label1_str=i,this.bkNColor=l,this.bkSColor=n,this.tNColor=a,this.tSColor=r,_.useHEX=u,_.nBC=h,_.sBC=c,this.totalWidth=400,this.totalHeight=d,this.arrowWidth=e,this.arrowHeight=t,this.hasPointEvt=FWDUVPUtils.hasPointerEvent,this.isMbl=FWDUVPUtils.isMobile,this.isDble=!1,_.init=function(){_.setBackfaceVisibility(),_.setButtonMode(!0),_.setupMainContainers(),_.setWidth(_.totalWidth),_.setHeight(_.totalHeight)},_.setupMainContainers=function(){_.bk_sdo=new FWDUVPDisplayObject("div"),_.bk_sdo.getStyle().backgroundColor=_.bkNColor,_.addChild(_.bk_sdo),_.text_sdo=new FWDUVPDisplayObject("div"),_.text_sdo.getStyle().whiteSpace="nowrap",_.text_sdo.screen.className="fwduvp-cb-selector",_.text_sdo.setBackfaceVisibility(),_.text_sdo.setOverflow("visible"),_.text_sdo.setDisplay("inline-block"),_.text_sdo.getStyle().fontFamily="Arial",_.text_sdo.getStyle().fontSize="13px",_.text_sdo.getStyle().fontWeight="100",_.text_sdo.getStyle().padding="6px",_.text_sdo.getStyle().color=_.nBC,_.text_sdo.getStyle().fontSmoothing="antialiased",_.text_sdo.getStyle().webkitFontSmoothing="antialiased",_.text_sdo.getStyle().textRendering="optimizeLegibility",FWDUVPUtils.isIEAndLessThen9?_.text_sdo.screen.innerText=_.label1_str:_.text_sdo.setInnerHTML(_.label1_str),_.addChild(_.text_sdo),_.arrow_do=new FWDUVPDisplayObject("div"),_.arrow_do.screen.className="arrow",_.arrow_do.setOverflow("visible"),_.useHEX?(_.arrowN_img=new Image,_.arrowN_img.src=_.arrowN_str,_.arrowS_img=new Image,_.arrowS_img.src=_.arrowS_str,_.arrowN_sdo=new FWDUVPDisplayObject("div"),_.arrowS_sdo=new FWDUVPDisplayObject("div"),_.arrowS_img.onload=function(){_.arrowN_sdo.setWidth(_.arrowN_img.width),_.arrowN_sdo.setHeight(_.arrowN_img.height),_.nBC=_.bkNColor,_.scrubberLines_n_canvas=FWDUVPUtils.getCanvasWithModifiedColor(_.arrowN_img,_.nBC,!0),_.scrubbelinesNImage_img=_.scrubberLines_n_canvas.image,_.arrowN_sdo.getStyle().background="url('"+_.scrubbelinesNImage_img.src+"') repeat-y",_.arrowS_sdo.setWidth(_.arrowS_img.width),_.arrowS_sdo.setHeight(_.arrowS_img.height),_.sBC=_.arrowS_str,_.scrubberLines_s_canvas=FWDUVPUtils.getCanvasWithModifiedColor(_.arrowS_img,_.sBC,!0),_.scrubbelinesSImage_img=_.scrubberLines_s_canvas.image,_.arrowS_sdo.getStyle().background="url('"+_.scrubbelinesSImage_img.src+"') repeat-y"}):(_.arrowN_sdo=new FWDUVPDisplayObject("div"),_.arrowN_sdo.screen.style.backgroundImage="url("+_.arrowN_str+")",_.arrowS_sdo=new FWDUVPDisplayObject("div"),_.arrowS_sdo.screen.style.backgroundImage="url("+_.arrowS_str+")"),_.arrowS_sdo.setAlpha(0),_.arrow_do.addChild(_.arrowN_sdo),_.arrow_do.addChild(_.arrowS_sdo),_.addChild(_.arrow_do),_.arrowN_sdo.setWidth(_.arrowWidth),_.arrowN_sdo.setHeight(_.arrowHeight),_.arrowS_sdo.setWidth(_.arrowWidth),_.arrowS_sdo.setHeight(_.arrowHeight),_.dumy_sdo=new FWDUVPDisplayObject("div"),FWDUVPUtils.isIE&&(_.dumy_sdo.setBkColor("#FF0000"),_.dumy_sdo.setAlpha(0)),_.addChild(_.dumy_sdo),_.hasPointEvt?(_.screen.addEventListener("pointerup",_.onClick),_.screen.addEventListener("pointerover",_.onMouseOver),_.screen.addEventListener("pointerout",_.onMouseOut)):_.screen.addEventListener&&(_.screen.addEventListener("mouseover",_.onMouseOver),_.screen.addEventListener("mouseout",_.onMouseOut),_.screen.addEventListener("mouseup",_.onClick),_.screen.addEventListener("touchend",_.onClick))},_.onMouseOver=function(e){_.isDble||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(_.text_sdo),_.setSelectedState(!0,0),_.dispatchEvent(f.MOUSE_OVER))},_.onMouseOut=function(e){_.isDble||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE||(FWDAnimation.killTweensOf(_.text_sdo),_.setNormalState(!0,!0),_.dispatchEvent(f.MOUSE_OUT))},_.onClick=function(e){_.isDeveleper_bl?window.open("http://www.webdesign-flash.ro","_blank"):(e.preventDefault&&e.preventDefault(),_.dispatchEvent(f.CLICK,{e:e}))},_.onMouseDown=function(e){e.preventDefault&&e.preventDefault(),_.dispatchEvent(f.MOUSE_DOWN,{e:e})},this.setSelectedState=function(e,t){e?(FWDAnimation.to(_.bk_sdo,.6,{alpha:1,ease:Expo.easeOut}),FWDAnimation.to(_.text_sdo.screen,.6,{css:{color:_.tSColor},ease:Expo.easeOut}),FWDAnimation.to(_.arrowS_sdo,.6,{alpha:1,ease:Expo.easeOut})):(_.bk_sdo.setAlpha(1),_.text_sdo.getStyle().color=_.tSColor,_.arrowS_sdo.alpha=1)},this.setNormalState=function(e,t){var s=.6;t&&(s=0),s=0,FWDAnimation.killTweensOf(_.bk_sdo),FWDAnimation.killTweensOf(_.text_sdo.screen),FWDAnimation.killTweensOf(_.arrowS_sdo),e?(FWDAnimation.to(_.bk_sdo,.6,{alpha:0,delay:s,ease:Expo.easeOut}),FWDAnimation.to(_.text_sdo.screen,.6,{css:{color:_.tNColor},delay:s,ease:Expo.easeOut}),FWDAnimation.to(_.arrowS_sdo,.6,{alpha:0,delay:s,ease:Expo.easeOut})):(_.bk_sdo.setAlpha(0),_.text_sdo.getStyle().color=_.tNColor,_.arrowS_sdo.alpha=0)},_.centerText=function(){_.dumy_sdo.setWidth(_.totalWidth),_.dumy_sdo.setHeight(_.totalHeight),_.bk_sdo.setWidth(_.totalWidth),_.bk_sdo.setHeight(_.totalHeight),_.text_sdo.setX(2),_.text_sdo.setY(Math.round((_.totalHeight-_.text_sdo.getHeight())/2)),_.arrow_do.setX(_.totalWidth-_.arrowWidth-5),_.arrow_do.setY(Math.round((_.totalHeight-_.arrowHeight)/2))},_.getMaxTextWidth=function(){return _.text_sdo.getWidth()},this.disable=function(){_.isDble=!0,_.setSelectedState(!0),FWDUVPUtils.hasTransform2d&&(FWDAnimation.to(_.arrowN_sdo.screen,.8,{css:{rotation:180},ease:Quart.easeOut}),FWDAnimation.to(_.arrowS_sdo.screen,.8,{css:{rotation:180},ease:Quart.easeOut})),_.setNormalState(!0)},this.enable=function(){_.isDble=!1,FWDUVPUtils.hasTransform2d&&(FWDAnimation.to(_.arrowN_sdo.screen,.8,{css:{rotation:0},ease:Quart.easeOut}),FWDAnimation.to(_.arrowS_sdo.screen,.8,{css:{rotation:0},ease:Quart.easeOut})),_.setButtonMode(!0)},this.setText=function(e){FWDUVPUtils.isIEAndLessThen9?_.text_sdo.screen.innerText=e:_.text_sdo.setInnerHTML(e)},_.init()};f.setPrototype=function(){f.prototype=new FWDUVPDisplayObject("div")},f.FIRST_BUTTON_CLICK="onFirstClick",f.SECOND_BUTTON_CLICK="secondButtonOnClick",f.MOUSE_OVER="onMouseOver",f.MOUSE_OUT="onMouseOut",f.MOUSE_DOWN="onMouseDown",f.CLICK="onClick",f.prototype=null,window.FWDUVPComboBoxSelector=f}(window),function(){var _=function(e,t,s,o,i,l,n,a,r,d,u,h){var c=this;_.prototype;this.iconCSSString=r,this.icon2CSSString=d,this.normalCalssName=u,this.selectedCalssName=h,this.n1Img=e,this.s1Path_str=t,this.n2Img=s,this.s2Path_str=o,this.firstButton_do,this.n1_do,this.s1_do,this.secondButton_do,this.n2_do,this.s2_do,this.n1Img&&(this.buttonWidth=c.n1Img.width,this.buttonHeight=c.n1Img.height),this.useHEX=l,this.nBC=n,this.sBC=a,this.isSelectedState_bl=!1,this.currentState=1,this.isDisabled_bl=!1,this.isMaximized_bl=!1,this.disptachMainEvent_bl=i,this.isDisabled_bl=!1,this.isMbl=FWDUVPUtils.isMobile,this.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,this.allowToCreateSecondButton_bl=!c.isMbl||c.hasPointerEvent_bl,this.useFontAwesome_bl=Boolean(this.iconCSSString),c.init=function(){c.hasTransform2d_bl=!1,c.setButtonMode(!0),c.setWidth(c.buttonWidth),c.setHeight(c.buttonHeight),c.setupMainContainers(),c.secondButton_do.setVisible(!1),c.setNormalState()},c.setupMainContainers=function(){c.useFontAwesome_bl?(c.setOverflow("visible"),c.firstButton_do=new FWDUVPDisplayObject("div"),c.firstButton_do.setOverflow("visible"),c.n1_do=new FWDUVPDisplayObject("div"),c.n1_do.setBac,c.n1_do.setInnerHTML(c.iconCSSString),c.firstButton_do.addChild(c.n1_do),c.secondButton_do=new FWDUVPDisplayObject("div"),c.secondButton_do.setOverflow("visible"),c.n2_do=new FWDUVPDisplayObject("div"),c.n2_do.setInnerHTML(c.icon2CSSString),c.secondButton_do.addChild(c.n2_do),c.setFinalSize()):(c.firstButton_do=new FWDUVPDisplayObject("div"),c.firstButton_do.setWidth(c.buttonWidth),c.firstButton_do.setHeight(c.buttonHeight),c.useHEX?(c.n1_do=new FWDUVPDisplayObject("div"),c.n1_do.setWidth(c.buttonWidth),c.n1_do.setHeight(c.buttonHeight),c.n1_sdo_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.n1Img,c.nBC).canvas,c.n1_do.screen.appendChild(c.n1_sdo_canvas)):(c.n1_do=new FWDUVPDisplayObject("img"),c.n1_do.setScreen(c.n1Img)),c.firstButton_do.addChild(c.n1_do),c.allowToCreateSecondButton_bl&&(c.s1_img=new Image,c.s1_img.src=c.s1Path_str,c.useHEX?(c.s1_do=new FWDUVPTransformDisplayObject("div"),c.s1_do.setWidth(c.buttonWidth),c.s1_do.setHeight(c.buttonHeight),c.s1_img.onload=function(){c.s1_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.s1_img,c.sBC).canvas,c.s1_do.screen.appendChild(c.s1_do_canvas)}):(c.s1_do=new FWDUVPDisplayObject("img"),c.s1_do.setScreen(c.s1_img),c.s1_do.setWidth(c.buttonWidth),c.s1_do.setHeight(c.buttonHeight)),c.s1_do.setAlpha(0),c.firstButton_do.addChild(c.s1_do)),c.secondButton_do=new FWDUVPDisplayObject("div"),c.secondButton_do.setWidth(c.buttonWidth),c.secondButton_do.setHeight(c.buttonHeight),c.useHEX?(c.n2_do=new FWDUVPDisplayObject("div"),c.n2_do.setWidth(c.buttonWidth),c.n2_do.setHeight(c.buttonHeight),c.n2_sdo_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.n2Img,c.nBC).canvas,c.n2_do.screen.appendChild(c.n2_sdo_canvas)):(c.n2_do=new FWDUVPDisplayObject("img"),c.n2_do.setScreen(c.n2Img)),c.secondButton_do.addChild(c.n2_do),c.allowToCreateSecondButton_bl&&(c.s2_img=new Image,c.s2_img.src=c.s2Path_str,c.useHEX?(c.s2_do=new FWDUVPTransformDisplayObject("div"),c.s2_do.setWidth(c.buttonWidth),c.s2_do.setHeight(c.buttonHeight),c.s2_img.onload=function(){c.s2_do_canvas=FWDUVPUtils.getCanvasWithModifiedColor(c.s2_img,c.sBC).canvas,c.s2_do.screen.appendChild(c.s2_do_canvas)}):(c.s2_do=new FWDUVPDisplayObject("img"),c.s2_do.setScreen(c.s2_img),c.s2_do.setWidth(c.buttonWidth),c.s2_do.setHeight(c.buttonHeight)),c.s2_do.setAlpha(0),c.secondButton_do.addChild(c.s2_do))),c.addChild(c.secondButton_do),c.addChild(c.firstButton_do),c.hasPointerEvent_bl?(c.screen.addEventListener("pointerup",c.onMouseUp),c.screen.addEventListener("pointerover",c.onMouseOver),c.screen.addEventListener("pointerout",c.onMouseOut)):c.screen.addEventListener&&(c.isMbl||(c.screen.addEventListener("mouseover",c.onMouseOver),c.screen.addEventListener("mouseout",c.onMouseOut),c.screen.addEventListener("mouseup",c.onMouseUp)),c.screen.addEventListener("toustart",c.onDown),c.screen.addEventListener("touchend",c.onMouseUp))},c.onMouseOver=function(e,t){c.isDisabled_bl||c.isSelectedState_bl||e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||(c.dispatchEvent(_.MOUSE_OVER,{e:e}),c.dispatchEvent(_.SHOW_TOOLTIP,{e:e}),c.setSelectedState(!0))},c.onMouseOut=function(e){!c.isDisabled_bl&&c.isSelectedState_bl&&(e.pointerType&&e.pointerType!=e.MSPOINTER_TYPE_MOUSE&&"mouse"!=e.pointerType||(c.setNormalState(!0),c.dispatchEvent(_.MOUSE_OUT)))},c.onDown=function(e){e.preventDefault&&e.preventDefault()},c.onMouseUp=function(e){c.isDisabled_bl||2==e.button||(e.preventDefault&&e.preventDefault(),c.isMbl||c.onMouseOver(e,!1),c.disptachMainEvent_bl&&c.dispatchEvent(_.MOUSE_UP,{e:e}))},c.checkCount=0,this.setFinalSize=function(){if(clearInterval(c.checkId_int),c.lastWidth=c.n1_do.screen.firstChild.offsetWidth,!(5r.totalWidth&&(r.totalWidth=e.getMaxTextWidth());for(o=0;os-2&&(n=i-r.totalWidth),n<0&&(n=parseInt((s-r.totalWidth)/2)),n<0&&(n=0),a+r.totalHeight>o-2&&(a=l-r.totalHeight),a<0&&(a=parseInt((o-r.totalHeight)/2)),a<0&&(a=0),r.setX(n),r.setY(a)},r.disable=function(){r.copyURL_do&&r.copyURL_do.disable(),r.copyURLTime_do&&r.copyURLTime_do.disable()},r.enable=function(){r.copyURL_do&&r.copyURL_do.enable(),r.copyURLTime_do&&r.copyURLTime_do.enable()},r.removeFromDOM=function(){r.setX(-5e3)},r.init()};e.setPrototype=function(){e.prototype=new FWDUVPDisplayObject("div")},e.prototype=null,window.FWDUVPContextMenu=e}(window),function(){var a=function(e,t,s,o,i,l){var n=this;a.prototype;n.label1_str=e,n.label2_str=t,n.nBC=s,n.sBC=o,n.disabledColor_str=i,n.totalWidth=400,n.totalHeight=20,n.padding,n.text1_sdo=null,n.text2_sdo=null,n.dumy_sdo=null,n.isMbl=FWDUVPUtils.isMobile,n.currentState=1,n.isDisabled_bl=!1,n.isMaximized_bl=!1,n.showSecondButton_bl=null!=t,n.isDeveleper_bl=!1,n.init=function(){n.setBackfaceVisibility(),n.setButtonMode(!0),n.setupMainContainers(),n.setWidth(n.totalWidth),n.setHeight(n.totalHeight),n.setButtonState(0)},n.setupMainContainers=function(){n.text1_sdo=new FWDUVPDisplayObject("div"),n.text1_sdo.setBackfaceVisibility(),n.text1_sdo.setDisplay("inline-block"),n.text1_sdo.getStyle().fontFamily="Arial",n.text1_sdo.getStyle().fontSize="12px",n.text1_sdo.getStyle().color=n.nBC,n.text1_sdo.getStyle().fontSmoothing="antialiased",n.text1_sdo.setInnerHTML(n.label1_str),n.addChild(n.text1_sdo),n.showSecondButton_bl&&(n.text2_sdo=new FWDUVPDisplayObject("div"),n.text2_sdo.setBackfaceVisibility(),n.text2_sdo.setDisplay("inline-block"),n.text2_sdo.getStyle().fontFamily="Arial",n.text2_sdo.getStyle().fontSize="12px",n.text2_sdo.getStyle().color=n.nBC,n.text2_sdo.getStyle().fontSmoothing="antialiased",n.text2_sdo.setInnerHTML(n.label2_str),n.addChild(n.text2_sdo)),n.dumy_sdo=new FWDUVPDisplayObject("div"),FWDUVPUtils.isIE&&(n.dumy_sdo.setBkColor("#FF0000"),n.dumy_sdo.setAlpha(0)),n.addChild(n.dumy_sdo),n.isMbl?n.screen.addEventListener("touchstart",n.onMouseDown):n.screen.addEventListener&&(n.screen.addEventListener("mouseover",n.onMouseOver),n.screen.addEventListener("mouseout",n.onMouseOut),n.screen.addEventListener("mousedown",n.onMouseDown),n.screen.addEventListener("click",n.onClick))},n.onMouseOver=function(e){n.isDisabled_bl||(FWDAnimation.killTweensOf(n.text1_sdo),e?(FWDAnimation.to(n.text1_sdo.screen,.5,{css:{color:n.sBC},ease:Expo.easeOut}),n.showSecondButton_bl&&FWDAnimation.to(n.text2_sdo.screen,.5,{css:{color:n.sBC},ease:Expo.easeOut})):(n.text1_sdo.getStyle().color=n.sBC,n.showSecondButton_bl&&(FWDAnimation.killTweensOf(n.text2_sdo),n.text2_sdo.getStyle().color=n.sBC)),n.dispatchEvent(a.MOUSE_OVER))},n.onMouseOut=function(e){n.isDisabled_bl||(FWDAnimation.killTweensOf(n.text1_sdo),FWDAnimation.to(n.text1_sdo.screen,.5,{css:{color:n.nBC},ease:Expo.easeOut}),n.showSecondButton_bl&&(FWDAnimation.killTweensOf(n.text2_sdo),FWDAnimation.to(n.text2_sdo.screen,.5,{css:{color:n.nBC},ease:Expo.easeOut})),n.dispatchEvent(a.MOUSE_OUT))},n.onClick=function(e){n.isDeveleper_bl?window.open("http://www.webdesign-flash.ro","_blank"):n.isDisabled_bl||(e.preventDefault&&e.preventDefault(),n.dispatchEvent(a.CLICK))},n.onMouseDown=function(e){n.isDisabled_bl||(e.preventDefault&&e.preventDefault(),n.dispatchEvent(a.MOUSE_DOWN,{e:e}))},n.toggleButton=function(){n.showSecondButton_bl&&(1==n.currentState?(n.text1_sdo.setVisible(!0),n.text2_sdo.setVisible(!1),n.currentState=0,n.dispatchEvent(a.FIRST_BUTTON_CLICK)):(n.text1_sdo.setVisible(!1),n.text2_sdo.setVisible(!0),n.currentState=1,n.dispatchEvent(a.SECOND_BUTTON_CLICK)))},n.setButtonState=function(e){0==e?(n.text1_sdo.setVisible(!0),n.showSecondButton_bl&&n.text2_sdo.setVisible(!1),n.currentState=0):1==e&&(n.text1_sdo.setVisible(!1),n.showSecondButton_bl&&n.text2_sdo.setVisible(!0),n.currentState=1)},n.centerText=function(){n.dumy_sdo.setWidth(n.totalWidth),n.dumy_sdo.setHeight(n.totalHeight),FWDUVPUtils.isIEAndLessThen9?(n.text1_sdo.setY(Math.round((n.totalHeight-n.text1_sdo.getHeight())/2)-1),n.showSecondButton_bl&&n.text2_sdo.setY(Math.round((n.totalHeight-n.text2_sdo.getHeight())/2)-1)):(n.text1_sdo.setY(Math.round((n.totalHeight-n.text1_sdo.getHeight())/2)),n.showSecondButton_bl&&n.text2_sdo.setY(Math.round((n.totalHeight-n.text2_sdo.getHeight())/2))),n.text1_sdo.setHeight(n.totalHeight+2),n.showSecondButton_bl&&n.text2_sdo.setHeight(n.totalHeight+2)},n.getMaxTextWidth=function(){var e=n.text1_sdo.getWidth(),t=0;return n.showSecondButton_bl&&(t=n.text2_sdo.getWidth()),Math.max(e,t)},n.disable=function(){n.isDisabled_bl=!0,FWDAnimation.killTweensOf(n.text1_sdo),FWDAnimation.to(n.text1_sdo.screen,.5,{css:{color:n.disabledColor_str},ease:Expo.easeOut}),n.setButtonMode(!1)},n.enable=function(){n.isDisabled_bl=!1,FWDAnimation.killTweensOf(n.text1_sdo),FWDAnimation.to(n.text1_sdo.screen,.5,{css:{color:n.nBC},ease:Expo.easeOut}),n.setButtonMode(!0)},n.init()};a.setPrototype=function(){a.prototype=new FWDUVPDisplayObject("div")},a.FIRST_BUTTON_CLICK="onFirstClick",a.SECOND_BUTTON_CLICK="secondButtonOnClick",a.MOUSE_OVER="onMouseOver",a.MOUSE_OUT="onMouseOut",a.MOUSE_DOWN="onMouseDown",a.CLICK="onClick",a.prototype=null,window.FWDUVPContextMenuButton=a}(window),function(){var o=function(p,m){var b=this;o.prototype;this.data=p,this.bkLeft_img=p.bkLeft_img,this.bkRight_img=p.bkRight_img,this.playN_img=p.playN_img,this.pauseN_img=p.pauseN_img,this.mainScrubberBkLeft_img=p.mainScrubberBkLeft_img,this.mainScrubberDragLeft_img=p.mainScrubberDragLeft_img,this.mainScrubberDragLeftSource=p.mainScrubberDragLeft_img.src,this.mainScrubberLine_img=p.mainScrubberLine_img,this.volumeScrubberBkLeft_img=p.volumeScrubberBkLeft_img,this.volumeScrubberDragBottom_img=p.volumeScrubberDragBottom_img,this.volumeScrubberLine_img=p.volumeScrubberLine_img,this.volumeN_img=p.volumeN_img,this.progressLeft_img=p.progressLeft_img,this.categoriesN_img=p.categoriesN_img,this.prt=m,this.playlistN_img=p.playlistN_img,this.ytbQualityN_img=p.ytbQualityN_img,this.infoN_img=p.infoN_img,this.downloadN_img=p.downloadN_img,this.facebookN_img=p.facebookN_img,this.fullScreenN_img=p.fullScreenN_img,this.normalScreenN_img=p.normalScreenN_img,this.hidePlaylistN_img=p.hidePlaylistN_img,this.showPlaylistN_img=p.showPlaylistN_img,this.embedN_img=p.embedN_img,this.buttons_ar=[],b.useHEX=p.useHEX,b.nBC=p.nBC,b.sBC=p.sBC,this.bkMiddlePath_str=p.bkMiddlePath_str,this.mainScrubberBkMiddlePath_str=p.mainScrubberBkMiddlePath_str,this.volumeScrubberBkMiddlePath_str=p.volumeScrubberBkMiddlePath_str,this.mainScrubberDragMiddlePath_str=p.mainScrubberDragMiddlePath_str,this.volumeScrubberDragMiddlePath_str=p.volumeScrubberDragMiddlePath_str,this.timeColor_str=p.timeColor_str,this.progressMiddlePath_str=p.progressMiddlePath_str,this.youtubeQualityButtonNormalColor_str=p.youtubeQualityButtonNormalColor_str,this.youtubeQualityButtonSelectedColor_str=p.youtubeQualityButtonSelectedColor_str,this.youtubeQualityArrowPath_str=p.youtubeQualityArrowPath_str,this.controllerBkPath_str=p.controllerBkPath_str,this.ytbQualityButtonPointerPath_str=p.ytbQualityButtonPointerPath_str,this.buttonsToolTipFontColor_str=p.buttonsToolTipFontColor_str,this.buttonsToolTipHideDelay=p.buttonsToolTipHideDelay,this.ttYtbBtns=0,this.sW=0,this.sH=p.controllerHeight,this.scrbsBkLARW=this.mainScrubberBkLeft_img.width,this.maiScrbW=0,this.mainScrbMinW=100,this.volumeScrubberOfsetHeight=p.volumeScrubberOfsetHeight,this.volumeScrubberHeight=p.volumeScrubberHeight+b.volumeScrubberOfsetHeight,this.volScrbW=b.mainScrubberBkLeft_img.height,this.mainScrbH=this.mainScrubberBkLeft_img.height,this.mainScrbDrgLW=b.mainScrubberDragLeft_img.width,this.scrubbersOffsetWidth=p.scrubbersOffsetWidth,this.volume=p.volume,this.lastVolume=b.volume,this.startSpaceBetweenButtons=p.startSpaceBetweenButtons,this.spaceBetweenButtons=p.spaceBetweenButtons,this.percentPlayed=0,this.percentLoaded=0,this.lastTimeLength=0,this.prevYtbQualityButtonsLength=0,this.pointerWidth=8,this.pointerHeight=5,this.timeOffsetLeftWidth=p.timeOffsetLeftWidth,this.timeOffsetRightWidth=p.timeOffsetRightWidth,this.timeOffsetTop=p.timeOffsetTop,this.mainScrubberOffestTop=p.mainScrubberOffestTop,this.isVolumeScrubberShowed_bl=!0,this.volumeScrubberIsDragging_bl=!1,this.showButtonsToolTip_bl=p.showButtonsToolTip_bl,this.showPlaylistsButtonAndPlaylists_bl=p.showPlaylistsButtonAndPlaylists_bl,this.showPlaylistButtonAndPlaylist_bl=p.showPlaylistButtonAndPlaylist_bl,this.showEmbedButton_bl=p.showEmbedButton_bl,this.showPlaylistByDefault_bl=p.showPlaylistByDefault_bl,this.showShuffleButton_bl=p.showShuffleButton_bl,this.showLoopButton_bl=p.showLoopButton_bl,this.showNP_bl=m.data.showNextAndPrevButtonsInController_bl,this.showNextAndPrevButtonsInController_bl=p.showNextAndPrevButtonsInController_bl,this.showFullScreenButton_bl=p.showFullScreenButton_bl,this.disableVideoScrubber_bl=p.disableVideoScrubber_bl,this.showYoutubeQualityButton_bl=p.showYoutubeQualityButton_bl,this.showShareButton_bl=p.showShareButton_bl,this.showInfoButton_bl=p.showInfoButton_bl,this.showDownloadVideoButton_bl=p.showDownloadVideoButton_bl,this.showVolumeScrubber_bl=p.showVolumeScrubber_bl,this.allowToChangeVolume_bl=p.allowToChangeVolume_bl,this.showTime_bl=p.showTime_bl,this.showVolumeButton_bl=p.showVolumeButton_bl,this.showControllerWhenVideoIsStopped_bl=p.showControllerWhenVideoIsStopped_bl,this.showRewindButton_bl=p.showRewindButton_bl,this.isMainScrubberScrubbing_bl=!1,this.isMainScrubberDisabled_bl=!1,this.isVolumeScrubberDisabled_bl=!1,this.isMainScrubberLineVisible_bl=!1,this.isVolumeScrubberLineVisible_bl=!1,this.showSubBtn=p.showSubBtn,this.hasYtbButton_bl=!1,this.isMute_bl=!1,this.isShowed_bl=!0,this.forceToShowMainScrubberOverCotroller_bl=!1,this.isMainScrubberOnTop_bl=!1,this.showNextAndPrevButtons_bl=p.showNextAndPrevButtons_bl,this.isPlaylistShowed_bl=p.isPlaylistShowed_bl,this.areYtbQualityButtonsShowed_bl=!0,this.repeatBackground_bl=p.repeatBackground_bl,this.isMbl=FWDUVPUtils.isMobile,this.hasPointerEvent_bl=FWDUVPUtils.hasPointerEvent,this.useVectorIcons_bl=p.useVectorIcons_bl,b.init=function(){if(b.setOverflow("visible"),b.mainHld=new FWDUVPDisplayObject("div"),p.useAToB&&b.setupATB(),b.repeatBackground_bl)b.bk_do=new FWDUVPDisplayObject("div"),b.bk_do.getStyle().background="url('"+b.controllerBkPath_str+"')";else{b.bk_do=new FWDUVPDisplayObject("img");var e=new Image;e.src=b.controllerBkPath_str,b.bk_do.setScreen(e)}b.mainHld.addChild(b.bk_do),b.mainHld.setOverflow("visible"),b.mainHld.getStyle().zIndex=1,b.addChild(b.mainHld),b.showYoutubeQualityButton_bl&&(b.ytbQuality_ar=["hd2160","hd1440","highres","hd1080","hd720","large","medium","small","tiny"],b.ytbButtons_ar=[],b.ttYtbBtns=b.ytbQuality_ar.length,b.setupYtbButtons()),b.showNextAndPrevButtonsInController_bl&&b.setupPrevButton(),b.setupPlayPauseButton(),b.showRewindButton_bl&&b.setupRewindButton(),b.showNextAndPrevButtonsInController_bl&&b.setupNextButton(),b.setupMainScrubber(),b.showTime_bl&&b.setupTime(),b.showVolumeButton_bl&&b.setupVolumeButton(),b.showPlaylistsButtonAndPlaylists_bl&&b.setupCategoriesButton(),b.showPlaylistButtonAndPlaylist_bl&&b.setupPlaylistButton(),b.showYoutubeQualityButton_bl&&b.setupYoutubeQualityButton(),b.showShareButton_bl&&b.setupShareButton(),b.showEmbedButton_bl&&b.setupEmbedButton(),p.useAToB&&b.setupAtbButton(),b.showInfoButton_bl&&b.setupInfoButton(),p.showPlaybackRateButton_bl&&b.setupPlaybackRateButton(),b.showDownloadVideoButton_bl&&b.setupDownloadButton(),b.showSubBtn&&b.setupSubtitleButton(),p.showChromecastButton_bl&&b.setupChromecastButton(),b.showFullScreenButton_bl&&b.setupFullscreenButton(),b.showButtonsToolTip_bl&&b.setupToolTips(),b.showVolumeScrubber_bl&&(b.setupVolumeScrubber(),b.hideVolumeScrubber()),b.hide(!1)},b.resizeAndPosition=function(){b.sW=m.tempVidStageWidth,b.positionButtons(),b.setY(m.tempVidStageHeight-b.sH),b.hideQualityButtons(!1),b.ytbButtonsHolder_do&&(FWDAnimation.killTweensOf(b.ytbButtonsHolder_do),b.ytbButtonsHolder_do.setY(m.tempStageHeight)),b.subtitlesButtonsHolder_do&&(FWDAnimation.killTweensOf(b.subtitlesButtonsHolder_do),b.subtitlesButtonsHolder_do.setY(m.sH)),b.playbackRatesButtonsHolder_do&&(FWDAnimation.killTweensOf(b.playbackRatesButtonsHolder_do),b.playbackRatesButtonsHolder_do.setY(m.sH)),b.positionAdsLines()},this.getButtonIndex=function(e){return FWDUVPUtils.indexOfArray(b.buttons_ar,e)},b.positionButtons=function(){if(b.sW){var e,t,s,o=0,i=0,l=0,n=0,a=b.showTime_bl;if(p.playlist_ar[m.id]){var r;if(b.showDownloadVideoButton_bl)if(p.playlist_ar[m.id].downloadable)-1==b.getButtonIndex(b.downloadButton_do)&&(b.ccBtn_do&&-1!=b.getButtonIndex(b.ccBtn_do)?(s=b.getButtonIndex(b.ccBtn_do),b.buttons_ar.splice(s,0,b.downloadButton_do)):b.fullScreenButton_do?(s=b.getButtonIndex(b.fullScreenButton_do),b.buttons_ar.splice(s,0,b.downloadButton_do)):b.buttons_ar.splice(b.buttons_ar.length,0,b.downloadButton_do),b.downloadButton_do.setVisible(!0));else-1!=(r=b.getButtonIndex(b.downloadButton_do))&&(b.buttons_ar.splice(r,1),b.downloadButton_do.setVisible(!1));if(b.showInfoButton_bl)if(p.playlist_ar[m.id].desc)-1==b.getButtonIndex(b.infoButton_do)&&(b.downloadButton_do&&-1!=b.getButtonIndex(b.downloadButton_do)?(s=b.getButtonIndex(b.downloadButton_do),b.buttons_ar.splice(s,0,b.infoButton_do)):b.ccBtn_do&&-1!=b.getButtonIndex(b.ccBtn_do)?(s=b.getButtonIndex(b.ccBtn_do),b.buttons_ar.splice(s,0,b.infoButton_do)):b.fullScreenButton_do?(s=b.getButtonIndex(b.fullScreenButton_do),b.buttons_ar.splice(s,0,b.infoButton_do)):b.buttons_ar.splice(b.buttons_ar.length,0,b.infoButton_do),b.infoButton_do.setVisible(!0));else-1!=(r=b.getButtonIndex(b.infoButton_do))&&(b.buttons_ar.splice(r,1),b.infoButton_do.setVisible(!1));if(p.useAToB)if(p.playlist_ar[m.id].atb)-1==FWDUVPUtils.indexOfArray(b.buttons_ar,b.atbButton_do)&&(b.infoButton_do&&-1!=b.getButtonIndex(b.infoButton_do)?(s=b.getButtonIndex(b.infoButton_do),b.buttons_ar.splice(s,0,b.atbButton_do)):b.downloadButton_do&&-1!=b.getButtonIndex(b.downloadButton_do)?(s=b.getButtonIndex(b.downloadButton_do),b.buttons_ar.splice(s,0,b.atbButton_do)):b.ccBtn_do&&-1!=b.getButtonIndex(b.ccBtn_do)?(s=b.getButtonIndex(b.ccBtn_do),b.buttons_ar.splice(s,0,b.atbButton_do)):b.fullScreenButton_do?(s=b.getButtonIndex(b.fullScreenButton_do),b.buttons_ar.splice(s,0,b.atbButton_do)):b.buttons_ar.splice(b.buttons_ar.length,0,b.atbButton_do),b.atbButton_do.setVisible(!0));else{var d=FWDUVPUtils.indexOfArray(b.buttons_ar,b.atbButton_do);-1!=d&&(b.buttons_ar.splice(d,1),b.atbButton_do.setVisible(!1),b.atb.hide(!0))}if(b.showSubBtn)if(p.playlist_ar[m.id].subtitleSource)-1==FWDUVPUtils.indexOfArray(b.buttons_ar,b.subtitleButton_do)&&(b.playbackRateButton_do&&-1!=b.getButtonIndex(b.playbackRateButton_do)?(s=b.getButtonIndex(b.playbackRateButton_do),b.buttons_ar.splice(s,0,b.subtitleButton_do)):b.atbButton_do&&-1!=b.getButtonIndex(b.atbButton_do)?(s=b.getButtonIndex(b.atbButton_do),b.buttons_ar.splice(s,0,b.subtitleButton_do)):b.infoButton_do&&-1!=b.getButtonIndex(b.infoButton_do)?(s=b.getButtonIndex(b.infoButton_do),b.buttons_ar.splice(s,0,b.subtitleButton_do)):b.downloadButton_do&&-1!=b.getButtonIndex(b.downloadButton_do)?(s=b.getButtonIndex(b.downloadButton_do),b.buttons_ar.splice(s,0,b.subtitleButton_do)):b.ccBtn_do&&-1!=b.getButtonIndex(b.ccBtn_do)?(s=b.getButtonIndex(b.ccBtn_do),b.buttons_ar.splice(s,0,b.subtitleButton_do)):b.fullScreenButton_do?(s=b.getButtonIndex(b.fullScreenButton_do),b.buttons_ar.splice(s,0,b.subtitleButton_do)):b.buttons_ar.splice(b.buttons_ar.length,0,b.subtitleButton_do),b.subtitleButton_do.setVisible(!0));else{var u=FWDUVPUtils.indexOfArray(b.buttons_ar,b.subtitleButton_do);-1!=u&&(b.buttons_ar.splice(u,1),b.subtitleButton_do.setVisible(!1),b.subtitleButton_do.setX(-5e3))}if(m.videoType_str!=FWDUVPlayer.VIMEO||p.showDefaultControllerForVimeo_bl)-1==FWDUVPUtils.indexOfArray(b.buttons_ar,b.playPauseButton_do)&&b.playPauseButton_do&&(s=0,b.buttons_ar.splice(s,0,b.playPauseButton_do),b.playPauseButton_do.setVisible(!0)),-1==FWDUVPUtils.indexOfArray(b.buttons_ar,b.rewindButton_do)&&b.rewindButton_do&&(s=FWDUVPUtils.indexOfArray(b.buttons_ar,b.playPauseButton_do),b.buttons_ar.splice(s,0,b.rewindButton_do),b.rewindButton_do.setVisible(!0)),b.showVolumeButton_bl&&(b.showTime_bl?-1==FWDUVPUtils.indexOfArray(b.buttons_ar,b.volBtn)&&(s=FWDUVPUtils.indexOfArray(b.buttons_ar,b.time_do)+1,b.buttons_ar.splice(s,0,b.volBtn),b.volBtn.setVisible(!0)):-1==FWDUVPUtils.indexOfArray(b.buttons_ar,b.volBtn)&&(s=FWDUVPUtils.indexOfArray(b.buttons_ar,b.mainScrubber_do)+1,b.buttons_ar.splice(s,0,b.volBtn),b.volBtn.setVisible(!0))),b.mainScrubber_do.setVisible(!0);else{var h=FWDUVPUtils.indexOfArray(b.buttons_ar,b.playPauseButton_do);-1!=h&&(b.buttons_ar.splice(h,1),b.playPauseButton_do.setVisible(!1),b.playPauseButton_do.setX(-500)),b.mainScrubber_do.setVisible(!1)}for(var c=[],_=0;_l.w&&(o+=-1*(n=-1*(l.w-(o+t.w)))),t.positionPointer(n,!1),t.setX(o),t.setY(i),t.show()}},this.setupAdsLines=function(e,t,s,o){if(!this.createdAdsOnce_bl&&(b.curLinesId!=t||b.curLinesCat!=s||o)&&(b.curLinesId=t,b.curLinesCat=s,e)){if(b.resetsAdsLines(),this.linesHolder_do||(this.linesHolder_do=new FWDUVPDisplayObject("div"),this.linesHolder_do.setOverflow("visible"),this.mainScrubber_do.addChild(this.linesHolder_do)),this.createdAdsOnce_bl=!0,this.lines_ar=e,this.lines_ar){var i;this.line_ar=[];for(var l=0;l",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.playbackRateButton_do=new FWDUVPSimpleButton(p.playbackRateNPath_img,p.playbackRateSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.playbackRateButton_do.setY(parseInt((b.sH-b.playbackRateButton_do.h)/2));var e=setInterval(function(){0i&&(i=s.w),s.setY(o),o+=s.h):-3e3!=s.x&&s.setX(-3e3);for(e=0;eb.sW-b.thumbnailsPreview_do.w&&(s=b.sW-b.thumbnailsPreview_do.w),b.thumbnailsPreview_do.setLabel(FWDUVPUtils.formatTime(Math.round(m.totalDuration*t)),Math.round(m.totalDuration*t)),b.thumbnailsPreview_do.setX(s),b.thumbnailsPreview_do.setY(b.mainScrubber_do.y-b.thumbnailsPreview_do.h-2)}},this.updateTooltipOnMove=function(e){var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-b.mainScrubber_do.getGlobalX();t<0?t=0:t>b.maiScrbW-b.scrubbersOffsetWidth&&(t=b.maiScrbW-b.scrubbersOffsetWidth);var s=t/b.maiScrbW;b.updateToolTip(t,s),b.updateThumbnailsPreview(t,s)},b.mainScrubberWMouseMove=function(e){var t=FWDUVPUtils.getViewportMouseCoordinates(e);b.vcX=t.screenX,b.vcY=t.screenY,FWDUVPUtils.hitTest(b.mainScrubber_do.screen,b.vcX,b.vcY)||b.isMainScrubberScrubbing_bl||(window.removeEventListener("mousemove",b.mainScrubberWMouseMove),b.ttm.hide());var s=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-b.mainScrubber_do.getGlobalX();s<0?s=0:s>b.maiScrbW-b.scrubbersOffsetWidth&&(s=b.maiScrbW-b.scrubbersOffsetWidth);var o=s/b.maiScrbW;b.updateThumbnailsPreview(s,o)},this.mainScrubberOnOverHandler=function(e){if(!b.isMainScrubberDisabled_bl){p.showMainScrubberToolTipLabel_bl&&!m.hasThumbnailsPreview&&b.ttm.show(),b.thumbnailsPreview_do&&m.hasThumbnailsPreview&&b.thumbnailsPreview_do.show(),b.isMbl||!b.ttm&&!b.thumbnailsPreview_do||(window.removeEventListener("mousemove",b.mainScrubberWMouseMove),window.addEventListener("mousemove",b.mainScrubberWMouseMove));var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-b.mainScrubber_do.getGlobalX();t<0?t=0:t>b.maiScrbW-b.scrubbersOffsetWidth&&(t=b.maiScrbW-b.scrubbersOffsetWidth);var s=t/b.maiScrbW;b.updateToolTip(t,s),b.updateThumbnailsPreview(t,s)}},this.mainScrubberOnOutHandler=function(e){b.isMainScrubberScrubbing_bl||(b.ttm&&b.ttm.hide(),b.thumbnailsPreview_do&&m.hasThumbnailsPreview&&b.thumbnailsPreview_do.hide())},this.mainScrubberOnDownHandler=function(e){if(!b.isMainScrubberDisabled_bl&&2!=e.button){m.showDisable(),e.preventDefault&&e.preventDefault(),b.isMainScrubberScrubbing_bl=!0;var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-b.mainScrubber_do.getGlobalX();t<0?t=0:t>b.maiScrbW-b.scrubbersOffsetWidth&&(t=b.maiScrbW-b.scrubbersOffsetWidth);var s=t/b.maiScrbW;p.showMainScrubberToolTipLabel_bl&&!m.hasThumbnailsPreview&&b.ttm.show(),b.thumbnailsPreview_do&&m.hasThumbnailsPreview&&b.thumbnailsPreview_do.show(),b.updateToolTip(t,s),b.updateMainScrubber(s),b.updateThumbnailsPreview(t,s),b.dispatchEvent(o.START_TO_SCRUB),b.dispatchEvent(o.SCRUB,{percent:s}),b.hasPointerEvent_bl?(window.addEventListener("pointermove",b.mainScrubberMoveHandler),window.addEventListener("pointerup",b.mainScrubberEndHandler)):(window.addEventListener("mousemove",b.mainScrubberMoveHandler),window.addEventListener("mouseup",b.mainScrubberEndHandler),window.addEventListener("touchmove",b.mainScrubberMoveHandler),window.addEventListener("touchend",b.mainScrubberEndHandler))}},this.mainScrubberMoveHandler=function(e){e.preventDefault&&e.preventDefault();var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenX-b.mainScrubber_do.getGlobalX();t<0?t=0:t>b.maiScrbW-b.scrubbersOffsetWidth&&(t=b.maiScrbW-b.scrubbersOffsetWidth);var s=t/b.maiScrbW;b.updateToolTip(t,s),b.updateMainScrubber(s),b.updateThumbnailsPreview(t,s),b.dispatchEvent(o.SCRUB,{percent:s})},this.mainScrubberEndHandler=function(e){if(m.hideDisable(),e){var t=FWDUVPUtils.getViewportMouseCoordinates(e);FWDUVPUtils.hitTest(b.mainScrubber_do.screen,t.screenX,t.screenY)||(b.ttm&&b.ttm.hide(),b.thumbnailsPreview_do&&m.hasThumbnailsPreview&&b.thumbnailsPreview_do.hide())}b.isMainScrubberScrubbing_bl=!1,b.dispatchEvent(o.STOP_TO_SCRUB),b.hasPointerEvent_bl?(window.removeEventListener("pointermove",b.mainScrubberMoveHandler),window.removeEventListener("pointerup",b.mainScrubberEndHandler)):(window.removeEventListener("mousemove",b.mainScrubberMoveHandler),window.removeEventListener("mouseup",b.mainScrubberEndHandler),window.removeEventListener("touchmove",b.mainScrubberMoveHandler),window.removeEventListener("touchend",b.mainScrubberEndHandler))},this.disableMainScrubber=function(){b.mainScrubber_do&&(b.isMainScrubberDisabled_bl=!0,b.mainScrubber_do.setButtonMode(!1),b.mainScrubberEndHandler(),b.mainScrubberOnOutHandler(),b.updateMainScrubber(0),b.updatePreloaderBar(0))},this.enableMainScrubber=function(){b.mainScrubber_do&&!b.isLive&&(b.isMainScrubberDisabled_bl=!1,b.disableVideoScrubber_bl||b.mainScrubber_do.setButtonMode(!0))},this.updateMainScrubber=function(e){if(b.mainScrubber_do){b.isLive&&(e=0);var t=parseInt(e*b.maiScrbW);isNaN(t)||null==t||(t<0&&(t=0),b.percentPlayed=e,!FWDUVPlayer.hasHTML5Video&&t>=b.mainProgress_do.w&&(t=b.mainProgress_do.w),t<1&&b.isMainScrubberLineVisible_bl?(b.isMainScrubberLineVisible_bl=!1,FWDAnimation.to(b.mainScrubberBarLine_do,.5,{alpha:0})):1b.maiScrbW-b.scrubbersOffsetWidth&&(t=b.maiScrbW-b.scrubbersOffsetWidth),t<0&&(t=0),FWDAnimation.to(b.mainScrubberBarLine_do,.8,{x:t+1,ease:Expo.easeOut}))}},this.updatePreloaderBar=function(e){if(b.mainProgress_do){b.isLive&&(e=0),b.percentLoaded=e;var t=parseInt(b.percentLoaded*b.maiScrbW);isNaN(t)||null==t||(t<0&&(t=0),.98<=b.percentLoaded?(b.percentLoaded=1,b.mainProgress_do.setY(-30)):0!=b.mainProgress_do.y&&1!=b.percentLoaded&&b.mainProgress_do.setY(0),t>b.maiScrbW-b.scrubbersOffsetWidth&&(t=b.maiScrbW-b.scrubbersOffsetWidth),t<0&&(t=0),b.mainProgress_do.setWidth(t))}},this.setupPrevButton=function(){b.useVectorIcons_bl?(FWDUVPSimpleButton.setPrototype(),b.prevButton_do=new FWDUVPSimpleButton(void 0,void 0,void 0,!0,void 0,void 0,void 0,"",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.prevButton_do=new FWDUVPSimpleButton(p.prev2N_img,p.prevSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.prevButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,b.prevButtonShowTooltipHandler),b.prevButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,b.prevButtonOnMouseUpHandler),b.prevButton_do.setY(parseInt((b.sH-b.prevButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.nextButton_do=new FWDUVPSimpleButton(p.next2N_img,p.nextSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.nextButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,b.nextButtonShowTooltipHandler),b.nextButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,b.nextButtonOnMouseUpHandler),b.nextButton_do.setY(parseInt((b.sH-b.nextButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState play","UVPMainButtonsSelectedState play")):(FWDUVPComplexButton.setPrototype(),b.playPauseButton_do=new FWDUVPComplexButton(b.playN_img,p.playSPath_str,b.pauseN_img,p.pauseSPath_str,!0,b.useHEX,b.nBC,b.sBC)),b.buttons_ar.push(b.playPauseButton_do),b.playPauseButton_do.setY(parseInt((b.sH-b.playPauseButton_do.buttonHeight)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState cats","UVPMainButtonsSelectedState cats")):(FWDUVPSimpleButton.setPrototype(),b.categoriesButton_do=new FWDUVPSimpleButton(b.categoriesN_img,p.categoriesSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.categoriesButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,b.categoriesButtonShowTooltipHandler),b.categoriesButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,b.categoriesButtonOnMouseUpHandler),b.categoriesButton_do.setY(parseInt((b.sH-b.categoriesButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState playlist","UVPMainButtonsSelectedState playlist")):(FWDUVPComplexButton.setPrototype(),b.playlistButton_do=new FWDUVPComplexButton(b.hidePlaylistN_img,p.hidePlaylistSPath_str,b.showPlaylistN_img,p.showPlaylistSPath_str,!0,b.useHEX,b.nBC,b.sBC)),b.buttons_ar.push(b.playlistButton_do),b.playlistButton_do.setY(parseInt((b.sH-b.playlistButton_do.buttonHeight)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.embedButton_do=new FWDUVPSimpleButton(b.embedN_img,p.embedPathS_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.embedButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,b.embedButtonShowToolTipHandler),b.embedButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,b.embedButtonOnMouseUpHandler),b.embedButton_do.setY(parseInt((b.sH-b.embedButton_do.h)/2));var e=setInterval(function(){0i&&(i=s.w),s.setY(o),o+=s.h):-3e3!=s.x&&s.setX(-3e3);for(e=0;e","","UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPComplexButton.setPrototype(),b.subtitleButton_do=new FWDUVPComplexButton(p.showSubtitleNPath_img,p.showSubtitleSPath_str,p.hideSubtitleNPath_img,p.hideSubtitleSPath_str,!0,b.useHEX,b.nBC,b.sBC));var e=setInterval(function(){0i&&(i=s.w),s.setY(o),o+=s.h):-3e3!=s.x&&s.setX(-3e3);for(e=0;e",p.hdIcn,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.ytbQualityButton_do=new FWDUVPSimpleButton(b.ytbQualityN_img,p.ytbQualitySPath_str,p.ytbQualityDPath_str,!0,b.useHEX,b.nBC,b.sBC)),b.ytbQualityButton_do.setX(-300),b.ytbQualityButton_do.setY(parseInt((b.sH-b.ytbQualityButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.infoButton_do=new FWDUVPSimpleButton(b.infoN_img,p.infoSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState dw","UVPMainButtonsSelectedState dw")):(FWDUVPSimpleButton.setPrototype(),b.downloadButton_do=new FWDUVPSimpleButton(b.downloadN_img,p.downloadSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.downloadButton_do.addListener(FWDUVPSimpleButton.SHOW_TOOLTIP,b.downloadButtonShowToolTipHandler),b.downloadButton_do.addListener(FWDUVPSimpleButton.MOUSE_UP,b.downloadButtonOnMouseUpHandler),b.downloadButton_do.setX(-300),b.downloadButton_do.setY(parseInt((b.sH-b.downloadButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.atbButton_do=new FWDUVPSimpleButton(p.atbNPath_img,p.atbSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.atbButton_do.setX(-5e3),b.atbButton_do.setY(parseInt((b.sH-b.atbButton_do.h)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.shareButton_do=new FWDUVPSimpleButton(p.shareN_img,p.shareSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.buttons_ar.push(b.shareButton_do),b.shareButton_do.setY(parseInt((b.sH-b.shareButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPComplexButton.setPrototype(),b.ccBtn_do=new FWDUVPComplexButton(p.castN_img,p.castSPath_str,p.uncastN_img,p.uncastSPath_str,!0,b.useHEX,b.nBC,b.sBC));var e=setInterval(function(){0","","UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPComplexButton.setPrototype(),b.fullScreenButton_do=new FWDUVPComplexButton(b.fullScreenN_img,p.fullScreenSPath_str,b.normalScreenN_img,p.normalScreenSPath_str,!0,b.useHEX,b.nBC,b.sBC)),b.buttons_ar.push(b.fullScreenButton_do),b.fullScreenButton_do.setY(parseInt((b.sH-b.fullScreenButton_do.buttonHeight)/2));var e=setInterval(function(){0",void 0,"UVPMainButtonsNormalState","UVPMainButtonsSelectedState")):(FWDUVPSimpleButton.setPrototype(),b.rewindButton_do=new FWDUVPSimpleButton(p.rewindN_img,p.rewindSPath_str,void 0,!0,b.useHEX,b.nBC,b.sBC)),b.buttons_ar.push(b.rewindButton_do),b.rewindButton_do.setY(parseInt((b.sH-b.rewindButton_do.h)/2));var e=setInterval(function(){0","","UVPMainButtonsNormalState volume","UVPMainButtonsSelectedState volume")):(FWDUVPVolumeButton.setPrototype(),b.volBtn=new FWDUVPVolumeButton(b.volumeN_img,p.volumeSPath_str,p.volumeDPath_str,b.useHEX,b.nBC,b.sBC)),b.volBtn.addListener(FWDUVPVolumeButton.SHOW_TOOLTIP,b.volumeButtonShowTooltipHandler),b.volBtn.addListener(FWDUVPVolumeButton.MOUSE_OVER,b.volumeOnMouseOverHandler),b.volBtn.addListener(FWDUVPVolumeButton.MOUSE_UP,b.volumeOnMouseUpHandler),b.volBtn.setY(parseInt((b.sH-b.volBtn.h)/2));var e=setInterval(function(){0b.volumeScrubber_do.h-b.scrubbersOffsetWidth&&(t=b.volumeScrubber_do.h-b.scrubbersOffsetWidth);var s=1-t/b.volumeScrubber_do.h;b.lastVolume=s,b.updateVolume(s),b.isMbl?b.hasPointerEvent_bl?(window.addEventListener("MSPointerMove",b.volumeScrubberMoveHandler),window.addEventListener("pointerup",b.volumeScrubberEndHandler)):(window.addEventListener("touchmove",b.volumeScrubberMoveHandler),window.addEventListener("touchend",b.volumeScrubberEndHandler)):window.addEventListener?(window.addEventListener("mousemove",b.volumeScrubberMoveHandler),window.addEventListener("mouseup",b.volumeScrubberEndHandler)):document.attachEvent&&(document.attachEvent("onmousemove",b.volumeScrubberMoveHandler),document.attachEvent("onmouseup",b.volumeScrubberEndHandler))}},this.volumeScrubberMoveHandler=function(e){if(!b.isVolumeScrubberDisabled_bl){e.preventDefault&&e.preventDefault();var t=FWDUVPUtils.getViewportMouseCoordinates(e).screenY-b.volumeScrubber_do.getGlobalY();tb.volumeScrubber_do.h&&(t=b.volumeScrubber_do.h);var s=1-t/b.volumeScrubber_do.h;b.lastVolume=s,b.updateVolume(s)}},this.volumeScrubberEndHandler=function(){m.hideDisable(),b.volumeScrubberIsDragging_bl=!1,b.isMbl?b.hasPointerEvent_bl?(window.removeEventListener("MSPointerMove",b.volumeScrubberMoveHandler),window.removeEventListener("pointerup",b.volumeScrubberEndHandler)):(window.removeEventListener("touchmove",b.volumeScrubberMoveHandler),window.removeEventListener("touchend",b.volumeScrubberEndHandler)):window.removeEventListener?(window.removeEventListener("mousemove",b.volumeScrubberMoveHandler),window.removeEventListener("mouseup",b.volumeScrubberEndHandler)):document.detachEvent&&(document.detachEvent("onmousemove",b.volumeScrubberMoveHandler),document.detachEvent("onmouseup",b.volumeScrubberEndHandler))},this.disableVolumeScrubber=function(){b.isVolumeScrubberDisabled_bl=!0,b.volumeScrubber_do.setButtonMode(!1),b.volumeScrubberEndHandler()},this.enableVolumeScrubber=function(){b.isVolumeScrubberDisabled_bl=!1,b.volumeScrubber_do.setButtonMode(!0)},this.updateVolumeScrubber=function(e){var t=b.volumeScrubberHeight-b.volumeScrubberOfsetHeight,s=Math.round(e*t);b.volumeScrubberDrag_do.setHeight(Math.max(0,s-b.volumeScrubberDragBottom_do.h)),b.volumeScrubberDrag_do.setY(t-s),s<1&&b.isVolumeScrubberLineVisible_bl?(b.isVolumeScrubberLineVisible_bl=!1,FWDAnimation.to(b.volumeScrubberBarLine_do,.5,{alpha:0}),FWDAnimation.to(b.volumeScrubberDragBottom_do,.5,{alpha:0})):1data-source is required in the plalists html element at position "+(t+1)})},50);if(!FWDUVPUtils.hasAttribute(child,"data-thumbnail-path"))return void setTimeout(function(){null!=self&&self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Attribute data-thumbnail-path is required in the playlists html element at position "+(t+1)})},50);s.source=FWDUVPUtils.getAttributeValue(child,"data-source"),o=-1==s.source.indexOf("=")&&-1==s.source.indexOf(".xml")&&-1==s.source.indexOf("vimeo.com")&&-1==s.source.indexOf("youtube.")?document.getElementById(s.source):s.source,self.catsRef_ar.push(o),s.thumbnailPath=FWDUVPUtils.getAttributeValue(child,"data-thumbnail-path"),s.htmlContent=child.innerHTML,s.htmlText_str=child.innerText,s.vimeoUserId=FWDUVPUtils.getAttributeValue(child,"data-user-id"),s.clientId=FWDUVPUtils.getAttributeValue(child,"data-client-id"),s.vimeoSecret=FWDUVPUtils.getAttributeValue(child,"data-vimeo-secret"),s.vimeoToken=FWDUVPUtils.getAttributeValue(child,"data-vimeo-token"),FWDUVPUtils.hasAttribute(child,"data-playlist-name")?s.playlistName=FWDUVPUtils.getAttributeValue(child,"data-playlist-name"):s.playlistName="not defined!",s.pass=FWDUVPUtils.getAttributeValue(child,"data-password"),self.cats_ar[t]=s}for(t=0;tself.totalCats-1&&(self.startAtPlaylist=self.totalCats-1),self.playlistBottomHeight=self.props_obj.playlistBottomHeight||0,self.playlistBottomHeight=Math.min(800,self.playlistBottomHeight),self.subtitlesOffLabel_str=self.props_obj.subtitlesOffLabel||"Subtitle off",self.videoSourcePath_str=self.props_obj.videoSourcePath||void 0,self.timeColor_str=self.props_obj.timeColor||"#FF0000",self.youtubeQualityButtonNormalColor_str=self.props_obj.youtubeQualityButtonNormalColor||"#FF0000",self.youtubeQualityButtonSelectedColor_str=self.props_obj.youtubeQualityButtonSelectedColor||"#FF0000",self.posterBackgroundColor_str=self.props_obj.posterBackgroundColor||"transparent",self.showPlaylistButtonAndPlaylist_bl=self.props_obj.showPlaylistButtonAndPlaylist,self.showPlaylistButtonAndPlaylist_bl="no"!=self.showPlaylistButtonAndPlaylist_bl,self.useResumeOnPlay_bl=self.props_obj.useResumeOnPlay,self.useResumeOnPlay_bl="yes"==self.useResumeOnPlay_bl,self.useResumeOnPlay_bl=self.props_obj.useResumeOnPlay,self.useResumeOnPlay_bl="yes"==self.useResumeOnPlay_bl,self.showPlaylistOnFullScreen=self.props_obj.showPlaylistOnFullScreen,self.showPlaylistOnFullScreen="yes"==self.showPlaylistOnFullScreen,self.stopAfterLastVideoHasPlayed_bl=self.props_obj.stopAfterLastVideoHasPlayed,self.stopAfterLastVideoHasPlayed_bl="yes"==self.stopAfterLastVideoHasPlayed_bl,self.usePlaylistsSelectBox_bl=self.props_obj.usePlaylistsSelectBox,self.usePlaylistsSelectBox_bl="yes"==self.usePlaylistsSelectBox_bl,self.executeCuepointsOnlyOnce_bl=self.props_obj.executeCuepointsOnlyOnce,self.executeCuepointsOnlyOnce_bl="yes"==self.executeCuepointsOnlyOnce_bl,self.showPlaylistByDefault_bl=self.props_obj.showPlaylistByDefault,self.showPlaylistByDefault_bl="no"!=self.showPlaylistByDefault_bl,self.showThumbnail_bl=self.props_obj.showThumbnail,self.showThumbnail_bl="no"!=self.showThumbnail_bl,self.playAfterVideoStop_bl=self.props_obj.playAfterVideoStop,self.playAfterVideoStop_bl="no"!=self.playAfterVideoStop_bl,self.openerAlignment_str=self.props_obj.openerAlignment,self.openerEqulizerOffsetTop=self.props_obj.openerEqulizerOffsetTop||0,self.openerEqulizerOffsetLeft=self.props_obj.openerEqulizerOffsetLeft||0,self.showOpener_bl=self.props_obj.showOpener,self.showOpener_bl="yes"==self.showOpener_bl,self.stickyOnScrollShowOpener_bl=self.props_obj.stickyOnScrollShowOpener,self.stickyOnScrollShowOpener_bl="yes"==self.stickyOnScrollShowOpener_bl,self.showOpenerPlayPauseButton_bl=self.props_obj.showOpenerPlayPauseButton,self.showOpenerPlayPauseButton_bl="yes"==self.showOpenerPlayPauseButton_bl,self.animate_bl=self.props_obj.animatePlayer,self.animate_bl="yes"==self.animate_bl,self.showChromecastButton_bl=self.props_obj.showChromecastButton,self.showChromecastButton_bl="yes"==self.showChromecastButton_bl,FWDUVPUtils.isChrome&&!FWDUVPUtils.isLocal&&-1!=location.href.indexOf("https:")||(self.showChromecastButton_bl=!1),self.showAnnotationsPositionTool_bl=self.props_obj.showAnnotationsPositionTool,self.showAnnotationsPositionTool_bl="yes"==self.showAnnotationsPositionTool_bl,self.showAnnotationsPositionTool_bl&&(self.showPlaylistByDefault_bl=!1),self.showPlaylistName_bl=self.props_obj.showPlaylistName,self.showPlaylistName_bl="no"!=self.showPlaylistName_bl,self.showSearchInpt=self.props_obj.showSearchInput,self.showSearchInpt="no"!=self.showSearchInpt,self.showSubByDflt=self.props_obj.showSubtitleByDefault,self.showSubByDflt="no"!=self.showSubByDflt,self.showSubBtn=self.props_obj.showSubtitleButton,self.showSubBtn="no"!=self.showSubBtn,self.forceDisableDownloadButtonForFolder_bl=self.props_obj.forceDisableDownloadButtonForFolder,self.forceDisableDownloadButtonForFolder_bl="yes"==self.forceDisableDownloadButtonForFolder_bl,self.nBC=self.props_obj.normalHEXButtonsColor||"#FFFFFF",-1!=self.sknPth.indexOf("dark")?self.sBC="#FFFFFF":self.sBC="#000000",self.playlistPosition_str=self.props_obj.playlistPosition||"bottom",test="bottom"==self.playlistPosition_str||"right"==self.playlistPosition_str,test||(self.playlistPosition_str="right"),self.folderVideoLabel_str=self.props_obj.folderVideoLabel||"Video ",self.logoPosition_str=self.props_obj.logoPosition||"topleft",self.logoPosition_str=String(self.logoPosition_str).toLowerCase(),test="topleft"==self.logoPosition_str||"topright"==self.logoPosition_str||"bottomleft"==self.logoPosition_str||"bottomright"==self.logoPosition_str,test||(self.logoPosition_str="topleft"),self.thumbnailSelectedType_str=self.props_obj.thumbnailSelectedType||"opacity","blackAndWhite"!=self.thumbnailSelectedType_str&&"threshold"!=self.thumbnailSelectedType_str&&"opacity"!=self.thumbnailSelectedType_str&&(self.thumbnailSelectedType_str="opacity"),(self.isMbl||FWDUVPUtils.isIEAndLessThen9)&&(self.thumbnailSelectedType_str="opacity"),"file:"==document.location.protocol&&(self.thumbnailSelectedType_str="opacity"),self.adsButtonsPosition_str=self.props_obj.adsButtonsPosition||"left",self.adsButtonsPosition_str=String(self.adsButtonsPosition_str).toLowerCase(),test="left"==self.adsButtonsPosition_str||"right"==self.adsButtonsPosition_str,test||(self.adsButtonsPosition_str="left"),self.skipToVideoButtonText_str=self.props_obj.skipToVideoButtonText||"not defined",self.skipToVideoText_str=self.props_obj.skipToVideoText,self.adsTextNormalColor=self.props_obj.adsTextNormalColor||"#FF0000",self.adsTextSelectedColor=self.props_obj.adsTextSelectedColor||"#FF0000",self.adsBorderNormalColor_str=self.props_obj.adsBorderNormalColor||"#FF0000",self.adsBorderSelectedColor_str=self.props_obj.adsBorderSelectedColor||"#FF0000",self.volume=self.props_obj.volume,null==self.volume&&(self.volume=1),isNaN(self.volume)&&(volume=1),1"+self.categoriesId_str+" is not found!",self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50);else setTimeout(function(){null!=self&&(errorMessage_str="The skinPath property is not defined in the constructor function!",self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50);else setTimeout(function(){null!=self&&(errorMessage_str="The mainFolderPath property is not defined in the constructor function!",self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50);else setTimeout(function(){null!=self&&(errorMessage_str="The playlistsId property is not defined in the constructor function!",self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:errorMessage_str}))},50)},this.onPreloaderLoadHandler=function(){self.countLoadedSCript=0,self.scripts=[],self.useAToB&&self.scripts.push("FWDUVPATB.js"),self.thumbnailsPreview&&self.scripts.push("FWDUVPThumbnailsPreview.js"),self.showChromecastButton_bl&&(self.scripts.push("https://www.gstatic.com/cv/js/sender/v1/cast_sender.js?loadCastFramework=1"),self.scripts.push("FWDUVPCC.js")),self.totalScripts=self.scripts.length,self.dispatchEvent(FWDUVPData.PRELOADER_LOAD_DONE),self.loadPlugin()},self.loadPlugin=function(){if(self.countLoadedSCript==self.totalScripts)self.loadSkin();else{var e=document.createElement("script"),t=self.scripts[self.countLoadedSCript];document.head.appendChild(e),-1!=t.indexOf("gstatic")?e.src=t:e.src=self.mainFolderPath_str+"java/"+t,e.onload=self.loadPlugin,e.onerror=function(e){console.log(e),"FWDUVPATB.js"==t?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the A to B plugin
A to B js file named FWDUVPATB.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPATB.js file. '}):"FWDUVPThumbnailsPreview.js"==t?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the thumbnal preview plugin
thumbnail preview js file named FWDUVPThumbnailsPreview.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPThumbnailsPreview.js file. '}):"FWDUVPCC.js"==t?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'You have enabled the chromecast plugin
js file named FWDUVPCC.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPCC.js file.'}):-1!=t.indexOf("gstatic.js")&&self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'Choromecast framework javascript file can\'t be loaded '+t+" "})}}self.countLoadedSCript++},self.countImaLoadedSCript=0,self.startToLoadIMA=function(){self.imaScripts||(self.imaScripts=["//imasdk.googleapis.com/js/sdkloader/ima3.js",self.mainFolderPath_str+"java/FWDUVPIMA.js"],self.totalImaScripts=self.imaScripts.length,self.loadIMA())},self.loadIMA=function(){if(self.countImaLoadedSCript==self.totalImaScripts)self.imaReady=!0,self.dispatchEvent(FWDUVPData.IMA_READY);else{var e=document.createElement("script"),t=self.imaScripts[self.countImaLoadedSCript];document.head.appendChild(e),e.src=t,e.onload=self.loadIMA,e.onerror=function(e){1==self.countImaLoadedSCript?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"IMA SDK can't be loaded"}):2==self.countImaLoadedSCript&&self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:'IMA file FWDUVPIMA.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPIMA.js file. '}),self.dispatchEvent(FWDUVPData.IMA_ERROR)},self.countImaLoadedSCript++}},self.loadSkin=function(){for(var e,t,s=0;s"+e.target.src+"
can't be loaded, check path!",window.console&&console.log(e);var t={text:message};setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,t)},50)},this.downloadVideo=function(e,t){if(FWDUVPUtils.isLocal)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Downloading video files local is not allowed or possible! To function properly please test online."}),self.isPlaylistDispatchingError_bl=!1},50));if(!e)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Not allowed to download this video!"}),self.isPlaylistDispatchingError_bl=!1},50));if(-1==String(e.indexOf(".mp4")))return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Only mp4 video files hosted on your server can be downloaded."}),self.isPlaylistDispatchingError_bl=!1},50));var s=e,o=location.origin,i=location.pathname;if(-1!=i.indexOf(".")&&(i=i.substr(0,i.lastIndexOf("/")+1)),-1==e.indexOf("http:")&&-1==e.indexOf("https:")&&(e=o+i+e),t){40<(t=(t=decodeURIComponent(t)).replace(/[^A-Z0-9\-\_\.]+/gi,"_")).length&&(t=t.substr(0,40)+"..."),/\.(mp4)$/i.test(t)||(t+=".mp4"),e=FWDUVPUtils.getValidSource(e);var l=self.videoDownloaderPath_str;if(self.dlIframe||(self.dlIframe=document.createElement("IFRAME"),self.dlIframe.style.display="none",document.documentElement.appendChild(self.dlIframe)),self.isMbl&&!FWDUVPUtils.isAndroid){if(self.openDownloadLinkOnMobile_bl)return void window.open(s,"_blank");var n=self.getValidEmail();if(!n)return;if(null!=self.emailXHR){try{self.emailXHR.abort()}catch(e){}self.emailXHR.onreadystatechange=null,self.emailXHR.onerror=null,self.emailXHR=null}return self.emailXHR=new XMLHttpRequest,self.emailXHR.onreadystatechange=function(e){4==self.emailXHR.readyState&&(200==self.emailXHR.status?"sent"==self.emailXHR.responseText?alert("Email sent."):alert("Error sending email, this is a server side error, the php file can't send the email!"):alert("Error sending email: "+self.emailXHR.status+": "+self.emailXHR.statusText))},self.emailXHR.onerror=function(e){try{window.console&&console.log(e),window.console&&console.log(e.message)}catch(e){}alert("Error sending email: "+e.message)},self.emailXHR.open("get",self.mailPath_str+"?mail="+n+"&name="+t+"&path="+e,!0),void self.emailXHR.send()}self.dlIframe.src=l+"?path="+e+"&name="+t}},this.getValidEmail=function(){for(var e=prompt("Please enter your email address where the video download link will be sent:"),t=/^([\w-\.]+@([\w-]+\.)+[\w-]{2,4})?$/;!t.test(e)||""==e;){if(null===e)return;e=prompt("Please enter a valid email address:")}return e},this.loadPlaylist=function(e){if(self.id=e,self.playlist_ar=void 0,self.stopToLoadPlaylist(),!self.isPlaylistDispatchingError_bl){clearTimeout(self.dispatchPlaylistLoadCompleteWidthDelayId_to);var t=self.catsRef_ar[e];if(void 0===t)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"loadPlaylist() - Please specify a DOM playlist id or youtube playlist id!"}),self.isPlaylistDispatchingError_bl=!1},50));if(null===t)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"The playlist with id "+self.cats_ar[e].source+" is not found in the DOM."}),self.isPlaylistDispatchingError_bl=!1},50));if(!isNaN(t))return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"loadPlaylist() - The parameter must be of type string!"}),self.isPlaylistDispatchingError_bl=!1},50));if(self.resetYutubeVimeoPlaylistLoader(),self.isYoutbe_bl=!1,self.loadFromFolder_bl=!1,self.isVimeoAlbum_bl=!1,self.playlist_ar=[],self.playlistPass=self.cats_ar[e].pass,t.length)if(-1!=t.indexOf("list=")||-1!=t.indexOf("youtube."))self.isYoutbe_bl=!0,self.playlist_ar=self.plsCache_ar[self.id],self.playlist_ar?self.youtubePlLoadComplete():self.loadYoutubePlaylist(t);else if(-1!=t.indexOf("vimeo.com"))self.isVimeo_bl=!0,self.loadVimeoPlaylist(t,self.cats_ar[e].vimeoUserId,self.cats_ar[e].clientId,self.cats_ar[e].vimeoSecret,self.cats_ar[e].vimeoToken);else{if(-1!=t.indexOf("list="))return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Loading youtube playlist is only possible by setting useYoutube=\"yes\"."}),self.isPlaylistDispatchingError_bl=!1},50));-1!=t.indexOf("folder=")?self.loadFolderPlaylist(t):-1==t.indexOf(".xml")&&-1==t.indexOf("http:")&&-1==t.indexOf("https:")&&-1==t.indexOf("www.")||self.loadXMLPlaylist(t)}else self.parseDOMPlaylist(t,self.cats_ar[e].source)}},this.loadXMLPlaylist=function(e){if(!self.isPlaylistDispatchingError_bl){if("file:"==document.location.protocol)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Loading XML files local is not allowed or possible!. To function properly please test online."}),self.isPlaylistDispatchingError_bl=!1},50));self.sourceURL_str=e,self.xhr=new XMLHttpRequest,self.xhr.onreadystatechange=self.ajaxOnLoadHandler,self.xhr.onerror=self.ajaxOnErrorHandler;try{self.xhr.open("get",self.proxyPath_str+"?url="+self.sourceURL_str+"&rand="+parseInt(99999999*Math.random()),!0),self.xhr.setRequestHeader("Content-Type","text/xml"),self.xhr.send()}catch(e){var t=e;e&&e.message&&(t=e.message),self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"XML file can't be loaded! "+self.sourceURL_str+". "+t})}}},this.loadFolderPlaylist=function(e){if(!self.isPlaylistDispatchingError_bl){if("file:"==document.location.protocol)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Creating a video playlist from a folder is not allowed or possible local! To function properly please test online."}),self.isPlaylistDispatchingError_bl=!1},50));self.loadFromFolder_bl=!0,self.sourceURL_str=e.substr(e.indexOf("=")+1),self.xhr=new XMLHttpRequest,self.xhr.onreadystatechange=self.ajaxOnLoadHandler,self.xhr.onerror=self.ajaxOnErrorHandler;try{self.xhr.open("get",self.proxyFolderPath_str+"?dir="+encodeURIComponent(self.sourceURL_str)+"&videoLabel="+self.folderVideoLabel_str+"&rand="+parseInt(9999999*Math.random()),!0),self.xhr.send()}catch(e){e&&e.message&&e.message,self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Folder proxy file path is not found: "+self.proxyFolderPath_str+""})}}},this.loadVimeoPlaylist=function(e,t,s,o,i){if("file:"==document.location.protocol)return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Loading Vimeo albums local is not allowed or possible! To function properly please test online."}),self.isPlaylistDispatchingError_bl=!1},50));self.isVimeoAlbum_bl=!0,e&&(self.vimeoAlbumURL=e),t&&(self.userId=t),s&&(self.clientId=s),o&&(self.vimeoSecret=o),i&&(self.vimeoToken=i);var l=self.vimeoAlbumURL.match(/\/[\d]+/gi);l=l[0].substr(1);var n="";self.clientId&&(n="&client_id="+self.clientId+"&vimeo_secret="+self.vimeoSecret+"&vimeo_token="+self.vimeoToken),self.nextPageToken_str?self.sourceURL_str=self.mainFolderPath_str+"vimeo/vimeo_data.php?rand="+Math.round(99999999*Math.random())+"&type=vimeo_user_album&user="+self.userId+"&album_id="+l+"&page="+self.nextPageToken_str+"&per_page=50"+n:self.sourceURL_str=self.mainFolderPath_str+"vimeo/vimeo_data.php?rand="+Math.round(99999999*Math.random())+"&type=vimeo_user_album&user="+self.userId+"&album_id="+l+"&page=1&per_page=50"+n,self.xhr=new XMLHttpRequest,self.xhr.onreadystatechange=self.ajaxOnLoadHandler,self.xhr.onerror=self.ajaxOnErrorHandler;try{self.xhr.open("get",self.sourceURL_str,!0),self.xhr.send()}catch(e){e&&e.message&&e.message,self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading vimeo album! "+self.vimeoAlbumURL+""})}},this.parseVimeoPlaylist=function(e){if(self.stopToLoadPlaylist(),e.body.error)self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:e.body.error+" "+e.body.developer_message});else{var t,s;e=e.body,self.vimeoObject_ar||(self.vimeoObject_ar=[]);for(var o=0;o"+s.name+"

";var n=s.description;n=n||"",n=(n=165"+s.name+"

"+s.description+"

",i.downloadable=!1;try{i.thumbSource=s.pictures.sizes[2].link}catch(e){}i.posterSource="none",i.downloadable=!1,self.playlist_ar.push(i)}self.randomizePlaylist_bl&&(self.playlist_ar=FWDUVPUtils.randomizeArray(self.playlist_ar)),self.maxPlaylistItems"+self.youtubeUrl_str+"")},6e3)}},this.JSONPRequestTimeoutError=function(e){self.stopToLoadPlaylist(),self.isPlaylistDispatchingError_bl=!0,showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:e}),self.isPlaylistDispatchingError_bl=!1},50)},this.resetYutubeVimeoPlaylistLoader=function(){self.isYoutbe_bl=!1,self.youtubeObject_ar=null,self.vimeoObject_ar=null,self.nextPageToken_str=null,self.youtubeUrl_str=null},this.ajaxOnErrorHandler=function(e){try{window.console&&console.log(e),window.console&&console.log(e.message)}catch(e){}self.isVimeoAlbum_bl?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading vimeo album! "+self.vimeoAlbumURL+""}):self.loadFromFolder_bl?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading file : "+self.proxyFolderPath_str+". Make sure the path is correct"}):self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading file : "+self.proxyPath_str+". Make sure the path is correct"})},this.ajaxOnLoadHandler=function(e){var response,isXML=!1;if(4==self.xhr.readyState)if(404==self.xhr.status)self.isVimeoAlbum_bl?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading vimeo album! "+self.vimeoAlbumURL+""}):self.loadFromFolder_bl?self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Folder proxy file path is not found: "+self.proxyFolderPath_str+""}):self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Proxy file path is not found: "+self.proxyPath_str+""});else if(408==self.xhr.status)self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Server has timeout!"});else if(200==self.xhr.status){if(-1!=self.xhr.responseText.indexOf("Warning:"))return void self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading folder: "+self.sourceURL_str+". Make sure that the folder path is correct!"});response=window.JSON?JSON.parse(self.xhr.responseText):eval("("+self.xhr.responseText+")"),response.body?self.parseVimeoPlaylist(response):response.folder?self.parseFolderJSON(response):response.li?self.parseXML(response):response.error&&self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Error loading file: "+self.sourceURL_str+". Make sure the file path (xml or podcast) is correct and well formatted!"})}},this.parseYoutubePlaylist=function(e){if(!self.isPlaylistDispatchingError_bl&&self.isYoutbe_bl){var t,s,o;if(e.error)return self.isChannel&&(t="channel"),self.JSONPRequestTimeoutError("Error loading youtube "+t+"! "+self.youtubeUrl_str+""),void(console&&console.log(e));self.playlist_ar=[],self.youtubeObject_ar||(self.youtubeObject_ar=[]);for(var i=0;i"+o.snippet.title+"

";var n=o.snippet.description;n=(n=190 "+n+"

",l.titleText=o.snippet.title,l.titleText=o.snippet.title,l.desc=void 0,l.desc="

"+o.snippet.title+"

"+o.snippet.description+"

",l.downloadable=!1;try{l.thumbSource=o.snippet.thumbnails.default.url}catch(e){}l.posterSource="none",-1==o.snippet.title.indexOf("eleted video")&&-1==o.snippet.title.indexOf("his video is unavailable")&&self.playlist_ar.push(l)}}self.randomizePlaylist_bl&&(self.playlist_ar=FWDUVPUtils.randomizeArray(self.playlist_ar)),self.maxPlaylistItemsdata-thumb-source is required in the playlist at position "+(i+1)})},50));if(!FWDUVPUtils.hasAttribute(child,"data-video-source"))return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Attribute data-video-source is required in the playlist at position "+(i+1)})},50));if(obj.thumbSource=encodeURI(FWDUVPUtils.getAttributeValue(child,"data-thumb-source")),obj.videoSource=FWDUVPUtils.getAttributeValue(child,"data-video-source"),obj.dataPlaybackRate=FWDUVPUtils.getAttributeValue(child,"data-playback-rate"),obj.startAtVideo=FWDUVPUtils.getAttributeValue(child,"data-start-at-video")||0,obj.isLive=FWDUVPUtils.getAttributeValue(child,"data-is-live"),obj.atb="yes"==FWDUVPUtils.getAttributeValue(child,"data-use-a-to-b"),obj.thumbnailsPreview=FWDUVPUtils.getAttributeValue(child,"data-thumbnails-preview"),self.useAToB||(obj.atb=!1),"yes"==obj.isLive?obj.isLive=!0:obj.isLive=!1,obj.isPrivate=FWDUVPUtils.getAttributeValue(child,"data-is-private"),"yes"==obj.isPrivate?obj.isPrivate=!0:obj.isPrivate=!1,obj.redirectURL=FWDUVPUtils.getAttributeValue(child,"data-redirect-url"),obj.redirectTarget=FWDUVPUtils.getAttributeValue(child,"data-redirect-target"),obj.privateVideoPassword_str=FWDUVPUtils.getAttributeValue(child,"data-private-video-password"),obj.startAtTime=FWDUVPUtils.getAttributeValue(child,"data-start-at-time"),"00:00:00"!=obj.startAtTime&&FWDUVPUtils.checkTime(obj.startAtTime)||(obj.startAtTime=void 0),obj.stopAtTime=FWDUVPUtils.getAttributeValue(child,"data-stop-at-time"),"00:00:00"!=obj.stopAtTime&&FWDUVPUtils.checkTime(obj.stopAtTime)||(obj.stopAtTime=void 0),-1!=obj.videoSource.indexOf("{source:"))try{obj.videoLabels_ar=[],obj.videoSource=eval(obj.videoSource);for(var m=0;mdata-video-source attribute contains an array of videos at position "+(i+1)+""})},50))}else src=obj.videoSource,-1!=src.indexOf("encrypt:")&&(src=atob(src.substr(8))),obj.videoSource=[{source:FWDUVPUtils.getValidSource(src)}];if(FWDUVPUtils.hasAttribute(child,"data-subtitle-soruce")){if(obj.subtitleSource=FWDUVPUtils.getAttributeValue(child,"data-subtitle-soruce"),-1!=obj.subtitleSource.indexOf("{source:")){if(obj.startAtSubtitle=FWDUVPUtils.getAttributeValue(child,"data-start-at-subtitle")||0,-1!=obj.subtitleSource.indexOf("{source:")){try{obj.subtitleSource=eval(obj.subtitleSource)}catch(e){return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"Please make sure that the data-subtitle-source attribute contains an array of subtitles at position "+(i+1)+""})},50))}obj.subtitleSource.splice(0,0,{source:"none",label:self.subtitlesOffLabel_str}),obj.subtitleSource.reverse()}}else obj.subtitleSource=[{source:obj.subtitleSource}];if(obj.subtitleSource)for(var x=0;x"+id+""}),self.isPlaylistDispatchingError_bl=!1},50)}},this.parseFolderJSON=function(e){var t;self.playlist_ar=[];for(var s=e.folder,o=0;o...

",t.titleText=s[o]["@attributes"]["data-title"],t.title="

"+s[o]["@attributes"]["data-title"]+"

",t.desc=void 0,self.playlist_ar[o]=t;self.randomizePlaylist_bl&&(self.playlist_ar=FWDUVPUtils.randomizeArray(self.playlist_ar)),self.maxPlaylistItemsdata-video-source attribute contains an array of videos at position "+(i+1)+""})},50))}else{var src=obj.videoSource;-1!=src.indexOf("encrypt:")&&(src=atob(src.substr(8))),obj.videoSource=[{source:FWDUVPUtils.getValidSource(src)}]}if(obj.subtitleSource=obj_ar[i]["@attributes"]["data-subtitle-soruce"],obj.startAtSubtitle=obj_ar[i]["@attributes"]["data-start-at-subtitle"]||0,obj.subtitleSource){if(-1!=obj.subtitleSource.indexOf("{source:")){if(-1!=obj.subtitleSource.indexOf("{source:")){try{obj.subtitleSource=eval(obj.subtitleSource),-1!=obj.subtitleSource.indexOf("encrypt:")&&(obj.subtitleSource=atob(src.substr(8)))}catch(e){return self.isPlaylistDispatchingError_bl=!0,void(showLoadPlaylistErrorId_to=setTimeout(function(){self.dispatchEvent(FWDRVPData.LOAD_ERROR,{text:"Please make sure that the data-subtitle-source attribute contains an array of subtitles at position "+(i+1)+""})},50))}obj.subtitleSource.splice(0,0,{source:"none",label:self.subtitlesOffLabel_str}),obj.subtitleSource.reverse()}}else obj.subtitleSource=[{source:obj.subtitleSource}];if(obj.subtitleSource)for(var x=0;xFWDUVPVast.js is not found. Please make sure that the content folder contains the java folder that contains the FWDUVPVast.js file. '})},void(self.vastLoaded_bl=!0)}self.vast.setSource(e)},this.closeVast=function(){self.vast&&self.vast.closeVast()},this.fixVmapTimes=function(e,t,s,o){self.vast&&self.vast.fixVmapTimes(e,t,s,o)},this.resetVastId=function(){self.vast&&(self.vast.id=-1)},self.showPropertyError=function(e){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"The property called "+e+" is not defined."})},this.stopToLoadPlaylist=function(){self.closeJsonPLoader();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.showPropertyError=function(e){self.dispatchEvent(FWDUVPData.LOAD_ERROR,{text:"The property called "+e+" is not defined."})},self.init()};FWDUVPData.setPrototype=function(){FWDUVPData.prototype=new FWDUVPEventDispatcher},FWDUVPData.prototype=null,FWDUVPData.VAST_LOADING="vastLoading",FWDUVPData.VAST_LOADED="vastLoaded",FWDUVPData.PLAYLIST_LOAD_COMPLETE="playlistLoadComplete",FWDUVPData.PRELOADER_LOAD_DONE="onPreloaderLoadDone",FWDUVPData.LOAD_DONE="onLoadDone",FWDUVPData.LOAD_ERROR="onLoadError",FWDUVPData.IMAGE_LOADED="onImageLoaded",FWDUVPData.SKIN_LOAD_COMPLETE="onSkinLoadComplete",FWDUVPData.SKIN_PROGRESS="onSkinProgress",FWDUVPData.IMAGES_PROGRESS="onImagesPogress",FWDUVPData.IMA_READY="imaReady",FWDUVPData.IMA_ERROR="ima_error",window.FWDUVPData=FWDUVPData}(window),window.FWDUVPDisplayObject=function(e,t,s,o){var i=this;i.listeners={events_ar:[]},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=FWDUVPUtils.hasTransform3d,this.hasTransform2d_bl=FWDUVPUtils.hasTransform2d,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.setScreen=function(e){"img"==i.type&&e?(i.screen=null,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.backfaceVisibility="hidden",i.screen.style.webkitBackfaceVisibility="hidden",i.screen.style.MozBackfaceVisibility="hidden","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?(FWDUVPUtils.isFirefox||FWDUVPUtils.isIE?(i.screen.style.userSelect="element",i.screen.style.MozUserSelect="element",i.screen.style.msUserSelect="element"):FWDUVPUtils.isSafari?(i.screen.style.userSelect="text",i.screen.style.webkitUserSelect="text"):(i.screen.style.userSelect="auto",i.screen.style.webkitUserSelect="auto"),i.screen.style.khtmlUserSelect="auto",i.screen.style.oUserSelect="auto",FWDUVPUtils.isIEAndLessThen9?(i.screen.ondragstart=null,i.screen.onselectstart=null,i.screen.ontouchstart=null):(i.screen.ondragstart=void 0,i.screen.onselectstart=void 0,i.screen.ontouchstart=void 0),i.screen.style.webkitTouchCallout="default",i.hasBeenSetSelectable_bl=!1):(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||"input"==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||"input"==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(FWDUVPUtils.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(FWDUVPUtils.indexOfArray(i.children_ar,e),1),i.screen.removeChild(e.screen)},i.contains=function(e){return-1!=FWDUVPUtils.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(FWDUVPUtils.indexOfArray(i.children_ar,e),1,e):i.children_ar.splice(FWDUVPUtils.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(FWDUVPUtils.indexOfArray(i.children_ar,e),1,e):i.children_ar.splice(FWDUVPUtils.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 Error("##getChildAt## Child dose not exist!");return i.children_ar[e]},i.getChildIndex=function(e){return i.contains(e)?FWDUVPUtils.indexOfArray(i.children_ar,e):0},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+"