!function(){const o=jQuery(window);let h=o.height();o.resize(function(){h=o.height()}),jQuery.fn.vparallax=function(n,l,e){const t=jQuery(this);let s,u;function r(){const i=o.scrollTop();t.each(function(){u=jQuery(this).offset().top;const e=jQuery(this);var t,r,a=e.offset().top;a+s(e)<i||a>i+h||(r=-(r=Math.round((u-i)*l)),t=(jQuery(this).parent().hasClass("vcpb-mlvp-jquery")?jQuery(this).parent():jQuery(this)).parent().data("img-parallax-mobile-disable").toString(),a=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false","false"==("true"==t&&"true"==a?"true":"false")&&jQuery(this).css("backgroundPosition",n+" "+r+"px"))})}s=e?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===n)&&(n="50%"),(arguments.length<2||null===l)&&(l=.5),(arguments.length<3||null===e)&&(e=!0),o.bind("scroll",r).resize(r),r()},jQuery.fn.hparallax=function(i,n,e){const t=jQuery(this);let l,s;l=e?function(e){return e.outerHeight(!0)}:function(e){return e.height()},(arguments.length<1||null===i)&&(i="50%"),(arguments.length<2||null===n)&&(n=.5),(arguments.length<3||null===e)&&(e=!0),n=jQuery(this).data("parallax_sense")/100,i="0px";let u=o.scrollTop();function r(){const a=o.scrollTop();t.each(function(){s=jQuery(this).offset().top;const e=jQuery(this);var t=e.offset().top;if(!(t+l(e)<a||t>a+h)){const r=jQuery(this).css("backgroundPosition");t=r.indexOf("px"),t=r.substring(0,t);let e=0;u-a<=0?e=parseInt(t)-parseInt(n*Math.abs(u-a)):(e=parseInt(t)+parseInt(n*(u-a)),0<e&&(e=0));t=jQuery(this).parent().data("img-parallax-mobile-disable").toString();"false"==("true"==(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false")&&"true"==t?"true":"false")&&jQuery(this).css("backgroundPosition",e+"px "+i)}}),u=a}o.bind("scroll",r).resize(r),r()}}(jQuery),jQuery(document).ready(function(){var i;i=/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false",jQuery(".vcpb-mlvp-jquery").each(function(){const t=jQuery(this);let r=t.data("img-array");r=r.split(",");var a=r.length;for(let e=0;e<a;e++)jQuery(t).prepend('<div class="vertical_layer_parallax" style="position:absolute;background-image:url('+r[e]+');"></div>');const e=jQuery(t).find(".vertical_layer_parallax");e.css({"max-width":"none",position:"absolute"})}),jQuery(".vcpb-mlvp-jquery").each(function(){let t=jQuery(this).find(".vertical_layer_parallax").length,r=parseInt(jQuery(this).data("parallax_sense"))/100;var a,e=jQuery(this).parent().data("img-parallax-mobile-disable").toString();t=r/t,r=0,a="true"==i&&"true"==e?"true":"false",jQuery(this).find(".vertical_layer_parallax").each(function(e){r+=t,jQuery(this).css({height:jQuery(this).parent().outerHeight()+"px",width:jQuery(this).parent().outerWidth()+"px"}).attr("data-p-sense",r),"false"==a&&jQuery(this).vparallax("0%",r)})}),jQuery(".vcpb-vz-jquery").each(function(){var e=jQuery(this).parent().data("img-parallax-mobile-disable");"false"==("true"==i&&"true"==e?"true":"false")&&jQuery(this).vparallax("50%",jQuery(this).data("parallax_sense")/100)}),jQuery(".vcpb-hz-jquery").hparallax(),0<jQuery(".vcpb-hz-jquery").length&&setTimeout(function(){jQuery(window).scrollTop(0)},1e3)});