Ubuntu

­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­­ window.dzsprx_self_options={}; (function(c){c.fn.dzsparallaxer=function(a){if("undefined"==typeof a&&"undefined"!=typeof c(this).attr("data-options")&&""!=c(this).attr("data-options")){var l=c(this).attr("data-options");eval("window.dzsprx_self_options = "+l);a=c.extend({},window.dzsprx_self_options);window.dzsprx_self_options=c.extend({},{})}a=c.extend({settings_mode:"scroll",mode_scroll:"normal",easing:"easeIn",animation_duration:"20",direction:"normal",js_breakout:"off",breakout_fix:"off",is_fullscreen:"off",settings_movexaftermouse:"off", init_delay:"0",init_functional_delay:"0",settings_substract_from_th:0,settings_detect_out_of_screen:!0,init_functional_remove_delay_on_scroll:"off",settings_makeFunctional:!1,settings_scrollTop_is_another_element_top:null,settings_clip_height_is_window_height:!1,settings_listen_to_object_scroll_top:null,settings_mode_oneelement_max_offset:"20",simple_parallaxer_convert_simple_img_to_bg_if_possible:"on"},a);Math.easeIn=function(a,c,l,x){return-l*(a/=x)*(a-2)+c};Math.easeOutQuad=function(a,c,l,x){a/= x;return-l*a*(a-2)+c};Math.easeInOutSine=function(a,c,l,x){return-l/2*(Math.cos(Math.PI*a/x)-1)+c};a.settings_mode_oneelement_max_offset=parseInt(a.settings_mode_oneelement_max_offset,10);var x=parseInt(a.settings_mode_oneelement_max_offset,10);this.each(function(){function l(){if(1==a.settings_makeFunctional){var d=!1,f=document.URL,m=f.indexOf("://")+3,e=f.indexOf("/",m),f=f.substring(m,e);-1'); 0');0'); b.get(0)&&(b.get(0).api_set_scrollTop_is_another_element_top=function(a){u=a});0'),"on"==a.simple_parallaxer_convert_simple_img_to_bg_if_possible&&h.attr("data-src")&&0==h.children().length&&h.parent().addClass("is-image"), 0z?b.addClass("under-760"):b.removeClass("under-760"),aa&&clearTimeout(aa), aa=setTimeout(fa,700),"on"==a.js_breakout&&(b.css("width",Z+"px"),b.css("margin-left","0"),0=version_ie()?h.css("top","0"):h.css("transform","translate3d(0,0px,0)"),G&&G.css("opacity","0")):(console.info(b.hasClass("do-not-set-js-height")),"oneelement"!=a.settings_mode&&0==b.hasClass("do-not-set-js-height")&&0==b.hasClass("height-is-based-on-content")&&b.height(U)));h.attr("data-forcewidth_ratio")&&(h.width(Number(h.attr("data-forcewidth_ratio"))*h.height()),h.width()A&&(A=0);L=c}"on"==a.settings_movexaftermouse&&(b=b.pageX/Z*(z-H),0d-m&&d=b.offset().top&&S());if(0!=k&&!1!==J&&("scroll"==a.settings_mode||"oneelement"==a.settings_mode)){if("oneelement"==a.settings_mode){var e= (d-v+m)/m;0>e&&(e=0);1e&&(e=0);if(F)for(r=0;r=e){var t=2*e,w=2*e-1;0>w&&(w=-w);t=w*B[C].initial+t*B[C].mid}else t=2*(e-.5),w=t-1,0>w&&(w=-w),t=w*B[C].mid+t*B[C]["final"];w=B[C].value;w=w.replace("{{val}}",t);z.css(B[C].property,w)}}"normal"==a.mode_scroll&&(p=e*(g-k),"reverse"==a.direction&&(p=(1-e)*(g-k)),b.hasClass("debug-target")&& console.info(a.mode_scroll,d,v,m,g,v+g,e));b.hasClass("simple-parallax")&&(e=(d+m-v)/(m+k),0>e&&(e=0),1e&&(e=0),T.css("opacity",e));A=d/g;0==b.hasClass("simple-parallax")&&(0A&&(A=0);n.force_vi_y&&(p=n.force_vi_y);L=p;ja=A;0===y&&(q=L,0==D&&(b.hasClass("simple-parallax")?h.parent().hasClass("is-image")&&h.css("background-position-y","calc(50% - "+parseInt(q,10)+"px)"):is_ie()&& 10>=version_ie()?h.css("top",""+q+"px"):(h.css("transform","translate3d("+E+"px,"+q+"px,0)"),"oneelement"==a.settings_mode&&b.css("transform","translate3d("+E+"px,"+q+"px,0)"))))}}}function K(){if(D)return requestAnimFrame(K),!1;isNaN(q)&&(q=0);Y&&(Y=!1);if(0===y)return t&&t(q),requestAnimFrame(K),!1;M=q;Q=L-M;N=O;R=ja-N;"easeIn"==a.easing&&(q=Number(Math.easeIn(1,M,Q,y).toFixed(5)),O=Number(Math.easeIn(1,N,R,y).toFixed(5)));"easeOutQuad"==a.easing&&(q=Math.easeOutQuad(1,M,Q,y),O=Math.easeOutQuad(1, N,R,y));"easeInOutSine"==a.easing&&(q=Math.easeInOutSine(1,M,Q,y),O=Math.easeInOutSine(1,N,R,y));E=0;"on"==a.settings_movexaftermouse&&(ba=E,ka=ia-ba,E=Math.easeIn(1,ba,ka,y));b.hasClass("simple-parallax")?h.parent().hasClass("is-image")&&h.css("background-position-y","calc(50% - "+parseInt(q,10)+"px)"):is_ie()&&10>=version_ie()?h.css("top",""+q+"px"):(h.css("transform","translate3d("+E+"px,"+q+"px,0)"),"oneelement"==a.settings_mode&&b.css("transform","translate3d("+E+"px,"+q+"px,0)"));G&&G.css("opacity", O);t&&t(q);if(ga)return!1;requestAnimFrame(K)}var b=c(this),h=null,G=null,T=null,r=0,H=0,k=0,g=0,z=H=0,Z=0,m=0,U=0,aa=0,y=0,q=0,E=0,O=0,M=0,ba=0,N=0,L=0,ia=0,ja=0,Q=0,ka=0,R=0,t=null,u=null,d=0,p=0,A=0,v=0,V="",J=!1,Y=!1,F=null,ga=!1,D=!1,ca=0,W=0,ea=0,ha=0,I=0,P=0,ca=Number(a.init_delay),W=Number(a.init_functional_delay);ca?setTimeout(l,ca):l()})};window.dzsprx_init=function(a,l){if("undefined"!=typeof l&&"undefined"!=typeof l.init_each&&1==l.init_each){var x=0,la;for(la in l)x++;1==x&&(l=void 0); c(a).each(function(){c(this).dzsparallaxer(l)})}else c(a).dzsparallaxer(l)}})(jQuery);function is_touch_device(){return!!("ontouchstart"in window)}window.requestAnimFrame=function(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(c){window.setTimeout(c,1E3/60)}}(); function is_ie(){var c=window.navigator.userAgent,a=c.indexOf("MSIE ");if(0